From 95df8fa7920f0c57ba95f52d37fb05e1ab522ab4 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Mon, 8 Apr 2019 06:37:57 +0000 Subject: [PATCH] Block Editor: Update packages to bring a selection of bugfixes in. Props iseulde, kjellr, aduth, 0mirka00, mcsf, nosolosw, gziolo, jasmussen, talldanwp, notnownikki, swissspidy, jorgefilipecosta, noisysocks. See https://github.com/WordPress/gutenberg/pull/14796. Fixes #46801. Built from https://develop.svn.wordpress.org/trunk@45138 git-svn-id: http://core.svn.wordpress.org/trunk@44947 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../css/dist/block-editor/style-rtl.css | 16 +- .../css/dist/block-editor/style-rtl.min.css | 2 +- wp-includes/css/dist/block-editor/style.css | 16 +- .../css/dist/block-editor/style.min.css | 2 +- .../css/dist/block-library/editor-rtl.css | 8 - .../css/dist/block-library/editor-rtl.min.css | 2 +- wp-includes/css/dist/block-library/editor.css | 8 - .../css/dist/block-library/editor.min.css | 2 +- wp-includes/css/dist/edit-post/style-rtl.css | 5 +- .../css/dist/edit-post/style-rtl.min.css | 2 +- wp-includes/css/dist/edit-post/style.css | 5 +- wp-includes/css/dist/edit-post/style.min.css | 2 +- wp-includes/js/dist/api-fetch.js | 2 +- wp-includes/js/dist/api-fetch.min.js | 2 +- wp-includes/js/dist/block-editor.js | 273 +++++++----------- wp-includes/js/dist/block-editor.min.js | 2 +- wp-includes/js/dist/block-library.js | 231 ++++++++------- wp-includes/js/dist/block-library.min.js | 6 +- wp-includes/js/dist/blocks.js | 11 +- wp-includes/js/dist/blocks.min.js | 2 +- wp-includes/js/dist/components.js | 7 +- wp-includes/js/dist/components.min.js | 2 +- wp-includes/js/dist/dom.js | 184 +++++------- wp-includes/js/dist/dom.min.js | 2 +- wp-includes/js/dist/edit-post.js | 6 +- wp-includes/js/dist/edit-post.min.js | 2 +- wp-includes/js/dist/rich-text.js | 144 ++++++--- wp-includes/js/dist/rich-text.min.js | 2 +- wp-includes/script-loader.php | 28 +- wp-includes/version.php | 2 +- 30 files changed, 470 insertions(+), 508 deletions(-) diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index f9df511e02..a26fd172e0 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -697,6 +697,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-block-list__block .block-editor-block-contextual-toolbar > * { pointer-events: auto; } +.block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar { + right: 0; + left: 0; } + .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-contextual-toolbar { margin-right: -28px; } @@ -1741,17 +1745,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-rich-text__editable:focus { outline: none; } .block-editor-rich-text__editable:focus *[data-rich-text-format-boundary] { - border-radius: 2px; - box-shadow: 0 0 0 1px #e8eaeb; - background: #e8eaeb; - color: #191e23; } - .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] { - box-shadow: 0 0 0 1px #e5f5fa; - background: #e5f5fa; - color: #006589; } - .block-editor-rich-text__editable:focus code[data-rich-text-format-boundary] { - background: #e8eaeb; - box-shadow: 0 0 0 1px #e8eaeb; } + border-radius: 2px; } .block-editor-rich-text__editable[data-is-placeholder-visible="true"] { position: absolute; top: 0; diff --git a/wp-includes/css/dist/block-editor/style-rtl.min.css b/wp-includes/css/dist/block-editor/style-rtl.min.css index 5eaa3fedd7..6822bcfde6 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.min.css +++ b/wp-includes/css/dist/block-editor/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom{background:none;border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-close-to-bottom,.block-editor-block-drop-zone.is-appender.is-close-to-top,.block-editor-block-drop-zone.is-close-to-top{background:none;border-top:3px solid #0085ba;border-bottom:none}body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-inspector__card-content{flex-grow:1}.block-editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-block-inspector__card-description{font-size:13px}.block-editor-block-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.block-editor-block-list__layout{padding-right:46px;padding-left:46px}}.block-editor-block-list__block .block-editor-block-list__layout{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px}.block-editor-block-list__layout .block-editor-default-block-appender>.block-editor-default-block-appender__content,.block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit,.block-editor-block-list__layout>.block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit{margin-top:32px;margin-bottom:32px}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;padding-right:14px;padding-left:14px;overflow-wrap:break-word}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block{padding-right:43px;padding-left:43px}}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;transition:border-color .1s linear,box-shadow .1s linear;pointer-events:none;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #e2e4e7}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #40464d}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block ::selection{background-color:#b3e7fe}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{mix-blend-mode:soft-light}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms!important}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border:1px dashed rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:81;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{right:0;left:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{left:14px;right:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{right:14px;left:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover .block-editor-block-mover__control{float:right}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__breadcrumb{left:-1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:none}@media (min-width:1280px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:block}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{right:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{right:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-45px;margin-left:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-44px;margin-left:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover{right:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px;top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:80}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-left:2px;right:-45px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{right:-30px}.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-left:-14px;margin-right:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;right:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:right}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:0;left:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{right:-1px;left:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:21;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:22px;right:-14px;left:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-right:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.block-editor-block-contextual-toolbar{margin-right:-28px}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none;position:absolute;right:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;right:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{animation-duration:1ms!important}}.editor-inner-blocks .block-editor-block-list__breadcrumb{z-index:22}[data-align=left] .block-editor-block-list__breadcrumb{right:0}[data-align=right] .block-editor-block-list__breadcrumb{right:auto;left:0}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{right:0;left:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.block-list-appender>.block-editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mover{min-height:56px;opacity:0}.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms!important}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .block-editor-block-mover__control{color:hsla(0,0%,100%,.65)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .block-editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-mover__control-drag-handle,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:hsla(0,0%,100%,.75)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.block-editor-block-mover__description{display:none}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:hover{z-index:1}}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-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}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.block-editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.block-editor-block-preview{display:block}}.block-editor-block-preview .block-editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview .block-editor-block-preview__content>.reusable-block-indicator{display:none}.block-editor-block-preview__title{margin-bottom:10px;color:#6c7781}.block-editor-block-settings-menu__toggle .dashicon{transform:rotate(-90deg)}.block-editor-block-settings-menu__popover:after,.block-editor-block-settings-menu__popover:before{margin-right:2px}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content{padding:7px 0}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator{margin:8px 0;border-top:1px solid #e2e4e7}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child{display:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control{width:100%;justify-content:flex-start;background:none;outline:none;border-radius:0;color:#555d66;text-align:right;cursor:pointer;border:none;box-shadow:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon{margin-left:5px}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.block-editor-block-styles__item-preview .block-editor-block-preview__content{transform:scale(.7);transform-origin:center center;width:100%;margin:0;padding:0;overflow:visible;min-height:auto}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{background:#f3f4f5;border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:340px}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear;border-right:1px solid #b5bcc2}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded=true]){opacity:0;transition:opacity .2s}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms!important}}.block-editor-default-block-appender:hover .block-editor-inserter__toggle{opacity:1}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:-44px;left:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:0;display:flex}}.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;z-index:120}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}.block-editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item:not(:disabled).is-active,.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;outline:none;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon{background:#fff;margin-left:3px;margin-bottom:6px;padding:9px 20px;position:relative;top:-2px;right:-2px;box-shadow:0 0 0 1px #e2e4e7}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;left:-6px;border-radius:4px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .block-editor-media-placeholder__button{margin-left:4px}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable{margin:0;position:relative;white-space:pre-wrap}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb;color:#191e23}.block-editor-rich-text__editable:focus a[data-rich-text-format-boundary]{box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa;color:#006589}.block-editor-rich-text__editable:focus code[data-rich-text-format-boundary]{background:#e8eaeb;box-shadow:0 0 0 1px #e8eaeb}.block-editor-rich-text__editable[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.block-editor-rich-text__editable[data-is-placeholder-visible=true]>p{margin-top:0}.block-editor-rich-text__editable+.block-editor-rich-text__editable{pointer-events:none}.block-editor-rich-text__editable+.block-editor-rich-text__editable,.block-editor-rich-text__editable+.block-editor-rich-text__editable p{opacity:.62}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+figcaption.block-editor-rich-text__editable{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__settings{padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:3px -4px 0 0}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{height:100%;display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{flex-basis:100%;cursor:text} \ No newline at end of file +@charset "UTF-8";.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom{background:none;border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-close-to-bottom,.block-editor-block-drop-zone.is-appender.is-close-to-top,.block-editor-block-drop-zone.is-close-to-top{background:none;border-top:3px solid #0085ba;border-bottom:none}body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-inspector__card-content{flex-grow:1}.block-editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-block-inspector__card-description{font-size:13px}.block-editor-block-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.block-editor-block-list__layout{padding-right:46px;padding-left:46px}}.block-editor-block-list__block .block-editor-block-list__layout{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px}.block-editor-block-list__layout .block-editor-default-block-appender>.block-editor-default-block-appender__content,.block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit,.block-editor-block-list__layout>.block-editor-block-list__layout>.block-editor-block-list__block>.block-editor-block-list__block-edit{margin-top:32px;margin-bottom:32px}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;padding-right:14px;padding-left:14px;overflow-wrap:break-word}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block{padding-right:43px;padding-left:43px}}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;transition:border-color .1s linear,box-shadow .1s linear;pointer-events:none;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #e2e4e7}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #40464d}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block ::selection{background-color:#b3e7fe}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{mix-blend-mode:soft-light}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms!important}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border:1px dashed rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:81;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{right:0;left:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{left:14px;right:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{right:14px;left:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover .block-editor-block-mover__control{float:right}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__breadcrumb{left:-1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:none}@media (min-width:1280px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:block}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{right:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{right:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-45px;margin-left:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-44px;margin-left:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover{right:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px;top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:80}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-left:2px;right:-45px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{right:-30px}.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-left:-14px;margin-right:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;right:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:right}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:0;left:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{right:-1px;left:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:21;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:22px;right:-14px;left:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-right:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{right:0;left:0}.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.block-editor-block-contextual-toolbar{margin-right:-28px}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none;position:absolute;right:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;right:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{animation-duration:1ms!important}}.editor-inner-blocks .block-editor-block-list__breadcrumb{z-index:22}[data-align=left] .block-editor-block-list__breadcrumb{right:0}[data-align=right] .block-editor-block-list__breadcrumb{right:auto;left:0}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{right:0;left:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.block-list-appender>.block-editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mover{min-height:56px;opacity:0}.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms!important}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .block-editor-block-mover__control{color:hsla(0,0%,100%,.65)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .block-editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-mover__control-drag-handle,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:hsla(0,0%,100%,.75)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.block-editor-block-mover__description{display:none}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:hover{z-index:1}}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-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}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.block-editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.block-editor-block-preview{display:block}}.block-editor-block-preview .block-editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview .block-editor-block-preview__content>.reusable-block-indicator{display:none}.block-editor-block-preview__title{margin-bottom:10px;color:#6c7781}.block-editor-block-settings-menu__toggle .dashicon{transform:rotate(-90deg)}.block-editor-block-settings-menu__popover:after,.block-editor-block-settings-menu__popover:before{margin-right:2px}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content{padding:7px 0}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator{margin:8px 0;border-top:1px solid #e2e4e7}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child{display:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control{width:100%;justify-content:flex-start;background:none;outline:none;border-radius:0;color:#555d66;text-align:right;cursor:pointer;border:none;box-shadow:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon{margin-left:5px}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.block-editor-block-styles__item-preview .block-editor-block-preview__content{transform:scale(.7);transform-origin:center center;width:100%;margin:0;padding:0;overflow:visible;min-height:auto}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{background:#f3f4f5;border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:340px}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear;border-right:1px solid #b5bcc2}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded=true]){opacity:0;transition:opacity .2s}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms!important}}.block-editor-default-block-appender:hover .block-editor-inserter__toggle{opacity:1}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:-44px;left:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:0;display:flex}}.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;z-index:120}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}.block-editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item:not(:disabled).is-active,.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;outline:none;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon{background:#fff;margin-left:3px;margin-bottom:6px;padding:9px 20px;position:relative;top:-2px;right:-2px;box-shadow:0 0 0 1px #e2e4e7}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;left:-6px;border-radius:4px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .block-editor-media-placeholder__button{margin-left:4px}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable{margin:0;position:relative;white-space:pre-wrap}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.block-editor-rich-text__editable[data-is-placeholder-visible=true]>p{margin-top:0}.block-editor-rich-text__editable+.block-editor-rich-text__editable{pointer-events:none}.block-editor-rich-text__editable+.block-editor-rich-text__editable,.block-editor-rich-text__editable+.block-editor-rich-text__editable p{opacity:.62}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+figcaption.block-editor-rich-text__editable{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__settings{padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:3px -4px 0 0}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{height:100%;display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{flex-basis:100%;cursor:text} \ No newline at end of file diff --git a/wp-includes/css/dist/block-editor/style.css b/wp-includes/css/dist/block-editor/style.css index 780d6b9998..f8219b9a8b 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -707,6 +707,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-block-list__block .block-editor-block-contextual-toolbar > * { pointer-events: auto; } +.block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar { + left: 0; + right: 0; } + .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-contextual-toolbar { margin-left: -28px; } @@ -1753,17 +1757,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-rich-text__editable:focus { outline: none; } .block-editor-rich-text__editable:focus *[data-rich-text-format-boundary] { - border-radius: 2px; - box-shadow: 0 0 0 1px #e8eaeb; - background: #e8eaeb; - color: #191e23; } - .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] { - box-shadow: 0 0 0 1px #e5f5fa; - background: #e5f5fa; - color: #006589; } - .block-editor-rich-text__editable:focus code[data-rich-text-format-boundary] { - background: #e8eaeb; - box-shadow: 0 0 0 1px #e8eaeb; } + border-radius: 2px; } .block-editor-rich-text__editable[data-is-placeholder-visible="true"] { position: absolute; top: 0; diff --git a/wp-includes/css/dist/block-editor/style.min.css b/wp-includes/css/dist/block-editor/style.min.css index 04646a5d6c..ca4e7a6c3c 100644 --- a/wp-includes/css/dist/block-editor/style.min.css +++ b/wp-includes/css/dist/block-editor/style.min.css @@ -6,4 +6,4 @@ /*!rtl:begin:ignore*/float:right;margin-left:2em /*!rtl:end:ignore*/}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{ /*!rtl:begin:ignore*/right:14px;left:auto - /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover .block-editor-block-mover__control{float:left}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__breadcrumb{right:-1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:none}@media (min-width:1280px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:block}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{left:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-45px;margin-right:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-44px;margin-right:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover{left:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px;top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:80}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-right:2px;left:-45px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{left:-30px}.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-right:-14px;margin-left:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;left:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:left}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:0;right:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{left:-1px;right:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:21;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:22px;left:-14px;right:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-left:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.block-editor-block-contextual-toolbar{margin-left:-28px}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none;position:absolute;left:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;left:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{animation-duration:1ms!important}}.editor-inner-blocks .block-editor-block-list__breadcrumb{z-index:22}[data-align=left] .block-editor-block-list__breadcrumb{left:0}[data-align=right] .block-editor-block-list__breadcrumb{left:auto;right:0}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{left:0;right:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.block-list-appender>.block-editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mover{min-height:56px;opacity:0}.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms!important}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .block-editor-block-mover__control{color:hsla(0,0%,100%,.65)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .block-editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-mover__control-drag-handle,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:hsla(0,0%,100%,.75)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.block-editor-block-mover__description{display:none}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:hover{z-index:1}}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-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}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.block-editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.block-editor-block-preview{display:block}}.block-editor-block-preview .block-editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview .block-editor-block-preview__content>.reusable-block-indicator{display:none}.block-editor-block-preview__title{margin-bottom:10px;color:#6c7781}.block-editor-block-settings-menu__toggle .dashicon{transform:rotate(90deg)}.block-editor-block-settings-menu__popover:after,.block-editor-block-settings-menu__popover:before{margin-left:2px}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content{padding:7px 0}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator{margin:8px 0;border-top:1px solid #e2e4e7}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child{display:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control{width:100%;justify-content:flex-start;background:none;outline:none;border-radius:0;color:#555d66;text-align:left;cursor:pointer;border:none;box-shadow:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon{margin-right:5px}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.block-editor-block-styles__item-preview .block-editor-block-preview__content{transform:scale(.7);transform-origin:center center;width:100%;margin:0;padding:0;overflow:visible;min-height:auto}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{background:#f3f4f5;border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:340px}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear;border-left:1px solid #b5bcc2}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded=true]){opacity:0;transition:opacity .2s}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms!important}}.block-editor-default-block-appender:hover .block-editor-inserter__toggle{opacity:1}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:-44px;right:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:0;display:flex}}.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:120}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}.block-editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item:not(:disabled).is-active,.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;outline:none;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon{background:#fff;margin-right:3px;margin-bottom:6px;padding:9px 20px;position:relative;top:-2px;left:-2px;box-shadow:0 0 0 1px #e2e4e7}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;right:-6px;border-radius:4px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .block-editor-media-placeholder__button{margin-right:4px}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(-50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable{margin:0;position:relative;white-space:pre-wrap}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb;color:#191e23}.block-editor-rich-text__editable:focus a[data-rich-text-format-boundary]{box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa;color:#006589}.block-editor-rich-text__editable:focus code[data-rich-text-format-boundary]{background:#e8eaeb;box-shadow:0 0 0 1px #e8eaeb}.block-editor-rich-text__editable[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.block-editor-rich-text__editable[data-is-placeholder-visible=true]>p{margin-top:0}.block-editor-rich-text__editable+.block-editor-rich-text__editable{pointer-events:none}.block-editor-rich-text__editable+.block-editor-rich-text__editable,.block-editor-rich-text__editable+.block-editor-rich-text__editable p{opacity:.62}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+figcaption.block-editor-rich-text__editable{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__settings{padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:3px 0 0 -4px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{height:100%;display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{flex-basis:100%;cursor:text} \ No newline at end of file + /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover .block-editor-block-mover__control{float:left}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__breadcrumb{right:-1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:none}@media (min-width:1280px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{display:block}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-mover{left:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-45px;margin-right:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-44px;margin-right:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-mover{left:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px;top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:80}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-right:2px;left:-45px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{left:-30px}.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-right:-14px;margin-left:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;left:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:left}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:0;right:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{left:-1px;right:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:21;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:22px;left:-14px;right:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-left:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{left:0;right:0}.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.block-editor-block-contextual-toolbar{margin-left:-28px}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none;position:absolute;left:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;left:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar{animation-duration:1ms!important}}.editor-inner-blocks .block-editor-block-list__breadcrumb{z-index:22}[data-align=left] .block-editor-block-list__breadcrumb{left:0}[data-align=right] .block-editor-block-list__breadcrumb{left:auto;right:0}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{left:0;right:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.block-list-appender>.block-editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mover{min-height:56px;opacity:0}.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms!important}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .block-editor-block-mover__control{color:hsla(0,0%,100%,.65)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .block-editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-mover__control-drag-handle,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:hsla(0,0%,100%,.75)}.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.block-editor-block-mover__description{display:none}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:active,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:focus,.block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=left] .block-editor-block-mover__control:hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:active,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:focus,.block-editor-block-list__layout [data-align=right] .block-editor-block-mover__control:hover{z-index:1}}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-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}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.block-editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.block-editor-block-preview{display:block}}.block-editor-block-preview .block-editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.block-editor-block-preview .block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview .block-editor-block-preview__content>.reusable-block-indicator{display:none}.block-editor-block-preview__title{margin-bottom:10px;color:#6c7781}.block-editor-block-settings-menu__toggle .dashicon{transform:rotate(90deg)}.block-editor-block-settings-menu__popover:after,.block-editor-block-settings-menu__popover:before{margin-left:2px}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content{padding:7px 0}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator{margin:8px 0;border-top:1px solid #e2e4e7}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child{display:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control{width:100%;justify-content:flex-start;background:none;outline:none;border-radius:0;color:#555d66;text-align:left;cursor:pointer;border:none;box-shadow:none}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon{margin-right:5px}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.block-editor-block-styles__item-preview .block-editor-block-preview__content{transform:scale(.7);transform-origin:center center;width:100%;margin:0;padding:0;overflow:visible;min-height:auto}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{background:#f3f4f5;border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:340px}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear;border-left:1px solid #b5bcc2}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded=true]){opacity:0;transition:opacity .2s}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms!important}}.block-editor-default-block-appender:hover .block-editor-inserter__toggle{opacity:1}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:-44px;right:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:0;display:flex}}.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:120}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}.block-editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu .block-editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item:not(:disabled).is-active,.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;outline:none;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:currentColor}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon{background:#fff;margin-right:3px;margin-bottom:6px;padding:9px 20px;position:relative;top:-2px;left:-2px;box-shadow:0 0 0 1px #e2e4e7}.block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;right:-6px;border-radius:4px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .block-editor-media-placeholder__button{margin-right:4px}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(-50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable{margin:0;position:relative;white-space:pre-wrap}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.block-editor-rich-text__editable[data-is-placeholder-visible=true]>p{margin-top:0}.block-editor-rich-text__editable+.block-editor-rich-text__editable{pointer-events:none}.block-editor-rich-text__editable+.block-editor-rich-text__editable,.block-editor-rich-text__editable+.block-editor-rich-text__editable p{opacity:.62}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+figcaption.block-editor-rich-text__editable{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__settings{padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:3px 0 0 -4px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{height:100%;display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{flex-basis:100%;cursor:text} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css index ffec9b5482..381a780f7e 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -217,11 +217,6 @@ :not(.components-disabled) > .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > * { pointer-events: all; } -.wp-block-cover-image .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary], -.wp-block-cover .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] { - box-shadow: none; - background: rgba(255, 255, 255, 0.3); } - .wp-block-cover-image.components-placeholder h2, .wp-block-cover.components-placeholder h2 { color: inherit; } @@ -690,9 +685,6 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b .blocks-gallery-item .block-editor-rich-text figcaption a { color: #fff; } -.blocks-gallery-item .block-editor-rich-text figcaption:focus a[data-rich-text-format-boundary] { - color: rgba(0, 0, 0, 0.2); } - .block-library-gallery-item__inline-menu { padding: 2px; position: absolute; diff --git a/wp-includes/css/dist/block-library/editor-rtl.min.css b/wp-includes/css/dist/block-library/editor-rtl.min.css index 4c86b41e38..ed475d17a7 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.min.css +++ b/wp-includes/css/dist/block-library/editor-rtl.min.css @@ -1 +1 @@ -.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin:0}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{color:#fff}.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{opacity:.8}.block-editor-block-preview__content .wp-block-button{max-width:100%}.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]{height:auto}.block-editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4;width:374px}.block-library-button__inline-link .block-editor-url-input{width:auto}.block-library-button__inline-link .block-editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-right:auto;margin-left:auto}[data-align=right] .block-library-button__inline-link{margin-right:auto;margin-left:0}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-right:14px;padding-left:14px}@media (min-width:600px){.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-right:60px;padding-left:60px}}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{right:0;left:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-right:-1px}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{margin-right:14px;margin-left:14px;flex-basis:calc(50% - 44px);flex-grow:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-right:46px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:46px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.block-editor-block-list__block-edit:before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>*{pointer-events:all}.wp-block-cover-image .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary],.wp-block-cover .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary]{box-shadow:none;background:hsla(0,0%,100%,.3)}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:right}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0 14px}.is-selected .block-library-classic__toolbar{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon{display:none}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar{float:left;margin-left:25px;transform:translateY(-13px);top:14px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border:none;box-shadow:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{margin-top:0}}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar:before{content:"";display:block;border-right:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover{background-color:transparent}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar{background:transparent;border:none}.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-left:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{left:0;right:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.blocks-gallery-item .block-editor-rich-text figcaption:focus a[data-rich-text-format-boundary]{color:rgba(0,0,0,.2)}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;left:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-left:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;margin:0}.wp-block-heading h1{font-size:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3{line-height:1.4}.wp-block-heading h4{line-height:1.5}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-right:2.5em;padding-left:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__edit-container .widget-inside{box-shadow:none}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8%}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-right:1.3em;margin-right:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-left:108px}.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-left:36px}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #8d96a0;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-shortcode label{display:flex;align-items:center;margin-left:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-left:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid #000}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em} \ No newline at end of file +.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin:0}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{color:#fff}.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{opacity:.8}.block-editor-block-preview__content .wp-block-button{max-width:100%}.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]{height:auto}.block-editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4;width:374px}.block-library-button__inline-link .block-editor-url-input{width:auto}.block-library-button__inline-link .block-editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-right:auto;margin-left:auto}[data-align=right] .block-library-button__inline-link{margin-right:auto;margin-left:0}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-right:14px;padding-left:14px}@media (min-width:600px){.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-right:60px;padding-left:60px}}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{right:0;left:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-right:-1px}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{margin-right:14px;margin-left:14px;flex-basis:calc(50% - 44px);flex-grow:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-right:46px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:46px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.block-editor-block-list__block-edit:before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>*{pointer-events:all}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:right}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0 14px}.is-selected .block-library-classic__toolbar{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon{display:none}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar{float:left;margin-left:25px;transform:translateY(-13px);top:14px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border:none;box-shadow:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{margin-top:0}}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar:before{content:"";display:block;border-right:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover{background-color:transparent}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar{background:transparent;border:none}.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-left:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{left:0;right:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;left:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-left:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;margin:0}.wp-block-heading h1{font-size:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3{line-height:1.4}.wp-block-heading h4{line-height:1.5}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-right:2.5em;padding-left:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__edit-container .widget-inside{box-shadow:none}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8%}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-right:1.3em;margin-right:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-left:108px}.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-left:36px}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #8d96a0;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-shortcode label{display:flex;align-items:center;margin-left:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-left:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid #000}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css index 37ee9b2e85..619bf50894 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -218,11 +218,6 @@ :not(.components-disabled) > .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > * { pointer-events: all; } -.wp-block-cover-image .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary], -.wp-block-cover .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] { - box-shadow: none; - background: rgba(255, 255, 255, 0.3); } - .wp-block-cover-image.components-placeholder h2, .wp-block-cover.components-placeholder h2 { color: inherit; } @@ -695,9 +690,6 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b .blocks-gallery-item .block-editor-rich-text figcaption a { color: #fff; } -.blocks-gallery-item .block-editor-rich-text figcaption:focus a[data-rich-text-format-boundary] { - color: rgba(0, 0, 0, 0.2); } - .block-library-gallery-item__inline-menu { padding: 2px; position: absolute; diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css index 368f0b85db..782c9b1cf3 100644 --- a/wp-includes/css/dist/block-library/editor.min.css +++ b/wp-includes/css/dist/block-library/editor.min.css @@ -1,2 +1,2 @@ .block-editor ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin:0}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=right]{ - /*!rtl:ignore*/text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{color:#fff}.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{opacity:.8}.block-editor-block-preview__content .wp-block-button{max-width:100%}.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]{height:auto}.block-editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4;width:374px}.block-library-button__inline-link .block-editor-url-input{width:auto}.block-library-button__inline-link .block-editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-left:auto;margin-right:auto}[data-align=right] .block-library-button__inline-link{margin-left:auto;margin-right:0}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-left:14px;padding-right:14px}@media (min-width:600px){.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-left:60px;padding-right:60px}}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{left:0;right:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-left:-1px}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{margin-left:14px;margin-right:14px;flex-basis:calc(50% - 44px);flex-grow:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-left:46px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:46px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.block-editor-block-list__block-edit:before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>*{pointer-events:all}.wp-block-cover-image .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary],.wp-block-cover .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary]{box-shadow:none;background:hsla(0,0%,100%,.3)}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:left}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0 14px}.is-selected .block-library-classic__toolbar{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon{display:none}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar{float:right;margin-right:25px;transform:translateY(-13px);top:14px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border:none;box-shadow:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{margin-top:0}}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar:before{content:"";display:block;border-left:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover{background-color:transparent}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar{background:transparent;border:none}.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-right:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{right:0;left:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.blocks-gallery-item .block-editor-rich-text figcaption:focus a[data-rich-text-format-boundary]{color:rgba(0,0,0,.2)}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;right:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-right:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;margin:0}.wp-block-heading h1{font-size:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3{line-height:1.4}.wp-block-heading h4{line-height:1.5}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-left:2.5em;padding-right:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__edit-container .widget-inside{box-shadow:none}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8%}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-left:1.3em;margin-left:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-right:108px}.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-right:36px}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #8d96a0;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-shortcode label{display:flex;align-items:center;margin-right:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-right:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid #000}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em} \ No newline at end of file + /*!rtl:ignore*/text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{color:#fff}.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable{opacity:.8}.block-editor-block-preview__content .wp-block-button{max-width:100%}.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible=true]{height:auto}.block-editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4;width:374px}.block-library-button__inline-link .block-editor-url-input{width:auto}.block-library-button__inline-link .block-editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .block-editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-left:auto;margin-right:auto}[data-align=right] .block-library-button__inline-link{margin-left:auto;margin-right:0}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-left:14px;padding-right:14px}@media (min-width:600px){.block-editor-block-list__block[data-align=full] .wp-block-columns>.block-editor-inner-blocks{padding-left:60px;padding-right:60px}}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{left:0;right:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{margin-left:-1px}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{margin-left:14px;margin-right:14px;flex-basis:calc(50% - 44px);flex-grow:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-left:46px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:46px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.block-editor-block-list__block-edit:before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>*{pointer-events:all}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:left}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0 14px}.is-selected .block-library-classic__toolbar{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon{display:none}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar{float:right;margin-right:25px;transform:translateY(-13px);top:14px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border:none;box-shadow:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{margin-top:0}}@media (min-width:600px){.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar:before{content:"";display:block;border-left:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover{background-color:transparent}.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar{background:transparent;border:none}.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-right:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .block-editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{right:0;left:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;right:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-right:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;margin:0}.wp-block-heading h1{font-size:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3{line-height:1.4}.wp-block-heading h4{line-height:1.5}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image,.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-left:2.5em;padding-right:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__edit-container .widget-inside{box-shadow:none}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8%}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-left:1.3em;margin-left:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-right:108px}.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible=true]+.block-editor-rich-text__editable.wp-block-paragraph{padding-right:36px}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #8d96a0;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-shortcode label{display:flex;align-items:center;margin-right:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-right:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid #000}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index 4ef2abc84d..c93b2e5f41 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -692,12 +692,9 @@ body.is-fullscreen-mode .edit-post-header { z-index: -2; } @media (min-width: 600px) { .edit-post-sidebar > .components-panel { - overflow: inherit; + overflow: hidden; height: auto; max-height: none; } } - @media (min-width: 782px) { - body.is-fullscreen-mode .edit-post-sidebar > .components-panel { - max-height: calc(100vh - 50px); } } .edit-post-sidebar > .components-panel .components-panel__header { position: fixed; z-index: 1; diff --git a/wp-includes/css/dist/edit-post/style-rtl.min.css b/wp-includes/css/dist/edit-post/style-rtl.min.css index 089cef4cd5..40ae937cb8 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.min.css +++ b/wp-includes/css/dist/edit-post/style-rtl.min.css @@ -1 +1 @@ -@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms!important}}@media (min-width:782px){body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms!important}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;left:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-flex}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{right:0}@media (min-width:782px){.edit-post-header{right:160px}}@media (min-width:782px){.auto-fold .edit-post-header{right:36px}}@media (min-width:960px){.auto-fold .edit-post-header{right:160px}}.folded .edit-post-header{right:0}@media (min-width:782px){.folded .edit-post-header{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-right:-18px}}body.is-fullscreen-mode .edit-post-header{right:0!important}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;left:1px;bottom:1px;right:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:block;border-top:0;border-bottom:0;border-right:0;margin:-9px -10px -9px 10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;right:0;left:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-right:8px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-menu-group:not(:last-child),.edit-post-more-menu__content .components-popover__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-more-menu__content .components-popover__content .components-menu-item__button{padding-right:2rem}.edit-post-more-menu__content .components-popover__content .components-menu-item__button.has-icon{padding-right:.5rem}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{order:1;font-weight:600;margin:0 1rem 0 0}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;order:0;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{top:0}}.edit-post-layout .components-notice-list.is-pinned{position:relative;right:0;top:0}.edit-post-layout .components-notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice .components-notice__dismiss{margin:10px 5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;right:0;left:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-right:160px}body.auto-fold .edit-post-layout__content{margin-right:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-right:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-right:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-right:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;right:auto;width:280px;border-right:1px solid #e2e4e7;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms!important}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;right:auto;left:0;z-index:100000;padding:10px 0 10px 10px;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 auto 0 0;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;left:10px;bottom:10px;right:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type=checkbox]{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-left:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;left:0;bottom:0;width:280px;border-right:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:inherit;height:auto;max-height:none}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-sidebar>.components-panel{max-height:calc(100vh - 50px)}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-left:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{word-wrap:break-word}.edit-post-post-schedule{width:100%;position:relative}.edit-post-post-schedule__label{display:none}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-right:16px;margin-left:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-right:auto;margin-left:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{right:0;left:0;margin-top:-6px}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;right:0;left:0;height:36px;line-height:36px;padding:0 16px 0 8px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 0 0 auto;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50px;width:100%;margin:-4px auto -50px}.edit-post-visual-editor .block-editor-block-list__block{margin-right:auto;margin-left:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-right:-28px;margin-left:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:100%;margin-right:0;margin-left:0;text-align:center;float:right}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-right:46px;padding-left:46px}}.edit-post-visual-editor .editor-post-title__block{margin-right:auto;margin-left:auto;margin-bottom:-20px}.edit-post-visual-editor .editor-post-title__block>div{margin-right:0;margin-left:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-right:-2px;margin-left:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-visual-editor .block-editor-default-block-appender{margin-right:auto;margin-left:auto;position:relative}.edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible=true]+p,.edit-post-visual-editor .block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option.components-base-control+.edit-post-options-modal__option.components-base-control{margin-bottom:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 10px .6rem 0}@keyframes edit-post__loading-fade-animation{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor,.components-modal__frame{box-sizing:border-box}.block-editor *,.block-editor :after,.block-editor :before,.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before{box-sizing:inherit}.block-editor select,.components-modal__frame select{font-size:13px;color:#555d66}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px}}.block-editor-block-list__block .input-control:focus,.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=color]:focus,.block-editor-block-list__block input[type=date]:focus,.block-editor-block-list__block input[type=datetime-local]:focus,.block-editor-block-list__block input[type=datetime]:focus,.block-editor-block-list__block input[type=email]:focus,.block-editor-block-list__block input[type=month]:focus,.block-editor-block-list__block input[type=number]:focus,.block-editor-block-list__block input[type=password]:focus,.block-editor-block-list__block input[type=radio]:focus,.block-editor-block-list__block input[type=search]:focus,.block-editor-block-list__block input[type=tel]:focus,.block-editor-block-list__block input[type=text]:focus,.block-editor-block-list__block input[type=time]:focus,.block-editor-block-list__block input[type=url]:focus,.block-editor-block-list__block input[type=week]:focus,.block-editor-block-list__block select:focus,.block-editor-block-list__block textarea:focus,.components-modal__content .input-control:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=color]:focus,.components-modal__content input[type=date]:focus,.components-modal__content input[type=datetime-local]:focus,.components-modal__content input[type=datetime]:focus,.components-modal__content input[type=email]:focus,.components-modal__content input[type=month]:focus,.components-modal__content input[type=number]:focus,.components-modal__content input[type=password]:focus,.components-modal__content input[type=radio]:focus,.components-modal__content input[type=search]:focus,.components-modal__content input[type=tel]:focus,.components-modal__content input[type=text]:focus,.components-modal__content input[type=time]:focus,.components-modal__content input[type=url]:focus,.components-modal__content input[type=week]:focus,.components-modal__content select:focus,.components-modal__content textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-post-permalink .input-control:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=color]:focus,.editor-post-permalink input[type=date]:focus,.editor-post-permalink input[type=datetime-local]:focus,.editor-post-permalink input[type=datetime]:focus,.editor-post-permalink input[type=email]:focus,.editor-post-permalink input[type=month]:focus,.editor-post-permalink input[type=number]:focus,.editor-post-permalink input[type=password]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-permalink input[type=search]:focus,.editor-post-permalink input[type=tel]:focus,.editor-post-permalink input[type=text]:focus,.editor-post-permalink input[type=time]:focus,.editor-post-permalink input[type=url]:focus,.editor-post-permalink input[type=week]:focus,.editor-post-permalink select:focus,.editor-post-permalink textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-list__block input[type=number],.components-modal__content input[type=number],.components-popover input[type=number],.edit-post-sidebar input[type=number],.editor-post-permalink input[type=number],.editor-post-publish-panel input[type=number]{padding-right:4px;padding-left:4px}.block-editor-block-list__block select,.components-modal__content select,.components-popover select,.edit-post-sidebar select,.editor-post-permalink select,.editor-post-publish-panel select{padding:2px}.block-editor-block-list__block select:focus,.components-modal__content select:focus,.components-popover select:focus,.edit-post-sidebar select:focus,.editor-post-permalink select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=radio],.components-modal__content input[type=checkbox],.components-modal__content input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-left:12px;transition:none}.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=radio]:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.block-editor-block-list__block input[type=checkbox]:checked,.block-editor-block-list__block input[type=radio]:checked,.components-modal__content input[type=checkbox]:checked,.components-modal__content input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.editor-post-permalink input[type=checkbox]:checked,.editor-post-permalink input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-sunrise .block-editor-block-list__block input[type=radio]:checked,body.admin-color-sunrise .components-modal__content input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__content input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .editor-post-permalink input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-permalink input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ocean .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ocean .components-modal__content input[type=checkbox]:checked,body.admin-color-ocean .components-modal__content input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ocean .editor-post-permalink input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-midnight .block-editor-block-list__block input[type=radio]:checked,body.admin-color-midnight .components-modal__content input[type=checkbox]:checked,body.admin-color-midnight .components-modal__content input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .editor-post-permalink input[type=checkbox]:checked,body.admin-color-midnight .editor-post-permalink input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ectoplasm .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ectoplasm .components-modal__content input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__content input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-coffee .block-editor-block-list__block input[type=radio]:checked,body.admin-color-coffee .components-modal__content input[type=checkbox]:checked,body.admin-color-coffee .components-modal__content input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .editor-post-permalink input[type=checkbox]:checked,body.admin-color-coffee .editor-post-permalink input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-blue .block-editor-block-list__block input[type=radio]:checked,body.admin-color-blue .components-modal__content input[type=checkbox]:checked,body.admin-color-blue .components-modal__content input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .editor-post-permalink input[type=checkbox]:checked,body.admin-color-blue .editor-post-permalink input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-light .block-editor-block-list__block input[type=radio]:checked,body.admin-color-light .components-modal__content input[type=checkbox]:checked,body.admin-color-light .components-modal__content input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .editor-post-permalink input[type=checkbox]:checked,body.admin-color-light .editor-post-permalink input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox]:checked:focus,.block-editor-block-list__block input[type=radio]:checked:focus,.components-modal__content input[type=checkbox]:checked:focus,.components-modal__content input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.editor-post-permalink input[type=checkbox]:checked:focus,.editor-post-permalink input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=checkbox],.components-modal__content input[type=checkbox],.components-popover input[type=checkbox],.edit-post-sidebar input[type=checkbox],.editor-post-permalink input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed],.components-modal__content input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.editor-post-permalink input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:right;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:focus,.components-modal__content input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=radio],.components-modal__content input[type=radio],.components-popover input[type=radio],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.block-editor-block-list__block input[type=radio]:checked:before,.components-modal__content input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.editor-post-permalink input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 3px 0 0;background-color:#fff}.block-editor-block-list__block input::-webkit-input-placeholder,.block-editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.block-editor-block-list__block input::-moz-placeholder,.block-editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.block-editor-block-list__block input:-ms-input-placeholder,.block-editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input::-moz-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file +@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms!important}}@media (min-width:782px){body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms!important}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;left:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-flex}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{right:0}@media (min-width:782px){.edit-post-header{right:160px}}@media (min-width:782px){.auto-fold .edit-post-header{right:36px}}@media (min-width:960px){.auto-fold .edit-post-header{right:160px}}.folded .edit-post-header{right:0}@media (min-width:782px){.folded .edit-post-header{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-right:-18px}}body.is-fullscreen-mode .edit-post-header{right:0!important}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;left:1px;bottom:1px;right:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:block;border-top:0;border-bottom:0;border-right:0;margin:-9px -10px -9px 10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;right:0;left:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-right:8px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-menu-group:not(:last-child),.edit-post-more-menu__content .components-popover__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-more-menu__content .components-popover__content .components-menu-item__button{padding-right:2rem}.edit-post-more-menu__content .components-popover__content .components-menu-item__button.has-icon{padding-right:.5rem}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{order:1;font-weight:600;margin:0 1rem 0 0}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;order:0;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{top:0}}.edit-post-layout .components-notice-list.is-pinned{position:relative;right:0;top:0}.edit-post-layout .components-notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice .components-notice__dismiss{margin:10px 5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;right:0;left:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-right:160px}body.auto-fold .edit-post-layout__content{margin-right:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-right:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-right:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-right:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;right:auto;width:280px;border-right:1px solid #e2e4e7;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms!important}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;right:auto;left:0;z-index:100000;padding:10px 0 10px 10px;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 auto 0 0;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;left:10px;bottom:10px;right:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type=checkbox]{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-left:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;left:0;bottom:0;width:280px;border-right:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:hidden;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-left:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{word-wrap:break-word}.edit-post-post-schedule{width:100%;position:relative}.edit-post-post-schedule__label{display:none}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-right:16px;margin-left:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-right:auto;margin-left:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{right:0;left:0;margin-top:-6px}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;right:0;left:0;height:36px;line-height:36px;padding:0 16px 0 8px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 0 0 auto;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50px;width:100%;margin:-4px auto -50px}.edit-post-visual-editor .block-editor-block-list__block{margin-right:auto;margin-left:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-right:-28px;margin-left:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:100%;margin-right:0;margin-left:0;text-align:center;float:right}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-right:46px;padding-left:46px}}.edit-post-visual-editor .editor-post-title__block{margin-right:auto;margin-left:auto;margin-bottom:-20px}.edit-post-visual-editor .editor-post-title__block>div{margin-right:0;margin-left:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-right:-2px;margin-left:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-visual-editor .block-editor-default-block-appender{margin-right:auto;margin-left:auto;position:relative}.edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible=true]+p,.edit-post-visual-editor .block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option.components-base-control+.edit-post-options-modal__option.components-base-control{margin-bottom:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 10px .6rem 0}@keyframes edit-post__loading-fade-animation{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor,.components-modal__frame{box-sizing:border-box}.block-editor *,.block-editor :after,.block-editor :before,.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before{box-sizing:inherit}.block-editor select,.components-modal__frame select{font-size:13px;color:#555d66}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px}}.block-editor-block-list__block .input-control:focus,.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=color]:focus,.block-editor-block-list__block input[type=date]:focus,.block-editor-block-list__block input[type=datetime-local]:focus,.block-editor-block-list__block input[type=datetime]:focus,.block-editor-block-list__block input[type=email]:focus,.block-editor-block-list__block input[type=month]:focus,.block-editor-block-list__block input[type=number]:focus,.block-editor-block-list__block input[type=password]:focus,.block-editor-block-list__block input[type=radio]:focus,.block-editor-block-list__block input[type=search]:focus,.block-editor-block-list__block input[type=tel]:focus,.block-editor-block-list__block input[type=text]:focus,.block-editor-block-list__block input[type=time]:focus,.block-editor-block-list__block input[type=url]:focus,.block-editor-block-list__block input[type=week]:focus,.block-editor-block-list__block select:focus,.block-editor-block-list__block textarea:focus,.components-modal__content .input-control:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=color]:focus,.components-modal__content input[type=date]:focus,.components-modal__content input[type=datetime-local]:focus,.components-modal__content input[type=datetime]:focus,.components-modal__content input[type=email]:focus,.components-modal__content input[type=month]:focus,.components-modal__content input[type=number]:focus,.components-modal__content input[type=password]:focus,.components-modal__content input[type=radio]:focus,.components-modal__content input[type=search]:focus,.components-modal__content input[type=tel]:focus,.components-modal__content input[type=text]:focus,.components-modal__content input[type=time]:focus,.components-modal__content input[type=url]:focus,.components-modal__content input[type=week]:focus,.components-modal__content select:focus,.components-modal__content textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-post-permalink .input-control:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=color]:focus,.editor-post-permalink input[type=date]:focus,.editor-post-permalink input[type=datetime-local]:focus,.editor-post-permalink input[type=datetime]:focus,.editor-post-permalink input[type=email]:focus,.editor-post-permalink input[type=month]:focus,.editor-post-permalink input[type=number]:focus,.editor-post-permalink input[type=password]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-permalink input[type=search]:focus,.editor-post-permalink input[type=tel]:focus,.editor-post-permalink input[type=text]:focus,.editor-post-permalink input[type=time]:focus,.editor-post-permalink input[type=url]:focus,.editor-post-permalink input[type=week]:focus,.editor-post-permalink select:focus,.editor-post-permalink textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-list__block input[type=number],.components-modal__content input[type=number],.components-popover input[type=number],.edit-post-sidebar input[type=number],.editor-post-permalink input[type=number],.editor-post-publish-panel input[type=number]{padding-right:4px;padding-left:4px}.block-editor-block-list__block select,.components-modal__content select,.components-popover select,.edit-post-sidebar select,.editor-post-permalink select,.editor-post-publish-panel select{padding:2px}.block-editor-block-list__block select:focus,.components-modal__content select:focus,.components-popover select:focus,.edit-post-sidebar select:focus,.editor-post-permalink select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=radio],.components-modal__content input[type=checkbox],.components-modal__content input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-left:12px;transition:none}.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=radio]:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.block-editor-block-list__block input[type=checkbox]:checked,.block-editor-block-list__block input[type=radio]:checked,.components-modal__content input[type=checkbox]:checked,.components-modal__content input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.editor-post-permalink input[type=checkbox]:checked,.editor-post-permalink input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-sunrise .block-editor-block-list__block input[type=radio]:checked,body.admin-color-sunrise .components-modal__content input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__content input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .editor-post-permalink input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-permalink input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ocean .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ocean .components-modal__content input[type=checkbox]:checked,body.admin-color-ocean .components-modal__content input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ocean .editor-post-permalink input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-midnight .block-editor-block-list__block input[type=radio]:checked,body.admin-color-midnight .components-modal__content input[type=checkbox]:checked,body.admin-color-midnight .components-modal__content input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .editor-post-permalink input[type=checkbox]:checked,body.admin-color-midnight .editor-post-permalink input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ectoplasm .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ectoplasm .components-modal__content input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__content input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-coffee .block-editor-block-list__block input[type=radio]:checked,body.admin-color-coffee .components-modal__content input[type=checkbox]:checked,body.admin-color-coffee .components-modal__content input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .editor-post-permalink input[type=checkbox]:checked,body.admin-color-coffee .editor-post-permalink input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-blue .block-editor-block-list__block input[type=radio]:checked,body.admin-color-blue .components-modal__content input[type=checkbox]:checked,body.admin-color-blue .components-modal__content input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .editor-post-permalink input[type=checkbox]:checked,body.admin-color-blue .editor-post-permalink input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-light .block-editor-block-list__block input[type=radio]:checked,body.admin-color-light .components-modal__content input[type=checkbox]:checked,body.admin-color-light .components-modal__content input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .editor-post-permalink input[type=checkbox]:checked,body.admin-color-light .editor-post-permalink input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox]:checked:focus,.block-editor-block-list__block input[type=radio]:checked:focus,.components-modal__content input[type=checkbox]:checked:focus,.components-modal__content input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.editor-post-permalink input[type=checkbox]:checked:focus,.editor-post-permalink input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=checkbox],.components-modal__content input[type=checkbox],.components-popover input[type=checkbox],.edit-post-sidebar input[type=checkbox],.editor-post-permalink input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed],.components-modal__content input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.editor-post-permalink input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:right;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:focus,.components-modal__content input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=radio],.components-modal__content input[type=radio],.components-popover input[type=radio],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.block-editor-block-list__block input[type=radio]:checked:before,.components-modal__content input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.editor-post-permalink input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 3px 0 0;background-color:#fff}.block-editor-block-list__block input::-webkit-input-placeholder,.block-editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.block-editor-block-list__block input::-moz-placeholder,.block-editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.block-editor-block-list__block input:-ms-input-placeholder,.block-editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input::-moz-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css index aedfbd3774..beeb79c95d 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -692,12 +692,9 @@ body.is-fullscreen-mode .edit-post-header { z-index: -2; } @media (min-width: 600px) { .edit-post-sidebar > .components-panel { - overflow: inherit; + overflow: hidden; height: auto; max-height: none; } } - @media (min-width: 782px) { - body.is-fullscreen-mode .edit-post-sidebar > .components-panel { - max-height: calc(100vh - 50px); } } .edit-post-sidebar > .components-panel .components-panel__header { position: fixed; z-index: 1; diff --git a/wp-includes/css/dist/edit-post/style.min.css b/wp-includes/css/dist/edit-post/style.min.css index 8c1b734cd6..a6e1d98440 100644 --- a/wp-includes/css/dist/edit-post/style.min.css +++ b/wp-includes/css/dist/edit-post/style.min.css @@ -1 +1 @@ -@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms!important}}@media (min-width:782px){body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms!important}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;right:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-flex}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{left:0}@media (min-width:782px){.edit-post-header{left:160px}}@media (min-width:782px){.auto-fold .edit-post-header{left:36px}}@media (min-width:960px){.auto-fold .edit-post-header{left:160px}}.folded .edit-post-header{left:0}@media (min-width:782px){.folded .edit-post-header{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-left:-18px}}body.is-fullscreen-mode .edit-post-header{left:0!important}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;right:1px;bottom:1px;left:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:block;border-top:0;border-bottom:0;border-left:0;margin:-9px 10px -9px -10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;left:0;right:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-left:8px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-menu-group:not(:last-child),.edit-post-more-menu__content .components-popover__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-more-menu__content .components-popover__content .components-menu-item__button{padding-left:2rem}.edit-post-more-menu__content .components-popover__content .components-menu-item__button.has-icon{padding-left:.5rem}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{order:1;font-weight:600;margin:0 0 0 1rem}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;order:0;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{top:0}}.edit-post-layout .components-notice-list.is-pinned{position:relative;left:0;top:0}.edit-post-layout .components-notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice .components-notice__dismiss{margin:10px 5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;left:0;right:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-left:160px}body.auto-fold .edit-post-layout__content{margin-left:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-left:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-left:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-left:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;left:auto;width:280px;border-left:1px solid #e2e4e7;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms!important}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;left:auto;right:0;z-index:100000;padding:10px 10px 10px 0;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 0 0 auto;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;right:10px;bottom:10px;left:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type=checkbox]{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-right:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;right:0;bottom:0;width:280px;border-left:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:inherit;height:auto;max-height:none}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-sidebar>.components-panel{max-height:calc(100vh - 50px)}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{word-wrap:break-word}.edit-post-post-schedule{width:100%;position:relative}.edit-post-post-schedule__label{display:none}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-left:16px;margin-right:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-left:auto;margin-right:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{left:0;right:0;margin-top:-6px}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;left:0;right:0;height:36px;line-height:36px;padding:0 8px 0 16px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 auto 0 0;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50px;width:100%;margin:-4px auto -50px}.edit-post-visual-editor .block-editor-block-list__block{margin-left:auto;margin-right:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-left:-28px;margin-right:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:100%;margin-left:0;margin-right:0;text-align:center;float:left}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-left:46px;padding-right:46px}}.edit-post-visual-editor .editor-post-title__block{margin-left:auto;margin-right:auto;margin-bottom:-20px}.edit-post-visual-editor .editor-post-title__block>div{margin-left:0;margin-right:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-left:-2px;margin-right:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-visual-editor .block-editor-default-block-appender{margin-left:auto;margin-right:auto;position:relative}.edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible=true]+p,.edit-post-visual-editor .block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option.components-base-control+.edit-post-options-modal__option.components-base-control{margin-bottom:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 0 .6rem 10px}@keyframes edit-post__loading-fade-animation{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor,.components-modal__frame{box-sizing:border-box}.block-editor *,.block-editor :after,.block-editor :before,.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before{box-sizing:inherit}.block-editor select,.components-modal__frame select{font-size:13px;color:#555d66}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px}}.block-editor-block-list__block .input-control:focus,.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=color]:focus,.block-editor-block-list__block input[type=date]:focus,.block-editor-block-list__block input[type=datetime-local]:focus,.block-editor-block-list__block input[type=datetime]:focus,.block-editor-block-list__block input[type=email]:focus,.block-editor-block-list__block input[type=month]:focus,.block-editor-block-list__block input[type=number]:focus,.block-editor-block-list__block input[type=password]:focus,.block-editor-block-list__block input[type=radio]:focus,.block-editor-block-list__block input[type=search]:focus,.block-editor-block-list__block input[type=tel]:focus,.block-editor-block-list__block input[type=text]:focus,.block-editor-block-list__block input[type=time]:focus,.block-editor-block-list__block input[type=url]:focus,.block-editor-block-list__block input[type=week]:focus,.block-editor-block-list__block select:focus,.block-editor-block-list__block textarea:focus,.components-modal__content .input-control:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=color]:focus,.components-modal__content input[type=date]:focus,.components-modal__content input[type=datetime-local]:focus,.components-modal__content input[type=datetime]:focus,.components-modal__content input[type=email]:focus,.components-modal__content input[type=month]:focus,.components-modal__content input[type=number]:focus,.components-modal__content input[type=password]:focus,.components-modal__content input[type=radio]:focus,.components-modal__content input[type=search]:focus,.components-modal__content input[type=tel]:focus,.components-modal__content input[type=text]:focus,.components-modal__content input[type=time]:focus,.components-modal__content input[type=url]:focus,.components-modal__content input[type=week]:focus,.components-modal__content select:focus,.components-modal__content textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-post-permalink .input-control:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=color]:focus,.editor-post-permalink input[type=date]:focus,.editor-post-permalink input[type=datetime-local]:focus,.editor-post-permalink input[type=datetime]:focus,.editor-post-permalink input[type=email]:focus,.editor-post-permalink input[type=month]:focus,.editor-post-permalink input[type=number]:focus,.editor-post-permalink input[type=password]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-permalink input[type=search]:focus,.editor-post-permalink input[type=tel]:focus,.editor-post-permalink input[type=text]:focus,.editor-post-permalink input[type=time]:focus,.editor-post-permalink input[type=url]:focus,.editor-post-permalink input[type=week]:focus,.editor-post-permalink select:focus,.editor-post-permalink textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-list__block input[type=number],.components-modal__content input[type=number],.components-popover input[type=number],.edit-post-sidebar input[type=number],.editor-post-permalink input[type=number],.editor-post-publish-panel input[type=number]{padding-left:4px;padding-right:4px}.block-editor-block-list__block select,.components-modal__content select,.components-popover select,.edit-post-sidebar select,.editor-post-permalink select,.editor-post-publish-panel select{padding:2px}.block-editor-block-list__block select:focus,.components-modal__content select:focus,.components-popover select:focus,.edit-post-sidebar select:focus,.editor-post-permalink select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=radio],.components-modal__content input[type=checkbox],.components-modal__content input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-right:12px;transition:none}.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=radio]:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.block-editor-block-list__block input[type=checkbox]:checked,.block-editor-block-list__block input[type=radio]:checked,.components-modal__content input[type=checkbox]:checked,.components-modal__content input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.editor-post-permalink input[type=checkbox]:checked,.editor-post-permalink input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-sunrise .block-editor-block-list__block input[type=radio]:checked,body.admin-color-sunrise .components-modal__content input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__content input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .editor-post-permalink input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-permalink input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ocean .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ocean .components-modal__content input[type=checkbox]:checked,body.admin-color-ocean .components-modal__content input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ocean .editor-post-permalink input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-midnight .block-editor-block-list__block input[type=radio]:checked,body.admin-color-midnight .components-modal__content input[type=checkbox]:checked,body.admin-color-midnight .components-modal__content input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .editor-post-permalink input[type=checkbox]:checked,body.admin-color-midnight .editor-post-permalink input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ectoplasm .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ectoplasm .components-modal__content input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__content input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-coffee .block-editor-block-list__block input[type=radio]:checked,body.admin-color-coffee .components-modal__content input[type=checkbox]:checked,body.admin-color-coffee .components-modal__content input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .editor-post-permalink input[type=checkbox]:checked,body.admin-color-coffee .editor-post-permalink input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-blue .block-editor-block-list__block input[type=radio]:checked,body.admin-color-blue .components-modal__content input[type=checkbox]:checked,body.admin-color-blue .components-modal__content input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .editor-post-permalink input[type=checkbox]:checked,body.admin-color-blue .editor-post-permalink input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-light .block-editor-block-list__block input[type=radio]:checked,body.admin-color-light .components-modal__content input[type=checkbox]:checked,body.admin-color-light .components-modal__content input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .editor-post-permalink input[type=checkbox]:checked,body.admin-color-light .editor-post-permalink input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox]:checked:focus,.block-editor-block-list__block input[type=radio]:checked:focus,.components-modal__content input[type=checkbox]:checked:focus,.components-modal__content input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.editor-post-permalink input[type=checkbox]:checked:focus,.editor-post-permalink input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=checkbox],.components-modal__content input[type=checkbox],.components-popover input[type=checkbox],.edit-post-sidebar input[type=checkbox],.editor-post-permalink input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed],.components-modal__content input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.editor-post-permalink input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:focus,.components-modal__content input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=radio],.components-modal__content input[type=radio],.components-popover input[type=radio],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.block-editor-block-list__block input[type=radio]:checked:before,.components-modal__content input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.editor-post-permalink input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 0 0 3px;background-color:#fff}.block-editor-block-list__block input::-webkit-input-placeholder,.block-editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.block-editor-block-list__block input::-moz-placeholder,.block-editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.block-editor-block-list__block input:-ms-input-placeholder,.block-editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input::-moz-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file +@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms!important}}@media (min-width:782px){body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms!important}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;right:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-flex}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{left:0}@media (min-width:782px){.edit-post-header{left:160px}}@media (min-width:782px){.auto-fold .edit-post-header{left:36px}}@media (min-width:960px){.auto-fold .edit-post-header{left:160px}}.folded .edit-post-header{left:0}@media (min-width:782px){.folded .edit-post-header{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-left:-18px}}body.is-fullscreen-mode .edit-post-header{left:0!important}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;right:1px;bottom:1px;left:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:block;border-top:0;border-bottom:0;border-left:0;margin:-9px 10px -9px -10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;left:0;right:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-left:8px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-menu-group:not(:last-child),.edit-post-more-menu__content .components-popover__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-more-menu__content .components-popover__content .components-menu-item__button{padding-left:2rem}.edit-post-more-menu__content .components-popover__content .components-menu-item__button.has-icon{padding-left:.5rem}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{order:1;font-weight:600;margin:0 0 0 1rem}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;order:0;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{top:0}}.edit-post-layout .components-notice-list.is-pinned{position:relative;left:0;top:0}.edit-post-layout .components-notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice .components-notice__dismiss{margin:10px 5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;left:0;right:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-left:160px}body.auto-fold .edit-post-layout__content{margin-left:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-left:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-left:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-left:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;left:auto;width:280px;border-left:1px solid #e2e4e7;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms!important}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;left:auto;right:0;z-index:100000;padding:10px 10px 10px 0;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 0 0 auto;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;right:10px;bottom:10px;left:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item input[type=checkbox]{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-right:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;right:0;bottom:0;width:280px;border-left:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:hidden;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{word-wrap:break-word}.edit-post-post-schedule{width:100%;position:relative}.edit-post-post-schedule__label{display:none}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-left:16px;margin-right:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-left:auto;margin-right:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{left:0;right:0;margin-top:-6px}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;left:0;right:0;height:36px;line-height:36px;padding:0 8px 0 16px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 auto 0 0;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50px;width:100%;margin:-4px auto -50px}.edit-post-visual-editor .block-editor-block-list__block{margin-left:auto;margin-right:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-left:-28px;margin-right:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:100%;margin-left:0;margin-right:0;text-align:center;float:left}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-left:46px;padding-right:46px}}.edit-post-visual-editor .editor-post-title__block{margin-left:auto;margin-right:auto;margin-bottom:-20px}.edit-post-visual-editor .editor-post-title__block>div{margin-left:0;margin-right:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-left:-2px;margin-right:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-visual-editor .block-editor-default-block-appender{margin-left:auto;margin-right:auto;position:relative}.edit-post-visual-editor .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.edit-post-visual-editor .block-editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible=true]+p,.edit-post-visual-editor .block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option.components-base-control+.edit-post-options-modal__option.components-base-control{margin-bottom:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 0 .6rem 10px}@keyframes edit-post__loading-fade-animation{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor,.components-modal__frame{box-sizing:border-box}.block-editor *,.block-editor :after,.block-editor :before,.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before{box-sizing:inherit}.block-editor select,.components-modal__frame select{font-size:13px;color:#555d66}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #8d96a0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .input-control,.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=color],.block-editor-block-list__block input[type=date],.block-editor-block-list__block input[type=datetime-local],.block-editor-block-list__block input[type=datetime],.block-editor-block-list__block input[type=email],.block-editor-block-list__block input[type=month],.block-editor-block-list__block input[type=number],.block-editor-block-list__block input[type=password],.block-editor-block-list__block input[type=radio],.block-editor-block-list__block input[type=search],.block-editor-block-list__block input[type=tel],.block-editor-block-list__block input[type=text],.block-editor-block-list__block input[type=time],.block-editor-block-list__block input[type=url],.block-editor-block-list__block input[type=week],.block-editor-block-list__block select,.block-editor-block-list__block textarea,.components-modal__content .input-control,.components-modal__content input[type=checkbox],.components-modal__content input[type=color],.components-modal__content input[type=date],.components-modal__content input[type=datetime-local],.components-modal__content input[type=datetime],.components-modal__content input[type=email],.components-modal__content input[type=month],.components-modal__content input[type=number],.components-modal__content input[type=password],.components-modal__content input[type=radio],.components-modal__content input[type=search],.components-modal__content input[type=tel],.components-modal__content input[type=text],.components-modal__content input[type=time],.components-modal__content input[type=url],.components-modal__content input[type=week],.components-modal__content select,.components-modal__content textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-post-permalink .input-control,.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=color],.editor-post-permalink input[type=date],.editor-post-permalink input[type=datetime-local],.editor-post-permalink input[type=datetime],.editor-post-permalink input[type=email],.editor-post-permalink input[type=month],.editor-post-permalink input[type=number],.editor-post-permalink input[type=password],.editor-post-permalink input[type=radio],.editor-post-permalink input[type=search],.editor-post-permalink input[type=tel],.editor-post-permalink input[type=text],.editor-post-permalink input[type=time],.editor-post-permalink input[type=url],.editor-post-permalink input[type=week],.editor-post-permalink select,.editor-post-permalink textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px}}.block-editor-block-list__block .input-control:focus,.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=color]:focus,.block-editor-block-list__block input[type=date]:focus,.block-editor-block-list__block input[type=datetime-local]:focus,.block-editor-block-list__block input[type=datetime]:focus,.block-editor-block-list__block input[type=email]:focus,.block-editor-block-list__block input[type=month]:focus,.block-editor-block-list__block input[type=number]:focus,.block-editor-block-list__block input[type=password]:focus,.block-editor-block-list__block input[type=radio]:focus,.block-editor-block-list__block input[type=search]:focus,.block-editor-block-list__block input[type=tel]:focus,.block-editor-block-list__block input[type=text]:focus,.block-editor-block-list__block input[type=time]:focus,.block-editor-block-list__block input[type=url]:focus,.block-editor-block-list__block input[type=week]:focus,.block-editor-block-list__block select:focus,.block-editor-block-list__block textarea:focus,.components-modal__content .input-control:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=color]:focus,.components-modal__content input[type=date]:focus,.components-modal__content input[type=datetime-local]:focus,.components-modal__content input[type=datetime]:focus,.components-modal__content input[type=email]:focus,.components-modal__content input[type=month]:focus,.components-modal__content input[type=number]:focus,.components-modal__content input[type=password]:focus,.components-modal__content input[type=radio]:focus,.components-modal__content input[type=search]:focus,.components-modal__content input[type=tel]:focus,.components-modal__content input[type=text]:focus,.components-modal__content input[type=time]:focus,.components-modal__content input[type=url]:focus,.components-modal__content input[type=week]:focus,.components-modal__content select:focus,.components-modal__content textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-post-permalink .input-control:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=color]:focus,.editor-post-permalink input[type=date]:focus,.editor-post-permalink input[type=datetime-local]:focus,.editor-post-permalink input[type=datetime]:focus,.editor-post-permalink input[type=email]:focus,.editor-post-permalink input[type=month]:focus,.editor-post-permalink input[type=number]:focus,.editor-post-permalink input[type=password]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-permalink input[type=search]:focus,.editor-post-permalink input[type=tel]:focus,.editor-post-permalink input[type=text]:focus,.editor-post-permalink input[type=time]:focus,.editor-post-permalink input[type=url]:focus,.editor-post-permalink input[type=week]:focus,.editor-post-permalink select:focus,.editor-post-permalink textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-list__block input[type=number],.components-modal__content input[type=number],.components-popover input[type=number],.edit-post-sidebar input[type=number],.editor-post-permalink input[type=number],.editor-post-publish-panel input[type=number]{padding-left:4px;padding-right:4px}.block-editor-block-list__block select,.components-modal__content select,.components-popover select,.edit-post-sidebar select,.editor-post-permalink select,.editor-post-publish-panel select{padding:2px}.block-editor-block-list__block select:focus,.components-modal__content select:focus,.components-popover select:focus,.edit-post-sidebar select:focus,.editor-post-permalink select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.block-editor-block-list__block input[type=checkbox],.block-editor-block-list__block input[type=radio],.components-modal__content input[type=checkbox],.components-modal__content input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=checkbox],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-right:12px;transition:none}.block-editor-block-list__block input[type=checkbox]:focus,.block-editor-block-list__block input[type=radio]:focus,.components-modal__content input[type=checkbox]:focus,.components-modal__content input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.editor-post-permalink input[type=checkbox]:focus,.editor-post-permalink input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.block-editor-block-list__block input[type=checkbox]:checked,.block-editor-block-list__block input[type=radio]:checked,.components-modal__content input[type=checkbox]:checked,.components-modal__content input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.editor-post-permalink input[type=checkbox]:checked,.editor-post-permalink input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-sunrise .block-editor-block-list__block input[type=radio]:checked,body.admin-color-sunrise .components-modal__content input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__content input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .editor-post-permalink input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-permalink input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ocean .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ocean .components-modal__content input[type=checkbox]:checked,body.admin-color-ocean .components-modal__content input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ocean .editor-post-permalink input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-midnight .block-editor-block-list__block input[type=radio]:checked,body.admin-color-midnight .components-modal__content input[type=checkbox]:checked,body.admin-color-midnight .components-modal__content input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .editor-post-permalink input[type=checkbox]:checked,body.admin-color-midnight .editor-post-permalink input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-ectoplasm .block-editor-block-list__block input[type=radio]:checked,body.admin-color-ectoplasm .components-modal__content input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__content input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-permalink input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-coffee .block-editor-block-list__block input[type=radio]:checked,body.admin-color-coffee .components-modal__content input[type=checkbox]:checked,body.admin-color-coffee .components-modal__content input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .editor-post-permalink input[type=checkbox]:checked,body.admin-color-coffee .editor-post-permalink input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-blue .block-editor-block-list__block input[type=radio]:checked,body.admin-color-blue .components-modal__content input[type=checkbox]:checked,body.admin-color-blue .components-modal__content input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .editor-post-permalink input[type=checkbox]:checked,body.admin-color-blue .editor-post-permalink input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox]:checked,body.admin-color-light .block-editor-block-list__block input[type=radio]:checked,body.admin-color-light .components-modal__content input[type=checkbox]:checked,body.admin-color-light .components-modal__content input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .editor-post-permalink input[type=checkbox]:checked,body.admin-color-light .editor-post-permalink input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox]:checked:focus,.block-editor-block-list__block input[type=radio]:checked:focus,.components-modal__content input[type=checkbox]:checked:focus,.components-modal__content input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.editor-post-permalink input[type=checkbox]:checked:focus,.editor-post-permalink input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=checkbox],.components-modal__content input[type=checkbox],.components-popover input[type=checkbox],.edit-post-sidebar input[type=checkbox],.editor-post-permalink input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox]:checked:before,.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox]:checked:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox]:checked:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed],.components-modal__content input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.editor-post-permalink input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .block-editor-block-list__block input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-modal__content input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-permalink input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:before,.components-modal__content input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.block-editor-block-list__block input[type=checkbox][aria-checked=mixed]:focus,.components-modal__content input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.editor-post-permalink input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.block-editor-block-list__block input[type=radio],.components-modal__content input[type=radio],.components-popover input[type=radio],.edit-post-sidebar input[type=radio],.editor-post-permalink input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.block-editor-block-list__block input[type=radio]:checked:before,.components-modal__content input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.editor-post-permalink input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 0 0 3px;background-color:#fff}.block-editor-block-list__block input::-webkit-input-placeholder,.block-editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.block-editor-block-list__block input::-moz-placeholder,.block-editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.block-editor-block-list__block input:-ms-input-placeholder,.block-editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .block-editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input::-moz-placeholder,.is-dark-theme .block-editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .block-editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file diff --git a/wp-includes/js/dist/api-fetch.js b/wp-includes/js/dist/api-fetch.js index 7d62202855..024d2365f1 100644 --- a/wp-includes/js/dist/api-fetch.js +++ b/wp-includes/js/dist/api-fetch.js @@ -322,7 +322,7 @@ var createPreloadingMiddleware = function createPreloadingMiddleware(preloadedDa if (parse && 'GET' === method && preloadedData[path]) { return Promise.resolve(preloadedData[path].body); - } else if ('OPTIONS' === method && preloadedData[method][path]) { + } else if ('OPTIONS' === method && preloadedData[method] && preloadedData[method][path]) { return Promise.resolve(preloadedData[method][path]); } } diff --git a/wp-includes/js/dist/api-fetch.min.js b/wp-includes/js/dist/api-fetch.min.js index a10a29e41b..9b51af3284 100644 --- a/wp-includes/js/dist/api-fetch.min.js +++ b/wp-includes/js/dist/api-fetch.min.js @@ -1 +1 @@ -this.wp=this.wp||{},this.wp.apiFetch=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=369)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},15:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",function(){return n})},21:function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}r.d(e,"a",function(){return n})},23:function(t,e){!function(){t.exports=this.wp.url}()},26:function(t,e,r){t.exports=r(54)},369:function(t,e,r){"use strict";r.r(e);var n=r(7),o=r(21),i=r(1);var a=function(t){function e(t,r){var o=t.headers,i=void 0===o?{}:o;for(var a in i)if("x-wp-nonce"===a.toLowerCase())return r(t);return r(Object(n.a)({},t,{headers:Object(n.a)({},i,{"X-WP-Nonce":e.nonce})}))}return e.nonce=t,e},u=function(t,e){var r,o,i=t.path;return"string"==typeof t.namespace&&"string"==typeof t.endpoint&&(r=t.namespace.replace(/^\/|\/$/g,""),i=(o=t.endpoint.replace(/^\//,""))?r+"/"+o:r),delete t.namespace,delete t.endpoint,e(Object(n.a)({},t,{path:i}))},c=function(t){return function(e,r){return u(e,function(e){var o,i=e.url,a=e.path;return"string"==typeof a&&(o=t,-1!==t.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(a=a.replace("?","&")),i=o+a),r(Object(n.a)({},e,{url:i}))})}},s=function(t){return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var i=e.method||"GET",a=function(t){var e=t.split("?"),r=e[1],n=e[0];return r?n+"?"+r.split("&").map(function(t){return t.split("=")}).sort(function(t,e){return t[0].localeCompare(e[0])}).map(function(t){return t.join("=")}).join("&"):n}(e.path);if(o&&"GET"===i&&t[a])return Promise.resolve(t[a].body);if("OPTIONS"===i&&t[i][a])return Promise.resolve(t[i][a])}return r(e)}},f=r(26),l=r.n(f),p=r(44),h=r(23),d=function(t,e){var r=t.path,i=t.url,a=Object(o.a)(t,["path","url"]);return Object(n.a)({},a,{url:i&&Object(h.addQueryArgs)(i,e),path:r&&Object(h.addQueryArgs)(r,e)})},y=function(t){return t.json?t.json():Promise.reject(t)},v=function(t){return function(t){if(!t)return{};var e=t.match(/<([^>]+)>; rel="next"/);return e?{next:e[1]}:{}}(t.headers.get("link")).next},g=function(t){var e=t.path&&-1!==t.path.indexOf("per_page=-1"),r=t.url&&-1!==t.url.indexOf("per_page=-1");return e||r},m=function(){var t=Object(p.a)(l.a.mark(function t(e,r){var o,i,a,u,c,s;return l.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==e.parse){t.next=2;break}return t.abrupt("return",r(e));case 2:if(g(e)){t.next=4;break}return t.abrupt("return",r(e));case 4:return t.next=6,r(Object(n.a)({},d(e,{per_page:100}),{parse:!1}));case 6:return o=t.sent,t.next=9,y(o);case 9:if(i=t.sent,Array.isArray(i)){t.next=12;break}return t.abrupt("return",i);case 12:if(a=v(o)){t.next=15;break}return t.abrupt("return",i);case 15:u=[].concat(i);case 16:if(!a){t.next=27;break}return t.next=19,r(Object(n.a)({},e,{path:void 0,url:a,parse:!1}));case 19:return c=t.sent,t.next=22,y(c);case 22:s=t.sent,u=u.concat(s),a=v(c),t.next=16;break;case 27:return t.abrupt("return",u);case 28:case"end":return t.stop()}},t,this)}));return function(e,r){return t.apply(this,arguments)}}(),b=new Set(["PATCH","PUT","DELETE"]),w="GET";var O={Accept:"application/json, */*;q=0.1"},j={credentials:"include"},x=[function(t,e){return"string"!=typeof t.url||Object(h.hasQueryArg)(t.url,"_locale")||(t.url=Object(h.addQueryArgs)(t.url,{_locale:"user"})),"string"!=typeof t.path||Object(h.hasQueryArg)(t.path,"_locale")||(t.path=Object(h.addQueryArgs)(t.path,{_locale:"user"})),e(t,e)},u,function(t,e){var r=t.method,o=void 0===r?w:r;return b.has(o.toUpperCase())&&(t=Object(n.a)({},t,{headers:Object(n.a)({},t.headers,{"X-HTTP-Method-Override":o,"Content-Type":"application/json"}),method:"POST"})),e(t,e)},m];var _=function(t){var e=t.url,r=t.path,a=t.data,u=t.parse,c=void 0===u||u,s=Object(o.a)(t,["url","path","data","parse"]),f=t.body,l=t.headers;l=Object(n.a)({},O,l),a&&(f=JSON.stringify(a),l["Content-Type"]="application/json");return window.fetch(e||r,Object(n.a)({},j,s,{body:f,headers:l})).then(function(t){if(t.status>=200&&t.status<300)return t;throw t}).then(function(t){return c?204===t.status?null:t.json?t.json():Promise.reject(t):t}).catch(function(t){if(!c)throw t;var e={code:"invalid_json",message:Object(i.__)("The response is not a valid JSON response.")};if(!t||!t.json)throw e;return t.json().catch(function(){throw e}).then(function(t){var e={code:"unknown_error",message:Object(i.__)("An unknown error occurred.")};throw t||e})})};function P(t){var e=[].concat(x,[_]);return function t(r){return function(n){var o=e[r];return r===e.length-1?o(n):o(n,t(r+1))}}(0)(t)}P.use=function(t){x.unshift(t)},P.setFetchHandler=function(t){_=t},P.createNonceMiddleware=a,P.createPreloadingMiddleware=s,P.createRootURLMiddleware=c,P.fetchAllMiddleware=m;e.default=P},44:function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)})}}r.d(e,"a",function(){return o})},54:function(t,e,r){var n=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",s="object"==typeof t,f=e.regeneratorRuntime;if(f)s&&(t.exports=f);else{(f=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},v={};v[a]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(A([])));m&&m!==n&&o.call(m,a)&&(v=m);var b=_.prototype=j.prototype=Object.create(v);x.prototype=b.constructor=_,_.constructor=x,_[c]=x.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},f.awrap=function(t){return{__await:t}},P(L.prototype),L.prototype[u]=function(){return this},f.AsyncIterator=L,f.async=function(t,e,r,n){var o=new L(w(t,e,r,n));return f.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},P(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},f.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=A,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function w(t,e,r,n){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),a=new T(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return N()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=O(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function O(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function j(){}function x(){}function _(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function L(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,a){var u=O(t[r],t,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},function(t){return e("throw",t,i,a)})}a(u.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,E(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=O(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}r.d(e,"a",function(){return n})},23:function(t,e){!function(){t.exports=this.wp.url}()},26:function(t,e,r){t.exports=r(54)},369:function(t,e,r){"use strict";r.r(e);var n=r(7),o=r(21),i=r(1);var a=function(t){function e(t,r){var o=t.headers,i=void 0===o?{}:o;for(var a in i)if("x-wp-nonce"===a.toLowerCase())return r(t);return r(Object(n.a)({},t,{headers:Object(n.a)({},i,{"X-WP-Nonce":e.nonce})}))}return e.nonce=t,e},u=function(t,e){var r,o,i=t.path;return"string"==typeof t.namespace&&"string"==typeof t.endpoint&&(r=t.namespace.replace(/^\/|\/$/g,""),i=(o=t.endpoint.replace(/^\//,""))?r+"/"+o:r),delete t.namespace,delete t.endpoint,e(Object(n.a)({},t,{path:i}))},c=function(t){return function(e,r){return u(e,function(e){var o,i=e.url,a=e.path;return"string"==typeof a&&(o=t,-1!==t.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(a=a.replace("?","&")),i=o+a),r(Object(n.a)({},e,{url:i}))})}},s=function(t){return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var i=e.method||"GET",a=function(t){var e=t.split("?"),r=e[1],n=e[0];return r?n+"?"+r.split("&").map(function(t){return t.split("=")}).sort(function(t,e){return t[0].localeCompare(e[0])}).map(function(t){return t.join("=")}).join("&"):n}(e.path);if(o&&"GET"===i&&t[a])return Promise.resolve(t[a].body);if("OPTIONS"===i&&t[i]&&t[i][a])return Promise.resolve(t[i][a])}return r(e)}},f=r(26),l=r.n(f),p=r(44),h=r(23),d=function(t,e){var r=t.path,i=t.url,a=Object(o.a)(t,["path","url"]);return Object(n.a)({},a,{url:i&&Object(h.addQueryArgs)(i,e),path:r&&Object(h.addQueryArgs)(r,e)})},y=function(t){return t.json?t.json():Promise.reject(t)},v=function(t){return function(t){if(!t)return{};var e=t.match(/<([^>]+)>; rel="next"/);return e?{next:e[1]}:{}}(t.headers.get("link")).next},g=function(t){var e=t.path&&-1!==t.path.indexOf("per_page=-1"),r=t.url&&-1!==t.url.indexOf("per_page=-1");return e||r},m=function(){var t=Object(p.a)(l.a.mark(function t(e,r){var o,i,a,u,c,s;return l.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==e.parse){t.next=2;break}return t.abrupt("return",r(e));case 2:if(g(e)){t.next=4;break}return t.abrupt("return",r(e));case 4:return t.next=6,r(Object(n.a)({},d(e,{per_page:100}),{parse:!1}));case 6:return o=t.sent,t.next=9,y(o);case 9:if(i=t.sent,Array.isArray(i)){t.next=12;break}return t.abrupt("return",i);case 12:if(a=v(o)){t.next=15;break}return t.abrupt("return",i);case 15:u=[].concat(i);case 16:if(!a){t.next=27;break}return t.next=19,r(Object(n.a)({},e,{path:void 0,url:a,parse:!1}));case 19:return c=t.sent,t.next=22,y(c);case 22:s=t.sent,u=u.concat(s),a=v(c),t.next=16;break;case 27:return t.abrupt("return",u);case 28:case"end":return t.stop()}},t,this)}));return function(e,r){return t.apply(this,arguments)}}(),b=new Set(["PATCH","PUT","DELETE"]),w="GET";var O={Accept:"application/json, */*;q=0.1"},j={credentials:"include"},x=[function(t,e){return"string"!=typeof t.url||Object(h.hasQueryArg)(t.url,"_locale")||(t.url=Object(h.addQueryArgs)(t.url,{_locale:"user"})),"string"!=typeof t.path||Object(h.hasQueryArg)(t.path,"_locale")||(t.path=Object(h.addQueryArgs)(t.path,{_locale:"user"})),e(t,e)},u,function(t,e){var r=t.method,o=void 0===r?w:r;return b.has(o.toUpperCase())&&(t=Object(n.a)({},t,{headers:Object(n.a)({},t.headers,{"X-HTTP-Method-Override":o,"Content-Type":"application/json"}),method:"POST"})),e(t,e)},m];var _=function(t){var e=t.url,r=t.path,a=t.data,u=t.parse,c=void 0===u||u,s=Object(o.a)(t,["url","path","data","parse"]),f=t.body,l=t.headers;l=Object(n.a)({},O,l),a&&(f=JSON.stringify(a),l["Content-Type"]="application/json");return window.fetch(e||r,Object(n.a)({},j,s,{body:f,headers:l})).then(function(t){if(t.status>=200&&t.status<300)return t;throw t}).then(function(t){return c?204===t.status?null:t.json?t.json():Promise.reject(t):t}).catch(function(t){if(!c)throw t;var e={code:"invalid_json",message:Object(i.__)("The response is not a valid JSON response.")};if(!t||!t.json)throw e;return t.json().catch(function(){throw e}).then(function(t){var e={code:"unknown_error",message:Object(i.__)("An unknown error occurred.")};throw t||e})})};function P(t){var e=[].concat(x,[_]);return function t(r){return function(n){var o=e[r];return r===e.length-1?o(n):o(n,t(r+1))}}(0)(t)}P.use=function(t){x.unshift(t)},P.setFetchHandler=function(t){_=t},P.createNonceMiddleware=a,P.createPreloadingMiddleware=s,P.createRootURLMiddleware=c,P.fetchAllMiddleware=m;e.default=P},44:function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)})}}r.d(e,"a",function(){return o})},54:function(t,e,r){var n=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(55),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},55:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",s="object"==typeof t,f=e.regeneratorRuntime;if(f)s&&(t.exports=f);else{(f=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},v={};v[a]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(A([])));m&&m!==n&&o.call(m,a)&&(v=m);var b=_.prototype=j.prototype=Object.create(v);x.prototype=b.constructor=_,_.constructor=x,_[c]=x.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},f.awrap=function(t){return{__await:t}},P(L.prototype),L.prototype[u]=function(){return this},f.AsyncIterator=L,f.async=function(t,e,r,n){var o=new L(w(t,e,r,n));return f.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},P(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},f.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=A,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function w(t,e,r,n){var o=e&&e.prototype instanceof j?e:j,i=Object.create(o.prototype),a=new T(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return N()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=O(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function O(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function j(){}function x(){}function _(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function L(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,a){var u=O(t[r],t,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},function(t){return e("throw",t,i,a)})}a(u.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,E(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=O(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n 0) { - formats[this.state.start] = this.formatPlaceholder; - } else { - delete formats[this.state.start]; - } - } else if (selectedFormat > 0) { - var formatsBefore = formats[start - 1] || []; - var formatsAfter = formats[start] || []; - var source = formatsBefore; - - if (formatsAfter.length > formatsBefore.length) { - source = formatsAfter; - } - - source = source.slice(0, selectedFormat); - formats[this.state.start] = source; - } else { - delete formats[this.state.start]; - } - - var change = { - formats: formats, - replacements: replacements, - text: text, + var change = Object(external_this_wp_richText_["__unstableUpdateFormats"])({ + value: value, start: start, - end: end, - selectedFormat: selectedFormat - }; + end: value.start, + formats: activeFormats + }); + this.onChange(change, { withoutHistory: true }); @@ -14614,7 +14594,7 @@ function (_Component) { if (transformed !== change) { this.onCreateUndoLevel(); this.onChange(Object(objectSpread["a" /* default */])({}, transformed, { - selectedFormat: selectedFormat + activeFormats: activeFormats })); } // Create an undo level when input stops for over a second. @@ -14638,44 +14618,47 @@ function (_Component) { }, { key: "onSelectionChange", value: function onSelectionChange() { - if (this.ignoreSelectionChange) { - delete this.ignoreSelectionChange; - return; - } - var value = this.createRecord(); var start = value.start, - end = value.end, - formats = value.formats; + end = value.end; if (start !== this.state.start || end !== this.state.end) { var isCaretWithinFormattedText = this.props.isCaretWithinFormattedText; - if (!isCaretWithinFormattedText && formats[start]) { + var activeFormats = Object(external_this_wp_richText_["__unstableGetActiveFormats"])(value); + + if (!isCaretWithinFormattedText && activeFormats.length) { this.props.onEnterFormattedText(); - } else if (isCaretWithinFormattedText && !formats[start]) { + } else if (isCaretWithinFormattedText && !activeFormats.length) { this.props.onExitFormattedText(); } - var selectedFormat; - - if (Object(external_this_wp_richText_["isCollapsed"])(value)) { - var formatsBefore = formats[start - 1] || []; - var formatsAfter = formats[start] || []; - selectedFormat = Math.min(formatsBefore.length, formatsAfter.length); - } - this.setState({ start: start, end: end, - selectedFormat: selectedFormat + activeFormats: activeFormats }); this.applyRecord(Object(objectSpread["a" /* default */])({}, value, { - selectedFormat: selectedFormat + activeFormats: activeFormats }), { domOnly: true }); - delete this.formatPlaceholder; + + if (activeFormats.length > 0) { + this.recalculateBoundaryStyle(); + } + } + } + }, { + key: "recalculateBoundaryStyle", + value: function recalculateBoundaryStyle() { + var boundarySelector = '*[data-rich-text-format-boundary]'; + var element = this.editableRef.querySelector(boundarySelector); + + if (element) { + var computedStyle = getComputedStyle(element); + var newColor = computedStyle.color.replace(')', ', 0.2)').replace('rgb', 'rgba'); + globalStyle.innerHTML = "*:focus ".concat(boundarySelector, "{background-color: ").concat(newColor, "}"); } } /** @@ -14713,16 +14696,15 @@ function (_Component) { this.applyRecord(record); var start = record.start, end = record.end, - formatPlaceholder = record.formatPlaceholder, - selectedFormat = record.selectedFormat; - this.formatPlaceholder = formatPlaceholder; + _record$activeFormats = record.activeFormats, + activeFormats = _record$activeFormats === void 0 ? [] : _record$activeFormats; this.onChangeEditableValue(record); this.savedContent = this.valueToFormat(record); this.props.onChange(this.savedContent); this.setState({ start: start, end: end, - selectedFormat: selectedFormat + activeFormats: activeFormats }); if (!withoutHistory) { @@ -14939,20 +14921,22 @@ function (_Component) { }, { key: "handleHorizontalNavigation", value: function handleHorizontalNavigation(event) { + var _this2 = this; + var value = this.createRecord(); var formats = value.formats, text = value.text, start = value.start, end = value.end; - var selectedFormat = this.state.selectedFormat; + var _this$state$activeFor = this.state.activeFormats, + activeFormats = _this$state$activeFor === void 0 ? [] : _this$state$activeFor; var collapsed = Object(external_this_wp_richText_["isCollapsed"])(value); - var isReverse = event.keyCode === external_this_wp_keycodes_["LEFT"]; - delete this.formatPlaceholder; // If the selection is collapsed and at the very start, do nothing if + var isReverse = event.keyCode === external_this_wp_keycodes_["LEFT"]; // If the selection is collapsed and at the very start, do nothing if // navigating backward. // If the selection is collapsed and at the very end, do nothing if // navigating forward. - if (collapsed && selectedFormat === 0) { + if (collapsed && activeFormats.length === 0) { if (start === 0 && isReverse) { return; } @@ -14970,39 +14954,48 @@ function (_Component) { } // In all other cases, prevent default behaviour. - event.preventDefault(); // Ignore the selection change handler when setting selection, all state - // will be set here. - - this.ignoreSelectionChange = true; + event.preventDefault(); var formatsBefore = formats[start - 1] || []; var formatsAfter = formats[start] || []; - var newSelectedFormat = selectedFormat; // If the amount of formats before the caret and after the caret is + var newActiveFormatsLength = activeFormats.length; + var source = formatsAfter; + + if (formatsBefore.length > formatsAfter.length) { + source = formatsBefore; + } // If the amount of formats before the caret and after the caret is // different, the caret is at a format boundary. + if (formatsBefore.length < formatsAfter.length) { - if (!isReverse && selectedFormat < formatsAfter.length) { - newSelectedFormat++; + if (!isReverse && activeFormats.length < formatsAfter.length) { + newActiveFormatsLength++; } - if (isReverse && selectedFormat > formatsBefore.length) { - newSelectedFormat--; + if (isReverse && activeFormats.length > formatsBefore.length) { + newActiveFormatsLength--; } } else if (formatsBefore.length > formatsAfter.length) { - if (!isReverse && selectedFormat > formatsAfter.length) { - newSelectedFormat--; + if (!isReverse && activeFormats.length > formatsAfter.length) { + newActiveFormatsLength--; } - if (isReverse && selectedFormat < formatsBefore.length) { - newSelectedFormat++; + if (isReverse && activeFormats.length < formatsBefore.length) { + newActiveFormatsLength++; } - } + } // Wait for boundary class to be added. - if (newSelectedFormat !== selectedFormat) { + + setTimeout(function () { + return _this2.recalculateBoundaryStyle(); + }); + + if (newActiveFormatsLength !== activeFormats.length) { + var newActiveFormats = source.slice(0, newActiveFormatsLength); this.applyRecord(Object(objectSpread["a" /* default */])({}, value, { - selectedFormat: newSelectedFormat + activeFormats: newActiveFormats })); this.setState({ - selectedFormat: newSelectedFormat + activeFormats: newActiveFormats }); return; } @@ -15015,7 +15008,7 @@ function (_Component) { this.applyRecord(Object(objectSpread["a" /* default */])({}, value, { start: newPos, end: newPos, - selectedFormat: isReverse ? formatsBefore.length : formatsAfter.length + activeFormats: isReverse ? formatsBefore : formatsAfter })); } /** @@ -15102,7 +15095,7 @@ function (_Component) { }, { key: "componentDidUpdate", value: function componentDidUpdate(prevProps) { - var _this2 = this; + var _this3 = this; var _this$props2 = this.props, tagName = _this$props2.tagName, @@ -15140,12 +15133,12 @@ function (_Component) { } // Allow primitives and arrays: - if (!Object(external_lodash_["isPlainObject"])(_this2.props[name])) { - return _this2.props[name] !== prevProps[name]; + if (!Object(external_lodash_["isPlainObject"])(_this3.props[name])) { + return _this3.props[name] !== prevProps[name]; } - return Object.keys(_this2.props[name]).some(function (subName) { - return _this2.props[name][subName] !== prevProps[name][subName]; + return Object.keys(_this3.props[name]).some(function (subName) { + return _this3.props[name][subName] !== prevProps[name][subName]; }); }); @@ -15272,7 +15265,7 @@ function (_Component) { }, { key: "render", value: function render() { - var _this3 = this; + var _this4 = this; var _this$props3 = this.props, _this$props3$tagName = _this$props3.tagName, @@ -15324,7 +15317,7 @@ function (_Component) { tagName: Tagname, style: style, record: record, - valueToEditableHTML: _this3.valueToEditableHTML, + valueToEditableHTML: _this4.valueToEditableHTML, isPlaceholderVisible: isPlaceholderVisible, "aria-label": placeholder, "aria-autocomplete": "list", @@ -15333,21 +15326,21 @@ function (_Component) { }, ariaProps, { className: className, key: key, - onPaste: _this3.onPaste, - onInput: _this3.onInput, - onCompositionEnd: _this3.onCompositionEnd, - onKeyDown: _this3.onKeyDown, - onFocus: _this3.onFocus, - onBlur: _this3.onBlur, - onMouseDown: _this3.onPointerDown, - onTouchStart: _this3.onPointerDown, - setRef: _this3.setRef + onPaste: _this4.onPaste, + onInput: _this4.onInput, + onCompositionEnd: _this4.onCompositionEnd, + onKeyDown: _this4.onKeyDown, + onFocus: _this4.onFocus, + onBlur: _this4.onBlur, + onMouseDown: _this4.onPointerDown, + onTouchStart: _this4.onPointerDown, + setRef: _this4.setRef })), isPlaceholderVisible && Object(external_this_wp_element_["createElement"])(Tagname, { className: classnames_default()('editor-rich-text__editable block-editor-rich-text__editable', className), style: style }, MultilineTag ? Object(external_this_wp_element_["createElement"])(MultilineTag, null, placeholder) : placeholder), isSelected && Object(external_this_wp_element_["createElement"])(format_edit, { value: record, - onChange: _this3.onChange + onChange: _this4.onChange })); }), isSelected && Object(external_this_wp_element_["createElement"])(RemoveBrowserShortcuts, null)); } @@ -17109,8 +17102,7 @@ function BlockModeToggle(_ref) { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", onClick: onToggleMode, - icon: "html", - label: small ? label : undefined + icon: "html" }, !small && label); } /* harmony default export */ var block_mode_toggle = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { @@ -17329,8 +17321,7 @@ function BlockConvertButton(_ref) { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", onClick: onClick, - icon: "screenoptions", - label: small ? label : undefined + icon: "screenoptions" }, !small && label); } @@ -17862,10 +17853,6 @@ function BlockToolbar(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/copy-handler/index.js - - - - /** * WordPress dependencies */ @@ -17874,54 +17861,18 @@ function BlockToolbar(_ref) { +function CopyHandler(_ref) { + var children = _ref.children, + onCopy = _ref.onCopy, + onCut = _ref.onCut; + return Object(external_this_wp_element_["createElement"])("div", { + onCopy: onCopy, + onCut: onCut + }, children); +} -var copy_handler_CopyHandler = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(CopyHandler, _Component); - - function CopyHandler() { - var _this; - - Object(classCallCheck["a" /* default */])(this, CopyHandler); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(CopyHandler).apply(this, arguments)); - - _this.onCopy = function (event) { - return _this.props.onCopy(event); - }; - - _this.onCut = function (event) { - return _this.props.onCut(event); - }; - - return _this; - } - - Object(createClass["a" /* default */])(CopyHandler, [{ - key: "componentDidMount", - value: function componentDidMount() { - document.addEventListener('copy', this.onCopy); - document.addEventListener('cut', this.onCut); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - document.removeEventListener('copy', this.onCopy); - document.removeEventListener('cut', this.onCut); - } - }, { - key: "render", - value: function render() { - return null; - } - }]); - - return CopyHandler; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var copy_handler = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref) { - var select = _ref.select; +/* harmony default export */ var copy_handler = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref2) { + var select = _ref2.select; var _select = select('core/block-editor'), getBlocksByClientId = _select.getBlocksByClientId, @@ -17961,7 +17912,7 @@ function (_Component) { } } }; -})])(copy_handler_CopyHandler)); +})])(CopyHandler)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-select-scroll-into-view/index.js diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 2d3ff78be4..4660a80f49 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -52,4 +52,4 @@ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISI OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @license */ -var o;o=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var o,r=n(1),i=(o=r)&&o.__esModule?o:{default:o},c=n(2),l=n(3),a=n(5),s=n(6),u=n(7),d=n(8),b=n(9),f=n(10),p=n(11),h=n(13),v=n(14),m=n(16),g=n(17);t.Diff=i.default,t.diffChars=c.diffChars,t.diffWords=l.diffWords,t.diffWordsWithSpace=l.diffWordsWithSpace,t.diffLines=a.diffLines,t.diffTrimmedLines=a.diffTrimmedLines,t.diffSentences=s.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=b.diffArrays,t.structuredPatch=v.structuredPatch,t.createTwoFilesPatch=v.createTwoFilesPatch,t.createPatch=v.createPatch,t.applyPatch=f.applyPatch,t.applyPatches=f.applyPatches,t.parsePatch=p.parsePatch,t.merge=h.merge,t.convertChangesToDMP=m.convertChangesToDMP,t.convertChangesToXML=g.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function o(e,t,n,o,r){for(var i=0,c=t.length,l=0,a=0;ie.length?n:e}),s.value=e.join(d)}else s.value=e.join(n.slice(l,l+s.count));l+=s.count,s.added||(a+=s.count)}}var b=t[c-1];return c>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[c-2].value+=b.value,t.pop()),t}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function c(e){return r?(setTimeout(function(){r(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,a=e.length,s=1,u=l+a,d=[{newPos:-1,components:[]}],b=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=l&&b+1>=a)return c([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*s;n<=s;n+=2){var r=void 0,u=d[n-1],b=d[n+1],f=(b?b.newPos:0)-n;u&&(d[n-1]=void 0);var p=u&&u.newPos+1=l&&f+1>=a)return c(o(i,r.components,t,e,i.useLongestToken));d[n]=r}else d[n]=void 0}var v;s++}if(r)!function e(){setTimeout(function(){if(s>u)return r();f()||e()},0)}();else for(;s<=u;){var p=f();if(p)return p}},pushComponent:function(e,t,n){var o=e[e.length-1];o&&o.added===t&&o.removed===n?e[e.length-1]={count:o.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,o){for(var r=t.length,i=n.length,c=e.newPos,l=c-o,a=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,r.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var o=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],l=t.hunks,a=n.compareLine||function(e,t,n,o){return t===o},s=0,u=n.fuzzFactor||0,d=0,b=0,f=void 0,p=void 0;function h(e,t){for(var n=0;n0?r[0]:" ",c=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!a(t+1,o[t],i,c)&&++s>u)return!1;t++}}return!0}for(var v=0;v0?w[0]:" ",T=w.length>0?w.substr(1):w,B=S.linedelimiters[E];if(" "===I)C++;else if("-"===I)o.splice(C,1),i.splice(C,1);else if("+"===I)o.splice(C,0,T),i.splice(C,0,B),C++;else if("\\"===I){var x=S.lines[E-1]?S.lines[E-1][0]:null;"+"===x?f=!0:"-"===x&&(p=!0)}}}if(f)for(;!o[o.length-1];)o.pop(),i.pop();else p&&(o.push(""),i.push("\n"));for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),o=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],r=[],i=0;function c(){var e={};for(r.push(e);i0?u(l.lines.slice(-a.context)):[],b-=p.length,f-=p.length)}(c=p).push.apply(c,r(o.map(function(e){return(t.added?"+":"-")+e}))),t.added?v+=o.length:h+=o.length}else{if(b)if(o.length<=2*a.context&&e=s.length-2&&o.length<=a.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=o.length||j?j&&y||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),b=0,f=0,p=[]}h+=o.length,v+=o.length}},g=0;ge.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],o=0;o"):r.removed&&t.push(""),t.push(n(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")}}])},e.exports=o()},21:function(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},23:function(e,t){!function(){e.exports=this.wp.url}()},24:function(e,t){!function(){e.exports=this.wp.hooks}()},25:function(e,t){!function(){e.exports=this.wp.dom}()},26:function(e,t,n){e.exports=n(54)},27:function(e,t){!function(){e.exports=this.React}()},28:function(e,t,n){"use strict";var o=n(37);var r=n(38);function i(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var c,l=e[Symbol.iterator]();!(o=(c=l.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==l.return||l.return()}finally{if(r)throw i}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return i})},3:function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},30:function(e,t,n){"use strict";var o,r;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function l(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o3&&void 0!==arguments[3]?arguments[3]:1,r=Object(d.a)(e);return r.splice(t,o),m(r,e.slice(t,t+o),n)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(b.a)({},t,[]);return e.forEach(function(e){var o=e.clientId,r=e.innerBlocks;n[t].push(o),Object.assign(n,O(r,o))}),n}function k(e,t){for(var n={},o=Object(d.a)(e);o.length;){var r=o.shift(),i=r.innerBlocks,c=Object(u.a)(r,["innerBlocks"]);o.push.apply(o,Object(d.a)(i)),n[c.clientId]=t(c)}return n}function j(e){return k(e,function(e){return Object(f.omit)(e,"attributes")})}function y(e){return k(e,function(e){return e.attributes})}function _(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,o=t.attributes,Object(f.isEqual)(Object(f.keys)(n),Object(f.keys)(o)));var n,o}var S=Object(f.flow)(a.combineReducers,function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var o=Object(d.a)(n.clientIds),r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(f.reduce)(t[n],function(n,o){return[].concat(Object(d.a)(n),[o],Object(d.a)(e(t,o)))},[])}(t.order);return Object(s.a)({},t,{byClientId:Object(s.a)({},Object(f.omit)(t.byClientId,o),j(n.blocks)),attributes:Object(s.a)({},Object(f.omit)(t.attributes,o),y(n.blocks)),order:Object(s.a)({},Object(f.omit)(t.order,o),O(n.blocks))})}return e(t,n)}},function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var o=n.id,r=n.updatedId;if(o===r)return t;(t=Object(s.a)({},t)).attributes=Object(f.mapValues)(t.attributes,function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===o?Object(s.a)({},e,{ref:r}):e})}return e(t,n)}},function(e){var t,n=new Set(["RECEIVE_BLOCKS"]);return function(o,r){var i=e(o,r),c="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;return o!==i||c?n.has(r.type)?Object(s.a)({},i,{isPersistentChange:!1}):(i=Object(s.a)({},i,{isPersistentChange:c||!_(r,t)}),t=r,i):Object(s.a)({},i,{isPersistentChange:Object(f.get)(o,["isPersistentChange"],!0)})}})({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return j(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,j(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(f.omit)(t.updates,"attributes");return Object(f.isEmpty)(n)?e:Object(s.a)({},e,Object(b.a)({},t.clientId,Object(s.a)({},e[t.clientId],n)));case"INSERT_BLOCKS":return Object(s.a)({},e,j(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(s.a)({},Object(f.omit)(e,t.clientIds),j(t.blocks)):e;case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return y(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,y(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(s.a)({},e,Object(b.a)({},t.clientId,Object(s.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(f.reduce)(t.attributes,function(n,o,r){var i,c;return o!==n[r]&&((n=(i=e[t.clientId])===(c=n)?Object(s.a)({},i):c)[r]=o),n},e[t.clientId]);return n===e[t.clientId]?e:Object(s.a)({},e,Object(b.a)({},t.clientId,n));case"INSERT_BLOCKS":return Object(s.a)({},e,y(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(s.a)({},Object(f.omit)(e,t.clientIds),y(t.blocks)):e;case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return O(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,Object(f.omit)(O(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,o=void 0===n?"":n,r=e[o]||[],i=O(t.blocks,o),c=t.index,l=void 0===c?r.length:c;return Object(s.a)({},e,i,Object(b.a)({},o,m(r,i[o],l)));case"MOVE_BLOCK_TO_POSITION":var a,u=t.fromRootClientId,p=void 0===u?"":u,h=t.toRootClientId,v=void 0===h?"":h,k=t.clientId,j=t.index,y=void 0===j?e[v].length:j;if(p===v){var _=e[v].indexOf(k);return Object(s.a)({},e,Object(b.a)({},v,g(e[v],_,y)))}return Object(s.a)({},e,(a={},Object(b.a)(a,p,Object(f.without)(e[p],k)),Object(b.a)(a,v,m(e[v],k,y)),a));case"MOVE_BLOCKS_UP":var S=t.clientIds,C=t.rootClientId,E=void 0===C?"":C,w=Object(f.first)(S),I=e[E];if(!I.length||w===Object(f.first)(I))return e;var T=I.indexOf(w);return Object(s.a)({},e,Object(b.a)({},E,g(I,T,T-1,S.length)));case"MOVE_BLOCKS_DOWN":var B=t.clientIds,x=t.rootClientId,L=void 0===x?"":x,N=Object(f.first)(B),M=Object(f.last)(B),R=e[L];if(!R.length||M===Object(f.last)(R))return e;var A=R.indexOf(N);return Object(s.a)({},e,Object(b.a)({},L,g(R,A,A+1,B.length)));case"REPLACE_BLOCKS":var P=t.clientIds;if(!t.blocks)return e;var D=O(t.blocks);return Object(f.flow)([function(e){return Object(f.omit)(e,P)},function(e){return Object(s.a)({},e,Object(f.omit)(D,""))},function(e){return Object(f.mapValues)(e,function(e){return Object(f.reduce)(e,function(e,t){return t===P[0]?[].concat(Object(d.a)(e),Object(d.a)(D[""])):(-1===P.indexOf(t)&&e.push(t),e)},[])})}])(e);case"REMOVE_BLOCKS":return Object(f.flow)([function(e){return Object(f.omit)(e,t.clientIds)},function(e){return Object(f.mapValues)(e,function(e){return f.without.apply(void 0,[e].concat(Object(d.a)(t.clientIds)))})}])(e)}return e}});var C=Object(a.combineReducers)({blocks:S,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return null!==e.start||null!==e.end||e.isMultiSelecting?Object(s.a)({},e,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:Object(s.a)({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?Object(s.a)({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return Object(s.a)({},e,{start:t.start,end:t.end,initialPosition:null});case"SELECT_BLOCK":return t.clientId===e.start&&t.clientId===e.end?e:Object(s.a)({},e,{start:t.clientId,end:t.clientId,initialPosition:t.initialPosition});case"INSERT_BLOCKS":return t.updateSelection?Object(s.a)({},e,{start:t.blocks[0].clientId,end:t.blocks[0].clientId,initialPosition:null,isMultiSelecting:!1}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start)?Object(s.a)({},e,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start))return e;var n=Object(f.last)(t.blocks),o=n?n.clientId:null;return o===e.start&&o===e.end?e:Object(s.a)({},e,{start:o,end:o,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return Object(s.a)({},e,{isEnabled:t.isSelectionEnabled})}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(s.a)({},e,Object(b.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(f.isEqual)(e[n],t.settings)?e:Object(s.a)({},e,Object(b.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(f.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(s.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(s.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce(function(e,n){var o=n.name,r={name:n.name};return Object(i.isReusableBlock)(n)&&(r.ref=n.attributes.ref,o+="/"+n.attributes.ref),Object(s.a)({},e,{insertUsage:Object(s.a)({},e.insertUsage,Object(b.a)({},o,{time:t.time,count:e.insertUsage[o]?e.insertUsage[o].count+1:1,insert:r}))})},e)}return e}}),E=n(70),w=n.n(E),I=n(97),T=n.n(I),B=n(28),x=n(48),L=n(26),N=n.n(L);function M(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function K(e){var t;return N.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,M("core/block-editor","getPreviousBlockClientId",e);case 2:return t=n.sent,n.next=5,z(t,-1);case 5:case"end":return n.stop()}},A,this)}function W(e){var t;return N.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,M("core/block-editor","getNextBlockClientId",e);case 2:return t=n.sent,n.next=5,z(t);case 5:case"end":return n.stop()}},P,this)}function G(){return{type:"START_MULTI_SELECT"}}function q(){return{type:"STOP_MULTI_SELECT"}}function Y(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function $(){return{type:"CLEAR_SELECTED_BLOCK"}}function X(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function J(e,t){return{type:"REPLACE_BLOCKS",clientIds:Object(f.castArray)(e),blocks:Object(f.castArray)(t),time:Date.now()}}function Z(e,t){return J(e,t)}function Q(e){return function(t,n){return{clientIds:Object(f.castArray)(t),type:e,rootClientId:n}}}var ee=Q("MOVE_BLOCKS_DOWN"),te=Q("MOVE_BLOCKS_UP");function ne(e,t,n,o){return{type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:o}}function oe(e,t,n){return re([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function re(e,t,n){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return{type:"INSERT_BLOCKS",blocks:Object(f.castArray)(e),index:t,rootClientId:n,time:Date.now(),updateSelection:o}}function ie(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function ce(){return{type:"HIDE_INSERTION_POINT"}}function le(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function ae(){return{type:"SYNCHRONIZE_TEMPLATE"}}function se(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function ue(e){var t,n=arguments;return N.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(f.castArray)(e),!t){o.next=5;break}return o.next=5,K(e[0]);case 5:return o.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return o.next=9,M("core/block-editor","getBlockCount");case 9:if(0!==o.sent){o.next=13;break}return o.next=13,me();case 13:case"end":return o.stop()}},D,this)}function de(e,t){return ue([e],t)}function be(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function fe(){return{type:"START_TYPING"}}function pe(){return{type:"STOP_TYPING"}}function he(){return{type:"ENTER_FORMATTED_TEXT"}}function ve(){return{type:"EXIT_FORMATTED_TEXT"}}function me(e,t,n){return oe(Object(i.createBlock)(Object(i.getDefaultBlockName)(),e),n,t)}function ge(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Oe(e){return{type:"UPDATE_SETTINGS",settings:e}}function ke(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function je(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}var ye=n(30),_e=3,Se=2,Ce=1,Ee=0,we=[],Ie={},Te=Object(ye.a)(function(){return[]},function(e,t){return Object(f.map)(st(e,t),function(t){return Ne(e,t)})});function Be(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function xe(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}var Le=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];if(!n)return null;var o=e.blocks.attributes[t],r=Object(i.getBlockType)(n.name);return r&&(o=Object(f.reduce)(r.attributes,function(t,n,r){return"meta"===n.source&&(t===o&&(t=Object(s.a)({},t)),t[r]=Rt(e,n.meta)),t},o)),o},function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t],Rt(e)]}),Ne=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:Le(e,t),innerBlocks:Re(e,t)}):null},function(e,t){return[].concat(Object(d.a)(Le.getDependants(e,t)),[Te(e,t)])}),Me=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:Le(e,t)}):null},function(e,t){return[e.blocks.byClientId[t]].concat(Object(d.a)(Le.getDependants(e,t)))}),Re=Object(ye.a)(function(e,t){return Object(f.map)(st(e,t),function(t){return Ne(e,t)})},function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}),Ae=function e(t,n){return Object(f.flatMap)(n,function(n){var o=st(t,n);return[].concat(Object(d.a)(o),Object(d.a)(e(t,o)))})},Pe=Object(ye.a)(function(e){var t=st(e);return[].concat(Object(d.a)(t),Object(d.a)(Ae(e,t)))},function(e){return[e.blocks.order]}),De=Object(ye.a)(function(e,t){var n=Pe(e);return t?Object(f.reduce)(n,function(n,o){return e.blocks.byClientId[o].name===t?n+1:n},0):n.length},function(e){return[e.blocks.order,e.blocks.byClientId]}),Fe=Object(ye.a)(function(e,t){return Object(f.map)(Object(f.castArray)(t),function(t){return Ne(e,t)})},function(e){return[Rt(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]});function He(e,t){return st(e,t).length}function Ue(e){return e.blockSelection.start}function Ve(e){return e.blockSelection.end}function ze(e){var t=Qe(e).length;return t||(e.blockSelection.start?1:0)}function Ke(e){var t=e.blockSelection,n=t.start,o=t.end;return!!n&&n===o}function We(e){var t=e.blockSelection,n=t.start,o=t.end;return n&&n===o&&e.blocks.byClientId[n]?n:null}function Ge(e){var t=We(e);return t?Ne(e,t):null}var qe=Object(ye.a)(function(e,t){var n=e.blocks.order;for(var o in n)if(Object(f.includes)(n[o],t))return o;return null},function(e){return[e.blocks.order]}),Ye=Object(ye.a)(function(e,t){for(var n=t,o=t;n;)n=qe(e,o=n);return o},function(e){return[e.blocks.order]});function $e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=We(e)),void 0===t&&(t=n<0?tt(e):nt(e)),!t)return null;var o=qe(e,t);if(null===o)return null;var r=e.blocks.order[o],i=r.indexOf(t)+1*n;return i<0?null:i===r.length?null:r[i]}function Xe(e,t){return $e(e,t,-1)}function Je(e,t){return $e(e,t,1)}function Ze(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?e.blockSelection.initialPosition:null}var Qe=Object(ye.a)(function(e){var t=e.blockSelection,n=t.start,o=t.end;if(n===o)return[];var r=qe(e,n);if(null===r)return[];var i=st(e,r),c=i.indexOf(n),l=i.indexOf(o);return c>l?i.slice(l,c+1):i.slice(c,l+1)},function(e){return[e.blocks.order,e.blockSelection.start,e.blockSelection.end]}),et=Object(ye.a)(function(e){var t=Qe(e);return t.length?t.map(function(t){return Ne(e,t)}):we},function(e){return[].concat(Object(d.a)(Qe.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes,Rt(e)])});function tt(e){return Object(f.first)(Qe(e))||null}function nt(e){return Object(f.last)(Qe(e))||null}var ot=Object(ye.a)(function(e,t,n){for(var o=n;t!==o&&o;)o=qe(e,o);return t===o},function(e){return[e.blocks.order]});function rt(e,t){return tt(e)===t}function it(e,t){return-1!==Qe(e).indexOf(t)}var ct=Object(ye.a)(function(e,t){for(var n=t,o=!1;n&&!o;)o=it(e,n=qe(e,n));return o},function(e){return[e.blocks.order,e.blockSelection.start,e.blockSelection.end]});function lt(e){var t=e.blockSelection,n=t.start;return n===t.end?null:n||null}function at(e){var t=e.blockSelection,n=t.start,o=t.end;return n===o?null:o||null}function st(e,t){return e.blocks.order[t||""]||we}function ut(e,t,n){return st(e,n).indexOf(t)}function dt(e,t){var n=e.blockSelection,o=n.start;return o===n.end&&o===t}function bt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(f.some)(st(e,t),function(t){return dt(e,t)||it(e,t)||n&&bt(e,t,n)})}function ft(e,t){if(!t)return!1;var n=Qe(e),o=n.indexOf(t);return o>-1&&o2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(f.isBoolean)(e)?e:Object(f.isArray)(e)?Object(f.includes)(e,t):n},r=Object(i.getBlockType)(t);if(!r)return!1;if(!o(Nt(e).allowedBlockTypes,t,!0))return!1;if(!!St(e,n))return!1;var c=Lt(e,n),l=o(Object(f.get)(c,["allowedBlocks"]),t),a=o(r.parent,Be(e,n));return null!==l&&null!==a?l||a:null!==l?l:null===a||a},Et=Object(ye.a)(Ct,function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]});function wt(e,t){return e.preferences.insertUsage[t]||null}var It=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Ct(e,t.name,n)},Tt=function(e,t,n){if(!Ct(e,"core/block",n))return!1;var o=Be(e,t.clientId);return!!o&&(!!Object(i.getBlockType)(o)&&(!!Ct(e,o,n)&&!ot(e,t.clientId,n)))},Bt=Object(ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?_e:t>0?Se:"common"===e?Ce:Ee},o=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},r=Object(i.getBlockTypes)().filter(function(n){return It(e,n,t)}).map(function(t){var r=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(f.some)(Fe(e,Pe(e)),{name:t.name}));var l=Object(f.isArray)(t.parent),a=wt(e,r)||{},s=a.time,u=a.count,d=void 0===u?0:u;return{id:r,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,l),frecency:o(s,d),hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(t.name)}}),c=At(e).filter(function(n){return Tt(e,n,t)}).map(function(t){var r="core/block/".concat(t.id),c=Be(e,t.clientId),l=Object(i.getBlockType)(c),a=wt(e,r)||{},s=a.time,u=a.count,d=void 0===u?0:u,b=n("reusable",d,!1),f=o(s,d);return{id:r,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:l.icon,category:"reusable",keywords:[],isDisabled:!1,utility:b,frecency:f}});return Object(f.orderBy)([].concat(Object(d.a)(r),Object(d.a)(c)),["utility","frecency"],["desc","desc"])},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,At(e),Object(i.getBlockTypes)()]}),xt=Object(ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!Object(f.some)(Object(i.getBlockTypes)(),function(n){return It(e,n,t)})||Object(f.some)(At(e),function(n){return Tt(e,n,t)})},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,At(e),Object(i.getBlockTypes)()]});function Lt(e,t){return e.blockListSettings[t]}function Nt(e){return e.settings}function Mt(e){return e.blocks.isPersistentChange}function Rt(e,t){return void 0===t?Object(f.get)(e,["settings","__experimentalMetaSource","value"],Ie):Object(f.get)(e,["settings","__experimentalMetaSource","value",t])}function At(e){return Object(f.get)(e,["settings","__experimentalReusableBlocks"],we)}var Pt={MERGE_BLOCKS:function(e,t){var n=t.dispatch,o=t.getState(),r=Object(B.a)(e.blocks,2),c=r[0],l=r[1],a=Ne(o,c),u=Object(i.getBlockType)(a.name);if(u.merge){var b=Ne(o,l),f=a.name===b.name?[b]:Object(i.switchToBlockType)(b,a.name);if(f&&f.length){var p=u.merge(a.attributes,f[0].attributes);n(z(a.clientId,-1)),n(J([a.clientId,b.clientId],[Object(s.a)({},a,{attributes:Object(s.a)({},a.attributes,p)})].concat(Object(d.a)(f.slice(1)))))}}else n(z(a.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),o=_t(n),r=St(n),c=!o||"all"!==r||Object(i.doBlocksMatchTemplate)(e.blocks,o);if(c!==yt(n))return le(c)}],REPLACE_BLOCKS:[function(e,t){if(!He(t.getState()))return me()}],MULTI_SELECT:function(e,t){var n=ze((0,t.getState)());Object(x.speak)(Object(p.sprintf)(Object(p._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),o=Re(n),r=_t(n);return F(Object(i.synchronizeBlocksWithTemplate)(o,r))}};var Dt=function(e){var t,n=[w()(Pt),T.a],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map(function(e){return e(r)}),o=f.flowRight.apply(void 0,Object(d.a)(t))(e.dispatch),e.dispatch=o,e},Ft=Object(a.registerStore)("core/block-editor",{reducer:C,selectors:r,actions:o,controls:R,persist:["preferences"]});Dt(Ft);var Ht=n(19),Ut=n(0),Vt=n(16),zt=n.n(Vt),Kt=n(6),Wt=n(24),Gt=n(10),qt=n(9),Yt=n(11),$t=n(12),Xt=n(13),Jt=n(3),Zt=n(4),Qt=Object(Ut.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:f.noop,clientId:null}),en=Qt.Consumer,tn=Qt.Provider,nn=function(e){return Object(Kt.createHigherOrderComponent)(function(t){return function(n){return Object(Ut.createElement)(en,null,function(o){return Object(Ut.createElement)(t,Object(Ht.a)({},n,e(o,n)))})}},"withBlockEditContext")},on=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(Ut.createElement)(en,null,function(n){return n.isSelected&&Object(Ut.createElement)(e,t)})}},"ifBlockEditSelected"),rn=[];var cn=Object(Kt.compose)([nn(function(e){return{blockName:e.name}}),function(e){return function(t){function n(){var e;return Object(Gt.a)(this,n),(e=Object(Yt.a)(this,Object($t.a)(n).call(this))).state={completers:rn},e.saveParentRef=e.saveParentRef.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(n,t),Object(qt.a)(n,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props,t=e.blockName,n=e.completers,o=n;Object(Wt.hasFilter)("editor.Autocomplete.completers")&&(n=Object(Wt.applyFilters)("editor.Autocomplete.completers",n&&n.map(f.clone),t)),this.setState({lastFilteredCompletersProp:o,completers:n||rn})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=Object(s.a)({},this.props,{completers:t});return Object(Ut.createElement)("div",{onFocus:this.onFocus,ref:this.saveParentRef},Object(Ut.createElement)(e,Object(Ht.a)({onFocus:this.onFocus},n)))}}]),n}(Ut.Component)}])(Zt.Autocomplete),ln=[{icon:"editor-alignleft",title:Object(p.__)("Align text left"),align:"left"},{icon:"editor-aligncenter",title:Object(p.__)("Align text center"),align:"center"},{icon:"editor-alignright",title:Object(p.__)("Align text right"),align:"right"}];var an=Object(Kt.compose)(nn(function(e){return{clientId:e.clientId}}),Object(l.withViewportMatch)({isLargeViewport:"medium"}),Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isLargeViewport,r=t.isCollapsed,i=e("core/block-editor"),c=i.getBlockRootClientId,l=i.getSettings;return{isCollapsed:r||!o||!l().hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,o=e.onChange,r=e.alignmentControls,i=void 0===r?ln:r;function c(e){return function(){return o(n===e?void 0:e)}}var l=Object(f.find)(i,function(e){return e.align===n});return Object(Ut.createElement)(Zt.Toolbar,{isCollapsed:t,icon:l?l.icon:"editor-alignleft",label:Object(p.__)("Change Text Alignment"),controls:i.map(function(e){var t=e.align,o=n===t;return Object(s.a)({},e,{isActive:o,onClick:c(t)})})})}),sn={left:{icon:"align-left",title:Object(p.__)("Align left")},center:{icon:"align-center",title:Object(p.__)("Align center")},right:{icon:"align-right",title:Object(p.__)("Align right")},wide:{icon:"align-wide",title:Object(p.__)("Wide width")},full:{icon:"align-full-width",title:Object(p.__)("Full width")}},un=["left","center","right","wide","full"],dn=["wide","full"];var bn=Object(Kt.compose)(nn(function(e){return{clientId:e.clientId}}),Object(l.withViewportMatch)({isLargeViewport:"medium"}),Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isLargeViewport,r=t.isCollapsed,i=e("core/block-editor"),c=i.getBlockRootClientId,l=(0,i.getSettings)();return{wideControlsEnabled:l.alignWide,isCollapsed:r||!o||!l.hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,o=e.onChange,r=e.controls,i=void 0===r?un:r,c=e.wideControlsEnabled,l=void 0!==c&&c?i:i.filter(function(e){return-1===dn.indexOf(e)}),a=sn[n];return Object(Ut.createElement)(Zt.Toolbar,{isCollapsed:t,icon:a?a.icon:"align-left",label:Object(p.__)("Change Alignment"),controls:l.map(function(e){return Object(s.a)({},sn[e],{isActive:n===e,onClick:(t=e,function(){return o(n===t?void 0:t)})});var t})})}),fn=Object(Zt.createSlotFill)("BlockControls"),pn=fn.Fill,hn=fn.Slot,vn=on(function(e){var t=e.controls,n=e.children;return Object(Ut.createElement)(pn,null,Object(Ut.createElement)(Zt.Toolbar,{controls:t}),n)});vn.Slot=hn;var mn=vn,gn=Object(Zt.withFilters)("editor.BlockEdit")(function(e){var t=e.attributes,n=void 0===t?{}:t,o=e.name,r=Object(i.getBlockType)(o);if(!r)return null;var c=Object(i.hasBlockSupport)(r,"className",!0)?Object(i.getBlockDefaultClassName)(o):null,l=zt()(c,n.className),a=r.edit||r.save;return Object(Ut.createElement)(a,Object(Ht.a)({},e,{className:l}))}),On=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).setFocusedElement=n.setFocusedElement.bind(Object(Jt.a)(Object(Jt.a)(n))),n.state={focusedElement:null,setFocusedElement:n.setFocusedElement},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"setFocusedElement",value:function(e){this.setState(function(t){return t.focusedElement===e?null:{focusedElement:e}})}},{key:"render",value:function(){return Object(Ut.createElement)(tn,{value:this.state},Object(Ut.createElement)(gn,this.props))}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.clientId;return{name:e.name,isSelected:e.isSelected,clientId:t}}}]),t}(Ut.Component),kn=Object(Zt.createSlotFill)("BlockFormatControls"),jn=kn.Fill,yn=kn.Slot,_n=on(jn);_n.Slot=yn;var Sn=_n,Cn=n(18);function En(e){var t=e.icon,n=e.showColors,o=void 0!==n&&n,r=e.className;"block-default"===Object(f.get)(t,["src"])&&(t={src:Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(Ut.createElement)(Zt.Icon,{icon:t&&t.src?t.src:t}),c=o?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(Ut.createElement)("span",{style:c,className:zt()("editor-block-icon block-editor-block-icon",r,{"has-colors":o})},i)}function wn(e){var t=e.blocks,n=e.selectedBlockClientId,o=e.selectBlock,r=e.showNestedBlocks;return Object(Ut.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(f.map)(t,function(e){var t=Object(i.getBlockType)(e.name),c=e.clientId===n;return Object(Ut.createElement)("li",{key:e.clientId},Object(Ut.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(Ut.createElement)(Zt.Button,{className:zt()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":c}),onClick:function(){return o(e.clientId)}},Object(Ut.createElement)(En,{icon:t.icon,showColors:!0}),t.title,c&&Object(Ut.createElement)("span",{className:"screen-reader-text"},Object(p.__)("(selected block)")))),r&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(Ut.createElement)(wn,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:o,showNestedBlocks:!0}))}))}var In=Object(Kt.compose)(Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getBlockHierarchyRootClientId,r=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?r(o(c)):null,selectedBlockClientId:c}}),Object(a.withDispatch)(function(e,t){var n=t.onSelect,o=void 0===n?f.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),o(t)}}}))(function(e){var t=e.rootBlock,n=e.rootBlocks,o=e.selectedBlockClientId,r=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==o||t.innerBlocks&&0!==t.innerBlocks.length);return Object(Ut.createElement)(Zt.NavigableMenu,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(Ut.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},Object(p.__)("Block Navigation")),i&&Object(Ut.createElement)(wn,{blocks:[t],selectedBlockClientId:o,selectBlock:r,showNestedBlocks:!0}),!i&&Object(Ut.createElement)(wn,{blocks:n,selectedBlockClientId:o,selectBlock:r}))}),Tn=Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(Ut.createElement)(Zt.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var Bn=Object(a.withSelect)(function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}})(function(e){var t=e.hasBlocks,n=e.isDisabled,o=t&&!n;return Object(Ut.createElement)(Zt.Dropdown,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(Ut.createElement)(Ut.Fragment,null,o&&Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Cn.rawShortcut.access("o"),n)}),Object(Ut.createElement)(Zt.IconButton,{icon:Tn,"aria-expanded":t,onClick:o?n:void 0,label:Object(p.__)("Block Navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Cn.displayShortcut.access("o"),"aria-disabled":!o}))},renderContent:function(e){var t=e.onClose;return Object(Ut.createElement)(In,{onSelect:t})}})}),xn=Object(Kt.createHigherOrderComponent)(Object(a.withSelect)(function(e,t){var n=e("core/block-editor").getSettings(),o=void 0===t.colors?n.colors:t.colors,r=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:o,disableCustomColors:r,hasColorsToChoose:!Object(f.isEmpty)(o)||!r}}),"withColorContext"),Ln=xn(Zt.ColorPalette),Nn=n(45),Mn=n.n(Nn),Rn=function(e,t,n){if(t){var o=Object(f.find)(e,{slug:t});if(o)return o}return{color:n}},An=function(e,t){return Object(f.find)(e,{color:t})};function Pn(e,t){if(e&&t)return"has-".concat(Object(f.kebabCase)(t),"-").concat(e)}var Dn=[],Fn=function(e){return Object(Kt.createHigherOrderComponent)(function(t){return function(n){return Object(Ut.createElement)(t,Object(Ht.a)({},n,{colors:e}))}},"withCustomColorPalette")},Hn=function(){return Object(a.withSelect)(function(e){var t=e("core/block-editor").getSettings();return{colors:Object(f.get)(t,["colors"],Dn)}})};function Un(e,t){var n=Object(f.reduce)(e,function(e,t){return Object(s.a)({},e,Object(f.isString)(t)?Object(b.a)({},t,Object(f.kebabCase)(t)):t)},{});return Object(Kt.compose)([t,function(e){return function(t){function o(e){var t;return Object(Gt.a)(this,o),(t=Object(Yt.a)(this,Object($t.a)(o).call(this,e))).setters=t.createSetters(),t.colorUtils={getMostReadableColor:t.getMostReadableColor.bind(Object(Jt.a)(Object(Jt.a)(t)))},t.state={},t}return Object(Xt.a)(o,t),Object(qt.a)(o,[{key:"getMostReadableColor",value:function(e){return function(e,t){return Mn.a.mostReadable(t,Object(f.map)(e,"color")).toHexString()}(this.props.colors,e)}},{key:"createSetters",value:function(){var e=this;return Object(f.reduce)(n,function(t,n,o){var r=Object(f.upperFirst)(o),i="custom".concat(r);return t["set".concat(r)]=e.createSetColor(o,i),t},{})}},{key:"createSetColor",value:function(e,t){var n=this;return function(o){var r,i=An(n.props.colors,o);n.props.setAttributes((r={},Object(b.a)(r,e,i&&i.slug?i.slug:void 0),Object(b.a)(r,t,i&&i.slug?void 0:o),r))}}},{key:"render",value:function(){return Object(Ut.createElement)(e,Object(s.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var o=e.attributes,r=e.colors;return Object(f.reduce)(n,function(e,n,i){var c=Rn(r,o[i],o["custom".concat(Object(f.upperFirst)(i))]),l=t[i];return Object(f.get)(l,["color"])===c.color&&l?e[i]=l:e[i]=Object(s.a)({},c,{class:Pn(n,c.slug)}),e},{})}}]),o}(Ut.Component)}])}function Vn(e){return function(){for(var t=Fn(e),n=arguments.length,o=new Array(n),r=0;r=24?"large":"small"}))return null;var s=l.getBrightness()1?function(e,t,n,o,r){var i=t+1;if(r<0&&n)return Object(p.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return Object(p.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return Object(p.sprintf)(Object(p._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(r>0&&!o)return Object(p.sprintf)(Object(p._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,o,r,i):o&&r?Object(p.sprintf)(Object(p.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!r?Object(p.sprintf)(Object(p.__)("Move %1$s block from position %2$d down to position %3$d"),t,c,c+1):i>0&&r?Object(p.sprintf)(Object(p.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!o?Object(p.sprintf)(Object(p.__)("Move %1$s block from position %2$d up to position %3$d"),t,c,c-1):i<0&&o?Object(p.sprintf)(Object(p.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var Qn=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),eo=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),to=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),no=Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlockIndex,i=(0,o.getBlockRootClientId)(n);return{index:r(n,i),rootClientId:i}})(function(e){var t=e.children,n=e.clientId,o=e.rootClientId,r=e.blockElementId,i=e.index,c=e.onDragStart,l=e.onDragEnd,a={type:"block",srcIndex:i,srcRootClientId:o,srcClientId:n};return Object(Ut.createElement)(Zt.Draggable,{elementId:r,transferData:a,onDragStart:c,onDragEnd:l},function(e){var n=e.onDraggableStart,o=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:o})})}),oo=function(e){var t=e.isVisible,n=e.className,o=e.icon,r=e.onDragStart,i=e.onDragEnd,c=e.blockElementId,l=e.clientId;if(!t)return null;var a=zt()("editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle",n);return Object(Ut.createElement)(no,{clientId:l,blockElementId:c,onDragStart:r,onDragEnd:i},function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(Ut.createElement)("div",{className:a,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},o)})},ro=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onBlur=e.onBlur.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,o=e.isFirst,r=e.isLast,i=e.isDraggable,c=e.onDragStart,l=e.onDragEnd,a=e.clientIds,s=e.blockElementId,u=e.blockType,d=e.firstIndex,b=e.isLocked,h=e.instanceId,v=e.isHidden,m=this.state.isFocused,g=Object(f.castArray)(a).length;return b||o&&r?null:Object(Ut.createElement)("div",{className:zt()("editor-block-mover block-editor-block-mover",{"is-visible":m||!v})},Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:o?null:t,icon:Qn,label:Object(p.__)("Move up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(h),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(Ut.createElement)(oo,{className:"editor-block-mover__control block-editor-block-mover__control",icon:to,clientId:a,blockElementId:s,isVisible:i,onDragStart:c,onDragEnd:l}),Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:r?null:n,icon:eo,label:Object(p.__)("Move down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(h),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(Ut.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},Zn(g,u&&u.title,d,o,r,-1)),Object(Ut.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},Zn(g,u&&u.title,d,o,r,1)))}}]),t}(Ut.Component),io=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlock,c=o.getBlockIndex,l=o.getTemplateLock,a=o.getBlockRootClientId,s=Object(f.first)(Object(f.castArray)(n)),u=r(s),d=a(Object(f.first)(Object(f.castArray)(n)));return{firstIndex:c(s,d),blockType:u?Object(i.getBlockType)(u.name):null,isLocked:"all"===l(d),rootClientId:d}}),Object(a.withDispatch)(function(e,t){var n=t.clientIds,o=t.rootClientId,r=e("core/block-editor"),i=r.moveBlocksDown,c=r.moveBlocksUp;return{onMoveDown:Object(f.partial)(i,n,o),onMoveUp:Object(f.partial)(c,n,o)}}),Kt.withInstanceId)(ro);var co=Object(a.withSelect)(function(e){var t=e("core").canUser;return{hasUploadPermissions:Object(f.defaultTo)(t("create","media"),!0)}})(function(e){var t=e.hasUploadPermissions,n=e.fallback,o=void 0===n?null:n,r=e.children;return t?r:o}),lo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onHTMLDrop=e.onHTMLDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onDrop=e.onDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getInsertIndex",value:function(e){var t=this.props,n=t.clientId,o=t.rootClientId,r=t.getBlockIndex;if(void 0!==n){var i=r(n,o);return"top"===e.y?i:i+1}}},{key:"onFilesDrop",value:function(e,t){var n=Object(i.findTransform)(Object(i.getBlockTransforms)("from"),function(t){return"files"===t.type&&t.isMatch(e)});if(n){var o=this.getInsertIndex(t),r=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(r,o)}}},{key:"onHTMLDrop",value:function(e,t){var n=Object(i.pasteHandler)({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,o=n.rootClientId,r=n.clientId,i=n.getClientIdsOfDescendants,c=n.getBlockIndex,l=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(e),a=l.srcRootClientId,s=l.srcClientId,u=l.srcIndex,d=l.type;if("block"===d&&s!==r&&!function(e,t){return i([e]).some(function(e){return e===t})}(s,r||o)){var b,f,p=r?c(r,o):void 0,h=this.getInsertIndex(t),v=p&&u0&&Object(Ut.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},Ut.Children.map(n,function(e,t){return Object(Ut.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)}))),r&&Object(Ut.createElement)(Zt.Dropdown,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(Ut.createElement)(Zt.IconButton,{icon:"ellipsis",label:Object(p.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(Ut.createElement)(Zt.MenuGroup,null,r.map(function(e,t){return Object(Ut.createElement)(Zt.MenuItem,{onClick:e.onClick,key:t},e.title)}))}}))},uo=n(207),bo=function(e){var t=e.title,n=e.rawContent,o=e.renderedContent,r=e.action,i=e.actionText,c=e.className;return Object(Ut.createElement)("div",{className:c},Object(Ut.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(Ut.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(Ut.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(Ut.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},o)),Object(Ut.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(Ut.createElement)(Zt.Button,{isLarge:!0,tabIndex:"0",onClick:r},i)))},fo=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getDifference",value:function(e,t){return Object(uo.diffChars)(e,t).map(function(e,t){var n=zt()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(Ut.createElement)("span",{key:t,className:n},e.value)})}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(f.castArray)(e),n=t.map(function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)}),o=t.map(function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)});return{rawContent:n.join(""),renderedContent:o}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,o=e.onConvert,r=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),l=this.getConvertedContent(r(t)),a=this.getDifference(c.rawContent,l.rawContent);return Object(Ut.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(Ut.createElement)(bo,{title:Object(p.__)("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:Object(p.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(Ut.createElement)(bo,{title:Object(p.__)("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:o,actionText:i,rawContent:a,renderedContent:l.renderedContent}))}}]),t}(Ut.Component),po=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCompareClose=n.onCompareClose.bind(Object(Jt.a)(Object(Jt.a)(n))),n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,o=e.convertToClassic,r=e.attemptBlockRecovery,c=e.block,l=!!Object(i.getBlockType)("core/html"),a=this.state.compare,s=[{title:Object(p.__)("Convert to Classic Block"),onClick:o},{title:Object(p.__)("Attempt Block Recovery"),onClick:r}];return a?Object(Ut.createElement)(Zt.Modal,{title:Object(p.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(Ut.createElement)(fo,{block:c,onKeep:t,onConvert:n,convertor:ho,convertButtonText:Object(p.__)("Convert to Blocks")})):Object(Ut.createElement)(so,{actions:[Object(Ut.createElement)(Zt.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!l},Object(p._x)("Resolve","imperative verb")),l&&Object(Ut.createElement)(Zt.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(p.__)("Convert to HTML"))],secondaryActions:s},Object(p.__)("This block contains unexpected or invalid content."))}}]),t}(Ut.Component),ho=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},vo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}}),Object(a.withDispatch)(function(e,t){var n=t.block,o=e("core/block-editor").replaceBlock;return{convertToClassic:function(){o(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){o(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){o(n.clientId,ho(n))},attemptBlockRecovery:function(){var e,t,r,c;o(n.clientId,(t=(e=n).name,r=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,r,c)))}}})])(po),mo=Object(Ut.createElement)(so,null,Object(p.__)("This block has encountered an error and cannot be previewed.")),go=function(){return mo},Oo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(Ut.Component),ko=n(61),jo=n.n(ko),yo=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onBlur=n.onBlur.bind(Object(Jt.a)(Object(Jt.a)(n))),n.state={html:e.block.isValid?Object(i.getBlockContent)(e.block):e.block.originalContent},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(e){Object(f.isEqual)(this.props.block.attributes,e.block.attributes)||this.setState({html:Object(i.getBlockContent)(this.props.block)})}},{key:"onBlur",value:function(){var e=this.state.html,t=Object(i.getBlockType)(this.props.block.name),n=Object(i.getBlockAttributes)(t,e,this.props.block.attributes),o=e||Object(i.getSaveContent)(t,n),r=!e||Object(i.isValidBlockContent)(t,n,o);this.props.onChange(this.props.clientId,n,o,r),e||this.setState({html:o})}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return Object(Ut.createElement)(jo.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(Ut.Component),_o=Object(Kt.compose)([Object(a.withSelect)(function(e,t){return{block:e("core/block-editor").getBlock(t.clientId)}}),Object(a.withDispatch)(function(e){return{onChange:function(t,n,o,r){e("core/block-editor").updateBlock(t,{attributes:n,originalContent:o,isValid:r})}}})])(yo);var So=Object(a.withSelect)(function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}})(function(e){var t=e.name;if(!t)return null;var n=Object(i.getBlockType)(t);return n?n.title:null}),Co=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onBlur=e.onBlur.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(Ut.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(Ut.createElement)(Zt.Toolbar,null,n&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(So,{clientId:n}),Object(Ut.createElement)("span",{className:"editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow"})),Object(Ut.createElement)(So,{clientId:t})))}}]),t}(Ut.Component),Eo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){return{rootClientId:(0,e("core/block-editor").getBlockRootClientId)(t.clientId)}})])(Co),wo=window,Io=wo.Node,To=wo.getSelection,Bo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(Jt.a)(Object(Jt.a)(e))),e.focusSelection=e.focusSelection.bind(Object(Jt.a)(Object(Jt.a)(e))),e.switchOnKeyDown=Object(f.cond)([[Object(f.matchesProperty)(["keyCode"],Cn.ESCAPE),e.focusSelection]]),e.toolbar=Object(Ut.createRef)(),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"focusToolbar",value:function(){var e=Jn.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=To();if(e){var t=e.focusNode;t.nodeType!==Io.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(u.a)(e,["children"]);return Object(Ut.createElement)(Zt.NavigableMenu,Object(Ht.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(f.omit)(n,["focusOnMount"])),Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(Ut.Component);var xo=function(e){var t=e.focusOnMount;return Object(Ut.createElement)(Bo,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":Object(p.__)("Block tools")},Object(Ut.createElement)(Qi,null))};var Lo=Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getMultiSelectedBlockClientIds,i=o.isMultiSelecting,c=o.getBlockIndex,l=o.getBlockCount,a=r(),s=c(Object(f.first)(a),n),u=c(Object(f.last)(a),n);return{multiSelectedBlockClientIds:a,isSelecting:i(),isFirst:0===s,isLast:u+1===l()}})(function(e){var t=e.multiSelectedBlockClientIds,n=e.clientId,o=e.isSelecting,r=e.isFirst,i=e.isLast;return o?null:Object(Ut.createElement)(io,{key:"mover",clientId:n,clientIds:t,isFirst:r,isLast:i})}),No=n(67),Mo=n.n(No),Ro=n(23);function Ao(e){var t=e.name,n=e.attributes,o=Object(i.createBlock)(t,n);return Object(Ut.createElement)(Zt.Disabled,{className:"editor-block-preview__content block-editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(Ut.createElement)(On,{name:t,focus:!1,attributes:o.attributes,setAttributes:f.noop}))}var Po=function(e){return Object(Ut.createElement)("div",{className:"editor-block-preview block-editor-block-preview"},Object(Ut.createElement)("div",{className:"editor-block-preview__title block-editor-block-preview__title"},Object(p.__)("Preview")),Object(Ut.createElement)(Ao,e))};var Do=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,o=e.onClick,r=e.isDisabled,i=e.title,c=e.className,l=Object(u.a)(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{},s=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(Ut.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(Ut.createElement)("button",Object(Ht.a)({className:zt()("editor-block-types-list__item block-editor-block-types-list__item",c,{"editor-block-types-list__item-has-children block-editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),o()},disabled:r,"aria-label":i},l),Object(Ut.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:a},Object(Ut.createElement)(En,{icon:t,showColors:!0}),n&&Object(Ut.createElement)("span",{className:"editor-block-types-list__item-icon-stack block-editor-block-types-list__item-icon-stack",style:s})),Object(Ut.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},i)))};var Fo=function(e){var t=e.items,n=e.onSelect,o=e.onHover,r=void 0===o?function(){}:o,c=e.children;return Object(Ut.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map(function(e){return Object(Ut.createElement)(Do,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,onClick:function(){n(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},isDisabled:e.isDisabled,title:e.title})}),c)};var Ho=Object(Kt.compose)(Object(Kt.ifCondition)(function(e){var t=e.items;return t&&t.length>0}),Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:o&&o.title,rootBlockIcon:o&&o.icon}}))(function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,o=e.items,r=Object(u.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(Ut.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(Ut.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(Ut.createElement)(En,{icon:t,showColors:!0}),n&&Object(Ut.createElement)("h2",null,n)),Object(Ut.createElement)(Fo,Object(Ht.a)({items:o},r)))}),Uo=function(e){return e.stopPropagation()},Vo=function(e){return e=(e=(e=(e=Object(f.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},zo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onHover=e.onHover.bind(Object(Jt.a)(Object(Jt.a)(e))),e.panels={},e.inserterResults=Object(Ut.createRef)(),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,o=t.hideInsertionPoint;e?n():o()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(f.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(d.a)(t.state.openPanels),[e])}),t.props.setTimeout(function(){Mo()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})}))}}},{key:"filterOpenPanels",value:function(e,t,n,o){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var r=[];return o.length>0&&r.push("reusable"),n.length>0&&(r=r.concat(Object.keys(t))),r}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,o=t.items,r=t.rootChildBlocks,c=function(e,t){var n=Vo(t),o=function(e){return-1!==Vo(e).indexOf(n)},r=Object(i.getCategories)();return e.filter(function(e){var t=Object(f.find)(r,{slug:e.category});return o(e.title)||Object(f.some)(e.keywords,o)||t&&o(t.title)})}(o,e),l=Object(f.filter)(c,function(e){var t=e.name;return Object(f.includes)(r,t)}),a=[];if(!e){var s=this.props.maxSuggestedItems||9;a=Object(f.filter)(o,function(e){return e.utility>0}).slice(0,s)}var u=Object(f.filter)(c,{category:"reusable"}),d=function(e){return Object(f.findIndex)(Object(i.getCategories)(),function(t){return t.slug===e.category})},b=Object(f.flow)(function(e){return Object(f.filter)(e,function(e){return"reusable"!==e.category})},function(e){return Object(f.sortBy)(e,d)},function(e){return Object(f.groupBy)(e,"category")})(c);this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:a,reusableItems:u,itemsPerCategory:b,openPanels:this.filterOpenPanels(e,b,c,u)});var h=Object.keys(b).reduce(function(e,t){return e+b[t].length},0);n(Object(p.sprintf)(Object(p._n)("%d result found.","%d results found.",h),h))}},{key:"onKeyDown",value:function(e){Object(f.includes)([Cn.LEFT,Cn.DOWN,Cn.RIGHT,Cn.UP,Cn.BACKSPACE,Cn.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.onSelect,r=t.rootClientId,c=this.state,l=c.childItems,a=c.hoveredItem,s=c.itemsPerCategory,u=c.openPanels,d=c.reusableItems,b=c.suggestedItems,h=function(e){return-1!==u.indexOf(e)};return Object(Ut.createElement)("div",{className:"editor-inserter__menu block-editor-inserter__menu",onKeyPress:Uo,onKeyDown:this.onKeyDown},Object(Ut.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(p.__)("Search for a block")),Object(Ut.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:Object(p.__)("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(Ut.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(p.__)("Available block types")},Object(Ut.createElement)(Ho,{rootClientId:r,items:l,onSelect:o,onHover:this.onHover}),!!b.length&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p._x)("Most Used","blocks"),opened:h("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(Ut.createElement)(Fo,{items:b,onSelect:o,onHover:this.onHover})),Object(f.map)(Object(i.getCategories)(),function(t){var n=s[t.slug];return n&&n.length?Object(Ut.createElement)(Zt.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:h(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(Ut.createElement)(Fo,{items:n,onSelect:o,onHover:e.onHover})):null}),!!d.length&&Object(Ut.createElement)(Zt.PanelBody,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:Object(p.__)("Reusable"),opened:h("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(Ut.createElement)(Fo,{items:d,onSelect:o,onHover:this.onHover}),Object(Ut.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:Object(Ro.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(p.__)("Manage All Reusable Blocks"))),Object(f.isEmpty)(b)&&Object(f.isEmpty)(d)&&Object(f.isEmpty)(s)&&Object(Ut.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},Object(p.__)("No blocks found."))),a&&Object(i.isReusableBlock)(a)&&Object(Ut.createElement)(Po,{name:a.name,attributes:a.initialAttributes}))}}]),t}(Ut.Component),Ko=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isAppender,r=t.rootClientId,i=e("core/block-editor"),c=i.getInserterItems,l=i.getBlockName,a=i.getBlockRootClientId,s=i.getBlockSelectionEnd,u=e("core/blocks").getChildBlockNames,d=r;if(!d&&!n&&!o){var b=s();b&&(d=a(b)||void 0)}return{rootChildBlocks:u(l(d)),items:c(d),destinationRootClientId:d}}),Object(a.withDispatch)(function(e,t,n){var o=n.select,r=e("core/block-editor"),c=r.showInsertionPoint,l=r.hideInsertionPoint;function a(){var e=o("core/block-editor"),n=e.getBlockIndex,r=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,l=t.destinationRootClientId,a=t.isAppender;if(c)return n(c,l);var s=r();return!a&&s?n(s,l)+1:i(l).length}return{fetchReusableBlocks:e("core/editor").__experimentalFetchReusableBlocks,showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:l,onSelect:function(n){var r=e("core/block-editor"),c=r.replaceBlocks,l=r.insertBlock,s=o("core/block-editor").getSelectedBlock,u=t.isAppender,d=n.name,b=n.initialAttributes,f=s(),p=Object(i.createBlock)(d,b);!u&&f&&Object(i.isUnmodifiedDefaultBlock)(f)?c(f.clientId,p):l(p,a(),t.destinationRootClientId),t.onSelect()}}}),Zt.withSpokenMessages,Kt.withInstanceId,Kt.withSafeTimeout)(zo),Wo=function(e){var t=e.onToggle,n=e.disabled,o=e.isOpen;return Object(Ut.createElement)(Zt.IconButton,{icon:"insert",label:Object(p.__)("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":"true","aria-expanded":o,disabled:n})},Go=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.renderToggle=e.renderToggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.renderContent=e.renderContent.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,o=this.props,r=o.disabled,i=o.renderToggle,c=void 0===i?Wo:i;return c({onToggle:t,isOpen:n,disabled:r})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,o=n.rootClientId,r=n.clientId,i=n.isAppender;return Object(Ut.createElement)(Ko,{onSelect:t,rootClientId:o,clientId:r,isAppender:i})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.title;return Object(Ut.createElement)(Zt.Dropdown,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:n,renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(Ut.Component),qo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor").hasInserterItems;return{title:(0,e("core/editor").getEditedPostAttribute)("title"),hasItems:o(n)}}),Object(Kt.ifCondition)(function(e){return e.hasItems})])(Go);var Yo=Object(l.ifViewportMatches)("< small")(function(e){var t=e.clientId;return Object(Ut.createElement)("div",{className:"editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar"},Object(Ut.createElement)(qo,null),Object(Ut.createElement)(io,{clientIds:[t]}))}),$o=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFocusInserter=e.onFocusInserter.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocusInserter",value:function(e){e.stopPropagation(),this.setState({isInserterFocused:!0})}},{key:"onBlurInserter",value:function(){this.setState({isInserterFocused:!1})}},{key:"render",value:function(){var e=this.state.isInserterFocused,t=this.props,n=t.showInsertionPoint,o=t.rootClientId,r=t.clientId;return Object(Ut.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},n&&Object(Ut.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(Ut.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:zt()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(Ut.createElement)(qo,{rootClientId:o,clientId:r})))}}]),t}(Ut.Component),Xo=Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.rootClientId,r=e("core/block-editor"),i=r.getBlockIndex,c=r.getBlockInsertionPoint,l=r.isBlockInsertionPointVisible,a=i(n,o),s=c();return{showInsertionPoint:l()&&s.index===a&&s.rootClientId===o}})($o),Jo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(Jt.a)(Object(Jt.a)(e))),e.eventMap={},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,o=void 0===n?[]:n,r=t.forwardedRef,i=Object(u.a)(t,["childHandledEvents","forwardedRef"]),c=Object(f.reduce)([].concat(Object(d.a)(o),Object(d.a)(Object.keys(i))),function(t,n){var o=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(o){!!o[2]&&delete i[n];var r="on"+o[1];t[r]=e.proxyEvent,e.eventMap[o[1].toLowerCase()]=r}return t},{});return Object(Ut.createElement)("div",Object(Ht.a)({ref:r},i,c))}}]),t}(Ut.Component),Zo=function(e,t){return Object(Ut.createElement)(Jo,Object(Ht.a)({},e,{forwardedRef:t}))};Zo.displayName="IgnoreNestedEvents";var Qo=Object(Ut.forwardRef)(Zo);var er=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor"),r=o.getInserterItems,i=o.getTemplateLock;return{items:r(n),isLocked:!!i(n)}}),Object(a.withDispatch)(function(e,t){var n=t.clientId,o=t.rootClientId;return{onInsert:function(t){var r=t.name,c=t.initialAttributes,l=Object(i.createBlock)(r,c);n?e("core/block-editor").replaceBlocks(n,l):e("core/block-editor").insertBlock(l,void 0,o)}}}))(function(e){var t=e.items,n=e.isLocked,o=e.onInsert;if(n)return null;var r=Object(f.filter)(t,function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(f.isEmpty)(e.initialAttributes))}).slice(0,3);return Object(Ut.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},r.map(function(e){return Object(Ut.createElement)(Zt.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return o(e)},label:Object(p.sprintf)(Object(p.__)("Add %s"),e.title),icon:Object(Ut.createElement)(En,{icon:e.icon})})}))}),tr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hoverArea:null},e.onMouseLeave=e.onMouseLeave.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onMouseMove=e.onMouseMove.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentWillUnmount",value:function(){this.props.container&&this.toggleListeners(this.props.container,!1)}},{key:"componentDidMount",value:function(){this.props.container&&this.toggleListeners(this.props.container)}},{key:"componentDidUpdate",value:function(e){e.container!==this.props.container&&(e.container&&this.toggleListeners(e.container,!1),this.props.container&&this.toggleListeners(this.props.container,!0))}},{key:"toggleListeners",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"addEventListener":"removeEventListener";e[t]("mousemove",this.onMouseMove),e[t]("mouseleave",this.onMouseLeave)}},{key:"onMouseLeave",value:function(){this.state.hoverArea&&this.setState({hoverArea:null})}},{key:"onMouseMove",value:function(e){var t=this.props,n=t.isRTL,o=t.container.getBoundingClientRect(),r=o.width,i=o.left,c=o.right,l=null;e.clientX-i0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;c(e,n)},onInsertBlocks:function(e,n){var o=t.rootClientId;a(e,n,o)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,r=(0,o("core/block-editor").getBlockIndex)(e,n);s({},n,r+1)},onInsertBlocksAfter:function(e){var n=t.clientId,r=t.rootClientId,i=(0,o("core/block-editor").getBlockIndex)(n,r);a(e,i+1,r)},onRemove:function(e){u(e)},onMerge:function(e){var n=t.clientId,r=o("core/block-editor"),i=r.getPreviousBlockClientId,c=r.getNextBlockClientId;if(e){var l=c(n);l&&d(n,l)}else{var a=i(n);a&&d(a,n)}},onReplace:function(e){b([t.clientId],e)},onMetaChange:function(e){(0,(0,o("core/block-editor").getSettings)().__experimentalMetaSource.onChange)(e)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=o("core/block-editor").getBlockSelectionStart;e()?l(e(),t.clientId):c(t.clientId)}},toggleSelection:function(e){f(e)}}}),lr=Object(Kt.compose)(Kt.pure,Object(l.withViewportMatch)({isLargeViewport:"medium"}),ir,cr,Object(Zt.withFilters)("editor.BlockListBlock"))(rr),ar=n(57);var sr=Object(Kt.compose)(Object(Kt.withState)({hovered:!1}),Object(a.withSelect)(function(e,t){var n=e("core/block-editor"),o=n.getBlockCount,r=n.getBlockName,c=n.isBlockValid,l=n.getSettings,a=n.getTemplateLock,s=!o(t.rootClientId),u=r(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),b=l().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!a(t.rootClientId),placeholder:b}}),Object(a.withDispatch)(function(e,t){var n=e("core/block-editor"),o=n.insertDefaultBlock,r=n.startTyping;return{onAppend:function(){var e=t.rootClientId;o(void 0,e),r()}}}))(function(e){var t=e.isLocked,n=e.isVisible,o=e.onAppend,r=e.showPrompt,i=e.placeholder,c=e.rootClientId,l=e.hovered,a=e.setState;if(t||!n)return null;var s=Object(ar.decodeEntities)(i)||Object(p.__)("Start writing or type / to choose a block");return Object(Ut.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return a({hovered:!0})},onMouseLeave:function(){return a({hovered:!1})}},Object(Ut.createElement)(ao,{rootClientId:c}),Object(Ut.createElement)(jo.a,{role:"button","aria-label":Object(p.__)("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:o,value:r?s:""}),l&&Object(Ut.createElement)(er,{rootClientId:c}),Object(Ut.createElement)(qo,{rootClientId:c,position:"top right",isAppender:!0}))});var ur=Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor"),r=o.getBlockOrder,c=o.canInsertBlockType;return{isLocked:!!(0,o.getTemplateLock)(n),blockClientIds:r(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}})(function(e){var t=e.blockClientIds,n=e.rootClientId,o=e.canInsertDefaultBlock;return e.isLocked?null:o?Object(Ut.createElement)(Qo,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(Ut.createElement)(sr,{rootClientId:n,lastBlockClientId:Object(f.last)(t)})):Object(Ut.createElement)("div",{className:"block-list-appender"},Object(Ut.createElement)(qo,{rootClientId:n,renderToggle:function(e){var t=e.onToggle,n=e.disabled,o=e.isOpen;return Object(Ut.createElement)(Zt.IconButton,{label:Object(p.__)("Add block"),icon:"insert",onClick:t,className:"block-list-appender__toggle","aria-haspopup":"true","aria-expanded":o,disabled:n})},isAppender:!0}))}),dr=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onSelectionEnd=n.onSelectionEnd.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setBlockRef=n.setBlockRef.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setLastClientY=n.setLastClientY.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPointerMove=Object(f.throttle)(n.onPointerMove.bind(Object(Jt.a)(Object(Jt.a)(n))),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=Object(s.a)({},this.nodes,Object(b.a)({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=or(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var o=t-n.top,r=Object(f.findLast)(this.coordMapKeys,function(e){return e0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e}(t,n)||(n.colors||e).length>0}(t,n,e)})})(function(e){var t=e.children,n=e.colors,o=e.colorSettings,r=e.disableCustomColors,i=e.title,c=Object(u.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),l=Object(Ut.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map(function(e,n){var o=e.value,r=e.label,i=e.colors;if(!o)return null;var c=An(i||t,o),l=c&&c.name,a=Object(p.sprintf)(wr,r.toLowerCase(),l||o);return Object(Ut.createElement)(Zt.ColorIndicator,{key:n,colorValue:o,"aria-label":a})})}(o,n));return Object(Ut.createElement)(Zt.PanelBody,Object(Ht.a)({className:"editor-panel-color-settings block-editor-panel-color-settings",title:l},c),o.map(function(e,t){return Object(Ut.createElement)(Er,Object(Ht.a)({key:t},Object(s.a)({colors:n,disableCustomColors:r},e)))}),t)}),Tr=xn(Ir);var Br=function(e){var t=e.onChange,n=e.className,o=Object(u.a)(e,["onChange","className"]);return Object(Ut.createElement)(jo.a,Object(Ht.a)({className:zt()("editor-plain-text block-editor-plain-text",n),onChange:function(e){return t(e.target.value)}},o))},xr=n(41),Lr=n.n(xr),Nr=n(35),Mr=n(49),Rr=n.n(Mr),Ar=Object(a.withSelect)(function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}})(function(e){var t=e.formatTypes,n=e.onChange,o=e.value;return Object(Ut.createElement)(Ut.Fragment,null,t.map(function(e){var t=e.name,r=e.edit;if(!r)return null;var i=Object(c.getActiveFormat)(o,t),l=void 0!==i,a=Object(c.getActiveObject)(o),s=void 0!==a;return Object(Ut.createElement)(r,{key:t,isActive:l,activeAttributes:l&&i.attributes||{},isObjectActive:s,activeObjectAttributes:s&&a.attributes||{},value:o,onChange:n})}))}),Pr=function(e){var t=e.controls;return Object(Ut.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(Ut.createElement)(Zt.Toolbar,null,t.map(function(e){return Object(Ut.createElement)(Zt.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})}),Object(Ut.createElement)(Zt.Slot,{name:"RichText.ToolbarControls"},function(e){return e.length&&Object(Ut.createElement)(Zt.DropdownMenu,{icon:!1,position:"bottom left",label:Object(p.__)("More Rich Text Controls"),controls:Object(f.orderBy)(e.map(function(e){return Object(B.a)(e,1)[0].props}),"title")})})))},Dr=function(e){return Object(f.pickBy)(e,function(e,t){return n=t,Object(f.startsWith)(n,"aria-")&&!Object(f.isNil)(e);var n})},Fr=window.navigator.userAgent;var Hr="editor-rich-text__editable block-editor-rich-text__editable",Ur=Fr.indexOf("Trident")>=0,Vr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(f.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(f.isEqual)(this.props.className,e.className)||(this.editorNode.className=zt()(e.className,Hr));var n=function(e,t){var n=Object(f.keys)(Dr(e)),o=Object(f.keys)(Dr(t));return{removedKeys:Object(f.difference)(n,o),updatedKeys:o.filter(function(n){return!Object(f.isEqual)(e[n],t[n])})}}(this.props,e),o=n.removedKeys,r=n.updatedKeys;return o.forEach(function(e){return t.editorNode.removeAttribute(e)}),r.forEach(function(n){return t.editorNode.setAttribute(n,e[n])}),!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef(e),Ur&&(e?this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,o=t.keyCode;if((Cn.BACKSPACE===o||Cn.DELETE===o)&&e.contains(n)){var r=document.createEvent("Event");r.initEvent("input",!0,!1),r.data=null,n.dispatchEvent(r)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e):this.removeInternetExplorerInputFix())}},{key:"render",value:function(){var e,t=this.props,n=t.tagName,o=void 0===n?"div":n,r=t.style,i=t.record,c=t.valueToEditableHTML,l=t.className,a=t.isPlaceholderVisible,d=Object(u.a)(t,["tagName","style","record","valueToEditableHTML","className","isPlaceholderVisible"]);return delete d.setRef,Object(Ut.createElement)(o,Object(s.a)((e={role:"textbox","aria-multiline":!0,className:zt()(l,Hr),contentEditable:!0},Object(b.a)(e,"data-is-placeholder-visible",a),Object(b.a)(e,"ref",this.bindEditorNode),Object(b.a)(e,"style",r),Object(b.a)(e,"suppressContentEditableWarning",!0),Object(b.a)(e,"dangerouslySetInnerHTML",{__html:c(i)}),e),d))}}]),t}(Ut.Component);var zr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Cn.rawShortcut[n](t),this.onUse)})}}]),t}(Ut.Component),Kr=window.Node,Wr=Kr.TEXT_NODE,Gr=Kr.ELEMENT_NODE;function qr(){var e=window.getSelection();if(0!==e.rangeCount){var t=e.getRangeAt(0).startContainer;if(t.nodeType===Wr&&(t=t.parentNode),t.nodeType===Gr){var n=t.closest("*[contenteditable]");if(n&&n.contains(t))return t.closest("ol,ul")}}}function Yr(){var e=qr();return!e||"true"===e.contentEditable}function $r(e,t){var n=qr();return n?n.nodeName.toLowerCase()===e:e===t}var Xr=function(e){var t=e.onTagNameChange,n=e.tagName,o=e.value,r=e.onChange;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(zr,{type:"primary",character:"[",onUse:function(){r(Object(c.outdentListItems)(o))}}),Object(Ut.createElement)(zr,{type:"primary",character:"]",onUse:function(){r(Object(c.indentListItems)(o,{type:n}))}}),Object(Ut.createElement)(zr,{type:"primary",character:"m",onUse:function(){r(Object(c.indentListItems)(o,{type:n}))}}),Object(Ut.createElement)(zr,{type:"primaryShift",character:"m",onUse:function(){r(Object(c.outdentListItems)(o))}}),Object(Ut.createElement)(Sn,null,Object(Ut.createElement)(Zt.Toolbar,{controls:[t&&{icon:"editor-ul",title:Object(p.__)("Convert to unordered list"),isActive:$r("ul",n),onClick:function(){r(Object(c.changeListType)(o,{type:"ul"})),Yr()&&t("ul")}},t&&{icon:"editor-ol",title:Object(p.__)("Convert to ordered list"),isActive:$r("ol",n),onClick:function(){r(Object(c.changeListType)(o,{type:"ol"})),Yr()&&t("ol")}},{icon:"editor-outdent",title:Object(p.__)("Outdent list item"),shortcut:Object(p._x)("Backspace","keyboard key"),onClick:function(){r(Object(c.outdentListItems)(o))}},{icon:"editor-indent",title:Object(p.__)("Indent list item"),shortcut:Object(p._x)("Space","keyboard key"),onClick:function(){r(Object(c.indentListItems)(o,{type:n}))}}].filter(Boolean)})))},Jr=[Cn.rawShortcut.primary("z"),Cn.rawShortcut.primaryShift("z"),Cn.rawShortcut.primary("y")],Zr=Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.fromPairs)(Jr.map(function(e){return[e,function(e){return e.preventDefault()}]}))}),Qr=function(){return Zr};function ei(e){var t,n=e.name,o=e.shortcutType,r=e.shortcutCharacter,i=Object(u.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),o&&r&&(t=Cn.displayShortcut[o](r)),Object(Ut.createElement)(Zt.Fill,{name:c},Object(Ut.createElement)(Zt.ToolbarButton,Object(Ht.a)({},i,{shortcut:t})))}var ti=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(Ut.Component),ni=window,oi=ni.getSelection,ri=(ni.getComputedStyle,new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"])),ii=function(e){function t(e){var n,o=e.value,r=e.onReplace,l=e.multiline;return Object(Gt.a)(this,t),n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments)),!0!==l&&"p"!==l&&"li"!==l||(n.multilineTag=!0===l?"p":l),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.props.onSplit?(n.onSplit=n.props.onSplit,Rr()("wp.editor.RichText onSplit prop",{plugin:"Gutenberg",alternative:"wp.editor.RichText unstableOnSplit prop"})):n.props.unstableOnSplit&&(n.onSplit=n.props.unstableOnSplit),n.onFocus=n.onFocus.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onBlur=n.onBlur.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPaste=n.onPaste.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setFocusedElement=n.setFocusedElement.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onInput=n.onInput.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onSelectionChange=n.onSelectionChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.getRecord=n.getRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.createRecord=n.createRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.applyRecord=n.applyRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.isEmpty=n.isEmpty.bind(Object(Jt.a)(Object(Jt.a)(n))),n.valueToFormat=n.valueToFormat.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setRef=n.setRef.bind(Object(Jt.a)(Object(Jt.a)(n))),n.valueToEditableHTML=n.valueToEditableHTML.bind(Object(Jt.a)(Object(Jt.a)(n))),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPointerDown=n.onPointerDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.formatToValue=Lr()(n.formatToValue.bind(Object(Jt.a)(Object(Jt.a)(n))),{size:1}),n.savedContent=o,n.patterns=function(e){var t=e.onReplace,n=e.valueToFormat,o=Object(i.getBlockTransforms)("from").filter(function(e){return"prefix"===e.type});return[function(e){if(!t)return e;var r=Object(c.getSelectionStart)(e),l=Object(c.getTextContent)(e),a=l.slice(r-1,r);if(!/\s/.test(a))return e;var s=l.slice(0,r).trim(),u=Object(i.findTransform)(o,function(e){var t=e.prefix;return s===t});if(!u)return e;var d=n(Object(c.slice)(e,r,l.length)),b=u.transform(d);return t([b]),e},function(e){var t=Object(c.getSelectionStart)(e),n=Object(c.getTextContent)(e);if("`"!==n.slice(t-1,t))return e;var o=n.slice(0,t-1).lastIndexOf("`");if(-1===o)return e;var r=o,i=t-2;return r===i?e:(e=Object(c.remove)(e,r,r+1),e=Object(c.remove)(e,i,i+1),e=Object(c.applyFormat)(e,{type:"code"},r,i))}]}({onReplace:r,valueToFormat:n.valueToFormat}),n.enterPatterns=Object(i.getBlockTransforms)("from").filter(function(e){return"enter"===e.type}),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(o),n.lastHistoryValue=o,n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){e?this.editableRef=e:delete this.editableRef}},{key:"setFocusedElement",value:function(){this.props.setFocusedElement&&this.props.setFocusedElement(this.props.instanceId)}},{key:"getRecord",value:function(){var e=this.formatToValue(this.props.value),t=e.formats,n=e.replacements,o=e.text,r=this.state;return{formats:t,replacements:n,text:o,start:r.start,end:r.end,selectedFormat:r.selectedFormat}}},{key:"createRecord",value:function(){var e=oi(),t=e.rangeCount>0?e.getRangeAt(0):null;return Object(c.create)({element:this.editableRef,range:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:this.props.prepareEditableTree,__unstableIsEditableTree:!0})}},{key:"applyRecord",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).domOnly;Object(c.apply)({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:this.props.prepareEditableTree,__unstableDomOnly:t})}},{key:"isEmpty",value:function(){return Object(c.isEmpty)(this.formatToValue(this.props.value))}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,o=t.files;n=Object(f.isNil)(n)?[]:n,o=Object(f.isNil)(o)?[]:o;var r="",l="";try{r=t.getData("text/plain"),l=t.getData("text/html")}catch(e){try{l=t.getData("Text")}catch(e){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",l),window.console.log("Received plain text:\n\n",r);var a=Object(f.find)([].concat(Object(d.a)(n),Object(d.a)(o)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)});if(a&&!l){var s=a.getAsFile?a.getAsFile():a,u=Object(i.pasteHandler)({HTML:''),mode:"BLOCKS",tagName:this.props.tagName}),b=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",s),void(b?this.props.onReplace(u):this.onSplit&&this.splitContent(u))}var p=this.getRecord();if(!Object(c.isCollapsed)(p)){var h=(l||r).replace(/<[^>]+>/g,"").trim();if(Object(Ro.isURL)(h))return this.onChange(Object(c.applyFormat)(p,{type:"a",attributes:{href:Object(ar.decodeEntities)(h)}})),void window.console.log("Created link:\n\n",h)}var v=this.props.onReplace&&this.isEmpty(),m="INLINE";v?m="BLOCKS":this.onSplit&&(m="AUTO");var g=Object(i.pasteHandler)({HTML:l,plainText:r,mode:m,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof g){var O=Object(c.create)({html:g});this.onChange(Object(c.insert)(p,O))}else if(this.onSplit){if(!g.length)return;v?this.props.onReplace(g):this.splitContent(g,{paste:!0})}}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){if(e&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else{if(e&&e.nativeEvent.inputType){var t=e.nativeEvent.inputType;if(0===t.indexOf("format")||ri.has(t))return void this.applyRecord(this.getRecord())}var n=this.state.selectedFormat,o=this.createRecord(),r=o.formats,i=o.replacements,c=o.text,l=o.start,a=o.end;if(this.formatPlaceholder)(n=this.formatPlaceholder.length)>0?r[this.state.start]=this.formatPlaceholder:delete r[this.state.start];else if(n>0){var u=r[l-1]||[],d=r[l]||[],b=u;d.length>u.length&&(b=d),b=b.slice(0,n),r[this.state.start]=b}else delete r[this.state.start];var f={formats:r,replacements:i,text:c,start:l,end:a,selectedFormat:n};this.onChange(f,{withoutHistory:!0});var p=this.patterns.reduce(function(e,t){return t(e)},f);p!==f&&(this.onCreateUndoLevel(),this.onChange(Object(s.a)({},p,{selectedFormat:n}))),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onInput(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(){if(this.ignoreSelectionChange)delete this.ignoreSelectionChange;else{var e=this.createRecord(),t=e.start,n=e.end,o=e.formats;if(t!==this.state.start||n!==this.state.end){var r,i=this.props.isCaretWithinFormattedText;if(!i&&o[t]?this.props.onEnterFormattedText():i&&!o[t]&&this.props.onExitFormattedText(),Object(c.isCollapsed)(e)){var l=o[t-1]||[],a=o[t]||[];r=Math.min(l.length,a.length)}this.setState({start:t,end:n,selectedFormat:r}),this.applyRecord(Object(s.a)({},e,{selectedFormat:r}),{domOnly:!0}),delete this.formatPlaceholder}}}},{key:"onChangeEditableValue",value:function(e){var t=e.formats,n=e.text;Object(f.get)(this.props,["onChangeEditableValue"],[]).forEach(function(e){e(t,n)})}},{key:"onChange",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withoutHistory;this.applyRecord(e);var n=e.start,o=e.end,r=e.formatPlaceholder,i=e.selectedFormat;this.formatPlaceholder=r,this.onChangeEditableValue(e),this.savedContent=this.valueToFormat(e),this.props.onChange(this.savedContent),this.setState({start:n,end:o,selectedFormat:i}),t||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.savedContent&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.savedContent)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,o=t.onRemove;if(n||o){var r=e.keyCode===Cn.BACKSPACE;if(Object(c.isCollapsed)(this.createRecord())){var i=this.isEmpty();(i||Object(Jn.isHorizontalEdge)(this.editableRef,r))&&(n&&n(!r),o&&i&&r&&o(!r),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey,o=e.altKey,r=e.metaKey,l=e.ctrlKey;if(n||o||r||l||t!==Cn.LEFT&&t!==Cn.RIGHT||this.handleHorizontalNavigation(e),t===Cn.SPACE&&"li"===this.multilineTag){var a=this.createRecord();if(Object(c.isCollapsed)(a)){var u=a.text[a.start-1];u&&u!==c.LINE_SEPARATOR||(this.onChange(Object(c.indentListItems)(a,{type:this.props.tagName})),e.preventDefault())}}if(t===Cn.DELETE||t===Cn.BACKSPACE){var b=this.createRecord(),f=b.replacements,p=b.text,h=b.start,v=b.end;if(0===h&&0!==v&&v===b.text.length)return this.onChange(Object(c.remove)(b)),void e.preventDefault();if(this.multilineTag){var m;if(t===Cn.BACKSPACE){var g=h-1;if(p[g]===c.LINE_SEPARATOR){var O=Object(c.isCollapsed)(b);if(O&&f[g]&&f[g].length){var k=f.slice();k[g]=f[g].slice(0,-1),m=Object(s.a)({},b,{replacements:k})}else m=Object(c.remove)(b,O?h-1:h,v)}}else if(p[v]===c.LINE_SEPARATOR){var j=Object(c.isCollapsed)(b);if(j&&f[v]&&f[v].length){var y=f.slice();y[v]=f[v].slice(0,-1),m=Object(s.a)({},b,{replacements:y})}else m=Object(c.remove)(b,h,j?v+1:v)}m&&(this.onChange(m),e.preventDefault())}this.onDeleteKeyDown(e)}else if(t===Cn.ENTER){e.preventDefault();var _=this.createRecord();if(this.props.onReplace){var S=Object(c.getTextContent)(_),C=Object(i.findTransform)(this.enterPatterns,function(e){return e.regExp.test(S)});if(C)return void this.props.onReplace([C.transform({content:S})])}this.multilineTag?e.shiftKey?this.onChange(Object(c.insertLineBreak)(_)):this.onSplit&&Object(c.isEmptyLine)(_)?this.onSplit.apply(this,Object(d.a)(Object(c.split)(_).map(this.valueToFormat))):this.onChange(Object(c.insertLineSeparator)(_)):e.shiftKey||!this.onSplit?this.onChange(Object(c.insertLineBreak)(_)):this.splitContent()}}},{key:"handleHorizontalNavigation",value:function(e){var t=this.createRecord(),n=t.formats,o=t.text,r=t.start,i=t.end,l=this.state.selectedFormat,a=Object(c.isCollapsed)(t),u=e.keyCode===Cn.LEFT;if(delete this.formatPlaceholder,a&&0===l){if(0===r&&u)return;if(i===o.length&&!u)return}if(a){e.preventDefault(),this.ignoreSelectionChange=!0;var d=n[r-1]||[],b=n[r]||[],f=l;if(d.lengthd.length&&f--):d.length>b.length&&(!u&&l>b.length&&f--,u&&l0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.onSplit){var n=this.createRecord(),o=Object(c.split)(n),r=Object(B.a)(o,2),i=r[0],l=r[1];Object(c.isEmpty)(l)?i=n:Object(c.isEmpty)(i)&&(l=n),t.paste&&(i=Object(c.isEmpty)(i)?null:i,l=Object(c.isEmpty)(l)?null:l),i&&(i=this.valueToFormat(i)),l&&(l=this.valueToFormat(l)),this.onSplit.apply(this,[i,l].concat(Object(d.a)(e)))}}},{key:"onPointerDown",value:function(e){var t=e.target;if(t!==this.editableRef&&!t.textContent){var n=t.parentNode,o=Array.from(n.childNodes).indexOf(t),r=t.ownerDocument.createRange(),i=oi();r.setStart(t.parentNode,o),r.setEnd(t.parentNode,o+1),i.removeAllRanges(),i.addRange(r)}}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.tagName,r=n.value,i=n.isSelected;if(o===e.tagName&&r!==e.value&&r!==this.savedContent){if(Array.isArray(r)&&Object(f.isEqual)(r,this.savedContent))return;var l=this.formatToValue(r);if(i){var a=this.formatToValue(e.value),s=Object(c.getTextContent)(a).length;l.start=s,l.end=s}this.applyRecord(l),this.savedContent=r}if(Object.keys(this.props).some(function(n){return 0===n.indexOf("format_")&&(Object(f.isPlainObject)(t.props[n])?Object.keys(t.props[n]).some(function(o){return t.props[n][o]!==e[n][o]}):t.props[n]!==e[n])})){var u=this.formatToValue(r);i&&(u.start=this.state.start,u.end=this.state.end),this.applyRecord(u)}}},{key:"getFormatProps",value:function(){return Object(f.pickBy)(this.props,function(e,t){return t.startsWith("format_")})}},{key:"formatToValue",value:function(e){return Array.isArray(e)?Object(c.create)({html:i.children.toHTML(e),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):"string"===this.props.format?Object(c.create)({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):null===e?Object(c.create)():e}},{key:"valueToEditableHTML",value:function(e){return Object(c.unstableToDom)({value:e,multilineTag:this.multilineTag,prepareEditableTree:this.props.prepareEditableTree}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach(function(t){t.__experimentalCreatePrepareEditableTree&&(e=Object(c.removeFormat)(e,t.name,0,e.text.length))}),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?i.children.fromDOM(Object(c.unstableToDom)({value:e,multilineTag:this.multilineTag,isEditableTree:!1}).body.childNodes):"string"===this.props.format?Object(c.toHTMLString)({value:e,multilineTag:this.multilineTag}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,o=void 0===n?"div":n,r=t.style,i=t.wrapperClassName,c=t.className,l=t.inlineToolbar,a=void 0!==l&&l,s=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,b=void 0!==d&&d,f=t.isSelected,p=t.autocompleters,h=t.onTagNameChange,v=o,m=this.multilineTag,g=Dr(this.props),O=u&&(!f||b)&&this.isEmpty(),k=zt()(i,"editor-rich-text block-editor-rich-text"),j=this.getRecord();return Object(Ut.createElement)("div",{className:k,onFocus:this.setFocusedElement},f&&"li"===this.multilineTag&&Object(Ut.createElement)(Xr,{onTagNameChange:h,tagName:o,value:j,onChange:this.onChange}),f&&!a&&Object(Ut.createElement)(Sn,null,Object(Ut.createElement)(Pr,{controls:s})),f&&a&&Object(Ut.createElement)(Zt.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(Ut.createElement)(Pr,{controls:s})),Object(Ut.createElement)(cn,{onReplace:this.props.onReplace,completers:p,record:j,onChange:this.onChange},function(t){var n=t.listBoxId,i=t.activeId;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Vr,Object(Ht.a)({tagName:o,style:r,record:j,valueToEditableHTML:e.valueToEditableHTML,isPlaceholderVisible:O,"aria-label":u,"aria-autocomplete":"list","aria-owns":n,"aria-activedescendant":i},g,{className:c,key:v,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,onBlur:e.onBlur,onMouseDown:e.onPointerDown,onTouchStart:e.onPointerDown,setRef:e.setRef})),O&&Object(Ut.createElement)(o,{className:zt()("editor-rich-text__editable block-editor-rich-text__editable",c),style:r},m?Object(Ut.createElement)(m,null,u):u),f&&Object(Ut.createElement)(Ar,{value:j,onChange:e.onChange}))}),f&&Object(Ut.createElement)(Qr,null))}}]),t}(Ut.Component);ii.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var ci=Object(Kt.compose)([Kt.withInstanceId,nn(function(e,t){return!1===t.isSelected?{clientId:e.clientId}:!0===t.isSelected?{isSelected:e.isSelected,clientId:e.clientId}:{isSelected:e.isSelected&&e.focusedElement===t.instanceId,setFocusedElement:e.setFocusedElement,clientId:e.clientId}}),Object(a.withSelect)(function(e){var t=e("core/editor").canUserUseUnfilteredHTML,n=e("core/block-editor").isCaretWithinFormattedText,o=e("core/rich-text").getFormatTypes;return{canUserUseUnfilteredHTML:t(),isCaretWithinFormattedText:n(),formatTypes:o()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onCreateUndoLevel:t.__unstableMarkLastChangeAsPersistent,onEnterFormattedText:t.enterFormattedText,onExitFormattedText:t.exitFormattedText}}),Kt.withSafeTimeout,Object(Zt.withFilters)("experimentalRichText")])(ii);ci.Content=function(e){var t,n=e.value,o=e.tagName,r=e.multiline,c=Object(u.a)(e,["value","tagName","multiline"]),l=n;!0!==r&&"p"!==r&&"li"!==r||(t=!0===r?"p":r),Array.isArray(n)&&(l=i.children.toHTML(n)),!l&&t&&(l="<".concat(t,">"));var a=Object(Ut.createElement)(Ut.RawHTML,null,l);return o?Object(Ut.createElement)(o,Object(f.omit)(c,["format"]),a):a},ci.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},ci.Content.defaultProps={format:"string",value:""};var li=ci,ai=Object(Zt.withFilters)("editor.MediaUpload")(function(){return null}),si=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(Jt.a)(Object(Jt.a)(e))),e.state={isSettingsExpanded:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,o=e.onClose,r=e.onClickOutside,i=e.position,c=void 0===i?"bottom center":i,l=e.focusOnMount,a=void 0===l?"firstElement":l,s=this.state.isSettingsExpanded,u=!!n&&s;return Object(Ut.createElement)(Zt.Popover,{className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:c,onClose:o,onClickOutside:r},Object(Ut.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},t,!!n&&Object(Ut.createElement)(Zt.IconButton,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(p.__)("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),u&&Object(Ut.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},n()))}}]),t}(Ut.Component),ui=function(e){var t=e.src,n=e.onChange,o=e.onSubmit,r=e.onClose;return Object(Ut.createElement)(si,{onClose:r},Object(Ut.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:o},Object(Ut.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(p.__)("URL"),placeholder:Object(p.__)("Paste or type URL"),onChange:n,value:t}),Object(Ut.createElement)(Zt.IconButton,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(p.__)("Apply"),type:"submit"})))},di=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onSubmitSrc=e.onSubmitSrc.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onUpload=e.onUpload.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFilesUpload=e.onFilesUpload.bind(Object(Jt.a)(Object(Jt.a)(e))),e.openURLInput=e.openURLInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e.closeURLInput=e.closeURLInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(f.every)(e,function(e){return"image"===e||Object(f.startsWith)(e,"image/")})}},{key:"componentDidMount",value:function(){this.setState({src:Object(f.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(f.get)(e.value,["src"],"")!==Object(f.get)(this.props.value,["src"],"")&&this.setState({src:Object(f.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t=this.props,n=t.onSelect,o=t.multiple,r=t.onError,i=t.allowedTypes;(0,t.mediaUpload)({allowedTypes:i,filesList:e,onFileChange:o?n:function(e){var t=Object(B.a)(e,1)[0];return n(t)},onError:r})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.icon,o=e.className,r=e.labels,i=void 0===r?{}:r,c=e.onSelect,l=e.value,a=void 0===l?{}:l,s=e.onSelectURL,u=e.onHTMLDrop,d=void 0===u?f.noop:u,b=e.multiple,h=void 0!==b&&b,v=e.notices,m=e.allowedTypes,g=void 0===m?[]:m,O=e.hasUploadPermissions,k=e.mediaUpload,j=this.state,y=j.isURLInputVisible,_=j.src,S=i.instructions||"",C=i.title||"";if(O||s||(S=Object(p.__)("To edit this block, you need permission to upload media.")),!S||!C){var E=1===g.length,w=E&&"audio"===g[0],I=E&&"image"===g[0],T=E&&"video"===g[0];S||(O?(S=Object(p.__)("Drag a media file, upload a new one or select a file from your library."),w?S=Object(p.__)("Drag an audio, upload a new one or select a file from your library."):I?S=Object(p.__)("Drag an image, upload a new one or select a file from your library."):T&&(S=Object(p.__)("Drag a video, upload a new one or select a file from your library."))):!O&&s&&(S=Object(p.__)("Given your current role, you can only link a media file, you cannot upload."),w?S=Object(p.__)("Given your current role, you can only link an audio, you cannot upload."):I?S=Object(p.__)("Given your current role, you can only link an image, you cannot upload."):T&&(S=Object(p.__)("Given your current role, you can only link a video, you cannot upload.")))),C||(C=Object(p.__)("Media"),w?C=Object(p.__)("Audio"):I?C=Object(p.__)("Image"):T&&(C=Object(p.__)("Video")))}return Object(Ut.createElement)(Zt.Placeholder,{icon:n,label:C,instructions:S,className:zt()("editor-media-placeholder block-editor-media-placeholder",o),notices:v},Object(Ut.createElement)(co,null,!!k&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:d}),Object(Ut.createElement)(Zt.FormFileUpload,{isLarge:!0,className:"editor-media-placeholder__button block-editor-media-placeholder__button",onChange:this.onUpload,accept:t,multiple:h},Object(p.__)("Upload"))),Object(Ut.createElement)(ai,{gallery:h&&this.onlyAllowsImages(),multiple:h,onSelect:c,allowedTypes:g,value:a.id,render:function(e){var t=e.open;return Object(Ut.createElement)(Zt.Button,{isLarge:!0,className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:t},Object(p.__)("Media Library"))}})),s&&Object(Ut.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(Ut.createElement)(Zt.Button,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:y,isLarge:!0},Object(p.__)("Insert from URL")),y&&Object(Ut.createElement)(ui,{src:_,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput})))}}]),t}(Ut.Component),bi=Object(a.withSelect)(function(e){var t=e("core").canUser,n=e("core/block-editor").getSettings;return{hasUploadPermissions:Object(f.defaultTo)(t("create","media"),!0),mediaUpload:n().__experimentalMediaUpload}}),fi=Object(Kt.compose)(bi,Object(Zt.withFilters)("editor.MediaPlaceholder"))(di),pi=n(33),hi=n.n(pi),vi=function(e){return e.stopPropagation()},mi=function(e){function t(e){var n,o=e.autocompleteRef;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.autocompleteRef=o||Object(Ut.createRef)(),n.inputRef=Object(Ut.createRef)(),n.updateSuggestions=Object(f.throttle)(n.updateSuggestions.bind(Object(Jt.a)(Object(Jt.a)(n))),200),n.suggestionNodes=[],n.state={posts:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,o=t.selectedSuggestion;n&&null!==o&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Mo()(this.suggestionNodes[o],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;if(e.length<2||/^https?:/.test(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var n=hi()({path:Object(Ro.addQueryArgs)("/wp/v2/search",{search:e,per_page:20,type:"post"})});n.then(function(e){t.suggestionsRequest===n&&(t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(p.sprintf)(Object(p._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(p.__)("No results."),"assertive"))}).catch(function(){t.suggestionsRequest===n&&t.setState({loading:!1})}),this.suggestionsRequest=n}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,o=t.selectedSuggestion,r=t.posts,i=t.loading;if(n&&r.length&&!i){var c=this.state.posts[this.state.selectedSuggestion];switch(e.keyCode){case Cn.UP:e.stopPropagation(),e.preventDefault();var l=o?o-1:r.length-1;this.setState({selectedSuggestion:l});break;case Cn.DOWN:e.stopPropagation(),e.preventDefault();var a=null===o||o===r.length-1?0:o+1;this.setState({selectedSuggestion:a});break;case Cn.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(p.__)("Link selected.")));break;case Cn.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Cn.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Cn.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,o=void 0===n?"":n,r=t.autoFocus,i=void 0===r||r,c=t.instanceId,l=t.className,a=this.state,s=a.showSuggestions,u=a.posts,d=a.selectedSuggestion,b=a.loading;return Object(Ut.createElement)("div",{className:zt()("editor-url-input block-editor-url-input",l)},Object(Ut.createElement)("input",{autoFocus:i,type:"text","aria-label":Object(p.__)("URL"),required:!0,value:o,onChange:this.onChange,onInput:vi,placeholder:Object(p.__)("Paste URL or type to search"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":s,"aria-autocomplete":"list","aria-owns":"block-editor-url-input-suggestions-".concat(c),"aria-activedescendant":null!==d?"block-editor-url-input-suggestion-".concat(c,"-").concat(d):void 0,ref:this.inputRef}),b&&Object(Ut.createElement)(Zt.Spinner,null),s&&!!u.length&&Object(Ut.createElement)(Zt.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(Ut.createElement)("div",{className:"editor-url-input__suggestions block-editor-url-input__suggestions",id:"editor-url-input-suggestions-".concat(c),ref:this.autocompleteRef,role:"listbox"},u.map(function(t,n){return Object(Ut.createElement)("button",{key:t.id,role:"option",tabIndex:"-1",id:"block-editor-url-input-suggestion-".concat(c,"-").concat(n),ref:e.bindSuggestionNode(n),className:zt()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===d}),onClick:function(){return e.handleOnClick(t)},"aria-selected":n===d},Object(ar.decodeEntities)(t.title)||Object(p.__)("(no title)"))}))))}}]),t}(Ut.Component),gi=Object(Zt.withSpokenMessages)(Object(Kt.withInstanceId)(mi)),Oi=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.submitLink=e.submitLink.bind(Object(Jt.a)(Object(Jt.a)(e))),e.state={expanded:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,o=this.state.expanded,r=t?Object(p.__)("Edit Link"):Object(p.__)("Insert Link");return Object(Ut.createElement)("div",{className:"editor-url-input__button block-editor-url-input__button"},Object(Ut.createElement)(Zt.IconButton,{icon:"admin-links",label:r,onClick:this.toggle,className:zt()("components-toolbar__control",{"is-active":t})}),o&&Object(Ut.createElement)("form",{className:"editor-url-input__button-modal block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(Ut.createElement)("div",{className:"editor-url-input__button-modal-line block-editor-url-input__button-modal-line"},Object(Ut.createElement)(Zt.IconButton,{className:"editor-url-input__back block-editor-url-input__back",icon:"arrow-left-alt",label:Object(p.__)("Close"),onClick:this.toggle}),Object(Ut.createElement)(gi,{value:t||"",onChange:n}),Object(Ut.createElement)(Zt.IconButton,{icon:"editor-break",label:Object(p.__)("Submit"),type:"submit"}))))}}]),t}(Ut.Component);var ki=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=e("core/block-editor"),o=n.getBlocksByClientId,r=n.getTemplateLock,c=n.getBlockRootClientId,l=o(t.clientIds),a=Object(f.every)(l,function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)}),s=c(t.clientIds[0]);return{isLocked:!!r(s),blocks:l,canDuplicate:a,rootClientId:s,extraProps:t}}),Object(a.withDispatch)(function(e,t,n){var o=n.select,r=t.clientIds,c=t.rootClientId,l=t.blocks,a=t.isLocked,s=t.canDuplicate,u=e("core/block-editor"),d=u.insertBlocks,b=u.multiSelect,p=u.removeBlocks,h=u.insertDefaultBlock;return{onDuplicate:function(){if(!a&&s){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.last)(Object(f.castArray)(r)),c),t=l.map(function(e){return Object(i.cloneBlock)(e)});d(t,e+1,c),t.length>1&&b(Object(f.first)(t).clientId,Object(f.last)(t).clientId)}},onRemove:function(){a||p(r)},onInsertBefore:function(){if(!a){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.first)(Object(f.castArray)(r)),c);h({},c,e)}},onInsertAfter:function(){if(!a){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.last)(Object(f.castArray)(r)),c);h({},c,e+1)}}}})])(function(e){var t=e.onDuplicate,n=e.onRemove,o=e.onInsertBefore,r=e.onInsertAfter,i=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:r,onInsertBefore:o,isLocked:i,canDuplicate:c})}),ji=function(e){return e.preventDefault(),e},yi={duplicate:{raw:Cn.rawShortcut.primaryShift("d"),display:Cn.displayShortcut.primaryShift("d")},removeBlock:{raw:Cn.rawShortcut.access("z"),display:Cn.displayShortcut.access("z")},insertBefore:{raw:Cn.rawShortcut.primaryAlt("t"),display:Cn.displayShortcut.primaryAlt("t")},insertAfter:{raw:Cn.rawShortcut.primaryAlt("y"),display:Cn.displayShortcut.primaryAlt("y")}},_i=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(Jt.a)(Object(Jt.a)(e))),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearMultiSelection=e.clearMultiSelection.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,o=t.onMultiSelect;e.preventDefault(),o(Object(f.first)(n),Object(f.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,o=t.hasMultiSelection,r=t.onRemove,i=t.isLocked;o&&(e.preventDefault(),i||r(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.KeyboardShortcuts,{shortcuts:(e={},Object(b.a)(e,Cn.rawShortcut.primary("a"),this.selectAll),Object(b.a)(e,"backspace",this.deleteSelectedBlocks),Object(b.a)(e,"del",this.deleteSelectedBlocks),Object(b.a)(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(Ut.createElement)(ki,{clientIds:t},function(e){var t,n=e.onDuplicate,o=e.onRemove,r=e.onInsertAfter,i=e.onInsertBefore;return Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(b.a)(t,yi.duplicate.raw,Object(f.flow)(ji,n)),Object(b.a)(t,yi.removeBlock.raw,Object(f.flow)(ji,o)),Object(b.a)(t,yi.insertBefore.raw,Object(f.flow)(ji,i)),Object(b.a)(t,yi.insertAfter.raw,Object(f.flow)(ji,r)),t)})}))}}]),t}(Ut.Component),Si=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getBlockOrder,o=t.getMultiSelectedBlockClientIds,r=t.hasMultiSelection,i=t.getBlockRootClientId,c=t.getTemplateLock,l=(0,t.getSelectedBlockClientId)(),a=l?[l]:o();return{rootBlocksClientIds:n(),hasMultiSelection:r(),isLocked:Object(f.some)(a,function(e){return!!c(i(e))}),selectedBlockClientIds:a}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}})])(_i),Ci=Object(a.withSelect)(function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}})(function(e){var t=e.selectedBlockClientId;return t&&Object(Ut.createElement)(Zt.Button,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){or(t).closest(".block-editor-block-list__block").focus()}},Object(p.__)("Skip to the selected block"))}),Ei=n(135),wi=n.n(Ei);function Ii(e,t,n){var o=new wi.a(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}var Ti=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock,r=e("core/blocks").getBlockStyles,c=o(n),l=Object(i.getBlockType)(c.name);return{name:c.name,attributes:c.attributes,className:c.attributes.className||"",styles:r(c.name),type:l}}),Object(a.withDispatch)(function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}})])(function(e){var t=e.styles,n=e.className,o=e.onChangeClassName,r=e.name,i=e.attributes,c=e.type,l=e.onSwitch,a=void 0===l?f.noop:l,u=e.onHoverClassName,b=void 0===u?f.noop:u;if(!t||0===t.length)return null;c.styles||Object(f.find)(t,"isDefault")||(t=[{name:"default",label:Object(p._x)("Default","block style"),isDefault:!0}].concat(Object(d.a)(t)));var h=function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,c=new wi.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var l=i.value;if(-1!==l.indexOf("is-style-")){var a=l.substring(9),s=Object(f.find)(e,{name:a});if(s)return s}}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return Object(f.find)(e,"isDefault")}(t,n);function v(e){var t=Ii(n,h,e);o(t),b(null),a()}return Object(Ut.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map(function(e){var t=Ii(n,h,e);return Object(Ut.createElement)("div",{key:e.name,className:zt()("editor-block-styles__item block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return v(e)},onKeyDown:function(t){Cn.ENTER!==t.keyCode&&Cn.SPACE!==t.keyCode||(t.preventDefault(),v(e))},onMouseEnter:function(){return b(t)},onMouseLeave:function(){return b(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(Ut.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(Ut.createElement)(Ao,{name:r,attributes:Object(s.a)({},i,{className:t})})),Object(Ut.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))}))}),Bi=n(98);var xi=Object(a.withSelect)(function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}})(function(e){var t=e.blocks,n=Object(Bi.count)(Object(i.serialize)(t),"words");return Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(Ut.createElement)(En,{icon:Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},Object(p.sprintf)(Object(p._n)("%d block","%d blocks",t.length),t.length)),Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},Object(p.sprintf)(Object(p._n)("%d word","%d words",n),n))))}),Li=Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getSelectedBlockCount,r=t.getBlockName,c=e("core/blocks").getBlockStyles,l=n(),a=l&&r(l),s=l&&Object(i.getBlockType)(a),u=l&&c(a);return{count:o(),hasBlockStyles:u&&u.length>0,selectedBlockName:a,selectedBlockClientId:l,blockType:s}})(function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,o=e.blockType,r=e.count,c=e.hasBlockStyles;if(r>1)return Object(Ut.createElement)(xi,null);var l=n===Object(i.getUnregisteredTypeHandlerName)();return o&&t&&!l?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)("div",{className:"editor-block-inspector__card block-editor-block-inspector__card"},Object(Ut.createElement)(En,{icon:o.icon,showColors:!0}),Object(Ut.createElement)("div",{className:"editor-block-inspector__card-content block-editor-block-inspector__card-content"},Object(Ut.createElement)("div",{className:"editor-block-inspector__card-title block-editor-block-inspector__card-title"},o.title),Object(Ut.createElement)("div",{className:"editor-block-inspector__card-description block-editor-block-inspector__card-description"},o.description))),c&&Object(Ut.createElement)("div",null,Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Styles"),initialOpen:!1},Object(Ut.createElement)(Ti,{clientId:t}))),Object(Ut.createElement)("div",null,Object(Ut.createElement)(Sr.Slot,null)),Object(Ut.createElement)("div",null,Object(Ut.createElement)(Or.Slot,null,function(e){return!Object(f.isEmpty)(e)&&Object(Ut.createElement)(Zt.PanelBody,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:Object(p.__)("Advanced"),initialOpen:!1},e)})),Object(Ut.createElement)(Ci,{key:"back"})):Object(Ut.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},Object(p.__)("No block selected."))}),Ni=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,o=t.hasMultiSelection,r=t.clearSelectedBlock,i=n||o;e.target===this.container&&i&&r()}},{key:"render",value:function(){return Object(Ut.createElement)("div",Object(Ht.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(f.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(Ut.Component),Mi=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,o=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:o()}}),Object(a.withDispatch)(function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}})])(Ni);var Ri=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlock,c=o.getBlockMode,l=r(n);return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null}}),Object(a.withDispatch)(function(e,t){var n=t.onToggle,o=void 0===n?f.noop:n,r=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(r),o()}}})])(function(e){var t=e.blockType,n=e.mode,o=e.onToggleMode,r=e.small,c=void 0!==r&&r;if(!Object(i.hasBlockSupport)(t,"html",!0))return null;var l="visual"===n?Object(p.__)("Edit as HTML"):Object(p.__)("Edit visually");return Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:o,icon:"html",label:c?l:void 0},!c&&l)});var Ai=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlocksByClientId,c=o.canInsertBlockType,l=e("core/editor").__experimentalGetReusableBlock,a=e("core").canUser,s=r(n),u=1===s.length&&s[0]&&Object(i.isReusableBlock)(s[0])&&!!l(s[0].attributes.ref);return{isReusable:u,isVisible:u||c("core/block")&&Object(f.every)(s,function(e){return!!e&&e.isValid&&Object(i.hasBlockSupport)(e.name,"reusable",!0)})&&!!a("create","blocks")}}),Object(a.withDispatch)(function(e,t){var n=t.clientIds,o=t.onToggle,r=void 0===o?f.noop:o,i=e("core/editor"),c=i.__experimentalConvertBlockToReusable,l=i.__experimentalConvertBlockToStatic;return{onConvertToStatic:function(){1===n.length&&(l(n[0]),r())},onConvertToReusable:function(){c(n),r()}}})])(function(e){var t=e.isVisible,n=e.isReusable,o=e.onConvertToStatic,r=e.onConvertToReusable;return t?Object(Ut.createElement)(Ut.Fragment,null,!n&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(p.__)("Add to Reusable Blocks")),n&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(p.__)("Convert to Regular Block"))):null});var Pi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock,r=e("core").canUser,c=e("core/editor").__experimentalGetReusableBlock,l=o(n),a=l&&Object(i.isReusableBlock)(l)?c(l.attributes.ref):null;return{isVisible:!!a&&!!r("delete","blocks",a.id),isDisabled:a&&a.isTemporary}}),Object(a.withDispatch)(function(e,t,n){var o=t.clientId,r=t.onToggle,i=void 0===r?f.noop:r,c=n.select,l=e("core/editor").__experimentalDeleteReusableBlock,a=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(p.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))){var e=a(o);l(e.attributes.ref),i()}}}})])(function(e){var t=e.isVisible,n=e.isDisabled,o=e.onDelete;return t?Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return o()}},Object(p.__)("Remove from Reusable Blocks")):null});function Di(e){var t=e.shouldRender,n=e.onClick,o=e.small;if(!t)return null;var r=Object(p.__)("Convert to Blocks");return Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions",label:o?r:void 0},!o&&r)}var Fi=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock(n);return{block:o,shouldRender:o&&"core/html"===o.name}}),Object(a.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}}))(Di),Hi=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock(n);return{block:o,shouldRender:o&&o.name===Object(i.getFreeformContentHandlerName)()}}),Object(a.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}}))(Di),Ui=Object(Zt.createSlotFill)("_BlockSettingsMenuFirstItem"),Vi=Ui.Fill,zi=Ui.Slot;Vi.Slot=zi;var Ki=Vi,Wi=Object(Zt.createSlotFill)("_BlockSettingsMenuPluginsExtension"),Gi=Wi.Fill,qi=Wi.Slot;Gi.Slot=qi;var Yi=Gi;var $i=Object(a.withDispatch)(function(e){var t=e("core/block-editor").selectBlock;return{onSelect:function(e){t(e)}}})(function(e){var t=e.clientIds,n=e.onSelect,o=Object(f.castArray)(t),r=o.length,i=o[0];return Object(Ut.createElement)(ki,{clientIds:t},function(e){var o=e.onDuplicate,c=e.onRemove,l=e.onInsertAfter,a=e.onInsertBefore,s=e.canDuplicate,u=e.isLocked;return Object(Ut.createElement)(Zt.Dropdown,{contentClassName:"editor-block-settings-menu__popover block-editor-block-settings-menu__popover",position:"bottom right",renderToggle:function(e){var t=e.onToggle,o=e.isOpen,c=zt()("editor-block-settings-menu__toggle block-editor-block-settings-menu__toggle",{"is-opened":o}),l=o?Object(p.__)("Hide options"):Object(p.__)("More options");return Object(Ut.createElement)(Zt.Toolbar,{controls:[{icon:"ellipsis",title:l,onClick:function(){1===r&&n(i),t()},className:c,extraProps:{"aria-expanded":o}}]})},renderContent:function(e){var n=e.onClose;return Object(Ut.createElement)(Zt.NavigableMenu,{className:"editor-block-settings-menu__content block-editor-block-settings-menu__content"},Object(Ut.createElement)(Ki.Slot,{fillProps:{onClose:n}}),1===r&&Object(Ut.createElement)(Hi,{clientId:i}),1===r&&Object(Ut.createElement)(Fi,{clientId:i}),!u&&s&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:o,icon:"admin-page",shortcut:yi.duplicate.display},Object(p.__)("Duplicate")),!u&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:a,icon:"insert-before",shortcut:yi.insertBefore.display},Object(p.__)("Insert Before")),Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:l,icon:"insert-after",shortcut:yi.insertAfter.display},Object(p.__)("Insert After"))),1===r&&Object(Ut.createElement)(Ri,{clientId:i,onToggle:n}),Object(Ut.createElement)(Ai,{clientIds:t,onToggle:n}),Object(Ut.createElement)(Yi.Slot,{fillProps:{clientIds:t,onClose:n}}),Object(Ut.createElement)("div",{className:"editor-block-settings-menu__separator block-editor-block-settings-menu__separator"}),1===r&&Object(Ut.createElement)(Pi,{clientId:i,onToggle:n}),!u&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:c,icon:"trash",shortcut:yi.removeBlock.display},Object(p.__)("Remove Block")))}})})}),Xi=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,o=t.onTransform,r=t.inserterItems,c=t.hasBlockStyles,l=this.state.hoveredClassName;if(!n||!n.length)return null;var a,u=Object(f.mapKeys)(r,function(e){return e.name}),d=Object(f.orderBy)(Object(f.filter)(Object(i.getPossibleBlockTransformations)(n),function(e){return e&&!!u[e.name]}),function(e){return u[e.name].frecency},"desc");if(1===Object(f.uniq)(Object(f.map)(n,"name")).length){var b=n[0].name,h=Object(i.getBlockType)(b);a=h.icon}else a="layout";return c||d.length?Object(Ut.createElement)(Zt.Dropdown,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,o=e.isOpen,r=1===n.length?Object(p.__)("Change block type or style"):Object(p.sprintf)(Object(p._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(Ut.createElement)(Zt.Toolbar,null,Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":o,label:r,tooltip:r,onKeyDown:function(e){o||e.keyCode!==Cn.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(En,{icon:a,showColors:!0}),Object(Ut.createElement)(Zt.SVG,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var r=t.onClose;return Object(Ut.createElement)(Ut.Fragment,null,c&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Block Styles"),initialOpen:!0},Object(Ut.createElement)(Ti,{clientId:n[0].clientId,onSwitch:r,onHoverClassName:e.onHoverClassName})),0!==d.length&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Transform To:"),initialOpen:!0},Object(Ut.createElement)(Fo,{items:d.map(function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(e.name)}}),onSelect:function(e){o(n,e.id),r()}})),null!==l&&Object(Ut.createElement)(Po,{name:n[0].name,attributes:Object(s.a)({},n[0].attributes,{className:l})}))}}):Object(Ut.createElement)(Zt.Toolbar,null,Object(Ut.createElement)(Zt.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:Object(p.__)("Block icon")},Object(Ut.createElement)(En,{icon:a,showColors:!0})))}}]),t}(Ut.Component),Ji=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlocksByClientId,i=o.getBlockRootClientId,c=o.getInserterItems,l=e("core/blocks").getBlockStyles,a=i(Object(f.first)(Object(f.castArray)(n))),s=r(n),u=s&&1===s.length?s[0]:null,d=u&&l(u.name);return{blocks:s,inserterItems:c(a),hasBlockStyles:d&&d.length>0}}),Object(a.withDispatch)(function(e,t){return{onTransform:function(n,o){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,o))}}}))(Xi);var Zi=Object(a.withSelect)(function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}})(function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(Ut.createElement)(Ji,{key:"switcher",clientIds:n}):null});var Qi=Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getBlockMode,r=t.getMultiSelectedBlockClientIds,i=t.isBlockValid,c=n();return{blockClientIds:c?[c]:r(),isValid:c?i(c):null,mode:c?o(c):null}})(function(e){var t=e.blockClientIds,n=e.isValid,o=e.mode;return 0===t.length?null:t.length>1?Object(Ut.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(Ut.createElement)(Zi,null),Object(Ut.createElement)($i,{clientIds:t})):Object(Ut.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===o&&n&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Ji,{clientIds:t}),Object(Ut.createElement)(mn.Slot,null),Object(Ut.createElement)(Sn.Slot,null)),Object(Ut.createElement)($i,{clientIds:t}))}),ec=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onCopy=function(t){return e.props.onCopy(t)},e.onCut=function(t){return e.props.onCut(t)},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.onCopy),document.addEventListener("cut",this.onCut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.onCopy),document.removeEventListener("cut",this.onCut)}},{key:"render",value:function(){return null}}]),t}(Ut.Component),tc=Object(Kt.compose)([Object(a.withDispatch)(function(e,t,n){var o=(0,n.select)("core/block-editor"),r=o.getBlocksByClientId,c=o.getMultiSelectedBlockClientIds,l=o.getSelectedBlockClientId,a=o.hasMultiSelection,s=e("core/block-editor").removeBlocks,u=function(e){var t=l()?[l()]:c();if(0!==t.length&&(a()||!Object(Jn.documentHasSelection)())){var n=Object(i.serialize)(r(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n),e.preventDefault()}};return{onCopy:u,onCut:function(e){if(u(e),a()){var t=l()?[l()]:c();s(t)}}}})])(ec),nc=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=or(e);if(t){var n=Object(Jn.getScrollContainer)(t);n&&Mo()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(Ut.Component),oc=Object(a.withSelect)(function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}})(nc),rc=[Cn.UP,Cn.RIGHT,Cn.DOWN,Cn.LEFT,Cn.ENTER,Cn.BACKSPACE];var ic=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(Jt.a)(Object(Jt.a)(e))),e.startTypingInTextField=e.startTypingInTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onKeyDown=Object(f.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var o=this.lastMouseMove,r=o.clientX,i=o.clientY;r===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===Cn.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,o=t.onStartTyping,r=e.type,i=e.target;n||!Object(Jn.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==r||function(e){var t=e.keyCode;return!e.shiftKey&&Object(f.includes)(rc,t)}(e))&&o()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout(function(){var n=t.props,o=n.isTyping,r=n.onStopTyping,i=e.target;o&&!Object(Jn.isTextField)(i)&&r()})}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(Ut.Component),cc=Object(Kt.compose)([Object(a.withSelect)(function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}}),Kt.withSafeTimeout])(ic),lc=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props,n=t.blockOrder,o=t.selectionStart;return n!==e.blockOrder&&o?this.getOffset(o):null}},{key:"componentDidUpdate",value:function(e,t,n){n&&this.restorePreviousOffset(n)}},{key:"getOffset",value:function(e){var t=or(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=or(this.props.selectionStart);if(t){var n=Object(Jn.getScrollContainer)(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(Ut.Component),ac=Object(a.withSelect)(function(e){return{blockOrder:e("core/block-editor").getBlockOrder(),selectionStart:e("core/block-editor").getBlockSelectionStart()}})(lc),sc=window.getSelection,uc=Object(f.overEvery)([Jn.isTextField,Jn.focus.tabbable.isTabbableIndex]);var dc=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(e))),e.bindContainer=e.bindContainer.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearVerticalRect=e.clearVerticalRect.bind(Object(Jt.a)(Object(Jt.a)(e))),e.focusLastTextField=e.focusLastTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.verticalRect=null,e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=Jn.focus.focusable.find(this.container);return t&&(n=Object(f.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(f.find)(n,function t(n,o,r){if(!Jn.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Jn.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=r[o+c])&&n.contains(i);c++)if(t(i,o+c,r))return!1;return!0})}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,o=t.selectionStartClientId,r=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,c=e?r:i;c&&this.props.onMultiSelect(o||n,c)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,o=t.selectedLastClientId,r=e?n:o;r&&this.props.onSelectBlock(r)}},{key:"isTabbableEdge",value:function(e,t){var n,o,r=this.getClosestTabbable(e,t);return!(r&&(n=e,o=r,n.closest("[data-block]")===o.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,o=t.onMultiSelect,r=t.blocks,i=t.selectionBeforeEndClientId,c=t.selectionAfterEndClientId,l=e.keyCode,a=e.target,s=l===Cn.UP,u=l===Cn.DOWN,d=l===Cn.LEFT,b=l===Cn.RIGHT,p=s||d,h=d||b,v=s||u,m=h||v,g=e.shiftKey,O=g||e.ctrlKey||e.altKey||e.metaKey,k=v?Jn.isVerticalEdge:Jn.isHorizontalEdge;if(!m)return Cn.isKeyboardEvent.primary(e)&&(this.isEntirelySelected=Object(Jn.isEntirelySelected)(a)),void(Cn.isKeyboardEvent.primary(e,"a")&&((a.isContentEditable?this.isEntirelySelected:Object(Jn.isEntirelySelected)(a))&&(o(Object(f.first)(r),Object(f.last)(r)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Cn.UP||t===Cn.DOWN)&&!n)return!0;var o=e.tagName;return"INPUT"!==o&&"TEXTAREA"!==o}(a,l,O))if(v?this.verticalRect||(this.verticalRect=Object(Jn.computeCaretRect)(a)):this.verticalRect=null,g)(p&&i||!p&&c)&&(n||this.isTabbableEdge(a,p)&&k(a,p))&&(this.expandSelection(p),e.preventDefault());else if(n)this.moveSelection(p),e.preventDefault();else if(v&&Object(Jn.isVerticalEdge)(a,p)){var j=this.getClosestTabbable(a,p);j&&(Object(Jn.placeCaretAtVerticalEdge)(j,p,this.verticalRect),e.preventDefault())}else if(h&&sc().isCollapsed&&Object(Jn.isHorizontalEdge)(a,p)){var y=this.getClosestTabbable(a,p);Object(Jn.placeCaretAtHorizontalEdge)(y,p),e.preventDefault()}}},{key:"focusLastTextField",value:function(){var e=Jn.focus.focusable.find(this.container),t=Object(f.findLast)(e,uc);t&&Object(Jn.placeCaretAtHorizontalEdge)(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)("div",{className:"editor-writing-flow block-editor-writing-flow"},Object(Ut.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(Ut.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect block-editor-writing-flow__click-redirect"}))}}]),t}(Ut.Component),bc=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getMultiSelectedBlocksStartClientId,r=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,l=t.getFirstMultiSelectedBlockClientId,a=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=n(),b=o(),f=r();return{selectedBlockClientId:d,selectionStartClientId:b,selectionBeforeEndClientId:i(f||d),selectionAfterEndClientId:c(f||d),selectedFirstClientId:l(),selectedLastClientId:a(),hasMultiSelection:s(),blocks:u()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}})])(dc),fc=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,o=t.updateSettings,r=t.value,i=t.resetBlocks,c=t.registry;n!==e.settings&&o(n),c!==e.registry&&this.attachChangeObserver(c),this.isSyncingOutcomingValue?this.isSyncingOutcomingValue=!1:r!==e.value&&(this.isSyncingIncomingValue=!0,i(r))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),o=n.getBlocks,r=n.isLastBlockChangePersistent,i=o(),c=r();this.unsubscribe=e.subscribe(function(){var e=t.props,n=e.onChange,l=e.onInput,a=o(),s=r();if(a!==i&&t.isSyncingIncomingValue)return t.isSyncingIncomingValue=!1,i=a,void(c=s);(a!==i||s&&!c)&&(i=a,c=s,t.isSyncingOutcomingValue=!0,c?n(i):l(i))})}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)(Zt.SlotFillProvider,null,Object(Ut.createElement)(Zt.DropZoneProvider,null,e))}}]),t}(Ut.Component),pc=Object(Kt.compose)([Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}}),a.withRegistry])(fc),hc=["left","center","right","wide","full"],vc=["wide","full"];function mc(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?hc:[],!o||!0===e&&!n?f.without.apply(void 0,[t].concat(vc)):t}var gc=Object(Kt.createHigherOrderComponent)(function(e){return function(t){var n=t.name,o=mc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(Ut.createElement)(mn,{key:"align-controls"},Object(Ut.createElement)(bn,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(f.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(Ut.createElement)(e,Object(Ht.a)({key:"edit"},t))]}},"withToolbarControls"),Oc=Object(Kt.createHigherOrderComponent)(Object(Kt.compose)([Object(a.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.name,o=t.attributes,r=t.hasWideEnabled,c=o.align,l=mc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),r),a=t.wrapperProps;return Object(f.includes)(l,c)&&(a=Object(s.a)({},a,{"data-align":c})),Object(Ut.createElement)(e,Object(Ht.a)({},t,{wrapperProps:a}))}}]));Object(Wt.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Object(f.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(f.assign)(e.attributes,{align:{type:"string"}})),e)}),Object(Wt.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Oc),Object(Wt.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",gc),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",function(e,t,n){var o=n.align,r=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(f.includes)(mc(r,c),o)&&(e.className=zt()("align".concat(o),e.className)),e});var kc=/[\s#]/g;var jc=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(e,t),Object(Ut.createElement)(Or,null,Object(Ut.createElement)(Zt.TextControl,{label:Object(p.__)("HTML Anchor"),help:Object(p.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(kc,"-"),t.setAttributes({anchor:e})}}))):Object(Ut.createElement)(e,t)}},"withInspectorControl");Object(Wt.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(f.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(Wt.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",jc),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e});var yc=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(e,t),Object(Ut.createElement)(Or,null,Object(Ut.createElement)(Zt.TextControl,{label:Object(p.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})}}))):Object(Ut.createElement)(e,t)}},"withInspectorControl");function _c(e){e="
".concat(e,"
");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(Wt.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(f.assign)(e.attributes,{className:{type:"string"}})),e}),Object(Wt.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",yc),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=zt()(e.className,n.className)),e}),Object(Wt.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var o=Object(f.omit)(e,["className"]),r=Object(i.getSaveContent)(t,o),c=_c(r),l=_c(n),a=Object(f.difference)(l,c);a.length?e.className=a.join(" "):r&&delete e.className}return e}),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(f.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(d.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}),n.d(t,"Autocomplete",function(){return cn}),n.d(t,"AlignmentToolbar",function(){return an}),n.d(t,"BlockAlignmentToolbar",function(){return bn}),n.d(t,"BlockControls",function(){return mn}),n.d(t,"BlockEdit",function(){return On}),n.d(t,"BlockFormatControls",function(){return Sn}),n.d(t,"BlockNavigationDropdown",function(){return Bn}),n.d(t,"BlockIcon",function(){return En}),n.d(t,"ColorPalette",function(){return Ln}),n.d(t,"withColorContext",function(){return xn}),n.d(t,"ContrastChecker",function(){return Kn}),n.d(t,"InnerBlocks",function(){return pr}),n.d(t,"InspectorAdvancedControls",function(){return Or}),n.d(t,"InspectorControls",function(){return Sr}),n.d(t,"PanelColorSettings",function(){return Tr}),n.d(t,"PlainText",function(){return Br}),n.d(t,"RichText",function(){return li}),n.d(t,"RichTextShortcut",function(){return zr}),n.d(t,"RichTextToolbarButton",function(){return ei}),n.d(t,"UnstableRichTextInputEvent",function(){return ti}),n.d(t,"MediaPlaceholder",function(){return fi}),n.d(t,"MediaUpload",function(){return ai}),n.d(t,"MediaUploadCheck",function(){return co}),n.d(t,"URLInput",function(){return gi}),n.d(t,"URLInputButton",function(){return Oi}),n.d(t,"URLPopover",function(){return si}),n.d(t,"BlockEditorKeyboardShortcuts",function(){return Si}),n.d(t,"BlockInspector",function(){return Li}),n.d(t,"BlockList",function(){return br}),n.d(t,"BlockMover",function(){return io}),n.d(t,"BlockSelectionClearer",function(){return Mi}),n.d(t,"BlockSettingsMenu",function(){return $i}),n.d(t,"_BlockSettingsMenuFirstItem",function(){return Ki}),n.d(t,"_BlockSettingsMenuPluginsExtension",function(){return Yi}),n.d(t,"BlockTitle",function(){return So}),n.d(t,"BlockToolbar",function(){return Qi}),n.d(t,"CopyHandler",function(){return tc}),n.d(t,"DefaultBlockAppender",function(){return sr}),n.d(t,"Inserter",function(){return qo}),n.d(t,"MultiBlocksSwitcher",function(){return Zi}),n.d(t,"MultiSelectScrollIntoView",function(){return oc}),n.d(t,"NavigableToolbar",function(){return Bo}),n.d(t,"ObserveTyping",function(){return cc}),n.d(t,"PreserveScrollInReorder",function(){return ac}),n.d(t,"SkipToSelectedBlock",function(){return Ci}),n.d(t,"Warning",function(){return so}),n.d(t,"WritingFlow",function(){return bc}),n.d(t,"BlockEditorProvider",function(){return pc}),n.d(t,"getColorClassName",function(){return Pn}),n.d(t,"getColorObjectByAttributeValues",function(){return Rn}),n.d(t,"getColorObjectByColorValue",function(){return An}),n.d(t,"createCustomColorsHOC",function(){return Vn}),n.d(t,"withColors",function(){return zn}),n.d(t,"getFontSize",function(){return Wn}),n.d(t,"getFontSizeClass",function(){return Gn}),n.d(t,"FontSizePicker",function(){return qn}),n.d(t,"withFontSizes",function(){return Yn}),n.d(t,"SETTINGS_DEFAULTS",function(){return v})},37:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},38:function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t){!function(){e.exports=this.wp.viewport}()},41:function(e,t,n){e.exports=function(e,t){var n,o,r,i=0;function c(){var t,c,l=o,a=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(c=0;c1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)o=r=i=n;else{var l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;o=c(a,l,e+1/3),r=c(a,l,e),i=c(a,l,e-1/3)}return{r:255*o,g:255*r,b:255*i}}(e.h,o,a),d=!0,b="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,h;return n=L(n),{ok:d,format:e.format||b,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=l++}function f(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var o,r,i=u(e,t,n),c=s(e,t,n),l=(i+c)/2;if(i==c)o=r=0;else{var a=i-c;switch(r=l>.5?a/(2-i-c):a/(i+c),i){case e:o=(t-n)/a+(t>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(b(o));return i}function T(e,t){t=t||6;for(var n=b(e).toHsv(),o=n.h,r=n.s,i=n.v,c=[],l=1/t;t--;)c.push(b({h:o,s:r,v:i})),i=(i+l)%1;return c}b.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=a(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var i=[A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16)),A(D(o))];if(r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*N(this._r,255))+"%",g:a(100*N(this._g,255))+"%",b:a(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%)":"rgba("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=b(e);n="#"+v(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return b(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:P(e[o]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var o=b(e).toRgb(),r=b(t).toRgb(),i=n/100;return b({r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a})},b.readability=function(e,t){var n=b(e),o=b(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},b.isReadable=function(e,t,n){var o,r,i=b.readability(e,t);switch(r=!1,(o=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+o.size){case"AAsmall":case"AAAlarge":r=i>=4.5;break;case"AAlarge":r=i>=3;break;case"AAAsmall":r=i>=7}return r},b.mostReadable=function(e,t,n){var o,r,i,c,l=null,a=0;r=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sa&&(a=o,l=b(t[s]));return b.isReadable(e,l,{level:i,size:c})||!r?l:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var B=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function D(e){return r.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,U,V,z=(U="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",V="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function K(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(o=function(){return b}.call(t,n,t,e))||(e.exports=o)}(Math)},48:function(e,t){!function(){e.exports=this.wp.a11y}()},49:function(e,t){!function(){e.exports=this.wp.deprecated}()},5:function(e,t){!function(){e.exports=this.wp.data}()},54:function(e,t,n){var o=function(){return this||"object"==typeof self&&self}()||Function("return this")(),r=o.regeneratorRuntime&&Object.getOwnPropertyNames(o).indexOf("regeneratorRuntime")>=0,i=r&&o.regeneratorRuntime;if(o.regeneratorRuntime=void 0,e.exports=n(55),r)o.regeneratorRuntime=i;else try{delete o.regeneratorRuntime}catch(e){o.regeneratorRuntime=void 0}},55:function(e,t){!function(t){"use strict";var n,o=Object.prototype,r=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag",s="object"==typeof e,u=t.regeneratorRuntime;if(u)s&&(e.exports=u);else{(u=t.regeneratorRuntime=s?e.exports:{}).wrap=k;var d="suspendedStart",b="suspendedYield",f="executing",p="completed",h={},v={};v[c]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==o&&r.call(g,c)&&(v=g);var O=S.prototype=y.prototype=Object.create(v);_.prototype=O.constructor=S,S.constructor=_,S[a]=_.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(O),e},u.awrap=function(e){return{__await:e}},C(E.prototype),E.prototype[l]=function(){return this},u.AsyncIterator=E,u.async=function(e,t,n,o){var r=new E(k(e,t,n,o));return u.isGeneratorFunction(t)?r:r.next().then(function(e){return e.done?e.value:r.next()})},C(O),O[a]="Generator",O[c]=function(){return this},O.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},u.values=x,B.prototype={constructor:B,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(o,r){return l.type="throw",l.arg=e,t.next=o,r&&(t.method="next",t.arg=n),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],l=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var a=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(a&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:x(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=n),h}}}function k(e,t,n,o){var r=t&&t.prototype instanceof y?t:y,i=Object.create(r.prototype),c=new B(o||[]);return i._invoke=function(e,t,n){var o=d;return function(r,i){if(o===f)throw new Error("Generator is already running");if(o===p){if("throw"===r)throw i;return L()}for(n.method=r,n.arg=i;;){var c=n.delegate;if(c){var l=w(c,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var a=j(e,t,n);if("normal"===a.type){if(o=n.done?p:b,a.arg===h)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(o=p,n.method="throw",n.arg=a.arg)}}}(e,n,c),i}function j(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function y(){}function _(){}function S(){}function C(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function E(e){var t;this._invoke=function(n,o){function i(){return new Promise(function(t,i){!function t(n,o,i,c){var l=j(e[n],e,o);if("throw"!==l.type){var a=l.arg,s=a.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,i,c)},function(e){t("throw",e,i,c)}):Promise.resolve(s).then(function(e){a.value=e,i(a)},function(e){return t("throw",e,i,c)})}c(l.arg)}(n,o,t,i)})}return t=t?t.then(i,i):i()}}function w(e,t){var o=e.iterator[t.method];if(o===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,w(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=j(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function x(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++oe.length?n:e}),s.value=e.join(d)}else s.value=e.join(n.slice(l,l+s.count));l+=s.count,s.added||(a+=s.count)}}var b=t[c-1];return c>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[c-2].value+=b.value,t.pop()),t}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function c(e){return r?(setTimeout(function(){r(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,a=e.length,s=1,u=l+a,d=[{newPos:-1,components:[]}],b=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=l&&b+1>=a)return c([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*s;n<=s;n+=2){var r=void 0,u=d[n-1],b=d[n+1],f=(b?b.newPos:0)-n;u&&(d[n-1]=void 0);var p=u&&u.newPos+1=l&&f+1>=a)return c(o(i,r.components,t,e,i.useLongestToken));d[n]=r}else d[n]=void 0}var v;s++}if(r)!function e(){setTimeout(function(){if(s>u)return r();f()||e()},0)}();else for(;s<=u;){var p=f();if(p)return p}},pushComponent:function(e,t,n){var o=e[e.length-1];o&&o.added===t&&o.removed===n?e[e.length-1]={count:o.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,o){for(var r=t.length,i=n.length,c=e.newPos,l=c-o,a=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,r.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var o=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],l=t.hunks,a=n.compareLine||function(e,t,n,o){return t===o},s=0,u=n.fuzzFactor||0,d=0,b=0,f=void 0,p=void 0;function h(e,t){for(var n=0;n0?r[0]:" ",c=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!a(t+1,o[t],i,c)&&++s>u)return!1;t++}}return!0}for(var v=0;v0?w[0]:" ",T=w.length>0?w.substr(1):w,B=S.linedelimiters[E];if(" "===I)C++;else if("-"===I)o.splice(C,1),i.splice(C,1);else if("+"===I)o.splice(C,0,T),i.splice(C,0,B),C++;else if("\\"===I){var x=S.lines[E-1]?S.lines[E-1][0]:null;"+"===x?f=!0:"-"===x&&(p=!0)}}}if(f)for(;!o[o.length-1];)o.pop(),i.pop();else p&&(o.push(""),i.push("\n"));for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),o=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],r=[],i=0;function c(){var e={};for(r.push(e);i0?u(l.lines.slice(-a.context)):[],b-=p.length,f-=p.length)}(c=p).push.apply(c,r(o.map(function(e){return(t.added?"+":"-")+e}))),t.added?v+=o.length:h+=o.length}else{if(b)if(o.length<=2*a.context&&e=s.length-2&&o.length<=a.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=o.length||j?j&&y||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),b=0,f=0,p=[]}h+=o.length,v+=o.length}},g=0;ge.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],o=0;o"):r.removed&&t.push(""),t.push(n(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")}}])},e.exports=o()},21:function(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},23:function(e,t){!function(){e.exports=this.wp.url}()},24:function(e,t){!function(){e.exports=this.wp.hooks}()},25:function(e,t){!function(){e.exports=this.wp.dom}()},26:function(e,t,n){e.exports=n(54)},27:function(e,t){!function(){e.exports=this.React}()},28:function(e,t,n){"use strict";var o=n(37);var r=n(38);function i(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var c,l=e[Symbol.iterator]();!(o=(c=l.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==l.return||l.return()}finally{if(r)throw i}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return i})},3:function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},30:function(e,t,n){"use strict";var o,r;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function l(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o3&&void 0!==arguments[3]?arguments[3]:1,r=Object(d.a)(e);return r.splice(t,o),m(r,e.slice(t,t+o),n)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(b.a)({},t,[]);return e.forEach(function(e){var o=e.clientId,r=e.innerBlocks;n[t].push(o),Object.assign(n,O(r,o))}),n}function k(e,t){for(var n={},o=Object(d.a)(e);o.length;){var r=o.shift(),i=r.innerBlocks,c=Object(u.a)(r,["innerBlocks"]);o.push.apply(o,Object(d.a)(i)),n[c.clientId]=t(c)}return n}function j(e){return k(e,function(e){return Object(f.omit)(e,"attributes")})}function y(e){return k(e,function(e){return e.attributes})}function _(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,o=t.attributes,Object(f.isEqual)(Object(f.keys)(n),Object(f.keys)(o)));var n,o}var S=Object(f.flow)(a.combineReducers,function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var o=Object(d.a)(n.clientIds),r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(f.reduce)(t[n],function(n,o){return[].concat(Object(d.a)(n),[o],Object(d.a)(e(t,o)))},[])}(t.order);return Object(s.a)({},t,{byClientId:Object(s.a)({},Object(f.omit)(t.byClientId,o),j(n.blocks)),attributes:Object(s.a)({},Object(f.omit)(t.attributes,o),y(n.blocks)),order:Object(s.a)({},Object(f.omit)(t.order,o),O(n.blocks))})}return e(t,n)}},function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var o=n.id,r=n.updatedId;if(o===r)return t;(t=Object(s.a)({},t)).attributes=Object(f.mapValues)(t.attributes,function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===o?Object(s.a)({},e,{ref:r}):e})}return e(t,n)}},function(e){var t,n=new Set(["RECEIVE_BLOCKS"]);return function(o,r){var i=e(o,r),c="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;return o!==i||c?n.has(r.type)?Object(s.a)({},i,{isPersistentChange:!1}):(i=Object(s.a)({},i,{isPersistentChange:c||!_(r,t)}),t=r,i):Object(s.a)({},i,{isPersistentChange:Object(f.get)(o,["isPersistentChange"],!0)})}})({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return j(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,j(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(f.omit)(t.updates,"attributes");return Object(f.isEmpty)(n)?e:Object(s.a)({},e,Object(b.a)({},t.clientId,Object(s.a)({},e[t.clientId],n)));case"INSERT_BLOCKS":return Object(s.a)({},e,j(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(s.a)({},Object(f.omit)(e,t.clientIds),j(t.blocks)):e;case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return y(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,y(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(s.a)({},e,Object(b.a)({},t.clientId,Object(s.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(f.reduce)(t.attributes,function(n,o,r){var i,c;return o!==n[r]&&((n=(i=e[t.clientId])===(c=n)?Object(s.a)({},i):c)[r]=o),n},e[t.clientId]);return n===e[t.clientId]?e:Object(s.a)({},e,Object(b.a)({},t.clientId,n));case"INSERT_BLOCKS":return Object(s.a)({},e,y(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(s.a)({},Object(f.omit)(e,t.clientIds),y(t.blocks)):e;case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return O(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,Object(f.omit)(O(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,o=void 0===n?"":n,r=e[o]||[],i=O(t.blocks,o),c=t.index,l=void 0===c?r.length:c;return Object(s.a)({},e,i,Object(b.a)({},o,m(r,i[o],l)));case"MOVE_BLOCK_TO_POSITION":var a,u=t.fromRootClientId,p=void 0===u?"":u,h=t.toRootClientId,v=void 0===h?"":h,k=t.clientId,j=t.index,y=void 0===j?e[v].length:j;if(p===v){var _=e[v].indexOf(k);return Object(s.a)({},e,Object(b.a)({},v,g(e[v],_,y)))}return Object(s.a)({},e,(a={},Object(b.a)(a,p,Object(f.without)(e[p],k)),Object(b.a)(a,v,m(e[v],k,y)),a));case"MOVE_BLOCKS_UP":var S=t.clientIds,C=t.rootClientId,E=void 0===C?"":C,w=Object(f.first)(S),I=e[E];if(!I.length||w===Object(f.first)(I))return e;var T=I.indexOf(w);return Object(s.a)({},e,Object(b.a)({},E,g(I,T,T-1,S.length)));case"MOVE_BLOCKS_DOWN":var B=t.clientIds,x=t.rootClientId,L=void 0===x?"":x,N=Object(f.first)(B),M=Object(f.last)(B),R=e[L];if(!R.length||M===Object(f.last)(R))return e;var A=R.indexOf(N);return Object(s.a)({},e,Object(b.a)({},L,g(R,A,A+1,B.length)));case"REPLACE_BLOCKS":var D=t.clientIds;if(!t.blocks)return e;var P=O(t.blocks);return Object(f.flow)([function(e){return Object(f.omit)(e,D)},function(e){return Object(s.a)({},e,Object(f.omit)(P,""))},function(e){return Object(f.mapValues)(e,function(e){return Object(f.reduce)(e,function(e,t){return t===D[0]?[].concat(Object(d.a)(e),Object(d.a)(P[""])):(-1===D.indexOf(t)&&e.push(t),e)},[])})}])(e);case"REMOVE_BLOCKS":return Object(f.flow)([function(e){return Object(f.omit)(e,t.clientIds)},function(e){return Object(f.mapValues)(e,function(e){return f.without.apply(void 0,[e].concat(Object(d.a)(t.clientIds)))})}])(e)}return e}});var C=Object(a.combineReducers)({blocks:S,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return null!==e.start||null!==e.end||e.isMultiSelecting?Object(s.a)({},e,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:Object(s.a)({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?Object(s.a)({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return Object(s.a)({},e,{start:t.start,end:t.end,initialPosition:null});case"SELECT_BLOCK":return t.clientId===e.start&&t.clientId===e.end?e:Object(s.a)({},e,{start:t.clientId,end:t.clientId,initialPosition:t.initialPosition});case"INSERT_BLOCKS":return t.updateSelection?Object(s.a)({},e,{start:t.blocks[0].clientId,end:t.blocks[0].clientId,initialPosition:null,isMultiSelecting:!1}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start)?Object(s.a)({},e,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start))return e;var n=Object(f.last)(t.blocks),o=n?n.clientId:null;return o===e.start&&o===e.end?e:Object(s.a)({},e,{start:o,end:o,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return Object(s.a)({},e,{isEnabled:t.isSelectionEnabled})}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(s.a)({},e,Object(b.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(f.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(f.isEqual)(e[n],t.settings)?e:Object(s.a)({},e,Object(b.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(f.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(s.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(s.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce(function(e,n){var o=n.name,r={name:n.name};return Object(i.isReusableBlock)(n)&&(r.ref=n.attributes.ref,o+="/"+n.attributes.ref),Object(s.a)({},e,{insertUsage:Object(s.a)({},e.insertUsage,Object(b.a)({},o,{time:t.time,count:e.insertUsage[o]?e.insertUsage[o].count+1:1,insert:r}))})},e)}return e}}),E=n(70),w=n.n(E),I=n(97),T=n.n(I),B=n(28),x=n(48),L=n(26),N=n.n(L);function M(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function K(e){var t;return N.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,M("core/block-editor","getPreviousBlockClientId",e);case 2:return t=n.sent,n.next=5,z(t,-1);case 5:case"end":return n.stop()}},A,this)}function W(e){var t;return N.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,M("core/block-editor","getNextBlockClientId",e);case 2:return t=n.sent,n.next=5,z(t);case 5:case"end":return n.stop()}},D,this)}function G(){return{type:"START_MULTI_SELECT"}}function q(){return{type:"STOP_MULTI_SELECT"}}function Y(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function $(){return{type:"CLEAR_SELECTED_BLOCK"}}function X(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function J(e,t){return{type:"REPLACE_BLOCKS",clientIds:Object(f.castArray)(e),blocks:Object(f.castArray)(t),time:Date.now()}}function Z(e,t){return J(e,t)}function Q(e){return function(t,n){return{clientIds:Object(f.castArray)(t),type:e,rootClientId:n}}}var ee=Q("MOVE_BLOCKS_DOWN"),te=Q("MOVE_BLOCKS_UP");function ne(e,t,n,o){return{type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:o}}function oe(e,t,n){return re([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function re(e,t,n){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return{type:"INSERT_BLOCKS",blocks:Object(f.castArray)(e),index:t,rootClientId:n,time:Date.now(),updateSelection:o}}function ie(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function ce(){return{type:"HIDE_INSERTION_POINT"}}function le(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function ae(){return{type:"SYNCHRONIZE_TEMPLATE"}}function se(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function ue(e){var t,n=arguments;return N.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(f.castArray)(e),!t){o.next=5;break}return o.next=5,K(e[0]);case 5:return o.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return o.next=9,M("core/block-editor","getBlockCount");case 9:if(0!==o.sent){o.next=13;break}return o.next=13,me();case 13:case"end":return o.stop()}},P,this)}function de(e,t){return ue([e],t)}function be(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function fe(){return{type:"START_TYPING"}}function pe(){return{type:"STOP_TYPING"}}function he(){return{type:"ENTER_FORMATTED_TEXT"}}function ve(){return{type:"EXIT_FORMATTED_TEXT"}}function me(e,t,n){return oe(Object(i.createBlock)(Object(i.getDefaultBlockName)(),e),n,t)}function ge(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Oe(e){return{type:"UPDATE_SETTINGS",settings:e}}function ke(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function je(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}var ye=n(30),_e=3,Se=2,Ce=1,Ee=0,we=[],Ie={},Te=Object(ye.a)(function(){return[]},function(e,t){return Object(f.map)(st(e,t),function(t){return Ne(e,t)})});function Be(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function xe(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}var Le=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];if(!n)return null;var o=e.blocks.attributes[t],r=Object(i.getBlockType)(n.name);return r&&(o=Object(f.reduce)(r.attributes,function(t,n,r){return"meta"===n.source&&(t===o&&(t=Object(s.a)({},t)),t[r]=Rt(e,n.meta)),t},o)),o},function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t],Rt(e)]}),Ne=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:Le(e,t),innerBlocks:Re(e,t)}):null},function(e,t){return[].concat(Object(d.a)(Le.getDependants(e,t)),[Te(e,t)])}),Me=Object(ye.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:Le(e,t)}):null},function(e,t){return[e.blocks.byClientId[t]].concat(Object(d.a)(Le.getDependants(e,t)))}),Re=Object(ye.a)(function(e,t){return Object(f.map)(st(e,t),function(t){return Ne(e,t)})},function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}),Ae=function e(t,n){return Object(f.flatMap)(n,function(n){var o=st(t,n);return[].concat(Object(d.a)(o),Object(d.a)(e(t,o)))})},De=Object(ye.a)(function(e){var t=st(e);return[].concat(Object(d.a)(t),Object(d.a)(Ae(e,t)))},function(e){return[e.blocks.order]}),Pe=Object(ye.a)(function(e,t){var n=De(e);return t?Object(f.reduce)(n,function(n,o){return e.blocks.byClientId[o].name===t?n+1:n},0):n.length},function(e){return[e.blocks.order,e.blocks.byClientId]}),Fe=Object(ye.a)(function(e,t){return Object(f.map)(Object(f.castArray)(t),function(t){return Ne(e,t)})},function(e){return[Rt(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]});function He(e,t){return st(e,t).length}function Ue(e){return e.blockSelection.start}function Ve(e){return e.blockSelection.end}function ze(e){var t=Qe(e).length;return t||(e.blockSelection.start?1:0)}function Ke(e){var t=e.blockSelection,n=t.start,o=t.end;return!!n&&n===o}function We(e){var t=e.blockSelection,n=t.start,o=t.end;return n&&n===o&&e.blocks.byClientId[n]?n:null}function Ge(e){var t=We(e);return t?Ne(e,t):null}var qe=Object(ye.a)(function(e,t){var n=e.blocks.order;for(var o in n)if(Object(f.includes)(n[o],t))return o;return null},function(e){return[e.blocks.order]}),Ye=Object(ye.a)(function(e,t){for(var n=t,o=t;n;)n=qe(e,o=n);return o},function(e){return[e.blocks.order]});function $e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=We(e)),void 0===t&&(t=n<0?tt(e):nt(e)),!t)return null;var o=qe(e,t);if(null===o)return null;var r=e.blocks.order[o],i=r.indexOf(t)+1*n;return i<0?null:i===r.length?null:r[i]}function Xe(e,t){return $e(e,t,-1)}function Je(e,t){return $e(e,t,1)}function Ze(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?e.blockSelection.initialPosition:null}var Qe=Object(ye.a)(function(e){var t=e.blockSelection,n=t.start,o=t.end;if(n===o)return[];var r=qe(e,n);if(null===r)return[];var i=st(e,r),c=i.indexOf(n),l=i.indexOf(o);return c>l?i.slice(l,c+1):i.slice(c,l+1)},function(e){return[e.blocks.order,e.blockSelection.start,e.blockSelection.end]}),et=Object(ye.a)(function(e){var t=Qe(e);return t.length?t.map(function(t){return Ne(e,t)}):we},function(e){return[].concat(Object(d.a)(Qe.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes,Rt(e)])});function tt(e){return Object(f.first)(Qe(e))||null}function nt(e){return Object(f.last)(Qe(e))||null}var ot=Object(ye.a)(function(e,t,n){for(var o=n;t!==o&&o;)o=qe(e,o);return t===o},function(e){return[e.blocks.order]});function rt(e,t){return tt(e)===t}function it(e,t){return-1!==Qe(e).indexOf(t)}var ct=Object(ye.a)(function(e,t){for(var n=t,o=!1;n&&!o;)o=it(e,n=qe(e,n));return o},function(e){return[e.blocks.order,e.blockSelection.start,e.blockSelection.end]});function lt(e){var t=e.blockSelection,n=t.start;return n===t.end?null:n||null}function at(e){var t=e.blockSelection,n=t.start,o=t.end;return n===o?null:o||null}function st(e,t){return e.blocks.order[t||""]||we}function ut(e,t,n){return st(e,n).indexOf(t)}function dt(e,t){var n=e.blockSelection,o=n.start;return o===n.end&&o===t}function bt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(f.some)(st(e,t),function(t){return dt(e,t)||it(e,t)||n&&bt(e,t,n)})}function ft(e,t){if(!t)return!1;var n=Qe(e),o=n.indexOf(t);return o>-1&&o2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(f.isBoolean)(e)?e:Object(f.isArray)(e)?Object(f.includes)(e,t):n},r=Object(i.getBlockType)(t);if(!r)return!1;if(!o(Nt(e).allowedBlockTypes,t,!0))return!1;if(!!St(e,n))return!1;var c=Lt(e,n),l=o(Object(f.get)(c,["allowedBlocks"]),t),a=o(r.parent,Be(e,n));return null!==l&&null!==a?l||a:null!==l?l:null===a||a},Et=Object(ye.a)(Ct,function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]});function wt(e,t){return e.preferences.insertUsage[t]||null}var It=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Ct(e,t.name,n)},Tt=function(e,t,n){if(!Ct(e,"core/block",n))return!1;var o=Be(e,t.clientId);return!!o&&(!!Object(i.getBlockType)(o)&&(!!Ct(e,o,n)&&!ot(e,t.clientId,n)))},Bt=Object(ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?_e:t>0?Se:"common"===e?Ce:Ee},o=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},r=Object(i.getBlockTypes)().filter(function(n){return It(e,n,t)}).map(function(t){var r=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(f.some)(Fe(e,De(e)),{name:t.name}));var l=Object(f.isArray)(t.parent),a=wt(e,r)||{},s=a.time,u=a.count,d=void 0===u?0:u;return{id:r,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,l),frecency:o(s,d),hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(t.name)}}),c=At(e).filter(function(n){return Tt(e,n,t)}).map(function(t){var r="core/block/".concat(t.id),c=Be(e,t.clientId),l=Object(i.getBlockType)(c),a=wt(e,r)||{},s=a.time,u=a.count,d=void 0===u?0:u,b=n("reusable",d,!1),f=o(s,d);return{id:r,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:l.icon,category:"reusable",keywords:[],isDisabled:!1,utility:b,frecency:f}});return Object(f.orderBy)([].concat(Object(d.a)(r),Object(d.a)(c)),["utility","frecency"],["desc","desc"])},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,At(e),Object(i.getBlockTypes)()]}),xt=Object(ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!Object(f.some)(Object(i.getBlockTypes)(),function(n){return It(e,n,t)})||Object(f.some)(At(e),function(n){return Tt(e,n,t)})},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,At(e),Object(i.getBlockTypes)()]});function Lt(e,t){return e.blockListSettings[t]}function Nt(e){return e.settings}function Mt(e){return e.blocks.isPersistentChange}function Rt(e,t){return void 0===t?Object(f.get)(e,["settings","__experimentalMetaSource","value"],Ie):Object(f.get)(e,["settings","__experimentalMetaSource","value",t])}function At(e){return Object(f.get)(e,["settings","__experimentalReusableBlocks"],we)}var Dt={MERGE_BLOCKS:function(e,t){var n=t.dispatch,o=t.getState(),r=Object(B.a)(e.blocks,2),c=r[0],l=r[1],a=Ne(o,c),u=Object(i.getBlockType)(a.name);if(u.merge){var b=Ne(o,l),f=a.name===b.name?[b]:Object(i.switchToBlockType)(b,a.name);if(f&&f.length){var p=u.merge(a.attributes,f[0].attributes);n(z(a.clientId,-1)),n(J([a.clientId,b.clientId],[Object(s.a)({},a,{attributes:Object(s.a)({},a.attributes,p)})].concat(Object(d.a)(f.slice(1)))))}}else n(z(a.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),o=_t(n),r=St(n),c=!o||"all"!==r||Object(i.doBlocksMatchTemplate)(e.blocks,o);if(c!==yt(n))return le(c)}],REPLACE_BLOCKS:[function(e,t){if(!He(t.getState()))return me()}],MULTI_SELECT:function(e,t){var n=ze((0,t.getState)());Object(x.speak)(Object(p.sprintf)(Object(p._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),o=Re(n),r=_t(n);return F(Object(i.synchronizeBlocksWithTemplate)(o,r))}};var Pt=function(e){var t,n=[w()(Dt),T.a],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map(function(e){return e(r)}),o=f.flowRight.apply(void 0,Object(d.a)(t))(e.dispatch),e.dispatch=o,e},Ft=Object(a.registerStore)("core/block-editor",{reducer:C,selectors:r,actions:o,controls:R,persist:["preferences"]});Pt(Ft);var Ht=n(19),Ut=n(0),Vt=n(16),zt=n.n(Vt),Kt=n(6),Wt=n(24),Gt=n(10),qt=n(9),Yt=n(11),$t=n(12),Xt=n(13),Jt=n(3),Zt=n(4),Qt=Object(Ut.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:f.noop,clientId:null}),en=Qt.Consumer,tn=Qt.Provider,nn=function(e){return Object(Kt.createHigherOrderComponent)(function(t){return function(n){return Object(Ut.createElement)(en,null,function(o){return Object(Ut.createElement)(t,Object(Ht.a)({},n,e(o,n)))})}},"withBlockEditContext")},on=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(Ut.createElement)(en,null,function(n){return n.isSelected&&Object(Ut.createElement)(e,t)})}},"ifBlockEditSelected"),rn=[];var cn=Object(Kt.compose)([nn(function(e){return{blockName:e.name}}),function(e){return function(t){function n(){var e;return Object(Gt.a)(this,n),(e=Object(Yt.a)(this,Object($t.a)(n).call(this))).state={completers:rn},e.saveParentRef=e.saveParentRef.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(n,t),Object(qt.a)(n,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props,t=e.blockName,n=e.completers,o=n;Object(Wt.hasFilter)("editor.Autocomplete.completers")&&(n=Object(Wt.applyFilters)("editor.Autocomplete.completers",n&&n.map(f.clone),t)),this.setState({lastFilteredCompletersProp:o,completers:n||rn})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=Object(s.a)({},this.props,{completers:t});return Object(Ut.createElement)("div",{onFocus:this.onFocus,ref:this.saveParentRef},Object(Ut.createElement)(e,Object(Ht.a)({onFocus:this.onFocus},n)))}}]),n}(Ut.Component)}])(Zt.Autocomplete),ln=[{icon:"editor-alignleft",title:Object(p.__)("Align text left"),align:"left"},{icon:"editor-aligncenter",title:Object(p.__)("Align text center"),align:"center"},{icon:"editor-alignright",title:Object(p.__)("Align text right"),align:"right"}];var an=Object(Kt.compose)(nn(function(e){return{clientId:e.clientId}}),Object(l.withViewportMatch)({isLargeViewport:"medium"}),Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isLargeViewport,r=t.isCollapsed,i=e("core/block-editor"),c=i.getBlockRootClientId,l=i.getSettings;return{isCollapsed:r||!o||!l().hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,o=e.onChange,r=e.alignmentControls,i=void 0===r?ln:r;function c(e){return function(){return o(n===e?void 0:e)}}var l=Object(f.find)(i,function(e){return e.align===n});return Object(Ut.createElement)(Zt.Toolbar,{isCollapsed:t,icon:l?l.icon:"editor-alignleft",label:Object(p.__)("Change Text Alignment"),controls:i.map(function(e){var t=e.align,o=n===t;return Object(s.a)({},e,{isActive:o,onClick:c(t)})})})}),sn={left:{icon:"align-left",title:Object(p.__)("Align left")},center:{icon:"align-center",title:Object(p.__)("Align center")},right:{icon:"align-right",title:Object(p.__)("Align right")},wide:{icon:"align-wide",title:Object(p.__)("Wide width")},full:{icon:"align-full-width",title:Object(p.__)("Full width")}},un=["left","center","right","wide","full"],dn=["wide","full"];var bn=Object(Kt.compose)(nn(function(e){return{clientId:e.clientId}}),Object(l.withViewportMatch)({isLargeViewport:"medium"}),Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isLargeViewport,r=t.isCollapsed,i=e("core/block-editor"),c=i.getBlockRootClientId,l=(0,i.getSettings)();return{wideControlsEnabled:l.alignWide,isCollapsed:r||!o||!l.hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,o=e.onChange,r=e.controls,i=void 0===r?un:r,c=e.wideControlsEnabled,l=void 0!==c&&c?i:i.filter(function(e){return-1===dn.indexOf(e)}),a=sn[n];return Object(Ut.createElement)(Zt.Toolbar,{isCollapsed:t,icon:a?a.icon:"align-left",label:Object(p.__)("Change Alignment"),controls:l.map(function(e){return Object(s.a)({},sn[e],{isActive:n===e,onClick:(t=e,function(){return o(n===t?void 0:t)})});var t})})}),fn=Object(Zt.createSlotFill)("BlockControls"),pn=fn.Fill,hn=fn.Slot,vn=on(function(e){var t=e.controls,n=e.children;return Object(Ut.createElement)(pn,null,Object(Ut.createElement)(Zt.Toolbar,{controls:t}),n)});vn.Slot=hn;var mn=vn,gn=Object(Zt.withFilters)("editor.BlockEdit")(function(e){var t=e.attributes,n=void 0===t?{}:t,o=e.name,r=Object(i.getBlockType)(o);if(!r)return null;var c=Object(i.hasBlockSupport)(r,"className",!0)?Object(i.getBlockDefaultClassName)(o):null,l=zt()(c,n.className),a=r.edit||r.save;return Object(Ut.createElement)(a,Object(Ht.a)({},e,{className:l}))}),On=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).setFocusedElement=n.setFocusedElement.bind(Object(Jt.a)(Object(Jt.a)(n))),n.state={focusedElement:null,setFocusedElement:n.setFocusedElement},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"setFocusedElement",value:function(e){this.setState(function(t){return t.focusedElement===e?null:{focusedElement:e}})}},{key:"render",value:function(){return Object(Ut.createElement)(tn,{value:this.state},Object(Ut.createElement)(gn,this.props))}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.clientId;return{name:e.name,isSelected:e.isSelected,clientId:t}}}]),t}(Ut.Component),kn=Object(Zt.createSlotFill)("BlockFormatControls"),jn=kn.Fill,yn=kn.Slot,_n=on(jn);_n.Slot=yn;var Sn=_n,Cn=n(18);function En(e){var t=e.icon,n=e.showColors,o=void 0!==n&&n,r=e.className;"block-default"===Object(f.get)(t,["src"])&&(t={src:Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(Ut.createElement)(Zt.Icon,{icon:t&&t.src?t.src:t}),c=o?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(Ut.createElement)("span",{style:c,className:zt()("editor-block-icon block-editor-block-icon",r,{"has-colors":o})},i)}function wn(e){var t=e.blocks,n=e.selectedBlockClientId,o=e.selectBlock,r=e.showNestedBlocks;return Object(Ut.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(f.map)(t,function(e){var t=Object(i.getBlockType)(e.name),c=e.clientId===n;return Object(Ut.createElement)("li",{key:e.clientId},Object(Ut.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(Ut.createElement)(Zt.Button,{className:zt()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":c}),onClick:function(){return o(e.clientId)}},Object(Ut.createElement)(En,{icon:t.icon,showColors:!0}),t.title,c&&Object(Ut.createElement)("span",{className:"screen-reader-text"},Object(p.__)("(selected block)")))),r&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(Ut.createElement)(wn,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:o,showNestedBlocks:!0}))}))}var In=Object(Kt.compose)(Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getBlockHierarchyRootClientId,r=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?r(o(c)):null,selectedBlockClientId:c}}),Object(a.withDispatch)(function(e,t){var n=t.onSelect,o=void 0===n?f.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),o(t)}}}))(function(e){var t=e.rootBlock,n=e.rootBlocks,o=e.selectedBlockClientId,r=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==o||t.innerBlocks&&0!==t.innerBlocks.length);return Object(Ut.createElement)(Zt.NavigableMenu,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(Ut.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},Object(p.__)("Block Navigation")),i&&Object(Ut.createElement)(wn,{blocks:[t],selectedBlockClientId:o,selectBlock:r,showNestedBlocks:!0}),!i&&Object(Ut.createElement)(wn,{blocks:n,selectedBlockClientId:o,selectBlock:r}))}),Tn=Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(Ut.createElement)(Zt.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var Bn=Object(a.withSelect)(function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}})(function(e){var t=e.hasBlocks,n=e.isDisabled,o=t&&!n;return Object(Ut.createElement)(Zt.Dropdown,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(Ut.createElement)(Ut.Fragment,null,o&&Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Cn.rawShortcut.access("o"),n)}),Object(Ut.createElement)(Zt.IconButton,{icon:Tn,"aria-expanded":t,onClick:o?n:void 0,label:Object(p.__)("Block Navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Cn.displayShortcut.access("o"),"aria-disabled":!o}))},renderContent:function(e){var t=e.onClose;return Object(Ut.createElement)(In,{onSelect:t})}})}),xn=Object(Kt.createHigherOrderComponent)(Object(a.withSelect)(function(e,t){var n=e("core/block-editor").getSettings(),o=void 0===t.colors?n.colors:t.colors,r=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:o,disableCustomColors:r,hasColorsToChoose:!Object(f.isEmpty)(o)||!r}}),"withColorContext"),Ln=xn(Zt.ColorPalette),Nn=n(45),Mn=n.n(Nn),Rn=function(e,t,n){if(t){var o=Object(f.find)(e,{slug:t});if(o)return o}return{color:n}},An=function(e,t){return Object(f.find)(e,{color:t})};function Dn(e,t){if(e&&t)return"has-".concat(Object(f.kebabCase)(t),"-").concat(e)}var Pn=[],Fn=function(e){return Object(Kt.createHigherOrderComponent)(function(t){return function(n){return Object(Ut.createElement)(t,Object(Ht.a)({},n,{colors:e}))}},"withCustomColorPalette")},Hn=function(){return Object(a.withSelect)(function(e){var t=e("core/block-editor").getSettings();return{colors:Object(f.get)(t,["colors"],Pn)}})};function Un(e,t){var n=Object(f.reduce)(e,function(e,t){return Object(s.a)({},e,Object(f.isString)(t)?Object(b.a)({},t,Object(f.kebabCase)(t)):t)},{});return Object(Kt.compose)([t,function(e){return function(t){function o(e){var t;return Object(Gt.a)(this,o),(t=Object(Yt.a)(this,Object($t.a)(o).call(this,e))).setters=t.createSetters(),t.colorUtils={getMostReadableColor:t.getMostReadableColor.bind(Object(Jt.a)(Object(Jt.a)(t)))},t.state={},t}return Object(Xt.a)(o,t),Object(qt.a)(o,[{key:"getMostReadableColor",value:function(e){return function(e,t){return Mn.a.mostReadable(t,Object(f.map)(e,"color")).toHexString()}(this.props.colors,e)}},{key:"createSetters",value:function(){var e=this;return Object(f.reduce)(n,function(t,n,o){var r=Object(f.upperFirst)(o),i="custom".concat(r);return t["set".concat(r)]=e.createSetColor(o,i),t},{})}},{key:"createSetColor",value:function(e,t){var n=this;return function(o){var r,i=An(n.props.colors,o);n.props.setAttributes((r={},Object(b.a)(r,e,i&&i.slug?i.slug:void 0),Object(b.a)(r,t,i&&i.slug?void 0:o),r))}}},{key:"render",value:function(){return Object(Ut.createElement)(e,Object(s.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var o=e.attributes,r=e.colors;return Object(f.reduce)(n,function(e,n,i){var c=Rn(r,o[i],o["custom".concat(Object(f.upperFirst)(i))]),l=t[i];return Object(f.get)(l,["color"])===c.color&&l?e[i]=l:e[i]=Object(s.a)({},c,{class:Dn(n,c.slug)}),e},{})}}]),o}(Ut.Component)}])}function Vn(e){return function(){for(var t=Fn(e),n=arguments.length,o=new Array(n),r=0;r=24?"large":"small"}))return null;var s=l.getBrightness()1?function(e,t,n,o,r){var i=t+1;if(r<0&&n)return Object(p.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return Object(p.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return Object(p.sprintf)(Object(p._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(r>0&&!o)return Object(p.sprintf)(Object(p._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,o,r,i):o&&r?Object(p.sprintf)(Object(p.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!r?Object(p.sprintf)(Object(p.__)("Move %1$s block from position %2$d down to position %3$d"),t,c,c+1):i>0&&r?Object(p.sprintf)(Object(p.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!o?Object(p.sprintf)(Object(p.__)("Move %1$s block from position %2$d up to position %3$d"),t,c,c-1):i<0&&o?Object(p.sprintf)(Object(p.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var Qn=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),eo=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),to=Object(Ut.createElement)(Zt.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(Ut.createElement)(Zt.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),no=Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlockIndex,i=(0,o.getBlockRootClientId)(n);return{index:r(n,i),rootClientId:i}})(function(e){var t=e.children,n=e.clientId,o=e.rootClientId,r=e.blockElementId,i=e.index,c=e.onDragStart,l=e.onDragEnd,a={type:"block",srcIndex:i,srcRootClientId:o,srcClientId:n};return Object(Ut.createElement)(Zt.Draggable,{elementId:r,transferData:a,onDragStart:c,onDragEnd:l},function(e){var n=e.onDraggableStart,o=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:o})})}),oo=function(e){var t=e.isVisible,n=e.className,o=e.icon,r=e.onDragStart,i=e.onDragEnd,c=e.blockElementId,l=e.clientId;if(!t)return null;var a=zt()("editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle",n);return Object(Ut.createElement)(no,{clientId:l,blockElementId:c,onDragStart:r,onDragEnd:i},function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(Ut.createElement)("div",{className:a,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},o)})},ro=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onBlur=e.onBlur.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,o=e.isFirst,r=e.isLast,i=e.isDraggable,c=e.onDragStart,l=e.onDragEnd,a=e.clientIds,s=e.blockElementId,u=e.blockType,d=e.firstIndex,b=e.isLocked,h=e.instanceId,v=e.isHidden,m=this.state.isFocused,g=Object(f.castArray)(a).length;return b||o&&r?null:Object(Ut.createElement)("div",{className:zt()("editor-block-mover block-editor-block-mover",{"is-visible":m||!v})},Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:o?null:t,icon:Qn,label:Object(p.__)("Move up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(h),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(Ut.createElement)(oo,{className:"editor-block-mover__control block-editor-block-mover__control",icon:to,clientId:a,blockElementId:s,isVisible:i,onDragStart:c,onDragEnd:l}),Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:r?null:n,icon:eo,label:Object(p.__)("Move down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(h),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(Ut.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},Zn(g,u&&u.title,d,o,r,-1)),Object(Ut.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},Zn(g,u&&u.title,d,o,r,1)))}}]),t}(Ut.Component),io=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlock,c=o.getBlockIndex,l=o.getTemplateLock,a=o.getBlockRootClientId,s=Object(f.first)(Object(f.castArray)(n)),u=r(s),d=a(Object(f.first)(Object(f.castArray)(n)));return{firstIndex:c(s,d),blockType:u?Object(i.getBlockType)(u.name):null,isLocked:"all"===l(d),rootClientId:d}}),Object(a.withDispatch)(function(e,t){var n=t.clientIds,o=t.rootClientId,r=e("core/block-editor"),i=r.moveBlocksDown,c=r.moveBlocksUp;return{onMoveDown:Object(f.partial)(i,n,o),onMoveUp:Object(f.partial)(c,n,o)}}),Kt.withInstanceId)(ro);var co=Object(a.withSelect)(function(e){var t=e("core").canUser;return{hasUploadPermissions:Object(f.defaultTo)(t("create","media"),!0)}})(function(e){var t=e.hasUploadPermissions,n=e.fallback,o=void 0===n?null:n,r=e.children;return t?r:o}),lo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onHTMLDrop=e.onHTMLDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onDrop=e.onDrop.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getInsertIndex",value:function(e){var t=this.props,n=t.clientId,o=t.rootClientId,r=t.getBlockIndex;if(void 0!==n){var i=r(n,o);return"top"===e.y?i:i+1}}},{key:"onFilesDrop",value:function(e,t){var n=Object(i.findTransform)(Object(i.getBlockTransforms)("from"),function(t){return"files"===t.type&&t.isMatch(e)});if(n){var o=this.getInsertIndex(t),r=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(r,o)}}},{key:"onHTMLDrop",value:function(e,t){var n=Object(i.pasteHandler)({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,o=n.rootClientId,r=n.clientId,i=n.getClientIdsOfDescendants,c=n.getBlockIndex,l=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(e),a=l.srcRootClientId,s=l.srcClientId,u=l.srcIndex,d=l.type;if("block"===d&&s!==r&&!function(e,t){return i([e]).some(function(e){return e===t})}(s,r||o)){var b,f,p=r?c(r,o):void 0,h=this.getInsertIndex(t),v=p&&u0&&Object(Ut.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},Ut.Children.map(n,function(e,t){return Object(Ut.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)}))),r&&Object(Ut.createElement)(Zt.Dropdown,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(Ut.createElement)(Zt.IconButton,{icon:"ellipsis",label:Object(p.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(Ut.createElement)(Zt.MenuGroup,null,r.map(function(e,t){return Object(Ut.createElement)(Zt.MenuItem,{onClick:e.onClick,key:t},e.title)}))}}))},uo=n(207),bo=function(e){var t=e.title,n=e.rawContent,o=e.renderedContent,r=e.action,i=e.actionText,c=e.className;return Object(Ut.createElement)("div",{className:c},Object(Ut.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(Ut.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(Ut.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(Ut.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},o)),Object(Ut.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(Ut.createElement)(Zt.Button,{isLarge:!0,tabIndex:"0",onClick:r},i)))},fo=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getDifference",value:function(e,t){return Object(uo.diffChars)(e,t).map(function(e,t){var n=zt()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(Ut.createElement)("span",{key:t,className:n},e.value)})}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(f.castArray)(e),n=t.map(function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)}),o=t.map(function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)});return{rawContent:n.join(""),renderedContent:o}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,o=e.onConvert,r=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),l=this.getConvertedContent(r(t)),a=this.getDifference(c.rawContent,l.rawContent);return Object(Ut.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(Ut.createElement)(bo,{title:Object(p.__)("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:Object(p.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(Ut.createElement)(bo,{title:Object(p.__)("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:o,actionText:i,rawContent:a,renderedContent:l.renderedContent}))}}]),t}(Ut.Component),po=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCompareClose=n.onCompareClose.bind(Object(Jt.a)(Object(Jt.a)(n))),n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,o=e.convertToClassic,r=e.attemptBlockRecovery,c=e.block,l=!!Object(i.getBlockType)("core/html"),a=this.state.compare,s=[{title:Object(p.__)("Convert to Classic Block"),onClick:o},{title:Object(p.__)("Attempt Block Recovery"),onClick:r}];return a?Object(Ut.createElement)(Zt.Modal,{title:Object(p.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(Ut.createElement)(fo,{block:c,onKeep:t,onConvert:n,convertor:ho,convertButtonText:Object(p.__)("Convert to Blocks")})):Object(Ut.createElement)(so,{actions:[Object(Ut.createElement)(Zt.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!l},Object(p._x)("Resolve","imperative verb")),l&&Object(Ut.createElement)(Zt.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(p.__)("Convert to HTML"))],secondaryActions:s},Object(p.__)("This block contains unexpected or invalid content."))}}]),t}(Ut.Component),ho=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},vo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}}),Object(a.withDispatch)(function(e,t){var n=t.block,o=e("core/block-editor").replaceBlock;return{convertToClassic:function(){o(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){o(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){o(n.clientId,ho(n))},attemptBlockRecovery:function(){var e,t,r,c;o(n.clientId,(t=(e=n).name,r=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,r,c)))}}})])(po),mo=Object(Ut.createElement)(so,null,Object(p.__)("This block has encountered an error and cannot be previewed.")),go=function(){return mo},Oo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(Ut.Component),ko=n(61),jo=n.n(ko),yo=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onBlur=n.onBlur.bind(Object(Jt.a)(Object(Jt.a)(n))),n.state={html:e.block.isValid?Object(i.getBlockContent)(e.block):e.block.originalContent},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(e){Object(f.isEqual)(this.props.block.attributes,e.block.attributes)||this.setState({html:Object(i.getBlockContent)(this.props.block)})}},{key:"onBlur",value:function(){var e=this.state.html,t=Object(i.getBlockType)(this.props.block.name),n=Object(i.getBlockAttributes)(t,e,this.props.block.attributes),o=e||Object(i.getSaveContent)(t,n),r=!e||Object(i.isValidBlockContent)(t,n,o);this.props.onChange(this.props.clientId,n,o,r),e||this.setState({html:o})}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return Object(Ut.createElement)(jo.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(Ut.Component),_o=Object(Kt.compose)([Object(a.withSelect)(function(e,t){return{block:e("core/block-editor").getBlock(t.clientId)}}),Object(a.withDispatch)(function(e){return{onChange:function(t,n,o,r){e("core/block-editor").updateBlock(t,{attributes:n,originalContent:o,isValid:r})}}})])(yo);var So=Object(a.withSelect)(function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}})(function(e){var t=e.name;if(!t)return null;var n=Object(i.getBlockType)(t);return n?n.title:null}),Co=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onBlur=e.onBlur.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(Ut.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(Ut.createElement)(Zt.Toolbar,null,n&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(So,{clientId:n}),Object(Ut.createElement)("span",{className:"editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow"})),Object(Ut.createElement)(So,{clientId:t})))}}]),t}(Ut.Component),Eo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){return{rootClientId:(0,e("core/block-editor").getBlockRootClientId)(t.clientId)}})])(Co),wo=window,Io=wo.Node,To=wo.getSelection,Bo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(Jt.a)(Object(Jt.a)(e))),e.focusSelection=e.focusSelection.bind(Object(Jt.a)(Object(Jt.a)(e))),e.switchOnKeyDown=Object(f.cond)([[Object(f.matchesProperty)(["keyCode"],Cn.ESCAPE),e.focusSelection]]),e.toolbar=Object(Ut.createRef)(),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"focusToolbar",value:function(){var e=Jn.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=To();if(e){var t=e.focusNode;t.nodeType!==Io.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(u.a)(e,["children"]);return Object(Ut.createElement)(Zt.NavigableMenu,Object(Ht.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(f.omit)(n,["focusOnMount"])),Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(Ut.Component);var xo=function(e){var t=e.focusOnMount;return Object(Ut.createElement)(Bo,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":Object(p.__)("Block tools")},Object(Ut.createElement)(tc,null))};var Lo=Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getMultiSelectedBlockClientIds,i=o.isMultiSelecting,c=o.getBlockIndex,l=o.getBlockCount,a=r(),s=c(Object(f.first)(a),n),u=c(Object(f.last)(a),n);return{multiSelectedBlockClientIds:a,isSelecting:i(),isFirst:0===s,isLast:u+1===l()}})(function(e){var t=e.multiSelectedBlockClientIds,n=e.clientId,o=e.isSelecting,r=e.isFirst,i=e.isLast;return o?null:Object(Ut.createElement)(io,{key:"mover",clientId:n,clientIds:t,isFirst:r,isLast:i})}),No=n(67),Mo=n.n(No),Ro=n(23);function Ao(e){var t=e.name,n=e.attributes,o=Object(i.createBlock)(t,n);return Object(Ut.createElement)(Zt.Disabled,{className:"editor-block-preview__content block-editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(Ut.createElement)(On,{name:t,focus:!1,attributes:o.attributes,setAttributes:f.noop}))}var Do=function(e){return Object(Ut.createElement)("div",{className:"editor-block-preview block-editor-block-preview"},Object(Ut.createElement)("div",{className:"editor-block-preview__title block-editor-block-preview__title"},Object(p.__)("Preview")),Object(Ut.createElement)(Ao,e))};var Po=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,o=e.onClick,r=e.isDisabled,i=e.title,c=e.className,l=Object(u.a)(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{},s=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(Ut.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(Ut.createElement)("button",Object(Ht.a)({className:zt()("editor-block-types-list__item block-editor-block-types-list__item",c,{"editor-block-types-list__item-has-children block-editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),o()},disabled:r,"aria-label":i},l),Object(Ut.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:a},Object(Ut.createElement)(En,{icon:t,showColors:!0}),n&&Object(Ut.createElement)("span",{className:"editor-block-types-list__item-icon-stack block-editor-block-types-list__item-icon-stack",style:s})),Object(Ut.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},i)))};var Fo=function(e){var t=e.items,n=e.onSelect,o=e.onHover,r=void 0===o?function(){}:o,c=e.children;return Object(Ut.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map(function(e){return Object(Ut.createElement)(Po,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,onClick:function(){n(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},isDisabled:e.isDisabled,title:e.title})}),c)};var Ho=Object(Kt.compose)(Object(Kt.ifCondition)(function(e){var t=e.items;return t&&t.length>0}),Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:o&&o.title,rootBlockIcon:o&&o.icon}}))(function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,o=e.items,r=Object(u.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(Ut.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(Ut.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(Ut.createElement)(En,{icon:t,showColors:!0}),n&&Object(Ut.createElement)("h2",null,n)),Object(Ut.createElement)(Fo,Object(Ht.a)({items:o},r)))}),Uo=function(e){return e.stopPropagation()},Vo=function(e){return e=(e=(e=(e=Object(f.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},zo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onHover=e.onHover.bind(Object(Jt.a)(Object(Jt.a)(e))),e.panels={},e.inserterResults=Object(Ut.createRef)(),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,o=t.hideInsertionPoint;e?n():o()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(f.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(d.a)(t.state.openPanels),[e])}),t.props.setTimeout(function(){Mo()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})}))}}},{key:"filterOpenPanels",value:function(e,t,n,o){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var r=[];return o.length>0&&r.push("reusable"),n.length>0&&(r=r.concat(Object.keys(t))),r}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,o=t.items,r=t.rootChildBlocks,c=function(e,t){var n=Vo(t),o=function(e){return-1!==Vo(e).indexOf(n)},r=Object(i.getCategories)();return e.filter(function(e){var t=Object(f.find)(r,{slug:e.category});return o(e.title)||Object(f.some)(e.keywords,o)||t&&o(t.title)})}(o,e),l=Object(f.filter)(c,function(e){var t=e.name;return Object(f.includes)(r,t)}),a=[];if(!e){var s=this.props.maxSuggestedItems||9;a=Object(f.filter)(o,function(e){return e.utility>0}).slice(0,s)}var u=Object(f.filter)(c,{category:"reusable"}),d=function(e){return Object(f.findIndex)(Object(i.getCategories)(),function(t){return t.slug===e.category})},b=Object(f.flow)(function(e){return Object(f.filter)(e,function(e){return"reusable"!==e.category})},function(e){return Object(f.sortBy)(e,d)},function(e){return Object(f.groupBy)(e,"category")})(c);this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:a,reusableItems:u,itemsPerCategory:b,openPanels:this.filterOpenPanels(e,b,c,u)});var h=Object.keys(b).reduce(function(e,t){return e+b[t].length},0);n(Object(p.sprintf)(Object(p._n)("%d result found.","%d results found.",h),h))}},{key:"onKeyDown",value:function(e){Object(f.includes)([Cn.LEFT,Cn.DOWN,Cn.RIGHT,Cn.UP,Cn.BACKSPACE,Cn.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.onSelect,r=t.rootClientId,c=this.state,l=c.childItems,a=c.hoveredItem,s=c.itemsPerCategory,u=c.openPanels,d=c.reusableItems,b=c.suggestedItems,h=function(e){return-1!==u.indexOf(e)};return Object(Ut.createElement)("div",{className:"editor-inserter__menu block-editor-inserter__menu",onKeyPress:Uo,onKeyDown:this.onKeyDown},Object(Ut.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(p.__)("Search for a block")),Object(Ut.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:Object(p.__)("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(Ut.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(p.__)("Available block types")},Object(Ut.createElement)(Ho,{rootClientId:r,items:l,onSelect:o,onHover:this.onHover}),!!b.length&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p._x)("Most Used","blocks"),opened:h("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(Ut.createElement)(Fo,{items:b,onSelect:o,onHover:this.onHover})),Object(f.map)(Object(i.getCategories)(),function(t){var n=s[t.slug];return n&&n.length?Object(Ut.createElement)(Zt.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:h(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(Ut.createElement)(Fo,{items:n,onSelect:o,onHover:e.onHover})):null}),!!d.length&&Object(Ut.createElement)(Zt.PanelBody,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:Object(p.__)("Reusable"),opened:h("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(Ut.createElement)(Fo,{items:d,onSelect:o,onHover:this.onHover}),Object(Ut.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:Object(Ro.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(p.__)("Manage All Reusable Blocks"))),Object(f.isEmpty)(b)&&Object(f.isEmpty)(d)&&Object(f.isEmpty)(s)&&Object(Ut.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},Object(p.__)("No blocks found."))),a&&Object(i.isReusableBlock)(a)&&Object(Ut.createElement)(Do,{name:a.name,attributes:a.initialAttributes}))}}]),t}(Ut.Component),Ko=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.isAppender,r=t.rootClientId,i=e("core/block-editor"),c=i.getInserterItems,l=i.getBlockName,a=i.getBlockRootClientId,s=i.getBlockSelectionEnd,u=e("core/blocks").getChildBlockNames,d=r;if(!d&&!n&&!o){var b=s();b&&(d=a(b)||void 0)}return{rootChildBlocks:u(l(d)),items:c(d),destinationRootClientId:d}}),Object(a.withDispatch)(function(e,t,n){var o=n.select,r=e("core/block-editor"),c=r.showInsertionPoint,l=r.hideInsertionPoint;function a(){var e=o("core/block-editor"),n=e.getBlockIndex,r=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,l=t.destinationRootClientId,a=t.isAppender;if(c)return n(c,l);var s=r();return!a&&s?n(s,l)+1:i(l).length}return{fetchReusableBlocks:e("core/editor").__experimentalFetchReusableBlocks,showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:l,onSelect:function(n){var r=e("core/block-editor"),c=r.replaceBlocks,l=r.insertBlock,s=o("core/block-editor").getSelectedBlock,u=t.isAppender,d=n.name,b=n.initialAttributes,f=s(),p=Object(i.createBlock)(d,b);!u&&f&&Object(i.isUnmodifiedDefaultBlock)(f)?c(f.clientId,p):l(p,a(),t.destinationRootClientId),t.onSelect()}}}),Zt.withSpokenMessages,Kt.withInstanceId,Kt.withSafeTimeout)(zo),Wo=function(e){var t=e.onToggle,n=e.disabled,o=e.isOpen;return Object(Ut.createElement)(Zt.IconButton,{icon:"insert",label:Object(p.__)("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":"true","aria-expanded":o,disabled:n})},Go=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.renderToggle=e.renderToggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.renderContent=e.renderContent.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,o=this.props,r=o.disabled,i=o.renderToggle,c=void 0===i?Wo:i;return c({onToggle:t,isOpen:n,disabled:r})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,o=n.rootClientId,r=n.clientId,i=n.isAppender;return Object(Ut.createElement)(Ko,{onSelect:t,rootClientId:o,clientId:r,isAppender:i})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.title;return Object(Ut.createElement)(Zt.Dropdown,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:n,renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(Ut.Component),qo=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor").hasInserterItems;return{title:(0,e("core/editor").getEditedPostAttribute)("title"),hasItems:o(n)}}),Object(Kt.ifCondition)(function(e){return e.hasItems})])(Go);var Yo=Object(l.ifViewportMatches)("< small")(function(e){var t=e.clientId;return Object(Ut.createElement)("div",{className:"editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar"},Object(Ut.createElement)(qo,null),Object(Ut.createElement)(io,{clientIds:[t]}))}),$o=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFocusInserter=e.onFocusInserter.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onFocusInserter",value:function(e){e.stopPropagation(),this.setState({isInserterFocused:!0})}},{key:"onBlurInserter",value:function(){this.setState({isInserterFocused:!1})}},{key:"render",value:function(){var e=this.state.isInserterFocused,t=this.props,n=t.showInsertionPoint,o=t.rootClientId,r=t.clientId;return Object(Ut.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},n&&Object(Ut.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(Ut.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:zt()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(Ut.createElement)(qo,{rootClientId:o,clientId:r})))}}]),t}(Ut.Component),Xo=Object(a.withSelect)(function(e,t){var n=t.clientId,o=t.rootClientId,r=e("core/block-editor"),i=r.getBlockIndex,c=r.getBlockInsertionPoint,l=r.isBlockInsertionPointVisible,a=i(n,o),s=c();return{showInsertionPoint:l()&&s.index===a&&s.rootClientId===o}})($o),Jo=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(Jt.a)(Object(Jt.a)(e))),e.eventMap={},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,o=void 0===n?[]:n,r=t.forwardedRef,i=Object(u.a)(t,["childHandledEvents","forwardedRef"]),c=Object(f.reduce)([].concat(Object(d.a)(o),Object(d.a)(Object.keys(i))),function(t,n){var o=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(o){!!o[2]&&delete i[n];var r="on"+o[1];t[r]=e.proxyEvent,e.eventMap[o[1].toLowerCase()]=r}return t},{});return Object(Ut.createElement)("div",Object(Ht.a)({ref:r},i,c))}}]),t}(Ut.Component),Zo=function(e,t){return Object(Ut.createElement)(Jo,Object(Ht.a)({},e,{forwardedRef:t}))};Zo.displayName="IgnoreNestedEvents";var Qo=Object(Ut.forwardRef)(Zo);var er=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor"),r=o.getInserterItems,i=o.getTemplateLock;return{items:r(n),isLocked:!!i(n)}}),Object(a.withDispatch)(function(e,t){var n=t.clientId,o=t.rootClientId;return{onInsert:function(t){var r=t.name,c=t.initialAttributes,l=Object(i.createBlock)(r,c);n?e("core/block-editor").replaceBlocks(n,l):e("core/block-editor").insertBlock(l,void 0,o)}}}))(function(e){var t=e.items,n=e.isLocked,o=e.onInsert;if(n)return null;var r=Object(f.filter)(t,function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(f.isEmpty)(e.initialAttributes))}).slice(0,3);return Object(Ut.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},r.map(function(e){return Object(Ut.createElement)(Zt.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return o(e)},label:Object(p.sprintf)(Object(p.__)("Add %s"),e.title),icon:Object(Ut.createElement)(En,{icon:e.icon})})}))}),tr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hoverArea:null},e.onMouseLeave=e.onMouseLeave.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onMouseMove=e.onMouseMove.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentWillUnmount",value:function(){this.props.container&&this.toggleListeners(this.props.container,!1)}},{key:"componentDidMount",value:function(){this.props.container&&this.toggleListeners(this.props.container)}},{key:"componentDidUpdate",value:function(e){e.container!==this.props.container&&(e.container&&this.toggleListeners(e.container,!1),this.props.container&&this.toggleListeners(this.props.container,!0))}},{key:"toggleListeners",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"addEventListener":"removeEventListener";e[t]("mousemove",this.onMouseMove),e[t]("mouseleave",this.onMouseLeave)}},{key:"onMouseLeave",value:function(){this.state.hoverArea&&this.setState({hoverArea:null})}},{key:"onMouseMove",value:function(e){var t=this.props,n=t.isRTL,o=t.container.getBoundingClientRect(),r=o.width,i=o.left,c=o.right,l=null;e.clientX-i0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;c(e,n)},onInsertBlocks:function(e,n){var o=t.rootClientId;a(e,n,o)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,r=(0,o("core/block-editor").getBlockIndex)(e,n);s({},n,r+1)},onInsertBlocksAfter:function(e){var n=t.clientId,r=t.rootClientId,i=(0,o("core/block-editor").getBlockIndex)(n,r);a(e,i+1,r)},onRemove:function(e){u(e)},onMerge:function(e){var n=t.clientId,r=o("core/block-editor"),i=r.getPreviousBlockClientId,c=r.getNextBlockClientId;if(e){var l=c(n);l&&d(n,l)}else{var a=i(n);a&&d(a,n)}},onReplace:function(e){b([t.clientId],e)},onMetaChange:function(e){(0,(0,o("core/block-editor").getSettings)().__experimentalMetaSource.onChange)(e)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=o("core/block-editor").getBlockSelectionStart;e()?l(e(),t.clientId):c(t.clientId)}},toggleSelection:function(e){f(e)}}}),lr=Object(Kt.compose)(Kt.pure,Object(l.withViewportMatch)({isLargeViewport:"medium"}),ir,cr,Object(Zt.withFilters)("editor.BlockListBlock"))(rr),ar=n(57);var sr=Object(Kt.compose)(Object(Kt.withState)({hovered:!1}),Object(a.withSelect)(function(e,t){var n=e("core/block-editor"),o=n.getBlockCount,r=n.getBlockName,c=n.isBlockValid,l=n.getSettings,a=n.getTemplateLock,s=!o(t.rootClientId),u=r(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),b=l().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!a(t.rootClientId),placeholder:b}}),Object(a.withDispatch)(function(e,t){var n=e("core/block-editor"),o=n.insertDefaultBlock,r=n.startTyping;return{onAppend:function(){var e=t.rootClientId;o(void 0,e),r()}}}))(function(e){var t=e.isLocked,n=e.isVisible,o=e.onAppend,r=e.showPrompt,i=e.placeholder,c=e.rootClientId,l=e.hovered,a=e.setState;if(t||!n)return null;var s=Object(ar.decodeEntities)(i)||Object(p.__)("Start writing or type / to choose a block");return Object(Ut.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return a({hovered:!0})},onMouseLeave:function(){return a({hovered:!1})}},Object(Ut.createElement)(ao,{rootClientId:c}),Object(Ut.createElement)(jo.a,{role:"button","aria-label":Object(p.__)("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:o,value:r?s:""}),l&&Object(Ut.createElement)(er,{rootClientId:c}),Object(Ut.createElement)(qo,{rootClientId:c,position:"top right",isAppender:!0}))});var ur=Object(a.withSelect)(function(e,t){var n=t.rootClientId,o=e("core/block-editor"),r=o.getBlockOrder,c=o.canInsertBlockType;return{isLocked:!!(0,o.getTemplateLock)(n),blockClientIds:r(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}})(function(e){var t=e.blockClientIds,n=e.rootClientId,o=e.canInsertDefaultBlock;return e.isLocked?null:o?Object(Ut.createElement)(Qo,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(Ut.createElement)(sr,{rootClientId:n,lastBlockClientId:Object(f.last)(t)})):Object(Ut.createElement)("div",{className:"block-list-appender"},Object(Ut.createElement)(qo,{rootClientId:n,renderToggle:function(e){var t=e.onToggle,n=e.disabled,o=e.isOpen;return Object(Ut.createElement)(Zt.IconButton,{label:Object(p.__)("Add block"),icon:"insert",onClick:t,className:"block-list-appender__toggle","aria-haspopup":"true","aria-expanded":o,disabled:n})},isAppender:!0}))}),dr=function(e){function t(e){var n;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onSelectionEnd=n.onSelectionEnd.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setBlockRef=n.setBlockRef.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setLastClientY=n.setLastClientY.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPointerMove=Object(f.throttle)(n.onPointerMove.bind(Object(Jt.a)(Object(Jt.a)(n))),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=Object(s.a)({},this.nodes,Object(b.a)({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=or(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var o=t-n.top,r=Object(f.findLast)(this.coordMapKeys,function(e){return e0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e}(t,n)||(n.colors||e).length>0}(t,n,e)})})(function(e){var t=e.children,n=e.colors,o=e.colorSettings,r=e.disableCustomColors,i=e.title,c=Object(u.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),l=Object(Ut.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map(function(e,n){var o=e.value,r=e.label,i=e.colors;if(!o)return null;var c=An(i||t,o),l=c&&c.name,a=Object(p.sprintf)(wr,r.toLowerCase(),l||o);return Object(Ut.createElement)(Zt.ColorIndicator,{key:n,colorValue:o,"aria-label":a})})}(o,n));return Object(Ut.createElement)(Zt.PanelBody,Object(Ht.a)({className:"editor-panel-color-settings block-editor-panel-color-settings",title:l},c),o.map(function(e,t){return Object(Ut.createElement)(Er,Object(Ht.a)({key:t},Object(s.a)({colors:n,disableCustomColors:r},e)))}),t)}),Tr=xn(Ir);var Br=function(e){var t=e.onChange,n=e.className,o=Object(u.a)(e,["onChange","className"]);return Object(Ut.createElement)(jo.a,Object(Ht.a)({className:zt()("editor-plain-text block-editor-plain-text",n),onChange:function(e){return t(e.target.value)}},o))},xr=n(41),Lr=n.n(xr),Nr=n(35),Mr=n(49),Rr=n.n(Mr),Ar=Object(a.withSelect)(function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}})(function(e){var t=e.formatTypes,n=e.onChange,o=e.value;return Object(Ut.createElement)(Ut.Fragment,null,t.map(function(e){var t=e.name,r=e.edit;if(!r)return null;var i=Object(c.getActiveFormat)(o,t),l=void 0!==i,a=Object(c.getActiveObject)(o),s=void 0!==a;return Object(Ut.createElement)(r,{key:t,isActive:l,activeAttributes:l&&i.attributes||{},isObjectActive:s,activeObjectAttributes:s&&a.attributes||{},value:o,onChange:n})}))}),Dr=function(e){var t=e.controls;return Object(Ut.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(Ut.createElement)(Zt.Toolbar,null,t.map(function(e){return Object(Ut.createElement)(Zt.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})}),Object(Ut.createElement)(Zt.Slot,{name:"RichText.ToolbarControls"},function(e){return e.length&&Object(Ut.createElement)(Zt.DropdownMenu,{icon:!1,position:"bottom left",label:Object(p.__)("More Rich Text Controls"),controls:Object(f.orderBy)(e.map(function(e){return Object(B.a)(e,1)[0].props}),"title")})})))},Pr=function(e){return Object(f.pickBy)(e,function(e,t){return n=t,Object(f.startsWith)(n,"aria-")&&!Object(f.isNil)(e);var n})},Fr=window.navigator.userAgent;var Hr="editor-rich-text__editable block-editor-rich-text__editable",Ur=Fr.indexOf("Trident")>=0,Vr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(f.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(f.isEqual)(this.props.className,e.className)||(this.editorNode.className=zt()(e.className,Hr));var n=function(e,t){var n=Object(f.keys)(Pr(e)),o=Object(f.keys)(Pr(t));return{removedKeys:Object(f.difference)(n,o),updatedKeys:o.filter(function(n){return!Object(f.isEqual)(e[n],t[n])})}}(this.props,e),o=n.removedKeys,r=n.updatedKeys;return o.forEach(function(e){return t.editorNode.removeAttribute(e)}),r.forEach(function(n){return t.editorNode.setAttribute(n,e[n])}),!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef(e),Ur&&(e?this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,o=t.keyCode;if((Cn.BACKSPACE===o||Cn.DELETE===o)&&e.contains(n)){var r=document.createEvent("Event");r.initEvent("input",!0,!1),r.data=null,n.dispatchEvent(r)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e):this.removeInternetExplorerInputFix())}},{key:"render",value:function(){var e,t=this.props,n=t.tagName,o=void 0===n?"div":n,r=t.style,i=t.record,c=t.valueToEditableHTML,l=t.className,a=t.isPlaceholderVisible,d=Object(u.a)(t,["tagName","style","record","valueToEditableHTML","className","isPlaceholderVisible"]);return delete d.setRef,Object(Ut.createElement)(o,Object(s.a)((e={role:"textbox","aria-multiline":!0,className:zt()(l,Hr),contentEditable:!0},Object(b.a)(e,"data-is-placeholder-visible",a),Object(b.a)(e,"ref",this.bindEditorNode),Object(b.a)(e,"style",r),Object(b.a)(e,"suppressContentEditableWarning",!0),Object(b.a)(e,"dangerouslySetInnerHTML",{__html:c(i)}),e),d))}}]),t}(Ut.Component);var zr=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Cn.rawShortcut[n](t),this.onUse)})}}]),t}(Ut.Component),Kr=window.Node,Wr=Kr.TEXT_NODE,Gr=Kr.ELEMENT_NODE;function qr(){var e=window.getSelection();if(0!==e.rangeCount){var t=e.getRangeAt(0).startContainer;if(t.nodeType===Wr&&(t=t.parentNode),t.nodeType===Gr){var n=t.closest("*[contenteditable]");if(n&&n.contains(t))return t.closest("ol,ul")}}}function Yr(){var e=qr();return!e||"true"===e.contentEditable}function $r(e,t){var n=qr();return n?n.nodeName.toLowerCase()===e:e===t}var Xr=function(e){var t=e.onTagNameChange,n=e.tagName,o=e.value,r=e.onChange;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(zr,{type:"primary",character:"[",onUse:function(){r(Object(c.outdentListItems)(o))}}),Object(Ut.createElement)(zr,{type:"primary",character:"]",onUse:function(){r(Object(c.indentListItems)(o,{type:n}))}}),Object(Ut.createElement)(zr,{type:"primary",character:"m",onUse:function(){r(Object(c.indentListItems)(o,{type:n}))}}),Object(Ut.createElement)(zr,{type:"primaryShift",character:"m",onUse:function(){r(Object(c.outdentListItems)(o))}}),Object(Ut.createElement)(Sn,null,Object(Ut.createElement)(Zt.Toolbar,{controls:[t&&{icon:"editor-ul",title:Object(p.__)("Convert to unordered list"),isActive:$r("ul",n),onClick:function(){r(Object(c.changeListType)(o,{type:"ul"})),Yr()&&t("ul")}},t&&{icon:"editor-ol",title:Object(p.__)("Convert to ordered list"),isActive:$r("ol",n),onClick:function(){r(Object(c.changeListType)(o,{type:"ol"})),Yr()&&t("ol")}},{icon:"editor-outdent",title:Object(p.__)("Outdent list item"),shortcut:Object(p._x)("Backspace","keyboard key"),onClick:function(){r(Object(c.outdentListItems)(o))}},{icon:"editor-indent",title:Object(p.__)("Indent list item"),shortcut:Object(p._x)("Space","keyboard key"),onClick:function(){r(Object(c.indentListItems)(o,{type:n}))}}].filter(Boolean)})))},Jr=[Cn.rawShortcut.primary("z"),Cn.rawShortcut.primaryShift("z"),Cn.rawShortcut.primary("y")],Zr=Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.fromPairs)(Jr.map(function(e){return[e,function(e){return e.preventDefault()}]}))}),Qr=function(){return Zr};function ei(e){var t,n=e.name,o=e.shortcutType,r=e.shortcutCharacter,i=Object(u.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),o&&r&&(t=Cn.displayShortcut[o](r)),Object(Ut.createElement)(Zt.Fill,{name:c},Object(Ut.createElement)(Zt.ToolbarButton,Object(Ht.a)({},i,{shortcut:t})))}var ti=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(Ut.Component),ni=window,oi=ni.getSelection,ri=ni.getComputedStyle,ii=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),ci=document.createElement("style");document.head.appendChild(ci);var li=function(e){function t(e){var n,o=e.value,r=e.onReplace,l=e.multiline;return Object(Gt.a)(this,t),n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments)),!0!==l&&"p"!==l&&"li"!==l||(n.multilineTag=!0===l?"p":l),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.props.onSplit?(n.onSplit=n.props.onSplit,Rr()("wp.editor.RichText onSplit prop",{plugin:"Gutenberg",alternative:"wp.editor.RichText unstableOnSplit prop"})):n.props.unstableOnSplit&&(n.onSplit=n.props.unstableOnSplit),n.onFocus=n.onFocus.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onBlur=n.onBlur.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPaste=n.onPaste.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setFocusedElement=n.setFocusedElement.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onInput=n.onInput.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onSelectionChange=n.onSelectionChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.getRecord=n.getRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.createRecord=n.createRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.applyRecord=n.applyRecord.bind(Object(Jt.a)(Object(Jt.a)(n))),n.isEmpty=n.isEmpty.bind(Object(Jt.a)(Object(Jt.a)(n))),n.valueToFormat=n.valueToFormat.bind(Object(Jt.a)(Object(Jt.a)(n))),n.setRef=n.setRef.bind(Object(Jt.a)(Object(Jt.a)(n))),n.valueToEditableHTML=n.valueToEditableHTML.bind(Object(Jt.a)(Object(Jt.a)(n))),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onPointerDown=n.onPointerDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.formatToValue=Lr()(n.formatToValue.bind(Object(Jt.a)(Object(Jt.a)(n))),{maxSize:1}),n.savedContent=o,n.patterns=function(e){var t=e.onReplace,n=e.valueToFormat,o=Object(i.getBlockTransforms)("from").filter(function(e){return"prefix"===e.type});return[function(e){if(!t)return e;var r=Object(c.getSelectionStart)(e),l=Object(c.getTextContent)(e),a=l.slice(r-1,r);if(!/\s/.test(a))return e;var s=l.slice(0,r).trim(),u=Object(i.findTransform)(o,function(e){var t=e.prefix;return s===t});if(!u)return e;var d=n(Object(c.slice)(e,r,l.length)),b=u.transform(d);return t([b]),e},function(e){var t=Object(c.getSelectionStart)(e),n=Object(c.getTextContent)(e);if("`"!==n.slice(t-1,t))return e;var o=n.slice(0,t-1).lastIndexOf("`");if(-1===o)return e;var r=o,i=t-2;return r===i?e:(e=Object(c.remove)(e,r,r+1),e=Object(c.remove)(e,i,i+1),e=Object(c.applyFormat)(e,{type:"code"},r,i))}]}({onReplace:r,valueToFormat:n.valueToFormat}),n.enterPatterns=Object(i.getBlockTransforms)("from").filter(function(e){return"enter"===e.type}),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(o),n.lastHistoryValue=o,n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){e?this.editableRef=e:delete this.editableRef}},{key:"setFocusedElement",value:function(){this.props.setFocusedElement&&this.props.setFocusedElement(this.props.instanceId)}},{key:"getRecord",value:function(){var e=this.formatToValue(this.props.value),t=e.formats,n=e.replacements,o=e.text,r=this.state;return{formats:t,replacements:n,text:o,start:r.start,end:r.end,activeFormats:r.activeFormats}}},{key:"createRecord",value:function(){var e=oi(),t=e.rangeCount>0?e.getRangeAt(0):null;return Object(c.create)({element:this.editableRef,range:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:this.props.prepareEditableTree,__unstableIsEditableTree:!0})}},{key:"applyRecord",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).domOnly;Object(c.apply)({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:this.props.prepareEditableTree,__unstableDomOnly:t})}},{key:"isEmpty",value:function(){return Object(c.isEmpty)(this.formatToValue(this.props.value))}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,o=t.files;n=Object(f.isNil)(n)?[]:n,o=Object(f.isNil)(o)?[]:o;var r="",l="";try{r=t.getData("text/plain"),l=t.getData("text/html")}catch(e){try{l=t.getData("Text")}catch(e){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",l),window.console.log("Received plain text:\n\n",r);var a=Object(f.find)([].concat(Object(d.a)(n),Object(d.a)(o)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)});if(a&&!l){var s=a.getAsFile?a.getAsFile():a,u=Object(i.pasteHandler)({HTML:''),mode:"BLOCKS",tagName:this.props.tagName}),b=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",s),void(b?this.props.onReplace(u):this.onSplit&&this.splitContent(u))}var p=this.getRecord();if(!Object(c.isCollapsed)(p)){var h=(l||r).replace(/<[^>]+>/g,"").trim();if(Object(Ro.isURL)(h))return this.onChange(Object(c.applyFormat)(p,{type:"a",attributes:{href:Object(ar.decodeEntities)(h)}})),void window.console.log("Created link:\n\n",h)}var v=this.props.onReplace&&this.isEmpty(),m="INLINE";v?m="BLOCKS":this.onSplit&&(m="AUTO");var g=Object(i.pasteHandler)({HTML:l,plainText:r,mode:m,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof g){var O=Object(c.create)({html:g});this.onChange(Object(c.insert)(p,O))}else if(this.onSplit){if(!g.length)return;v?this.props.onReplace(g):this.splitContent(g,{paste:!0})}}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),this.recalculateBoundaryStyle(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){if(e&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else{if(e&&e.nativeEvent.inputType){var t=e.nativeEvent.inputType;if(0===t.indexOf("format")||ii.has(t))return void this.applyRecord(this.getRecord())}var n=this.createRecord(),o=this.state,r=o.activeFormats,i=void 0===r?[]:r,l=o.start,a=Object(c.__unstableUpdateFormats)({value:n,start:l,end:n.start,formats:i});this.onChange(a,{withoutHistory:!0});var u=this.patterns.reduce(function(e,t){return t(e)},a);u!==a&&(this.onCreateUndoLevel(),this.onChange(Object(s.a)({},u,{activeFormats:i}))),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onInput(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(){var e=this.createRecord(),t=e.start,n=e.end;if(t!==this.state.start||n!==this.state.end){var o=this.props.isCaretWithinFormattedText,r=Object(c.__unstableGetActiveFormats)(e);!o&&r.length?this.props.onEnterFormattedText():o&&!r.length&&this.props.onExitFormattedText(),this.setState({start:t,end:n,activeFormats:r}),this.applyRecord(Object(s.a)({},e,{activeFormats:r}),{domOnly:!0}),r.length>0&&this.recalculateBoundaryStyle()}}},{key:"recalculateBoundaryStyle",value:function(){var e=this.editableRef.querySelector("*[data-rich-text-format-boundary]");if(e){var t=ri(e).color.replace(")",", 0.2)").replace("rgb","rgba");ci.innerHTML="*:focus ".concat("*[data-rich-text-format-boundary]","{background-color: ").concat(t,"}")}}},{key:"onChangeEditableValue",value:function(e){var t=e.formats,n=e.text;Object(f.get)(this.props,["onChangeEditableValue"],[]).forEach(function(e){e(t,n)})}},{key:"onChange",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withoutHistory;this.applyRecord(e);var n=e.start,o=e.end,r=e.activeFormats,i=void 0===r?[]:r;this.onChangeEditableValue(e),this.savedContent=this.valueToFormat(e),this.props.onChange(this.savedContent),this.setState({start:n,end:o,activeFormats:i}),t||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.savedContent&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.savedContent)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,o=t.onRemove;if(n||o){var r=e.keyCode===Cn.BACKSPACE;if(Object(c.isCollapsed)(this.createRecord())){var i=this.isEmpty();(i||Object(Jn.isHorizontalEdge)(this.editableRef,r))&&(n&&n(!r),o&&i&&r&&o(!r),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey,o=e.altKey,r=e.metaKey,l=e.ctrlKey;if(n||o||r||l||t!==Cn.LEFT&&t!==Cn.RIGHT||this.handleHorizontalNavigation(e),t===Cn.SPACE&&"li"===this.multilineTag){var a=this.createRecord();if(Object(c.isCollapsed)(a)){var u=a.text[a.start-1];u&&u!==c.LINE_SEPARATOR||(this.onChange(Object(c.indentListItems)(a,{type:this.props.tagName})),e.preventDefault())}}if(t===Cn.DELETE||t===Cn.BACKSPACE){var b=this.createRecord(),f=b.replacements,p=b.text,h=b.start,v=b.end;if(0===h&&0!==v&&v===b.text.length)return this.onChange(Object(c.remove)(b)),void e.preventDefault();if(this.multilineTag){var m;if(t===Cn.BACKSPACE){var g=h-1;if(p[g]===c.LINE_SEPARATOR){var O=Object(c.isCollapsed)(b);if(O&&f[g]&&f[g].length){var k=f.slice();k[g]=f[g].slice(0,-1),m=Object(s.a)({},b,{replacements:k})}else m=Object(c.remove)(b,O?h-1:h,v)}}else if(p[v]===c.LINE_SEPARATOR){var j=Object(c.isCollapsed)(b);if(j&&f[v]&&f[v].length){var y=f.slice();y[v]=f[v].slice(0,-1),m=Object(s.a)({},b,{replacements:y})}else m=Object(c.remove)(b,h,j?v+1:v)}m&&(this.onChange(m),e.preventDefault())}this.onDeleteKeyDown(e)}else if(t===Cn.ENTER){e.preventDefault();var _=this.createRecord();if(this.props.onReplace){var S=Object(c.getTextContent)(_),C=Object(i.findTransform)(this.enterPatterns,function(e){return e.regExp.test(S)});if(C)return void this.props.onReplace([C.transform({content:S})])}this.multilineTag?e.shiftKey?this.onChange(Object(c.insertLineBreak)(_)):this.onSplit&&Object(c.isEmptyLine)(_)?this.onSplit.apply(this,Object(d.a)(Object(c.split)(_).map(this.valueToFormat))):this.onChange(Object(c.insertLineSeparator)(_)):e.shiftKey||!this.onSplit?this.onChange(Object(c.insertLineBreak)(_)):this.splitContent()}}},{key:"handleHorizontalNavigation",value:function(e){var t=this,n=this.createRecord(),o=n.formats,r=n.text,i=n.start,l=n.end,a=this.state.activeFormats,u=void 0===a?[]:a,d=Object(c.isCollapsed)(n),b=e.keyCode===Cn.LEFT;if(d&&0===u.length){if(0===i&&b)return;if(l===r.length&&!b)return}if(d){e.preventDefault();var f=o[i-1]||[],p=o[i]||[],h=u.length,v=p;if(f.length>p.length&&(v=f),f.lengthf.length&&h--):f.length>p.length&&(!b&&u.length>p.length&&h--,b&&u.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.onSplit){var n=this.createRecord(),o=Object(c.split)(n),r=Object(B.a)(o,2),i=r[0],l=r[1];Object(c.isEmpty)(l)?i=n:Object(c.isEmpty)(i)&&(l=n),t.paste&&(i=Object(c.isEmpty)(i)?null:i,l=Object(c.isEmpty)(l)?null:l),i&&(i=this.valueToFormat(i)),l&&(l=this.valueToFormat(l)),this.onSplit.apply(this,[i,l].concat(Object(d.a)(e)))}}},{key:"onPointerDown",value:function(e){var t=e.target;if(t!==this.editableRef&&!t.textContent){var n=t.parentNode,o=Array.from(n.childNodes).indexOf(t),r=t.ownerDocument.createRange(),i=oi();r.setStart(t.parentNode,o),r.setEnd(t.parentNode,o+1),i.removeAllRanges(),i.addRange(r)}}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.tagName,r=n.value,i=n.isSelected;if(o===e.tagName&&r!==e.value&&r!==this.savedContent){if(Array.isArray(r)&&Object(f.isEqual)(r,this.savedContent))return;var l=this.formatToValue(r);if(i){var a=this.formatToValue(e.value),s=Object(c.getTextContent)(a).length;l.start=s,l.end=s}this.applyRecord(l),this.savedContent=r}if(Object.keys(this.props).some(function(n){return 0===n.indexOf("format_")&&(Object(f.isPlainObject)(t.props[n])?Object.keys(t.props[n]).some(function(o){return t.props[n][o]!==e[n][o]}):t.props[n]!==e[n])})){var u=this.formatToValue(r);i&&(u.start=this.state.start,u.end=this.state.end),this.applyRecord(u)}}},{key:"getFormatProps",value:function(){return Object(f.pickBy)(this.props,function(e,t){return t.startsWith("format_")})}},{key:"formatToValue",value:function(e){return Array.isArray(e)?Object(c.create)({html:i.children.toHTML(e),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):"string"===this.props.format?Object(c.create)({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):null===e?Object(c.create)():e}},{key:"valueToEditableHTML",value:function(e){return Object(c.unstableToDom)({value:e,multilineTag:this.multilineTag,prepareEditableTree:this.props.prepareEditableTree}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach(function(t){t.__experimentalCreatePrepareEditableTree&&(e=Object(c.removeFormat)(e,t.name,0,e.text.length))}),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?i.children.fromDOM(Object(c.unstableToDom)({value:e,multilineTag:this.multilineTag,isEditableTree:!1}).body.childNodes):"string"===this.props.format?Object(c.toHTMLString)({value:e,multilineTag:this.multilineTag}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,o=void 0===n?"div":n,r=t.style,i=t.wrapperClassName,c=t.className,l=t.inlineToolbar,a=void 0!==l&&l,s=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,b=void 0!==d&&d,f=t.isSelected,p=t.autocompleters,h=t.onTagNameChange,v=o,m=this.multilineTag,g=Pr(this.props),O=u&&(!f||b)&&this.isEmpty(),k=zt()(i,"editor-rich-text block-editor-rich-text"),j=this.getRecord();return Object(Ut.createElement)("div",{className:k,onFocus:this.setFocusedElement},f&&"li"===this.multilineTag&&Object(Ut.createElement)(Xr,{onTagNameChange:h,tagName:o,value:j,onChange:this.onChange}),f&&!a&&Object(Ut.createElement)(Sn,null,Object(Ut.createElement)(Dr,{controls:s})),f&&a&&Object(Ut.createElement)(Zt.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(Ut.createElement)(Dr,{controls:s})),Object(Ut.createElement)(cn,{onReplace:this.props.onReplace,completers:p,record:j,onChange:this.onChange},function(t){var n=t.listBoxId,i=t.activeId;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Vr,Object(Ht.a)({tagName:o,style:r,record:j,valueToEditableHTML:e.valueToEditableHTML,isPlaceholderVisible:O,"aria-label":u,"aria-autocomplete":"list","aria-owns":n,"aria-activedescendant":i},g,{className:c,key:v,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,onBlur:e.onBlur,onMouseDown:e.onPointerDown,onTouchStart:e.onPointerDown,setRef:e.setRef})),O&&Object(Ut.createElement)(o,{className:zt()("editor-rich-text__editable block-editor-rich-text__editable",c),style:r},m?Object(Ut.createElement)(m,null,u):u),f&&Object(Ut.createElement)(Ar,{value:j,onChange:e.onChange}))}),f&&Object(Ut.createElement)(Qr,null))}}]),t}(Ut.Component);li.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var ai=Object(Kt.compose)([Kt.withInstanceId,nn(function(e,t){return!1===t.isSelected?{clientId:e.clientId}:!0===t.isSelected?{isSelected:e.isSelected,clientId:e.clientId}:{isSelected:e.isSelected&&e.focusedElement===t.instanceId,setFocusedElement:e.setFocusedElement,clientId:e.clientId}}),Object(a.withSelect)(function(e){var t=e("core/editor").canUserUseUnfilteredHTML,n=e("core/block-editor").isCaretWithinFormattedText,o=e("core/rich-text").getFormatTypes;return{canUserUseUnfilteredHTML:t(),isCaretWithinFormattedText:n(),formatTypes:o()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onCreateUndoLevel:t.__unstableMarkLastChangeAsPersistent,onEnterFormattedText:t.enterFormattedText,onExitFormattedText:t.exitFormattedText}}),Kt.withSafeTimeout,Object(Zt.withFilters)("experimentalRichText")])(li);ai.Content=function(e){var t,n=e.value,o=e.tagName,r=e.multiline,c=Object(u.a)(e,["value","tagName","multiline"]),l=n;!0!==r&&"p"!==r&&"li"!==r||(t=!0===r?"p":r),Array.isArray(n)&&(l=i.children.toHTML(n)),!l&&t&&(l="<".concat(t,">"));var a=Object(Ut.createElement)(Ut.RawHTML,null,l);return o?Object(Ut.createElement)(o,Object(f.omit)(c,["format"]),a):a},ai.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},ai.Content.defaultProps={format:"string",value:""};var si=ai,ui=Object(Zt.withFilters)("editor.MediaUpload")(function(){return null}),di=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(Jt.a)(Object(Jt.a)(e))),e.state={isSettingsExpanded:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,o=e.onClose,r=e.onClickOutside,i=e.position,c=void 0===i?"bottom center":i,l=e.focusOnMount,a=void 0===l?"firstElement":l,s=this.state.isSettingsExpanded,u=!!n&&s;return Object(Ut.createElement)(Zt.Popover,{className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:c,onClose:o,onClickOutside:r},Object(Ut.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},t,!!n&&Object(Ut.createElement)(Zt.IconButton,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(p.__)("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),u&&Object(Ut.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},n()))}}]),t}(Ut.Component),bi=function(e){var t=e.src,n=e.onChange,o=e.onSubmit,r=e.onClose;return Object(Ut.createElement)(di,{onClose:r},Object(Ut.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:o},Object(Ut.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(p.__)("URL"),placeholder:Object(p.__)("Paste or type URL"),onChange:n,value:t}),Object(Ut.createElement)(Zt.IconButton,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(p.__)("Apply"),type:"submit"})))},fi=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onSubmitSrc=e.onSubmitSrc.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onUpload=e.onUpload.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onFilesUpload=e.onFilesUpload.bind(Object(Jt.a)(Object(Jt.a)(e))),e.openURLInput=e.openURLInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e.closeURLInput=e.closeURLInput.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(f.every)(e,function(e){return"image"===e||Object(f.startsWith)(e,"image/")})}},{key:"componentDidMount",value:function(){this.setState({src:Object(f.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(f.get)(e.value,["src"],"")!==Object(f.get)(this.props.value,["src"],"")&&this.setState({src:Object(f.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t=this.props,n=t.onSelect,o=t.multiple,r=t.onError,i=t.allowedTypes;(0,t.mediaUpload)({allowedTypes:i,filesList:e,onFileChange:o?n:function(e){var t=Object(B.a)(e,1)[0];return n(t)},onError:r})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.icon,o=e.className,r=e.labels,i=void 0===r?{}:r,c=e.onSelect,l=e.value,a=void 0===l?{}:l,s=e.onSelectURL,u=e.onHTMLDrop,d=void 0===u?f.noop:u,b=e.multiple,h=void 0!==b&&b,v=e.notices,m=e.allowedTypes,g=void 0===m?[]:m,O=e.hasUploadPermissions,k=e.mediaUpload,j=this.state,y=j.isURLInputVisible,_=j.src,S=i.instructions||"",C=i.title||"";if(O||s||(S=Object(p.__)("To edit this block, you need permission to upload media.")),!S||!C){var E=1===g.length,w=E&&"audio"===g[0],I=E&&"image"===g[0],T=E&&"video"===g[0];S||(O?(S=Object(p.__)("Drag a media file, upload a new one or select a file from your library."),w?S=Object(p.__)("Drag an audio, upload a new one or select a file from your library."):I?S=Object(p.__)("Drag an image, upload a new one or select a file from your library."):T&&(S=Object(p.__)("Drag a video, upload a new one or select a file from your library."))):!O&&s&&(S=Object(p.__)("Given your current role, you can only link a media file, you cannot upload."),w?S=Object(p.__)("Given your current role, you can only link an audio, you cannot upload."):I?S=Object(p.__)("Given your current role, you can only link an image, you cannot upload."):T&&(S=Object(p.__)("Given your current role, you can only link a video, you cannot upload.")))),C||(C=Object(p.__)("Media"),w?C=Object(p.__)("Audio"):I?C=Object(p.__)("Image"):T&&(C=Object(p.__)("Video")))}return Object(Ut.createElement)(Zt.Placeholder,{icon:n,label:C,instructions:S,className:zt()("editor-media-placeholder block-editor-media-placeholder",o),notices:v},Object(Ut.createElement)(co,null,!!k&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:d}),Object(Ut.createElement)(Zt.FormFileUpload,{isLarge:!0,className:"editor-media-placeholder__button block-editor-media-placeholder__button",onChange:this.onUpload,accept:t,multiple:h},Object(p.__)("Upload"))),Object(Ut.createElement)(ui,{gallery:h&&this.onlyAllowsImages(),multiple:h,onSelect:c,allowedTypes:g,value:a.id,render:function(e){var t=e.open;return Object(Ut.createElement)(Zt.Button,{isLarge:!0,className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:t},Object(p.__)("Media Library"))}})),s&&Object(Ut.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(Ut.createElement)(Zt.Button,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:y,isLarge:!0},Object(p.__)("Insert from URL")),y&&Object(Ut.createElement)(bi,{src:_,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput})))}}]),t}(Ut.Component),pi=Object(a.withSelect)(function(e){var t=e("core").canUser,n=e("core/block-editor").getSettings;return{hasUploadPermissions:Object(f.defaultTo)(t("create","media"),!0),mediaUpload:n().__experimentalMediaUpload}}),hi=Object(Kt.compose)(pi,Object(Zt.withFilters)("editor.MediaPlaceholder"))(fi),vi=n(33),mi=n.n(vi),gi=function(e){return e.stopPropagation()},Oi=function(e){function t(e){var n,o=e.autocompleteRef;return Object(Gt.a)(this,t),(n=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(Jt.a)(Object(Jt.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(n))),n.autocompleteRef=o||Object(Ut.createRef)(),n.inputRef=Object(Ut.createRef)(),n.updateSuggestions=Object(f.throttle)(n.updateSuggestions.bind(Object(Jt.a)(Object(Jt.a)(n))),200),n.suggestionNodes=[],n.state={posts:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,o=t.selectedSuggestion;n&&null!==o&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Mo()(this.suggestionNodes[o],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;if(e.length<2||/^https?:/.test(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var n=mi()({path:Object(Ro.addQueryArgs)("/wp/v2/search",{search:e,per_page:20,type:"post"})});n.then(function(e){t.suggestionsRequest===n&&(t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(p.sprintf)(Object(p._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(p.__)("No results."),"assertive"))}).catch(function(){t.suggestionsRequest===n&&t.setState({loading:!1})}),this.suggestionsRequest=n}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,o=t.selectedSuggestion,r=t.posts,i=t.loading;if(n&&r.length&&!i){var c=this.state.posts[this.state.selectedSuggestion];switch(e.keyCode){case Cn.UP:e.stopPropagation(),e.preventDefault();var l=o?o-1:r.length-1;this.setState({selectedSuggestion:l});break;case Cn.DOWN:e.stopPropagation(),e.preventDefault();var a=null===o||o===r.length-1?0:o+1;this.setState({selectedSuggestion:a});break;case Cn.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(p.__)("Link selected.")));break;case Cn.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Cn.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Cn.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,o=void 0===n?"":n,r=t.autoFocus,i=void 0===r||r,c=t.instanceId,l=t.className,a=this.state,s=a.showSuggestions,u=a.posts,d=a.selectedSuggestion,b=a.loading;return Object(Ut.createElement)("div",{className:zt()("editor-url-input block-editor-url-input",l)},Object(Ut.createElement)("input",{autoFocus:i,type:"text","aria-label":Object(p.__)("URL"),required:!0,value:o,onChange:this.onChange,onInput:gi,placeholder:Object(p.__)("Paste URL or type to search"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":s,"aria-autocomplete":"list","aria-owns":"block-editor-url-input-suggestions-".concat(c),"aria-activedescendant":null!==d?"block-editor-url-input-suggestion-".concat(c,"-").concat(d):void 0,ref:this.inputRef}),b&&Object(Ut.createElement)(Zt.Spinner,null),s&&!!u.length&&Object(Ut.createElement)(Zt.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(Ut.createElement)("div",{className:"editor-url-input__suggestions block-editor-url-input__suggestions",id:"editor-url-input-suggestions-".concat(c),ref:this.autocompleteRef,role:"listbox"},u.map(function(t,n){return Object(Ut.createElement)("button",{key:t.id,role:"option",tabIndex:"-1",id:"block-editor-url-input-suggestion-".concat(c,"-").concat(n),ref:e.bindSuggestionNode(n),className:zt()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===d}),onClick:function(){return e.handleOnClick(t)},"aria-selected":n===d},Object(ar.decodeEntities)(t.title)||Object(p.__)("(no title)"))}))))}}]),t}(Ut.Component),ki=Object(Zt.withSpokenMessages)(Object(Kt.withInstanceId)(Oi)),ji=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(Jt.a)(Object(Jt.a)(e))),e.submitLink=e.submitLink.bind(Object(Jt.a)(Object(Jt.a)(e))),e.state={expanded:!1},e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,o=this.state.expanded,r=t?Object(p.__)("Edit Link"):Object(p.__)("Insert Link");return Object(Ut.createElement)("div",{className:"editor-url-input__button block-editor-url-input__button"},Object(Ut.createElement)(Zt.IconButton,{icon:"admin-links",label:r,onClick:this.toggle,className:zt()("components-toolbar__control",{"is-active":t})}),o&&Object(Ut.createElement)("form",{className:"editor-url-input__button-modal block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(Ut.createElement)("div",{className:"editor-url-input__button-modal-line block-editor-url-input__button-modal-line"},Object(Ut.createElement)(Zt.IconButton,{className:"editor-url-input__back block-editor-url-input__back",icon:"arrow-left-alt",label:Object(p.__)("Close"),onClick:this.toggle}),Object(Ut.createElement)(ki,{value:t||"",onChange:n}),Object(Ut.createElement)(Zt.IconButton,{icon:"editor-break",label:Object(p.__)("Submit"),type:"submit"}))))}}]),t}(Ut.Component);var yi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=e("core/block-editor"),o=n.getBlocksByClientId,r=n.getTemplateLock,c=n.getBlockRootClientId,l=o(t.clientIds),a=Object(f.every)(l,function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)}),s=c(t.clientIds[0]);return{isLocked:!!r(s),blocks:l,canDuplicate:a,rootClientId:s,extraProps:t}}),Object(a.withDispatch)(function(e,t,n){var o=n.select,r=t.clientIds,c=t.rootClientId,l=t.blocks,a=t.isLocked,s=t.canDuplicate,u=e("core/block-editor"),d=u.insertBlocks,b=u.multiSelect,p=u.removeBlocks,h=u.insertDefaultBlock;return{onDuplicate:function(){if(!a&&s){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.last)(Object(f.castArray)(r)),c),t=l.map(function(e){return Object(i.cloneBlock)(e)});d(t,e+1,c),t.length>1&&b(Object(f.first)(t).clientId,Object(f.last)(t).clientId)}},onRemove:function(){a||p(r)},onInsertBefore:function(){if(!a){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.first)(Object(f.castArray)(r)),c);h({},c,e)}},onInsertAfter:function(){if(!a){var e=(0,o("core/block-editor").getBlockIndex)(Object(f.last)(Object(f.castArray)(r)),c);h({},c,e+1)}}}})])(function(e){var t=e.onDuplicate,n=e.onRemove,o=e.onInsertBefore,r=e.onInsertAfter,i=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:r,onInsertBefore:o,isLocked:i,canDuplicate:c})}),_i=function(e){return e.preventDefault(),e},Si={duplicate:{raw:Cn.rawShortcut.primaryShift("d"),display:Cn.displayShortcut.primaryShift("d")},removeBlock:{raw:Cn.rawShortcut.access("z"),display:Cn.displayShortcut.access("z")},insertBefore:{raw:Cn.rawShortcut.primaryAlt("t"),display:Cn.displayShortcut.primaryAlt("t")},insertAfter:{raw:Cn.rawShortcut.primaryAlt("y"),display:Cn.displayShortcut.primaryAlt("y")}},Ci=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(Jt.a)(Object(Jt.a)(e))),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearMultiSelection=e.clearMultiSelection.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,o=t.onMultiSelect;e.preventDefault(),o(Object(f.first)(n),Object(f.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,o=t.hasMultiSelection,r=t.onRemove,i=t.isLocked;o&&(e.preventDefault(),i||r(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.KeyboardShortcuts,{shortcuts:(e={},Object(b.a)(e,Cn.rawShortcut.primary("a"),this.selectAll),Object(b.a)(e,"backspace",this.deleteSelectedBlocks),Object(b.a)(e,"del",this.deleteSelectedBlocks),Object(b.a)(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(Ut.createElement)(yi,{clientIds:t},function(e){var t,n=e.onDuplicate,o=e.onRemove,r=e.onInsertAfter,i=e.onInsertBefore;return Object(Ut.createElement)(Zt.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(b.a)(t,Si.duplicate.raw,Object(f.flow)(_i,n)),Object(b.a)(t,Si.removeBlock.raw,Object(f.flow)(_i,o)),Object(b.a)(t,Si.insertBefore.raw,Object(f.flow)(_i,i)),Object(b.a)(t,Si.insertAfter.raw,Object(f.flow)(_i,r)),t)})}))}}]),t}(Ut.Component),Ei=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getBlockOrder,o=t.getMultiSelectedBlockClientIds,r=t.hasMultiSelection,i=t.getBlockRootClientId,c=t.getTemplateLock,l=(0,t.getSelectedBlockClientId)(),a=l?[l]:o();return{rootBlocksClientIds:n(),hasMultiSelection:r(),isLocked:Object(f.some)(a,function(e){return!!c(i(e))}),selectedBlockClientIds:a}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}})])(Ci),wi=Object(a.withSelect)(function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}})(function(e){var t=e.selectedBlockClientId;return t&&Object(Ut.createElement)(Zt.Button,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){or(t).closest(".block-editor-block-list__block").focus()}},Object(p.__)("Skip to the selected block"))}),Ii=n(135),Ti=n.n(Ii);function Bi(e,t,n){var o=new Ti.a(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}var xi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock,r=e("core/blocks").getBlockStyles,c=o(n),l=Object(i.getBlockType)(c.name);return{name:c.name,attributes:c.attributes,className:c.attributes.className||"",styles:r(c.name),type:l}}),Object(a.withDispatch)(function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}})])(function(e){var t=e.styles,n=e.className,o=e.onChangeClassName,r=e.name,i=e.attributes,c=e.type,l=e.onSwitch,a=void 0===l?f.noop:l,u=e.onHoverClassName,b=void 0===u?f.noop:u;if(!t||0===t.length)return null;c.styles||Object(f.find)(t,"isDefault")||(t=[{name:"default",label:Object(p._x)("Default","block style"),isDefault:!0}].concat(Object(d.a)(t)));var h=function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,c=new Ti.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var l=i.value;if(-1!==l.indexOf("is-style-")){var a=l.substring(9),s=Object(f.find)(e,{name:a});if(s)return s}}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return Object(f.find)(e,"isDefault")}(t,n);function v(e){var t=Bi(n,h,e);o(t),b(null),a()}return Object(Ut.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map(function(e){var t=Bi(n,h,e);return Object(Ut.createElement)("div",{key:e.name,className:zt()("editor-block-styles__item block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return v(e)},onKeyDown:function(t){Cn.ENTER!==t.keyCode&&Cn.SPACE!==t.keyCode||(t.preventDefault(),v(e))},onMouseEnter:function(){return b(t)},onMouseLeave:function(){return b(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(Ut.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(Ut.createElement)(Ao,{name:r,attributes:Object(s.a)({},i,{className:t})})),Object(Ut.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))}))}),Li=n(98);var Ni=Object(a.withSelect)(function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}})(function(e){var t=e.blocks,n=Object(Li.count)(Object(i.serialize)(t),"words");return Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(Ut.createElement)(En,{icon:Object(Ut.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},Object(p.sprintf)(Object(p._n)("%d block","%d blocks",t.length),t.length)),Object(Ut.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},Object(p.sprintf)(Object(p._n)("%d word","%d words",n),n))))}),Mi=Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getSelectedBlockCount,r=t.getBlockName,c=e("core/blocks").getBlockStyles,l=n(),a=l&&r(l),s=l&&Object(i.getBlockType)(a),u=l&&c(a);return{count:o(),hasBlockStyles:u&&u.length>0,selectedBlockName:a,selectedBlockClientId:l,blockType:s}})(function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,o=e.blockType,r=e.count,c=e.hasBlockStyles;if(r>1)return Object(Ut.createElement)(Ni,null);var l=n===Object(i.getUnregisteredTypeHandlerName)();return o&&t&&!l?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)("div",{className:"editor-block-inspector__card block-editor-block-inspector__card"},Object(Ut.createElement)(En,{icon:o.icon,showColors:!0}),Object(Ut.createElement)("div",{className:"editor-block-inspector__card-content block-editor-block-inspector__card-content"},Object(Ut.createElement)("div",{className:"editor-block-inspector__card-title block-editor-block-inspector__card-title"},o.title),Object(Ut.createElement)("div",{className:"editor-block-inspector__card-description block-editor-block-inspector__card-description"},o.description))),c&&Object(Ut.createElement)("div",null,Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Styles"),initialOpen:!1},Object(Ut.createElement)(xi,{clientId:t}))),Object(Ut.createElement)("div",null,Object(Ut.createElement)(Sr.Slot,null)),Object(Ut.createElement)("div",null,Object(Ut.createElement)(Or.Slot,null,function(e){return!Object(f.isEmpty)(e)&&Object(Ut.createElement)(Zt.PanelBody,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:Object(p.__)("Advanced"),initialOpen:!1},e)})),Object(Ut.createElement)(wi,{key:"back"})):Object(Ut.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},Object(p.__)("No block selected."))}),Ri=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,o=t.hasMultiSelection,r=t.clearSelectedBlock,i=n||o;e.target===this.container&&i&&r()}},{key:"render",value:function(){return Object(Ut.createElement)("div",Object(Ht.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(f.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(Ut.Component),Ai=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,o=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:o()}}),Object(a.withDispatch)(function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}})])(Ri);var Di=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlock,c=o.getBlockMode,l=r(n);return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null}}),Object(a.withDispatch)(function(e,t){var n=t.onToggle,o=void 0===n?f.noop:n,r=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(r),o()}}})])(function(e){var t=e.blockType,n=e.mode,o=e.onToggleMode,r=e.small,c=void 0!==r&&r;if(!Object(i.hasBlockSupport)(t,"html",!0))return null;var l="visual"===n?Object(p.__)("Edit as HTML"):Object(p.__)("Edit visually");return Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:o,icon:"html"},!c&&l)});var Pi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlocksByClientId,c=o.canInsertBlockType,l=e("core/editor").__experimentalGetReusableBlock,a=e("core").canUser,s=r(n),u=1===s.length&&s[0]&&Object(i.isReusableBlock)(s[0])&&!!l(s[0].attributes.ref);return{isReusable:u,isVisible:u||c("core/block")&&Object(f.every)(s,function(e){return!!e&&e.isValid&&Object(i.hasBlockSupport)(e.name,"reusable",!0)})&&!!a("create","blocks")}}),Object(a.withDispatch)(function(e,t){var n=t.clientIds,o=t.onToggle,r=void 0===o?f.noop:o,i=e("core/editor"),c=i.__experimentalConvertBlockToReusable,l=i.__experimentalConvertBlockToStatic;return{onConvertToStatic:function(){1===n.length&&(l(n[0]),r())},onConvertToReusable:function(){c(n),r()}}})])(function(e){var t=e.isVisible,n=e.isReusable,o=e.onConvertToStatic,r=e.onConvertToReusable;return t?Object(Ut.createElement)(Ut.Fragment,null,!n&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(p.__)("Add to Reusable Blocks")),n&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(p.__)("Convert to Regular Block"))):null});var Fi=Object(Kt.compose)([Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock,r=e("core").canUser,c=e("core/editor").__experimentalGetReusableBlock,l=o(n),a=l&&Object(i.isReusableBlock)(l)?c(l.attributes.ref):null;return{isVisible:!!a&&!!r("delete","blocks",a.id),isDisabled:a&&a.isTemporary}}),Object(a.withDispatch)(function(e,t,n){var o=t.clientId,r=t.onToggle,i=void 0===r?f.noop:r,c=n.select,l=e("core/editor").__experimentalDeleteReusableBlock,a=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(p.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))){var e=a(o);l(e.attributes.ref),i()}}}})])(function(e){var t=e.isVisible,n=e.isDisabled,o=e.onDelete;return t?Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return o()}},Object(p.__)("Remove from Reusable Blocks")):null});function Hi(e){var t=e.shouldRender,n=e.onClick,o=e.small;if(!t)return null;var r=Object(p.__)("Convert to Blocks");return Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!o&&r)}var Ui=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock(n);return{block:o,shouldRender:o&&"core/html"===o.name}}),Object(a.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}}))(Hi),Vi=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientId,o=e("core/block-editor").getBlock(n);return{block:o,shouldRender:o&&o.name===Object(i.getFreeformContentHandlerName)()}}),Object(a.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}}))(Hi),zi=Object(Zt.createSlotFill)("_BlockSettingsMenuFirstItem"),Ki=zi.Fill,Wi=zi.Slot;Ki.Slot=Wi;var Gi=Ki,qi=Object(Zt.createSlotFill)("_BlockSettingsMenuPluginsExtension"),Yi=qi.Fill,$i=qi.Slot;Yi.Slot=$i;var Xi=Yi;var Ji=Object(a.withDispatch)(function(e){var t=e("core/block-editor").selectBlock;return{onSelect:function(e){t(e)}}})(function(e){var t=e.clientIds,n=e.onSelect,o=Object(f.castArray)(t),r=o.length,i=o[0];return Object(Ut.createElement)(yi,{clientIds:t},function(e){var o=e.onDuplicate,c=e.onRemove,l=e.onInsertAfter,a=e.onInsertBefore,s=e.canDuplicate,u=e.isLocked;return Object(Ut.createElement)(Zt.Dropdown,{contentClassName:"editor-block-settings-menu__popover block-editor-block-settings-menu__popover",position:"bottom right",renderToggle:function(e){var t=e.onToggle,o=e.isOpen,c=zt()("editor-block-settings-menu__toggle block-editor-block-settings-menu__toggle",{"is-opened":o}),l=o?Object(p.__)("Hide options"):Object(p.__)("More options");return Object(Ut.createElement)(Zt.Toolbar,{controls:[{icon:"ellipsis",title:l,onClick:function(){1===r&&n(i),t()},className:c,extraProps:{"aria-expanded":o}}]})},renderContent:function(e){var n=e.onClose;return Object(Ut.createElement)(Zt.NavigableMenu,{className:"editor-block-settings-menu__content block-editor-block-settings-menu__content"},Object(Ut.createElement)(Gi.Slot,{fillProps:{onClose:n}}),1===r&&Object(Ut.createElement)(Vi,{clientId:i}),1===r&&Object(Ut.createElement)(Ui,{clientId:i}),!u&&s&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:o,icon:"admin-page",shortcut:Si.duplicate.display},Object(p.__)("Duplicate")),!u&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:a,icon:"insert-before",shortcut:Si.insertBefore.display},Object(p.__)("Insert Before")),Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:l,icon:"insert-after",shortcut:Si.insertAfter.display},Object(p.__)("Insert After"))),1===r&&Object(Ut.createElement)(Di,{clientId:i,onToggle:n}),Object(Ut.createElement)(Pi,{clientIds:t,onToggle:n}),Object(Ut.createElement)(Xi.Slot,{fillProps:{clientIds:t,onClose:n}}),Object(Ut.createElement)("div",{className:"editor-block-settings-menu__separator block-editor-block-settings-menu__separator"}),1===r&&Object(Ut.createElement)(Fi,{clientId:i,onToggle:n}),!u&&Object(Ut.createElement)(Zt.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:c,icon:"trash",shortcut:Si.removeBlock.display},Object(p.__)("Remove Block")))}})})}),Zi=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(Jt.a)(Object(Jt.a)(e))),e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,o=t.onTransform,r=t.inserterItems,c=t.hasBlockStyles,l=this.state.hoveredClassName;if(!n||!n.length)return null;var a,u=Object(f.mapKeys)(r,function(e){return e.name}),d=Object(f.orderBy)(Object(f.filter)(Object(i.getPossibleBlockTransformations)(n),function(e){return e&&!!u[e.name]}),function(e){return u[e.name].frecency},"desc");if(1===Object(f.uniq)(Object(f.map)(n,"name")).length){var b=n[0].name,h=Object(i.getBlockType)(b);a=h.icon}else a="layout";return c||d.length?Object(Ut.createElement)(Zt.Dropdown,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,o=e.isOpen,r=1===n.length?Object(p.__)("Change block type or style"):Object(p.sprintf)(Object(p._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(Ut.createElement)(Zt.Toolbar,null,Object(Ut.createElement)(Zt.IconButton,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":o,label:r,tooltip:r,onKeyDown:function(e){o||e.keyCode!==Cn.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(En,{icon:a,showColors:!0}),Object(Ut.createElement)(Zt.SVG,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Ut.createElement)(Zt.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var r=t.onClose;return Object(Ut.createElement)(Ut.Fragment,null,c&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Block Styles"),initialOpen:!0},Object(Ut.createElement)(xi,{clientId:n[0].clientId,onSwitch:r,onHoverClassName:e.onHoverClassName})),0!==d.length&&Object(Ut.createElement)(Zt.PanelBody,{title:Object(p.__)("Transform To:"),initialOpen:!0},Object(Ut.createElement)(Fo,{items:d.map(function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(e.name)}}),onSelect:function(e){o(n,e.id),r()}})),null!==l&&Object(Ut.createElement)(Do,{name:n[0].name,attributes:Object(s.a)({},n[0].attributes,{className:l})}))}}):Object(Ut.createElement)(Zt.Toolbar,null,Object(Ut.createElement)(Zt.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:Object(p.__)("Block icon")},Object(Ut.createElement)(En,{icon:a,showColors:!0})))}}]),t}(Ut.Component),Qi=Object(Kt.compose)(Object(a.withSelect)(function(e,t){var n=t.clientIds,o=e("core/block-editor"),r=o.getBlocksByClientId,i=o.getBlockRootClientId,c=o.getInserterItems,l=e("core/blocks").getBlockStyles,a=i(Object(f.first)(Object(f.castArray)(n))),s=r(n),u=s&&1===s.length?s[0]:null,d=u&&l(u.name);return{blocks:s,inserterItems:c(a),hasBlockStyles:d&&d.length>0}}),Object(a.withDispatch)(function(e,t){return{onTransform:function(n,o){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,o))}}}))(Zi);var ec=Object(a.withSelect)(function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}})(function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(Ut.createElement)(Qi,{key:"switcher",clientIds:n}):null});var tc=Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getBlockMode,r=t.getMultiSelectedBlockClientIds,i=t.isBlockValid,c=n();return{blockClientIds:c?[c]:r(),isValid:c?i(c):null,mode:c?o(c):null}})(function(e){var t=e.blockClientIds,n=e.isValid,o=e.mode;return 0===t.length?null:t.length>1?Object(Ut.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(Ut.createElement)(ec,null),Object(Ut.createElement)(Ji,{clientIds:t})):Object(Ut.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===o&&n&&Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(Qi,{clientIds:t}),Object(Ut.createElement)(mn.Slot,null),Object(Ut.createElement)(Sn.Slot,null)),Object(Ut.createElement)(Ji,{clientIds:t}))});var nc=Object(Kt.compose)([Object(a.withDispatch)(function(e,t,n){var o=(0,n.select)("core/block-editor"),r=o.getBlocksByClientId,c=o.getMultiSelectedBlockClientIds,l=o.getSelectedBlockClientId,a=o.hasMultiSelection,s=e("core/block-editor").removeBlocks,u=function(e){var t=l()?[l()]:c();if(0!==t.length&&(a()||!Object(Jn.documentHasSelection)())){var n=Object(i.serialize)(r(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n),e.preventDefault()}};return{onCopy:u,onCut:function(e){if(u(e),a()){var t=l()?[l()]:c();s(t)}}}})])(function(e){var t=e.children,n=e.onCopy,o=e.onCut;return Object(Ut.createElement)("div",{onCopy:n,onCut:o},t)}),oc=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=or(e);if(t){var n=Object(Jn.getScrollContainer)(t);n&&Mo()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(Ut.Component),rc=Object(a.withSelect)(function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}})(oc),ic=[Cn.UP,Cn.RIGHT,Cn.DOWN,Cn.LEFT,Cn.ENTER,Cn.BACKSPACE];var cc=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(Jt.a)(Object(Jt.a)(e))),e.startTypingInTextField=e.startTypingInTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(Jt.a)(Object(Jt.a)(e))),e.onKeyDown=Object(f.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var o=this.lastMouseMove,r=o.clientX,i=o.clientY;r===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===Cn.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,o=t.onStartTyping,r=e.type,i=e.target;n||!Object(Jn.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==r||function(e){var t=e.keyCode;return!e.shiftKey&&Object(f.includes)(ic,t)}(e))&&o()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout(function(){var n=t.props,o=n.isTyping,r=n.onStopTyping,i=e.target;o&&!Object(Jn.isTextField)(i)&&r()})}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(Ut.Component),lc=Object(Kt.compose)([Object(a.withSelect)(function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}}),Kt.withSafeTimeout])(cc),ac=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props,n=t.blockOrder,o=t.selectionStart;return n!==e.blockOrder&&o?this.getOffset(o):null}},{key:"componentDidUpdate",value:function(e,t,n){n&&this.restorePreviousOffset(n)}},{key:"getOffset",value:function(e){var t=or(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=or(this.props.selectionStart);if(t){var n=Object(Jn.getScrollContainer)(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(Ut.Component),sc=Object(a.withSelect)(function(e){return{blockOrder:e("core/block-editor").getBlockOrder(),selectionStart:e("core/block-editor").getBlockSelectionStart()}})(ac),uc=window.getSelection,dc=Object(f.overEvery)([Jn.isTextField,Jn.focus.tabbable.isTabbableIndex]);var bc=function(e){function t(){var e;return Object(Gt.a)(this,t),(e=Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Object(Jt.a)(Object(Jt.a)(e))),e.bindContainer=e.bindContainer.bind(Object(Jt.a)(Object(Jt.a)(e))),e.clearVerticalRect=e.clearVerticalRect.bind(Object(Jt.a)(Object(Jt.a)(e))),e.focusLastTextField=e.focusLastTextField.bind(Object(Jt.a)(Object(Jt.a)(e))),e.verticalRect=null,e}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=Jn.focus.focusable.find(this.container);return t&&(n=Object(f.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(f.find)(n,function t(n,o,r){if(!Jn.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Jn.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=r[o+c])&&n.contains(i);c++)if(t(i,o+c,r))return!1;return!0})}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,o=t.selectionStartClientId,r=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,c=e?r:i;c&&this.props.onMultiSelect(o||n,c)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,o=t.selectedLastClientId,r=e?n:o;r&&this.props.onSelectBlock(r)}},{key:"isTabbableEdge",value:function(e,t){var n,o,r=this.getClosestTabbable(e,t);return!(r&&(n=e,o=r,n.closest("[data-block]")===o.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,o=t.onMultiSelect,r=t.blocks,i=t.selectionBeforeEndClientId,c=t.selectionAfterEndClientId,l=e.keyCode,a=e.target,s=l===Cn.UP,u=l===Cn.DOWN,d=l===Cn.LEFT,b=l===Cn.RIGHT,p=s||d,h=d||b,v=s||u,m=h||v,g=e.shiftKey,O=g||e.ctrlKey||e.altKey||e.metaKey,k=v?Jn.isVerticalEdge:Jn.isHorizontalEdge;if(!m)return Cn.isKeyboardEvent.primary(e)&&(this.isEntirelySelected=Object(Jn.isEntirelySelected)(a)),void(Cn.isKeyboardEvent.primary(e,"a")&&((a.isContentEditable?this.isEntirelySelected:Object(Jn.isEntirelySelected)(a))&&(o(Object(f.first)(r),Object(f.last)(r)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Cn.UP||t===Cn.DOWN)&&!n)return!0;var o=e.tagName;return"INPUT"!==o&&"TEXTAREA"!==o}(a,l,O))if(v?this.verticalRect||(this.verticalRect=Object(Jn.computeCaretRect)(a)):this.verticalRect=null,g)(p&&i||!p&&c)&&(n||this.isTabbableEdge(a,p)&&k(a,p))&&(this.expandSelection(p),e.preventDefault());else if(n)this.moveSelection(p),e.preventDefault();else if(v&&Object(Jn.isVerticalEdge)(a,p)){var j=this.getClosestTabbable(a,p);j&&(Object(Jn.placeCaretAtVerticalEdge)(j,p,this.verticalRect),e.preventDefault())}else if(h&&uc().isCollapsed&&Object(Jn.isHorizontalEdge)(a,p)){var y=this.getClosestTabbable(a,p);Object(Jn.placeCaretAtHorizontalEdge)(y,p),e.preventDefault()}}},{key:"focusLastTextField",value:function(){var e=Jn.focus.focusable.find(this.container),t=Object(f.findLast)(e,dc);t&&Object(Jn.placeCaretAtHorizontalEdge)(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)("div",{className:"editor-writing-flow block-editor-writing-flow"},Object(Ut.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(Ut.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect block-editor-writing-flow__click-redirect"}))}}]),t}(Ut.Component),fc=Object(Kt.compose)([Object(a.withSelect)(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,o=t.getMultiSelectedBlocksStartClientId,r=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,l=t.getFirstMultiSelectedBlockClientId,a=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=n(),b=o(),f=r();return{selectedBlockClientId:d,selectionStartClientId:b,selectionBeforeEndClientId:i(f||d),selectionAfterEndClientId:c(f||d),selectedFirstClientId:l(),selectedLastClientId:a(),hasMultiSelection:s(),blocks:u()}}),Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}})])(bc),pc=function(e){function t(){return Object(Gt.a)(this,t),Object(Yt.a)(this,Object($t.a)(t).apply(this,arguments))}return Object(Xt.a)(t,e),Object(qt.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,o=t.updateSettings,r=t.value,i=t.resetBlocks,c=t.registry;n!==e.settings&&o(n),c!==e.registry&&this.attachChangeObserver(c),this.isSyncingOutcomingValue?this.isSyncingOutcomingValue=!1:r!==e.value&&(this.isSyncingIncomingValue=!0,i(r))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),o=n.getBlocks,r=n.isLastBlockChangePersistent,i=o(),c=r();this.unsubscribe=e.subscribe(function(){var e=t.props,n=e.onChange,l=e.onInput,a=o(),s=r();if(a!==i&&t.isSyncingIncomingValue)return t.isSyncingIncomingValue=!1,i=a,void(c=s);(a!==i||s&&!c)&&(i=a,c=s,t.isSyncingOutcomingValue=!0,c?n(i):l(i))})}},{key:"render",value:function(){var e=this.props.children;return Object(Ut.createElement)(Zt.SlotFillProvider,null,Object(Ut.createElement)(Zt.DropZoneProvider,null,e))}}]),t}(Ut.Component),hc=Object(Kt.compose)([Object(a.withDispatch)(function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}}),a.withRegistry])(pc),vc=["left","center","right","wide","full"],mc=["wide","full"];function gc(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?vc:[],!o||!0===e&&!n?f.without.apply(void 0,[t].concat(mc)):t}var Oc=Object(Kt.createHigherOrderComponent)(function(e){return function(t){var n=t.name,o=gc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(Ut.createElement)(mn,{key:"align-controls"},Object(Ut.createElement)(bn,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(f.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(Ut.createElement)(e,Object(Ht.a)({key:"edit"},t))]}},"withToolbarControls"),kc=Object(Kt.createHigherOrderComponent)(Object(Kt.compose)([Object(a.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.name,o=t.attributes,r=t.hasWideEnabled,c=o.align,l=gc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),r),a=t.wrapperProps;return Object(f.includes)(l,c)&&(a=Object(s.a)({},a,{"data-align":c})),Object(Ut.createElement)(e,Object(Ht.a)({},t,{wrapperProps:a}))}}]));Object(Wt.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Object(f.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(f.assign)(e.attributes,{align:{type:"string"}})),e)}),Object(Wt.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",kc),Object(Wt.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Oc),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",function(e,t,n){var o=n.align,r=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(f.includes)(gc(r,c),o)&&(e.className=zt()("align".concat(o),e.className)),e});var jc=/[\s#]/g;var yc=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(e,t),Object(Ut.createElement)(Or,null,Object(Ut.createElement)(Zt.TextControl,{label:Object(p.__)("HTML Anchor"),help:Object(p.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(jc,"-"),t.setAttributes({anchor:e})}}))):Object(Ut.createElement)(e,t)}},"withInspectorControl");Object(Wt.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(f.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(Wt.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",yc),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e});var _c=Object(Kt.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(Ut.createElement)(Ut.Fragment,null,Object(Ut.createElement)(e,t),Object(Ut.createElement)(Or,null,Object(Ut.createElement)(Zt.TextControl,{label:Object(p.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})}}))):Object(Ut.createElement)(e,t)}},"withInspectorControl");function Sc(e){e="
".concat(e,"
");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(Wt.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(f.assign)(e.attributes,{className:{type:"string"}})),e}),Object(Wt.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",_c),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=zt()(e.className,n.className)),e}),Object(Wt.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var o=Object(f.omit)(e,["className"]),r=Object(i.getSaveContent)(t,o),c=Sc(r),l=Sc(n),a=Object(f.difference)(l,c);a.length?e.className=a.join(" "):r&&delete e.className}return e}),Object(Wt.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(f.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(d.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}),n.d(t,"Autocomplete",function(){return cn}),n.d(t,"AlignmentToolbar",function(){return an}),n.d(t,"BlockAlignmentToolbar",function(){return bn}),n.d(t,"BlockControls",function(){return mn}),n.d(t,"BlockEdit",function(){return On}),n.d(t,"BlockFormatControls",function(){return Sn}),n.d(t,"BlockNavigationDropdown",function(){return Bn}),n.d(t,"BlockIcon",function(){return En}),n.d(t,"ColorPalette",function(){return Ln}),n.d(t,"withColorContext",function(){return xn}),n.d(t,"ContrastChecker",function(){return Kn}),n.d(t,"InnerBlocks",function(){return pr}),n.d(t,"InspectorAdvancedControls",function(){return Or}),n.d(t,"InspectorControls",function(){return Sr}),n.d(t,"PanelColorSettings",function(){return Tr}),n.d(t,"PlainText",function(){return Br}),n.d(t,"RichText",function(){return si}),n.d(t,"RichTextShortcut",function(){return zr}),n.d(t,"RichTextToolbarButton",function(){return ei}),n.d(t,"UnstableRichTextInputEvent",function(){return ti}),n.d(t,"MediaPlaceholder",function(){return hi}),n.d(t,"MediaUpload",function(){return ui}),n.d(t,"MediaUploadCheck",function(){return co}),n.d(t,"URLInput",function(){return ki}),n.d(t,"URLInputButton",function(){return ji}),n.d(t,"URLPopover",function(){return di}),n.d(t,"BlockEditorKeyboardShortcuts",function(){return Ei}),n.d(t,"BlockInspector",function(){return Mi}),n.d(t,"BlockList",function(){return br}),n.d(t,"BlockMover",function(){return io}),n.d(t,"BlockSelectionClearer",function(){return Ai}),n.d(t,"BlockSettingsMenu",function(){return Ji}),n.d(t,"_BlockSettingsMenuFirstItem",function(){return Gi}),n.d(t,"_BlockSettingsMenuPluginsExtension",function(){return Xi}),n.d(t,"BlockTitle",function(){return So}),n.d(t,"BlockToolbar",function(){return tc}),n.d(t,"CopyHandler",function(){return nc}),n.d(t,"DefaultBlockAppender",function(){return sr}),n.d(t,"Inserter",function(){return qo}),n.d(t,"MultiBlocksSwitcher",function(){return ec}),n.d(t,"MultiSelectScrollIntoView",function(){return rc}),n.d(t,"NavigableToolbar",function(){return Bo}),n.d(t,"ObserveTyping",function(){return lc}),n.d(t,"PreserveScrollInReorder",function(){return sc}),n.d(t,"SkipToSelectedBlock",function(){return wi}),n.d(t,"Warning",function(){return so}),n.d(t,"WritingFlow",function(){return fc}),n.d(t,"BlockEditorProvider",function(){return hc}),n.d(t,"getColorClassName",function(){return Dn}),n.d(t,"getColorObjectByAttributeValues",function(){return Rn}),n.d(t,"getColorObjectByColorValue",function(){return An}),n.d(t,"createCustomColorsHOC",function(){return Vn}),n.d(t,"withColors",function(){return zn}),n.d(t,"getFontSize",function(){return Wn}),n.d(t,"getFontSizeClass",function(){return Gn}),n.d(t,"FontSizePicker",function(){return qn}),n.d(t,"withFontSizes",function(){return Yn}),n.d(t,"SETTINGS_DEFAULTS",function(){return v})},37:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},38:function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t){!function(){e.exports=this.wp.viewport}()},41:function(e,t,n){e.exports=function(e,t){var n,o,r,i=0;function c(){var t,c,l=o,a=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(c=0;c1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)o=r=i=n;else{var l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;o=c(a,l,e+1/3),r=c(a,l,e),i=c(a,l,e-1/3)}return{r:255*o,g:255*r,b:255*i}}(e.h,o,a),d=!0,b="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,h;return n=L(n),{ok:d,format:e.format||b,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=l++}function f(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var o,r,i=u(e,t,n),c=s(e,t,n),l=(i+c)/2;if(i==c)o=r=0;else{var a=i-c;switch(r=l>.5?a/(2-i-c):a/(i+c),i){case e:o=(t-n)/a+(t>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(b(o));return i}function T(e,t){t=t||6;for(var n=b(e).toHsv(),o=n.h,r=n.s,i=n.v,c=[],l=1/t;t--;)c.push(b({h:o,s:r,v:i})),i=(i+l)%1;return c}b.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=a(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var i=[A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16)),A(P(o))];if(r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*N(this._r,255))+"%",g:a(100*N(this._g,255))+"%",b:a(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%)":"rgba("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=b(e);n="#"+v(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return b(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:D(e[o]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var o=b(e).toRgb(),r=b(t).toRgb(),i=n/100;return b({r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a})},b.readability=function(e,t){var n=b(e),o=b(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},b.isReadable=function(e,t,n){var o,r,i=b.readability(e,t);switch(r=!1,(o=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+o.size){case"AAsmall":case"AAAlarge":r=i>=4.5;break;case"AAlarge":r=i>=3;break;case"AAAsmall":r=i>=7}return r},b.mostReadable=function(e,t,n){var o,r,i,c,l=null,a=0;r=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sa&&(a=o,l=b(t[s]));return b.isReadable(e,l,{level:i,size:c})||!r?l:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var B=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function P(e){return r.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,U,V,z=(U="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",V="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function K(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(o=function(){return b}.call(t,n,t,e))||(e.exports=o)}(Math)},48:function(e,t){!function(){e.exports=this.wp.a11y}()},49:function(e,t){!function(){e.exports=this.wp.deprecated}()},5:function(e,t){!function(){e.exports=this.wp.data}()},54:function(e,t,n){var o=function(){return this||"object"==typeof self&&self}()||Function("return this")(),r=o.regeneratorRuntime&&Object.getOwnPropertyNames(o).indexOf("regeneratorRuntime")>=0,i=r&&o.regeneratorRuntime;if(o.regeneratorRuntime=void 0,e.exports=n(55),r)o.regeneratorRuntime=i;else try{delete o.regeneratorRuntime}catch(e){o.regeneratorRuntime=void 0}},55:function(e,t){!function(t){"use strict";var n,o=Object.prototype,r=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag",s="object"==typeof e,u=t.regeneratorRuntime;if(u)s&&(e.exports=u);else{(u=t.regeneratorRuntime=s?e.exports:{}).wrap=k;var d="suspendedStart",b="suspendedYield",f="executing",p="completed",h={},v={};v[c]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==o&&r.call(g,c)&&(v=g);var O=S.prototype=y.prototype=Object.create(v);_.prototype=O.constructor=S,S.constructor=_,S[a]=_.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(O),e},u.awrap=function(e){return{__await:e}},C(E.prototype),E.prototype[l]=function(){return this},u.AsyncIterator=E,u.async=function(e,t,n,o){var r=new E(k(e,t,n,o));return u.isGeneratorFunction(t)?r:r.next().then(function(e){return e.done?e.value:r.next()})},C(O),O[a]="Generator",O[c]=function(){return this},O.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},u.values=x,B.prototype={constructor:B,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(o,r){return l.type="throw",l.arg=e,t.next=o,r&&(t.method="next",t.arg=n),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],l=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var a=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(a&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:x(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=n),h}}}function k(e,t,n,o){var r=t&&t.prototype instanceof y?t:y,i=Object.create(r.prototype),c=new B(o||[]);return i._invoke=function(e,t,n){var o=d;return function(r,i){if(o===f)throw new Error("Generator is already running");if(o===p){if("throw"===r)throw i;return L()}for(n.method=r,n.arg=i;;){var c=n.delegate;if(c){var l=w(c,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var a=j(e,t,n);if("normal"===a.type){if(o=n.done?p:b,a.arg===h)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(o=p,n.method="throw",n.arg=a.arg)}}}(e,n,c),i}function j(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function y(){}function _(){}function S(){}function C(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function E(e){var t;this._invoke=function(n,o){function i(){return new Promise(function(t,i){!function t(n,o,i,c){var l=j(e[n],e,o);if("throw"!==l.type){var a=l.arg,s=a.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,i,c)},function(e){t("throw",e,i,c)}):Promise.resolve(s).then(function(e){a.value=e,i(a)},function(e){return t("throw",e,i,c)})}c(l.arg)}(n,o,t,i)})}return t=t?t.then(i,i):i()}}function w(e,t){var o=e.iterator[t.method];if(o===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,w(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=j(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function x(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o'), onChange: function onChange(nextContent) { setAttributes({ - content: nextContent + // Ensure line breaks are normalised to characters. This + // saves space, is easier to read, and ensures display + // filters work correctly. + content: nextContent.replace(/
/g, '\n') }); }, placeholder: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Write preformatted text…'), @@ -19134,106 +19153,6 @@ var settings = { "use strict"; __webpack_require__.r(__webpack_exports__); -// EXTERNAL MODULE: external {"this":["wp","i18n"]} -var external_this_wp_i18n_ = __webpack_require__(1); - -// EXTERNAL MODULE: external {"this":["wp","element"]} -var external_this_wp_element_ = __webpack_require__(0); - -// EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(8); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/edit.js - - -/** - * WordPress dependencies - */ - - -function SearchEdit(_ref) { - var className = _ref.className, - attributes = _ref.attributes, - setAttributes = _ref.setAttributes; - var label = attributes.label, - placeholder = attributes.placeholder, - buttonText = attributes.buttonText; - return Object(external_this_wp_element_["createElement"])("div", { - className: className - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - wrapperClassName: "wp-block-search__label", - "aria-label": Object(external_this_wp_i18n_["__"])('Label text'), - placeholder: Object(external_this_wp_i18n_["__"])('Add label…'), - keepPlaceholderOnFocus: true, - formattingControls: [], - value: label, - onChange: function onChange(html) { - return setAttributes({ - label: html - }); - } - }), Object(external_this_wp_element_["createElement"])("input", { - className: "wp-block-search__input", - "aria-label": Object(external_this_wp_i18n_["__"])('Optional placeholder text') // We hide the placeholder field's placeholder when there is a value. This - // stops screen readers from reading the placeholder field's placeholder - // which is confusing. - , - placeholder: placeholder ? undefined : Object(external_this_wp_i18n_["__"])('Optional placeholder…'), - value: placeholder, - onChange: function onChange(event) { - return setAttributes({ - placeholder: event.target.value - }); - } - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - wrapperClassName: "wp-block-search__button", - className: "wp-block-search__button-rich-text", - "aria-label": Object(external_this_wp_i18n_["__"])('Button text'), - placeholder: Object(external_this_wp_i18n_["__"])('Add button text…'), - keepPlaceholderOnFocus: true, - formattingControls: [], - value: buttonText, - onChange: function onChange(html) { - return setAttributes({ - buttonText: html - }); - } - })); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/index.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return search_name; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; }); -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - -var search_name = 'core/search'; -var settings = { - title: Object(external_this_wp_i18n_["__"])('Search'), - description: Object(external_this_wp_i18n_["__"])('Help visitors find your content.'), - icon: 'search', - category: 'widgets', - keywords: [Object(external_this_wp_i18n_["__"])('find')], - edit: SearchEdit, - save: function save() { - return null; - } -}; - - -/***/ }), -/* 251 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); - // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); @@ -19609,6 +19528,106 @@ var settings = { }; +/***/ }), +/* 251 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); + +// EXTERNAL MODULE: external {"this":["wp","i18n"]} +var external_this_wp_i18n_ = __webpack_require__(1); + +// EXTERNAL MODULE: external {"this":["wp","element"]} +var external_this_wp_element_ = __webpack_require__(0); + +// EXTERNAL MODULE: external {"this":["wp","blockEditor"]} +var external_this_wp_blockEditor_ = __webpack_require__(8); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/edit.js + + +/** + * WordPress dependencies + */ + + +function SearchEdit(_ref) { + var className = _ref.className, + attributes = _ref.attributes, + setAttributes = _ref.setAttributes; + var label = attributes.label, + placeholder = attributes.placeholder, + buttonText = attributes.buttonText; + return Object(external_this_wp_element_["createElement"])("div", { + className: className + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + wrapperClassName: "wp-block-search__label", + "aria-label": Object(external_this_wp_i18n_["__"])('Label text'), + placeholder: Object(external_this_wp_i18n_["__"])('Add label…'), + keepPlaceholderOnFocus: true, + formattingControls: [], + value: label, + onChange: function onChange(html) { + return setAttributes({ + label: html + }); + } + }), Object(external_this_wp_element_["createElement"])("input", { + className: "wp-block-search__input", + "aria-label": Object(external_this_wp_i18n_["__"])('Optional placeholder text') // We hide the placeholder field's placeholder when there is a value. This + // stops screen readers from reading the placeholder field's placeholder + // which is confusing. + , + placeholder: placeholder ? undefined : Object(external_this_wp_i18n_["__"])('Optional placeholder…'), + value: placeholder, + onChange: function onChange(event) { + return setAttributes({ + placeholder: event.target.value + }); + } + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + wrapperClassName: "wp-block-search__button", + className: "wp-block-search__button-rich-text", + "aria-label": Object(external_this_wp_i18n_["__"])('Button text'), + placeholder: Object(external_this_wp_i18n_["__"])('Add button text…'), + keepPlaceholderOnFocus: true, + formattingControls: [], + value: buttonText, + onChange: function onChange(html) { + return setAttributes({ + buttonText: html + }); + } + })); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/index.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return search_name; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; }); +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +var search_name = 'core/search'; +var settings = { + title: Object(external_this_wp_i18n_["__"])('Search'), + description: Object(external_this_wp_i18n_["__"])('Help visitors find your content.'), + icon: 'search', + category: 'widgets', + keywords: [Object(external_this_wp_i18n_["__"])('find')], + edit: SearchEdit, + save: function save() { + return null; + } +}; + + /***/ }), /* 252 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { @@ -20098,10 +20117,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _more__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(248); /* harmony import */ var _nextpage__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(249); /* harmony import */ var _preformatted__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(213); -/* harmony import */ var _pullquote__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(251); +/* harmony import */ var _pullquote__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(250); /* harmony import */ var _block__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(233); /* harmony import */ var _rss__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(252); -/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(250); +/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(251); /* harmony import */ var _separator__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(214); /* harmony import */ var _shortcode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(215); /* harmony import */ var _spacer__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(216); diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js index c143e8850c..f8061b3531 100644 --- a/wp-includes/js/dist/block-library.min.js +++ b/wp-includes/js/dist/block-library.min.js @@ -9,7 +9,7 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t){!function(){e.exports=this.wp.url}()},,,,,function(e,t,n){"use strict";var r=n(37);var o=n(38);function a(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}(e,t)||Object(o.a)()}n.d(t,"a",function(){return a})},function(e,t){!function(){e.exports=this.moment}()},,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return c}),n.d(t,"g",function(){return i}),n.d(t,"l",function(){return l}),n.d(t,"k",function(){return s}),n.d(t,"o",function(){return u}),n.d(t,"d",function(){return b}),n.d(t,"f",function(){return d}),n.d(t,"n",function(){return m}),n.d(t,"i",function(){return h}),n.d(t,"e",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"j",function(){return O}),n.d(t,"a",function(){return v});var r=n(0),o=n(4),a=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object(r.createElement)(o.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),l=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"})),s={foreground:"#1da1f2",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},u={foreground:"#ff0000",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},b={foreground:"#3b5998",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},d=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),m={foreground:"#0073AA",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},h={foreground:"#1db954",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},p=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),g={foreground:"#1ab7ea",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},f=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),O={foreground:"#35465c",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},v=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(r.createElement)(o.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(r.createElement)(o.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},,function(e,t){!function(){e.exports=this.wp.viewport}()},function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=B(e,360),t=B(t,100),n=B(n,100),0===t)r=o=a=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=c(l,i,e+1/3),o=c(l,i,e),a=c(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),b=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,h,p;return n=N(n),{ok:b,format:e.format||d,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=i++}function m(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,o,a=u(e,t,n),c=s(e,t,n),i=(a+c)/2;if(a==c)r=o=0;else{var l=a-c;switch(o=i>.5?l/(2-a-c):l/(a+c),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(d(r));return a}function T(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,a=n.v,c=[],i=1/t;t--;)c.push(d({h:r,s:o,v:a})),a=(a+i)%1;return c}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(z(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*B(this._r,255))+"%",g:l(100*B(this._g,255))+"%",b:l(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%)":"rgba("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(A[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:b(),g:b(),b:b()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),a=n/100;return d({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,a=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},d.mostReadable=function(e,t,n){var r,o,a,c,i=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;sl&&(l=r,i=d(t[s]));return d.isReadable(e,i,{level:a,size:c})||!o?i:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var R=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},A=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(R);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return s(1,u(0,e))}function P(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return P(e)/255}var D,F,U,V=(F="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",U="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+F),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+F),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+F),hsva:new RegExp("hsva"+U),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!V.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},,,,function(e,t){!function(){e.exports=this.wp.deprecated}()},function(e,t){!function(){e.exports=this.wp.date}()},,,function(e,t,n){"use strict";n.d(t,"e",function(){return h}),n.d(t,"d",function(){return p}),n.d(t,"a",function(){return g}),n.d(t,"c",function(){return f}),n.d(t,"b",function(){return O});var r=n(15),o=n(7),a=n(17),c=n(0),i=n(85),l=n(58),s=n(2),u=n(68),b=n.n(u),d=n(14),m=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},h=function(e){return Object(s.includes)(e,'class="wp-embedded-content" data-secret')},p=function(e){var t=e.thumbnail_url?e.thumbnail_url:e.url,n=Object(c.createElement)("p",null,Object(c.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(c.renderToString)(n)},g=function(e,t){var n=e.preview,r=e.name,c=e.attributes.url;if(c){var s=function(e){for(var t=[].concat(Object(a.a)(i.a),Object(a.a)(i.b)),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var o={"wp-has-aspect-ratio":!1},a=0;a=m.ratio)return b()(t,(d={},Object(r.a)(d,m.className,n),Object(r.a)(d,"wp-has-aspect-ratio",n),d))}return t}function O(e,t){var n=Object(c.createElement)("a",{href:e},e);t(Object(d.createBlock)("core/paragraph",{content:Object(c.renderToString)(n)}))}},,,,,function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return c});var r=["facebook.com","smugmug.com"],o=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],a="core/embed",c="core-embed/wordpress"},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,function(e,t){!function(){e.exports=this.wp.autop}()},,function(e,t,n){var r; +!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t){!function(){e.exports=this.wp.url}()},,,,,function(e,t,n){"use strict";var r=n(37);var o=n(38);function a(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}(e,t)||Object(o.a)()}n.d(t,"a",function(){return a})},function(e,t){!function(){e.exports=this.moment}()},,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return c}),n.d(t,"g",function(){return i}),n.d(t,"l",function(){return l}),n.d(t,"k",function(){return s}),n.d(t,"o",function(){return u}),n.d(t,"d",function(){return b}),n.d(t,"f",function(){return d}),n.d(t,"n",function(){return m}),n.d(t,"i",function(){return h}),n.d(t,"e",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"j",function(){return O}),n.d(t,"a",function(){return v});var r=n(0),o=n(4),a=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object(r.createElement)(o.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),l=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.Path,{d:"m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"})),s={foreground:"#1da1f2",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},u={foreground:"#ff0000",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},b={foreground:"#3b5998",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},d=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),m={foreground:"#0073AA",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},h={foreground:"#1db954",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},p=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),g={foreground:"#1ab7ea",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},f=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),O={foreground:"#35465c",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},v=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(r.createElement)(o.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(r.createElement)(o.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},,function(e,t){!function(){e.exports=this.wp.viewport}()},function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=B(e,360),t=B(t,100),n=B(n,100),0===t)r=o=a=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=c(l,i,e+1/3),o=c(l,i,e),a=c(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),b=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,h,p;return n=N(n),{ok:b,format:e.format||d,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=i++}function m(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,o,a=u(e,t,n),c=s(e,t,n),i=(a+c)/2;if(a==c)r=o=0;else{var l=a-c;switch(o=i>.5?l/(2-a-c):l/(a+c),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(d(r));return a}function T(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,a=n.v,c=[],i=1/t;t--;)c.push(d({h:r,s:o,v:a})),a=(a+i)%1;return c}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(z(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*B(this._r,255))+"%",g:l(100*B(this._g,255))+"%",b:l(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%)":"rgba("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(A[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:b(),g:b(),b:b()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),a=n/100;return d({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,a=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},d.mostReadable=function(e,t,n){var r,o,a,c,i=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;sl&&(l=r,i=d(t[s]));return d.isReadable(e,i,{level:a,size:c})||!o?i:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var R=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},A=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(R);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return s(1,u(0,e))}function P(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return P(e)/255}var D,F,U,V=(F="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",U="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+F),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+F),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+F),hsva:new RegExp("hsva"+U),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!V.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},,,,function(e,t){!function(){e.exports=this.wp.deprecated}()},function(e,t){!function(){e.exports=this.wp.date}()},,,function(e,t,n){"use strict";n.d(t,"e",function(){return h}),n.d(t,"d",function(){return p}),n.d(t,"a",function(){return g}),n.d(t,"c",function(){return f}),n.d(t,"b",function(){return O});var r=n(15),o=n(7),a=n(17),c=n(0),i=n(85),l=n(58),s=n(2),u=n(68),b=n.n(u),d=n(14),m=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},h=function(e){return Object(s.includes)(e,'class="wp-embedded-content"')},p=function(e){var t=e.thumbnail_url?e.thumbnail_url:e.url,n=Object(c.createElement)("p",null,Object(c.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(c.renderToString)(n)},g=function(e,t){var n=e.preview,r=e.name,c=e.attributes.url;if(c){var s=function(e){for(var t=[].concat(Object(a.a)(i.a),Object(a.a)(i.b)),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var o={"wp-has-aspect-ratio":!1},a=0;a=m.ratio)return b()(t,(d={},Object(r.a)(d,m.className,n),Object(r.a)(d,"wp-has-aspect-ratio",n),d))}return t}function O(e,t){var n=Object(c.createElement)("a",{href:e},e);t(Object(d.createBlock)("core/paragraph",{content:Object(c.renderToString)(n)}))}},,,,,function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return c});var r=["facebook.com","smugmug.com"],o=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],a="core/embed",c="core-embed/wordpress"},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,function(e,t){!function(){e.exports=this.wp.autop}()},,function(e,t,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see @@ -20,6 +20,6 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=n(120);function v(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a127?B+="x":B+=N[I];if(!B.match(m)){var L=R.slice(0,x),M=R.slice(x+1),z=N.match(h);z&&(L.push(z[1]),M.unshift(z[2])),M.length&&(v="/"+M.join(".")+v),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!p[_])for(x=0,A=u.length;x0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=w.slice(-1)[0],E=(n.host||e.host||w.length>1)&&("."===C||".."===C)||""===C,x=0,S=w.length;S>=0;S--)"."===(C=w[S])?w.splice(S,1):".."===C?(w.splice(S,1),x++):x&&(w.splice(S,1),x--);if(!y&&!_)for(;x--;x)w.unshift("..");!y||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),E&&"/"!==w.join("/").substr(-1)&&w.push("");var T,R=""===w[0]||w[0]&&"/"===w[0].charAt(0);k&&(n.hostname=n.host=R?"":w.length?w.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&w.length)&&!R&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return i});var r=n(36),o=n(1),a=n(14),c=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:r.k,keywords:["tweet"],description:Object(o.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:r.o,keywords:[Object(o.__)("music"),Object(o.__)("video")],description:Object(o.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:r.d,description:Object(o.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:r.f,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:r.n,keywords:[Object(o.__)("post"),Object(o.__)("blog")],responsive:!1,description:Object(o.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:r.i,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:r.e,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:r.m,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],i=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:r.l,description:Object(o.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:r.c,description:Object(o.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:r.l,description:Object(o.__)("Embed CollegeHumor content.")},patterns:[/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:r.c,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(a.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(o.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:r.l,description:Object(o.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:r.l,description:Object(o.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:r.g,description:Object(o.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:r.c,description:Object(o.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:r.c,description:Object(o.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:r.c,description:Object(o.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:r.c,description:Object(o.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:r.h,description:Object(o.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:r.b,description:Object(o.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:r.l,description:Object(o.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:r.c,description:Object(o.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:r.c,description:Object(o.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:r.g,description:Object(o.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:r.b,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:r.c,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(a.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(o.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:r.l,description:Object(o.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:r.j,description:Object(o.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:r.l,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:r.l,description:Object(o.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:r.a,keywords:[Object(o.__)("ebook")],responsive:!1,description:Object(o.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}]},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(85),a=n(36),c=n(15),i=n(0),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(53),p=n(1),g=n(4),f=n(8),O=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,l=e.switchBackToURLInput;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.BlockControls,null,Object(i.createElement)(g.Toolbar,null,n&&Object(i.createElement)(g.IconButton,{className:"components-toolbar__control",label:Object(p.__)("Edit URL"),icon:"edit",onClick:l}))),r&&t&&Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(g.PanelBody,{title:Object(p.__)("Media Settings"),className:"blocks-responsive"},Object(i.createElement)(g.ToggleControl,{label:Object(p.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},v=function(){return Object(i.createElement)("div",{className:"wp-block-embed is-loading"},Object(i.createElement)(g.Spinner,null),Object(i.createElement)("p",null,Object(p.__)("Embedding…")))},j=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,l=e.fallback,s=e.tryAgain;return Object(i.createElement)(g.Placeholder,{icon:Object(i.createElement)(f.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed"},Object(i.createElement)("form",{onSubmit:o},Object(i.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(p.__)("Enter URL to embed here…"),onChange:a}),Object(i.createElement)(g.Button,{isLarge:!0,type:"submit"},Object(p._x)("Embed","button label")),c&&Object(i.createElement)("p",{className:"components-placeholder__error"},Object(p.__)("Sorry, this content could not be embedded."),Object(i.createElement)("br",null),Object(i.createElement)(g.Button,{isLarge:!0,onClick:s},Object(p._x)("Try again","button label"))," ",Object(i.createElement)(g.Button,{isLarge:!0,onClick:l},Object(p._x)("Convert to link","button label")))))},y=n(58),_=n(84),w=n(2),k=n(68),C=n.n(k),E=n(6),x=window.FocusEvent,S=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(m.a)(Object(m.a)(e))),e.node=Object(i.createRef)(),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new x("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(i.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(i.Component),T=Object(E.withGlobalEvents)({blur:"checkFocus"})(S),R=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(m.a)(Object(m.a)(e))),e.state={interactive:!1},e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e=this.props,t=e.preview,n=e.url,r=e.type,o=e.caption,a=e.onCaptionChange,c=e.isSelected,l=e.className,s=e.icon,u=e.label,b=t.scripts,d=this.state.interactive,m="photo"===r?Object(h.d)(t):t.html,O=Object(_.parse)(n).host.split("."),v=O.splice(O.length-2,O.length-1).join("."),j=Object(w.includes)(y.c,v),k=Object(p.sprintf)(Object(p.__)("Embedded content from %s"),v),E=C()(r,l,"wp-block-embed__wrapper"),x="wp-embed"===r?Object(i.createElement)(T,{html:m}):Object(i.createElement)("div",{className:"wp-block-embed__wrapper"},Object(i.createElement)(g.SandBox,{html:m,scripts:b,title:k,type:E,onFocus:this.hideOverlay}),!d&&Object(i.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(i.createElement)("figure",{className:C()(l,"wp-block-embed",{"is-type-video":"video"===r})},j?Object(i.createElement)(g.Placeholder,{icon:Object(i.createElement)(f.BlockIcon,{icon:s,showColors:!0}),label:u},Object(i.createElement)("p",{className:"components-placeholder__error"},Object(i.createElement)("a",{href:n},n)),Object(i.createElement)("p",{className:"components-placeholder__error"},Object(p.sprintf)(Object(p.__)("Embedded content from %s can't be previewed in the editor."),v))):x,(!f.RichText.isEmpty(o)||c)&&Object(i.createElement)(f.RichText,{tagName:"figcaption",placeholder:Object(p.__)("Write caption…"),value:o,onChange:a,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(i.Component);var A=n(5),N={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function B(e){var t=e.title,n=e.description,o=e.icon,a=e.category,g=void 0===a?"embed":a,y=e.transforms,_=e.keywords,k=void 0===_?[]:_,x=e.supports,S=void 0===x?{}:x,T=e.responsive,B=void 0===T||T,I=n||Object(p.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),P=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){function o(){var e;return Object(l.a)(this,o),(e=Object(u.a)(this,Object(b.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(m.a)(Object(m.a)(e))),e.setUrl=e.setUrl.bind(Object(m.a)(Object(m.a)(e))),e.getAttributesFromPreview=e.getAttributesFromPreview.bind(Object(m.a)(Object(m.a)(e))),e.setAttributesFromPreview=e.setAttributesFromPreview.bind(Object(m.a)(Object(m.a)(e))),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(m.a)(Object(m.a)(e))),e.toggleResponsive=e.toggleResponsive.bind(Object(m.a)(Object(m.a)(e))),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(m.a)(Object(m.a)(e))),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(d.a)(o,r),Object(s.a)(o,[{key:"handleIncomingPreview",value:function(){var e=this.props.attributes.allowResponsive;this.setAttributesFromPreview();var t=Object(h.a)(this.props,this.getAttributesFromPreview(this.props.preview,e));t&&this.props.onReplace(t)}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return;this.handleIncomingPreview()}}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getAttributesFromPreview",value:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={},a=t.type,c=void 0===a?"rich":a,i=t.html,l=t.provider_name,s=Object(w.kebabCase)(Object(w.toLower)(""!==l?l:e));return Object(h.e)(i)&&(c="wp-embed"),(i||"photo"===c)&&(o.type=c,o.providerNameSlug=s),o.className=Object(h.c)(i,this.props.attributes.className,n&&r),o}},{key:"setAttributesFromPreview",value:function(){var e=this.props,t=e.setAttributes,n=e.preview,r=this.props.attributes.allowResponsive;t(this.getAttributesFromPreview(n,r))}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(p.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(p.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:Object(h.c)(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,l=this.props.attributes,s=l.caption,u=l.type,b=l.allowResponsive,d=this.props,m=d.fetching,g=d.setAttributes,f=d.isSelected,y=d.className,_=d.preview,w=d.cannotEmbed,k=d.themeSupportsResponsive,C=d.tryAgain;if(m)return Object(i.createElement)(v,null);var E=Object(p.sprintf)(Object(p.__)("%s URL"),e);return!_||w||c?Object(i.createElement)(j,{icon:t,label:E,onSubmit:this.setUrl,value:a,cannotEmbed:w,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return Object(h.b)(a,r.props.onReplace)},tryAgain:C}):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(O,{showEditButton:_&&!w,themeSupportsResponsive:k,blockSupportsResponsive:n,allowResponsive:b,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(i.createElement)(R,{preview:_,className:y,url:a,type:u,caption:s,onCaptionChange:function(e){return g({caption:e})},isSelected:f,icon:t,label:E}))}}]),o}(i.Component)}(t,o,B);return{title:t,description:I,icon:o,category:g,keywords:k,attributes:N,supports:Object(r.a)({align:!0},S),transforms:y,edit:Object(E.compose)(Object(A.withSelect)(function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),d=!!l&&void 0===l.type&&!1===l.html,m=!!l&&l.data&&404===l.data.status,h=!!l&&!d&&!m,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}}),Object(A.withDispatch)(function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}}))(P),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,l=n.providerNameSlug;if(!r)return null;var s=C()("wp-block-embed",(t={},Object(c.a)(t,"is-type-".concat(a),a),Object(c.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},Object(i.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:N,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,l=n.providerNameSlug;if(!r)return null;var s=C()("wp-block-embed",(t={},Object(c.a)(t,"is-type-".concat(a),a),Object(c.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},"\n".concat(r,"\n"),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var I=n(14);n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return L}),n.d(t,"common",function(){return M}),n.d(t,"others",function(){return z});var P="core/embed",L=B({title:Object(p._x)("Embed","block title"),description:Object(p.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:a.c,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(I.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),M=o.a.map(function(e){return Object(r.a)({},e,{settings:B(e.settings)})}),z=o.b.map(function(e){return Object(r.a)({},e,{settings:B(e.settings)})})},,,,,,,function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){t&&t.nodeType,e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var i,l=2147483647,s=36,u=1,b=26,d=38,m=700,h=72,p=128,g="-",f=/^xn--/,O=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,_=Math.floor,w=String.fromCharCode;function k(e){throw new RangeError(j[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(v,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,n){var r=0;for(e=n?_(e/m):e>>1,e+=_(e/t);e>y*b>>1;r+=s)e=_(e/y);return _(r+(y+1)*e/(e+d))}function A(e){var t,n,r,o,a,c,i,d,m,f,O,v=[],j=e.length,y=0,w=p,C=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r=128&&k("not-basic"),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&k("invalid-input"),((d=(O=e.charCodeAt(o++))-48<10?O-22:O-65<26?O-65:O-97<26?O-97:s)>=s||d>_((l-y)/c))&&k("overflow"),y+=d*c,!(d<(m=i<=C?u:i>=C+b?b:i-C));i+=s)c>_(l/(f=s-m))&&k("overflow"),c*=f;C=R(y-a,t=v.length+1,0==a),_(y/t)>l-w&&k("overflow"),w+=_(y/t),y%=t,v.splice(y++,0,w)}return S(v)}function N(e){var t,n,r,o,a,c,i,d,m,f,O,v,j,y,C,E=[];for(v=(e=x(e)).length,t=p,n=0,a=h,c=0;c=t&&O_((l-n)/(j=r+1))&&k("overflow"),n+=(i-t)*j,t=i,c=0;cl&&k("overflow"),O==t){for(d=n,m=s;!(d<(f=m<=a?u:m>=a+b?b:m-a));m+=s)C=d-f,y=s-f,E.push(w(T(f+C%y,0))),d=_(C/y);E.push(w(T(d,0))),a=R(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.4.1",ucs2:{decode:x,encode:S},decode:A,encode:N,toASCII:function(e){return E(e,function(e){return O.test(e)?"xn--"+N(e):e})},toUnicode:function(e){return E(e,function(e){return f.test(e)?A(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(118)(e),n(59))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(121),t.encode=t.stringify=n(122)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=p.substr(0,g),d=p.substr(g+1)):(b=p,d=""),m=decodeURIComponent(b),h=decodeURIComponent(d),r(c,m)?o(c[m])?c[m].push(h):c[m]=[c[m],h]:c[m]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],function(e){return i+encodeURIComponent(r(e))}).join(t):i+encodeURIComponent(r(e[c]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r2?i-2:0),s=2;s1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===m.F10&&t.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(o._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(i,"has-advanced-toolbar",t)}}),e.on("init",function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(i,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(o.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.editor.focus())})}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.clientId;return[Object(r.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(o.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(r.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(r.Component);n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var g="core/freeform",f={title:Object(o._x)("Classic","block title"),description:Object(o.__)("Use the classic WordPress editor."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object(r.createElement)(a.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(r.createElement)(a.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"17",y:"8",width:"2",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},edit:p,save:function(e){var t=e.attributes.content;return Object(r.createElement)(r.RawHTML,null,t)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r,o=n(7),a=n(21),c=n(17),i=n(15),l=n(0),s=n(2),u=n(1),b=n(14),d=n(8),m=n(20),h=n(4),p=(r={},Object(i.a)(r,"value",{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""}),Object(i.a)(r,"citation",{type:"string",source:"html",selector:"cite",default:""}),Object(i.a)(r,"align",{type:"string"}),r),g="core/quote",f={title:Object(u.__)("Quote"),description:Object(u.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"})),category:"common",keywords:[Object(u.__)("blockquote")],attributes:p,styles:[{name:"default",label:Object(u._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(u._x)("Large","block style")}],transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(b.createBlock)("core/quote",{value:Object(m.toHTMLString)({value:Object(m.join)(e.map(function(e){var t=e.content;return Object(m.create)({html:t})}),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(b.createBlock)("core/quote",{value:"

".concat(t,"

")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(b.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(b.createBlock)("core/quote",{value:"

".concat(e,"

")})}},{type:"raw",isMatch:function(e){var t,n=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(n)},schema:{blockquote:{children:{p:{children:Object(b.getPhrasingContentSchema)()},cite:{children:Object(b.getPhrasingContentSchema)()}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=[];return t&&"

"!==t&&r.push.apply(r,Object(c.a)(Object(m.split)(Object(m.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(b.createBlock)("core/paragraph",{content:Object(m.toHTMLString)({value:e})})}))),n&&"

"!==n&&r.push(Object(b.createBlock)("core/paragraph",{content:n})),0===r.length?Object(b.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(a.a)(e,["value","citation"]);if("

"===t)return Object(b.createBlock)("core/heading",{content:n});var c=Object(m.split)(Object(m.create)({html:t,multilineTag:"p"}),"\u2028"),i=Object(b.createBlock)("core/heading",{content:Object(m.toHTMLString)({value:c[0]})});if(!n&&1===c.length)return i;var l=c.slice(1);return[i,Object(b.createBlock)("core/quote",Object(o.a)({},r,{citation:n,value:Object(m.toHTMLString)({value:l.length?Object(m.join)(c.slice(1),"\u2028"):Object(m.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(b.createBlock)("core/pullquote",{value:t,citation:n})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,s=t.value,b=t.citation;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(d.BlockControls,null,Object(l.createElement)(d.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(l.createElement)("blockquote",{className:c,style:{textAlign:i}},Object(l.createElement)(d.RichText,{identifier:"value",multiline:!0,value:s,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!b||0===b.length;!e&&t&&a([])},placeholder:Object(u.__)("Write quote…")}),(!d.RichText.isEmpty(b)||r)&&Object(l.createElement)(d.RichText,{identifier:"citation",value:b,onChange:function(e){return n({citation:e})},placeholder:Object(u.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(l.createElement)("blockquote",{style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return n&&"

"!==n?Object(o.a)({},e,{value:e.value+n,citation:e.citation+r}):Object(o.a)({},e,{citation:e.citation+r})},deprecated:[{attributes:Object(o.a)({},p,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(o.a)({},Object(s.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(l.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(o.a)({},p,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(l.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"footer",value:o}))}}]}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r=n(0),o=n(2),a=n(16),c=n.n(a),i=n(41),l=n.n(i),s=n(1),u=n(4),b=n(14),d=n(8),m=["core/column"],h=l()(function(e){return Object(o.times)(e,function(){return["core/column"]})});function p(e){var t,n=p.doc;n||(n=document.implementation.createHTMLDocument(""),p.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var g="core/columns",f={title:Object(s.__)("Columns"),icon:Object(r.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(u.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(u.G,null,Object(r.createElement)(u.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"}))),category:"layout",attributes:{columns:{type:"number",default:2}},description:Object(s.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},deprecated:[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some(function(e){return/layout-column-\d+/.test(e.originalContent)})&&t.some(function(e){return void 0!==p(e.originalContent)})},migrate:function(e,t){return[e,t.reduce(function(e,t){var n=p(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(b.createBlock)("core/column",{},e)})]},save:function(e){var t=e.attributes.columns;return Object(r.createElement)("div",{className:"has-".concat(t,"-columns")},Object(r.createElement)(d.InnerBlocks.Content,null))}}],edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,a=t.columns,i=c()(o,"has-".concat(a,"-columns"));return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(d.InspectorControls,null,Object(r.createElement)(u.PanelBody,null,Object(r.createElement)(u.RangeControl,{label:Object(s.__)("Columns"),value:a,onChange:function(e){n({columns:e})},min:2,max:6,required:!0}))),Object(r.createElement)("div",{className:i},Object(r.createElement)(d.InnerBlocks,{template:h(a),templateLock:"all",allowedBlocks:m})))},save:function(e){var t=e.attributes.columns;return Object(r.createElement)("div",{className:"has-".concat(t,"-columns")},Object(r.createElement)(d.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(4),a=n(1),c=n(8),i="core/column",l={title:Object(a.__)("Column"),parent:["core/columns"],icon:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"})),description:Object(a.__)("A single column within a columns block."),category:"common",supports:{inserter:!1,reusable:!1,html:!1},edit:function(){return Object(r.createElement)(c.InnerBlocks,{templateLock:!1})},save:function(){return Object(r.createElement)("div",null,Object(r.createElement)(c.InnerBlocks.Content,null))}}},function(e,t,n){ +!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=n(120);function v(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a127?B+="x":B+=N[I];if(!B.match(m)){var L=R.slice(0,x),M=R.slice(x+1),z=N.match(h);z&&(L.push(z[1]),M.unshift(z[2])),M.length&&(v="/"+M.join(".")+v),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!p[_])for(x=0,A=u.length;x0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=w.slice(-1)[0],E=(n.host||e.host||w.length>1)&&("."===C||".."===C)||""===C,x=0,S=w.length;S>=0;S--)"."===(C=w[S])?w.splice(S,1):".."===C?(w.splice(S,1),x++):x&&(w.splice(S,1),x--);if(!y&&!_)for(;x--;x)w.unshift("..");!y||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),E&&"/"!==w.join("/").substr(-1)&&w.push("");var T,R=""===w[0]||w[0]&&"/"===w[0].charAt(0);k&&(n.hostname=n.host=R?"":w.length?w.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&w.length)&&!R&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return i});var r=n(36),o=n(1),a=n(14),c=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:r.k,keywords:["tweet"],description:Object(o.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:r.o,keywords:[Object(o.__)("music"),Object(o.__)("video")],description:Object(o.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:r.d,description:Object(o.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:r.f,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:r.n,keywords:[Object(o.__)("post"),Object(o.__)("blog")],responsive:!1,description:Object(o.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:r.i,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:r.e,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:r.m,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],i=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:r.l,description:Object(o.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:r.c,description:Object(o.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:r.l,description:Object(o.__)("Embed CollegeHumor content.")},patterns:[/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:r.c,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(a.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(o.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:r.l,description:Object(o.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:r.l,description:Object(o.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:r.g,description:Object(o.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:r.c,description:Object(o.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:r.c,description:Object(o.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:r.c,description:Object(o.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:r.c,description:Object(o.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:r.h,description:Object(o.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:r.b,description:Object(o.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:r.l,description:Object(o.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:r.c,description:Object(o.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:r.c,description:Object(o.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:r.g,description:Object(o.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:r.b,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:r.c,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(a.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(o.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:r.l,description:Object(o.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:r.j,description:Object(o.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:r.l,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:r.l,description:Object(o.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:r.a,keywords:[Object(o.__)("ebook")],responsive:!1,description:Object(o.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}]},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(85),a=n(36),c=n(15),i=n(0),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(53),p=n(1),g=n(4),f=n(8),O=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,l=e.switchBackToURLInput;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.BlockControls,null,Object(i.createElement)(g.Toolbar,null,n&&Object(i.createElement)(g.IconButton,{className:"components-toolbar__control",label:Object(p.__)("Edit URL"),icon:"edit",onClick:l}))),r&&t&&Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(g.PanelBody,{title:Object(p.__)("Media Settings"),className:"blocks-responsive"},Object(i.createElement)(g.ToggleControl,{label:Object(p.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},v=function(){return Object(i.createElement)("div",{className:"wp-block-embed is-loading"},Object(i.createElement)(g.Spinner,null),Object(i.createElement)("p",null,Object(p.__)("Embedding…")))},j=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,l=e.fallback,s=e.tryAgain;return Object(i.createElement)(g.Placeholder,{icon:Object(i.createElement)(f.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed"},Object(i.createElement)("form",{onSubmit:o},Object(i.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(p.__)("Enter URL to embed here…"),onChange:a}),Object(i.createElement)(g.Button,{isLarge:!0,type:"submit"},Object(p._x)("Embed","button label")),c&&Object(i.createElement)("p",{className:"components-placeholder__error"},Object(p.__)("Sorry, this content could not be embedded."),Object(i.createElement)("br",null),Object(i.createElement)(g.Button,{isLarge:!0,onClick:s},Object(p._x)("Try again","button label"))," ",Object(i.createElement)(g.Button,{isLarge:!0,onClick:l},Object(p._x)("Convert to link","button label")))))},y=n(58),_=n(84),w=n(2),k=n(68),C=n.n(k),E=n(6),x=window.FocusEvent,S=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(m.a)(Object(m.a)(e))),e.node=Object(i.createRef)(),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new x("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(i.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(i.Component),T=Object(E.withGlobalEvents)({blur:"checkFocus"})(S),R=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(m.a)(Object(m.a)(e))),e.state={interactive:!1},e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e=this.props,t=e.preview,n=e.url,r=e.type,o=e.caption,a=e.onCaptionChange,c=e.isSelected,l=e.className,s=e.icon,u=e.label,b=t.scripts,d=this.state.interactive,m="photo"===r?Object(h.d)(t):t.html,O=Object(_.parse)(n).host.split("."),v=O.splice(O.length-2,O.length-1).join("."),j=Object(w.includes)(y.c,v),k=Object(p.sprintf)(Object(p.__)("Embedded content from %s"),v),E=C()(r,l,"wp-block-embed__wrapper"),x="wp-embed"===r?Object(i.createElement)(T,{html:m}):Object(i.createElement)("div",{className:"wp-block-embed__wrapper"},Object(i.createElement)(g.SandBox,{html:m,scripts:b,title:k,type:E,onFocus:this.hideOverlay}),!d&&Object(i.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(i.createElement)("figure",{className:C()(l,"wp-block-embed",{"is-type-video":"video"===r})},j?Object(i.createElement)(g.Placeholder,{icon:Object(i.createElement)(f.BlockIcon,{icon:s,showColors:!0}),label:u},Object(i.createElement)("p",{className:"components-placeholder__error"},Object(i.createElement)("a",{href:n},n)),Object(i.createElement)("p",{className:"components-placeholder__error"},Object(p.sprintf)(Object(p.__)("Embedded content from %s can't be previewed in the editor."),v))):x,(!f.RichText.isEmpty(o)||c)&&Object(i.createElement)(f.RichText,{tagName:"figcaption",placeholder:Object(p.__)("Write caption…"),value:o,onChange:a,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(i.Component);var A=n(5),N={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function B(e){var t=e.title,n=e.description,o=e.icon,a=e.category,g=void 0===a?"embed":a,y=e.transforms,_=e.keywords,k=void 0===_?[]:_,x=e.supports,S=void 0===x?{}:x,T=e.responsive,B=void 0===T||T,I=n||Object(p.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),P=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){function o(){var e;return Object(l.a)(this,o),(e=Object(u.a)(this,Object(b.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(m.a)(Object(m.a)(e))),e.setUrl=e.setUrl.bind(Object(m.a)(Object(m.a)(e))),e.getAttributesFromPreview=e.getAttributesFromPreview.bind(Object(m.a)(Object(m.a)(e))),e.setAttributesFromPreview=e.setAttributesFromPreview.bind(Object(m.a)(Object(m.a)(e))),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(m.a)(Object(m.a)(e))),e.toggleResponsive=e.toggleResponsive.bind(Object(m.a)(Object(m.a)(e))),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(m.a)(Object(m.a)(e))),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(d.a)(o,r),Object(s.a)(o,[{key:"handleIncomingPreview",value:function(){var e=this.props.attributes.allowResponsive;this.setAttributesFromPreview();var t=Object(h.a)(this.props,this.getAttributesFromPreview(this.props.preview,e));t&&this.props.onReplace(t)}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return void(this.props.fetching||this.resubmitWithoutTrailingSlash());this.handleIncomingPreview()}}},{key:"resubmitWithoutTrailingSlash",value:function(){this.setState(function(e){return{url:e.url.replace(/\/$/,"")}},this.setUrl)}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getAttributesFromPreview",value:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={},a=t.type,c=void 0===a?"rich":a,i=t.html,l=t.provider_name,s=Object(w.kebabCase)(Object(w.toLower)(""!==l?l:e));return Object(h.e)(i)&&(c="wp-embed"),(i||"photo"===c)&&(o.type=c,o.providerNameSlug=s),o.className=Object(h.c)(i,this.props.attributes.className,n&&r),o}},{key:"setAttributesFromPreview",value:function(){var e=this.props,t=e.setAttributes,n=e.preview,r=this.props.attributes.allowResponsive;t(this.getAttributesFromPreview(n,r))}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(p.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(p.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:Object(h.c)(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,l=this.props.attributes,s=l.caption,u=l.type,b=l.allowResponsive,d=this.props,m=d.fetching,g=d.setAttributes,f=d.isSelected,y=d.className,_=d.preview,w=d.cannotEmbed,k=d.themeSupportsResponsive,C=d.tryAgain;if(m)return Object(i.createElement)(v,null);var E=Object(p.sprintf)(Object(p.__)("%s URL"),e);return!_||w||c?Object(i.createElement)(j,{icon:t,label:E,onSubmit:this.setUrl,value:a,cannotEmbed:w,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return Object(h.b)(a,r.props.onReplace)},tryAgain:C}):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(O,{showEditButton:_&&!w,themeSupportsResponsive:k,blockSupportsResponsive:n,allowResponsive:b,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(i.createElement)(R,{preview:_,className:y,url:a,type:u,caption:s,onCaptionChange:function(e){return g({caption:e})},isSelected:f,icon:t,label:E}))}}]),o}(i.Component)}(t,o,B);return{title:t,description:I,icon:o,category:g,keywords:k,attributes:N,supports:Object(r.a)({align:!0},S),transforms:y,edit:Object(E.compose)(Object(A.withSelect)(function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),d=!!l&&void 0===l.type&&!1===l.html,m=!!l&&l.data&&404===l.data.status,h=!!l&&!d&&!m,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}}),Object(A.withDispatch)(function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}}))(P),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,l=n.providerNameSlug;if(!r)return null;var s=C()("wp-block-embed",(t={},Object(c.a)(t,"is-type-".concat(a),a),Object(c.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},Object(i.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:N,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,l=n.providerNameSlug;if(!r)return null;var s=C()("wp-block-embed",(t={},Object(c.a)(t,"is-type-".concat(a),a),Object(c.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},"\n".concat(r,"\n"),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var I=n(14);n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return L}),n.d(t,"common",function(){return M}),n.d(t,"others",function(){return z});var P="core/embed",L=B({title:Object(p._x)("Embed","block title"),description:Object(p.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:a.c,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(I.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),M=o.a.map(function(e){return Object(r.a)({},e,{settings:B(e.settings)})}),z=o.b.map(function(e){return Object(r.a)({},e,{settings:B(e.settings)})})},,,,,,,function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){t&&t.nodeType,e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var i,l=2147483647,s=36,u=1,b=26,d=38,m=700,h=72,p=128,g="-",f=/^xn--/,O=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,_=Math.floor,w=String.fromCharCode;function k(e){throw new RangeError(j[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(v,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,n){var r=0;for(e=n?_(e/m):e>>1,e+=_(e/t);e>y*b>>1;r+=s)e=_(e/y);return _(r+(y+1)*e/(e+d))}function A(e){var t,n,r,o,a,c,i,d,m,f,O,v=[],j=e.length,y=0,w=p,C=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r=128&&k("not-basic"),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&k("invalid-input"),((d=(O=e.charCodeAt(o++))-48<10?O-22:O-65<26?O-65:O-97<26?O-97:s)>=s||d>_((l-y)/c))&&k("overflow"),y+=d*c,!(d<(m=i<=C?u:i>=C+b?b:i-C));i+=s)c>_(l/(f=s-m))&&k("overflow"),c*=f;C=R(y-a,t=v.length+1,0==a),_(y/t)>l-w&&k("overflow"),w+=_(y/t),y%=t,v.splice(y++,0,w)}return S(v)}function N(e){var t,n,r,o,a,c,i,d,m,f,O,v,j,y,C,E=[];for(v=(e=x(e)).length,t=p,n=0,a=h,c=0;c=t&&O_((l-n)/(j=r+1))&&k("overflow"),n+=(i-t)*j,t=i,c=0;cl&&k("overflow"),O==t){for(d=n,m=s;!(d<(f=m<=a?u:m>=a+b?b:m-a));m+=s)C=d-f,y=s-f,E.push(w(T(f+C%y,0))),d=_(C/y);E.push(w(T(d,0))),a=R(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.4.1",ucs2:{decode:x,encode:S},decode:A,encode:N,toASCII:function(e){return E(e,function(e){return O.test(e)?"xn--"+N(e):e})},toUnicode:function(e){return E(e,function(e){return f.test(e)?A(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(118)(e),n(59))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(121),t.encode=t.stringify=n(122)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=p.substr(0,g),d=p.substr(g+1)):(b=p,d=""),m=decodeURIComponent(b),h=decodeURIComponent(d),r(c,m)?o(c[m])?c[m].push(h):c[m]=[c[m],h]:c[m]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],function(e){return i+encodeURIComponent(r(e))}).join(t):i+encodeURIComponent(r(e[c]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r2?i-2:0),s=2;s1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===m.F10&&t.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(o._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(i,"has-advanced-toolbar",t)}}),e.on("init",function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(i,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(o.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.editor.focus())})}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.clientId;return[Object(r.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(o.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(r.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(r.Component);n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var g="core/freeform",f={title:Object(o._x)("Classic","block title"),description:Object(o.__)("Use the classic WordPress editor."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object(r.createElement)(a.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(r.createElement)(a.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"17",y:"8",width:"2",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},edit:p,save:function(e){var t=e.attributes.content;return Object(r.createElement)(r.RawHTML,null,t)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r,o=n(7),a=n(21),c=n(17),i=n(15),l=n(0),s=n(2),u=n(1),b=n(14),d=n(8),m=n(20),h=n(4),p=(r={},Object(i.a)(r,"value",{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""}),Object(i.a)(r,"citation",{type:"string",source:"html",selector:"cite",default:""}),Object(i.a)(r,"align",{type:"string"}),r),g="core/quote",f={title:Object(u.__)("Quote"),description:Object(u.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"})),category:"common",keywords:[Object(u.__)("blockquote")],attributes:p,styles:[{name:"default",label:Object(u._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(u._x)("Large","block style")}],transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(b.createBlock)("core/quote",{value:Object(m.toHTMLString)({value:Object(m.join)(e.map(function(e){var t=e.content;return Object(m.create)({html:t})}),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(b.createBlock)("core/quote",{value:"

".concat(t,"

")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(b.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(b.createBlock)("core/quote",{value:"

".concat(e,"

")})}},{type:"raw",isMatch:function(e){var t,n=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(n)},schema:{blockquote:{children:{p:{children:Object(b.getPhrasingContentSchema)()},cite:{children:Object(b.getPhrasingContentSchema)()}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=[];return t&&"

"!==t&&r.push.apply(r,Object(c.a)(Object(m.split)(Object(m.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(b.createBlock)("core/paragraph",{content:Object(m.toHTMLString)({value:e})})}))),n&&"

"!==n&&r.push(Object(b.createBlock)("core/paragraph",{content:n})),0===r.length?Object(b.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(a.a)(e,["value","citation"]);if("

"===t)return Object(b.createBlock)("core/heading",{content:n});var c=Object(m.split)(Object(m.create)({html:t,multilineTag:"p"}),"\u2028"),i=Object(b.createBlock)("core/heading",{content:Object(m.toHTMLString)({value:c[0]})});if(!n&&1===c.length)return i;var l=c.slice(1);return[i,Object(b.createBlock)("core/quote",Object(o.a)({},r,{citation:n,value:Object(m.toHTMLString)({value:l.length?Object(m.join)(c.slice(1),"\u2028"):Object(m.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(b.createBlock)("core/pullquote",{value:t,citation:n})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,s=t.value,b=t.citation;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(d.BlockControls,null,Object(l.createElement)(d.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(l.createElement)("blockquote",{className:c,style:{textAlign:i}},Object(l.createElement)(d.RichText,{identifier:"value",multiline:!0,value:s,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!b||0===b.length;!e&&t&&a([])},placeholder:Object(u.__)("Write quote…")}),(!d.RichText.isEmpty(b)||r)&&Object(l.createElement)(d.RichText,{identifier:"citation",value:b,onChange:function(e){return n({citation:e})},placeholder:Object(u.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(l.createElement)("blockquote",{style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return n&&"

"!==n?Object(o.a)({},e,{value:e.value+n,citation:e.citation+r}):Object(o.a)({},e,{citation:e.citation+r})},deprecated:[{attributes:Object(o.a)({},p,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(o.a)({},Object(s.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(l.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(o.a)({},p,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(l.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(l.createElement)(d.RichText.Content,{multiline:!0,value:r}),!d.RichText.isEmpty(o)&&Object(l.createElement)(d.RichText.Content,{tagName:"footer",value:o}))}}]}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r=n(0),o=n(2),a=n(16),c=n.n(a),i=n(41),l=n.n(i),s=n(1),u=n(4),b=n(14),d=n(8),m=["core/column"],h=l()(function(e){return Object(o.times)(e,function(){return["core/column"]})});function p(e){var t,n=p.doc;n||(n=document.implementation.createHTMLDocument(""),p.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var g="core/columns",f={title:Object(s.__)("Columns"),icon:Object(r.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(u.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(u.G,null,Object(r.createElement)(u.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"}))),category:"layout",attributes:{columns:{type:"number",default:2}},description:Object(s.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},deprecated:[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some(function(e){return/layout-column-\d+/.test(e.originalContent)})&&t.some(function(e){return void 0!==p(e.originalContent)})},migrate:function(e,t){return[e,t.reduce(function(e,t){var n=p(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(b.createBlock)("core/column",{},e)})]},save:function(e){var t=e.attributes.columns;return Object(r.createElement)("div",{className:"has-".concat(t,"-columns")},Object(r.createElement)(d.InnerBlocks.Content,null))}}],edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,a=t.columns,i=c()(o,"has-".concat(a,"-columns"));return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(d.InspectorControls,null,Object(r.createElement)(u.PanelBody,null,Object(r.createElement)(u.RangeControl,{label:Object(s.__)("Columns"),value:a,onChange:function(e){n({columns:e})},min:2,max:6,required:!0}))),Object(r.createElement)("div",{className:i},Object(r.createElement)(d.InnerBlocks,{template:h(a),templateLock:"all",allowedBlocks:m})))},save:function(e){var t=e.attributes.columns;return Object(r.createElement)("div",{className:"has-".concat(t,"-columns")},Object(r.createElement)(d.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(4),a=n(1),c=n(8),i="core/column",l={title:Object(a.__)("Column"),parent:["core/columns"],icon:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"})),description:Object(a.__)("A single column within a columns block."),category:"common",supports:{inserter:!1,reusable:!1,html:!1},edit:function(){return Object(r.createElement)(c.InnerBlocks,{templateLock:!1})},save:function(){return Object(r.createElement)("div",null,Object(r.createElement)(c.InnerBlocks.Content,null))}}},function(e,t,n){ /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */ -e.exports=function(){"use strict";function e(e,t){for(var n=0;nc?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,a=0,c=0,i=0,l=0;lr?-1:n===r?0:1}),d=t(b[0],5),m=d[0],h=d[1],p=d[2],g=d[3],f=d[4];return g?[Math.round(m/g),Math.round(h/g),Math.round(p/g),Math.round(g/f)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",c),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),r=[].concat(n,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){var t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(r.prototype,o),a&&e(r,a),n;var r,o,a}()}()},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r=n(21),o=n(17),a=n(7),c=n(0),i=n(2),l=n(1),s=n(14),u=n(8),b=n(20),d=n(4),m=Object(a.a)({},Object(s.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){m[e].children={li:{children:m}}});var h={className:!1},p={ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""}},g="core/list",f={title:Object(l.__)("List"),description:Object(l.__)("Create a bulleted or numbered list."),icon:Object(c.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(d.G,null,Object(c.createElement)(d.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"}))),category:"common",keywords:[Object(l.__)("bullet list"),Object(l.__)("ordered list"),Object(l.__)("numbered list")],attributes:p,supports:h,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(s.createBlock)("core/list",{values:Object(b.toHTMLString)({value:Object(b.join)(e.map(function(t){var n=t.content,r=Object(b.create)({html:n});return e.length>1?r:Object(b.replace)(r,/\n/g,b.LINE_SEPARATOR)}),b.LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(s.createBlock)("core/list",{values:Object(b.toHTMLString)({value:Object(b.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:m.ol,ul:m.ul},transform:function(e){return Object(s.createBlock)("core/list",Object(a.a)({},Object(s.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(o.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(s.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}})),Object(o.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(s.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(b.split)(Object(b.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),b.LINE_SEPARATOR).map(function(e){return Object(s.createBlock)("core/paragraph",{content:Object(b.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(s.createBlock)("core/quote",{value:Object(b.toHTMLString)({value:Object(b.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},deprecated:[{supports:h,attributes:Object(a.a)({},Object(i.omit)(p,["ordered"]),{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"}}),migrate:function(e){var t=e.nodeName,n=Object(r.a)(e,["nodeName"]);return Object(a.a)({},n,{ordered:"OL"===t})},save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(c.createElement)(u.RichText.Content,{tagName:n.toLowerCase(),value:r})}}],merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(a.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,i=e.className,b=t.ordered,d=t.values;return Object(c.createElement)(u.RichText,{identifier:"values",multiline:"li",tagName:b?"ol":"ul",onChange:function(e){return r({values:e})},value:d,wrapperClassName:"block-library-list",className:i,placeholder:Object(l.__)("Write list…"),onMerge:o,unstableOnSplit:n?function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),c=2;c"!==t&&a.push(Object(s.createBlock)("core/list",{ordered:b,values:t})),r({values:e}),n(a)}:void 0,onRemove:function(){return a([])},onTagNameChange:function(e){return r({ordered:"ol"===e})}})},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=n?"ol":"ul";return Object(c.createElement)(u.RichText.Content,{tagName:o,value:r,multiline:"li"})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var r=n(0),o=n(1),a=n(14),c=n(8),i=n(4),l="core/preformatted",s={title:Object(o.__)("Preformatted"),description:Object(o.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(i.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object(r.createElement)(i.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(r.createElement)(i.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(r.createElement)(i.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(r.createElement)(i.Rect,{x:"10",y:"10",width:"8",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}},transforms:{from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(a.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object(a.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.mergeBlocks,a=e.setAttributes,i=e.className,l=t.content;return Object(r.createElement)(c.RichText,{tagName:"pre",value:l.replace(/\n/g,"
    "),onChange:function(e){a({content:e})},placeholder:Object(o.__)("Write preformatted text…"),wrapperClassName:i,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(r.createElement)(c.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(1),a=n(14),c=n(4),i="core/separator",l={title:Object(o.__)("Separator"),description:Object(o.__)("Create a break between ideas or sections with a horizontal separator."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(c.Path,{d:"M19 13H5v-2h14v2z"})),category:"layout",keywords:[Object(o.__)("horizontal-line"),"hr",Object(o.__)("divider")],styles:[{name:"default",label:Object(o.__)("Default"),isDefault:!0},{name:"wide",label:Object(o.__)("Wide Line")},{name:"dots",label:Object(o.__)("Dots")}],transforms:{from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(a.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},edit:function(e){var t=e.className;return Object(r.createElement)("hr",{className:t})},save:function(){return Object(r.createElement)("hr",null)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return s}),n.d(t,"settings",function(){return u});var r=n(0),o=n(66),a=n(1),c=n(4),i=n(8),l=n(6),s="core/shortcode",u={title:Object(a.__)("Shortcode"),description:Object(a.__)("Insert additional custom elements with a WordPress shortcode."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"})),category:"widgets",attributes:{text:{type:"string",source:"html"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(o.removep)(Object(o.autop)(n))}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(l.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,o=e.instanceId,l="blocks-shortcode-input-".concat(o);return Object(r.createElement)("div",{className:"wp-block-shortcode"},Object(r.createElement)("label",{htmlFor:l},Object(r.createElement)(c.Dashicon,{icon:"shortcode"}),Object(a.__)("Shortcode")),Object(r.createElement)(i.PlainText,{className:"input-control",id:l,value:t.text,placeholder:Object(a.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return Object(r.createElement)(r.RawHTML,null,t.text)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var r=n(0),o=n(16),a=n.n(o),c=n(1),i=n(8),l=n(4),s=n(6),u="core/spacer",b={title:Object(c.__)("Spacer"),description:Object(c.__)("Add white space between blocks and customize its height."),icon:Object(r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(l.G,null,Object(r.createElement)(l.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),category:"layout",attributes:{height:{type:"number",default:100}},edit:Object(s.withInstanceId)(function(e){var t=e.attributes,n=e.isSelected,o=e.setAttributes,s=e.toggleSelection,u=e.instanceId,b=t.height,d="block-spacer-height-input-".concat(u);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.ResizableBox,{className:a()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:b},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,n,r){o({height:parseInt(b+r.height,10)}),s(!0)},onResizeStart:function(){s(!1)}}),Object(r.createElement)(i.InspectorControls,null,Object(r.createElement)(l.PanelBody,{title:Object(c.__)("Spacer Settings")},Object(r.createElement)(l.BaseControl,{label:Object(c.__)("Height in pixels"),id:d},Object(r.createElement)("input",{type:"number",id:d,onChange:function(e){o({height:parseInt(e.target.value,10)})},value:b,min:"20",step:"10"})))))}),save:function(e){var t=e.attributes;return Object(r.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var r=n(0),o=n(49),a=n.n(o),c=n(1),i=n(14),l=n(8),s=n(4),u="core/subhead",b={title:Object(c.__)("Subheading (deprecated)"),description:Object(c.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),category:"common",supports:{inserter:!1,multiple:!1},attributes:{content:{type:"string",source:"html",selector:"p"},align:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,i=t.align,s=t.content,u=t.placeholder;return a()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.BlockControls,null,Object(r.createElement)(l.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(r.createElement)(l.RichText,{tagName:"p",value:s,onChange:function(e){n({content:e})},style:{textAlign:i},className:o,placeholder:u||Object(c.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,o=t.content;return Object(r.createElement)(l.RichText.Content,{tagName:"p",style:{textAlign:n},value:o})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(1),a=n(8),c=n(4),i="core/template",l={title:Object(o.__)("Reusable Template"),category:"reusable",description:Object(o.__)("Template block used as a container."),icon:Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(r.createElement)(c.G,null,Object(r.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),supports:{customClassName:!1,html:!1,inserter:!1},edit:function(){return Object(r.createElement)(a.InnerBlocks,null)},save:function(){return Object(r.createElement)(a.InnerBlocks.Content,null)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return d}),n.d(t,"settings",function(){return m});var r=n(17),o=n(0),a=n(2),c=n(14),i=n(1),l=n(4),s=n(8),u=n(49),b=n.n(u),d="core/text-columns",m={supports:{inserter:!1},title:Object(i.__)("Text Columns (deprecated)"),description:Object(i.__)("This block is deprecated. Please use the Columns block instead."),icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(c.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map(function(e){var t=e.children;return Object(c.createBlock)("core/column",{},[Object(c.createBlock)("core/paragraph",{content:t})])}))}}]},getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,c=e.className,u=t.width,d=t.content,m=t.columns;return b()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.BlockAlignmentToolbar,{value:u,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,null,Object(o.createElement)(l.RangeControl,{label:Object(i.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(o.createElement)("div",{className:"".concat(c," align").concat(u," columns-").concat(m)},Object(a.times)(m,function(e){return Object(o.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(o.createElement)(s.RichText,{tagName:"p",value:Object(a.get)(d,[e,"children"]),onChange:function(t){n({content:[].concat(Object(r.a)(d.slice(0,e)),[{children:t}],Object(r.a)(d.slice(e+1)))})},placeholder:Object(i.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,c=t.columns;return Object(o.createElement)("div",{className:"align".concat(n," columns-").concat(c)},Object(a.times)(c,function(e){return Object(o.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(o.createElement)(s.RichText.Content,{tagName:"p",value:Object(a.get)(r,[e,"children"])}))}))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var r=n(0),o=n(1),a=n(14),c=n(8),i=n(4),l="core/verse",s={title:Object(o.__)("Verse"),description:Object(o.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(i.Path,{d:"M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"})),category:"formatting",keywords:[Object(o.__)("poetry")],attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className,i=e.mergeBlocks,l=t.textAlign,s=t.content;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(c.AlignmentToolbar,{value:l,onChange:function(e){n({textAlign:e})}})),Object(r.createElement)(c.RichText,{tagName:"pre",value:s,onChange:function(e){n({content:e})},style:{textAlign:l},placeholder:Object(o.__)("Write…"),wrapperClassName:a,onMerge:i}))},save:function(e){var t=e.attributes,n=t.textAlign,o=t.content;return Object(r.createElement)(c.RichText.Content,{tagName:"pre",style:{textAlign:n},value:o})},merge:function(e,t){return{content:e.content+t.content}}}},,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(0),a=n(16),c=n.n(a),i=n(2),l=n(14),s=n(8),u=n(1),b=n(19),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(4),v=Object(o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(O.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(o.createElement)(O.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(o.createElement)(O.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),j=["image","video"],y=function(e){function t(){return Object(d.a)(this,t),Object(h.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(m.a)(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(O.Toolbar,null,Object(o.createElement)(s.MediaUpload,{onSelect:n,allowedTypes:j,value:t,render:function(e){var t=e.open;return Object(o.createElement)(O.IconButton,{className:"components-toolbar__control",label:Object(u.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className;return Object(o.createElement)(o.Fragment,null,this.renderToolbarEditButton(),Object(o.createElement)("figure",{className:r},Object(o.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(o.createElement)(o.Fragment,null,this.renderToolbarEditButton(),Object(o.createElement)("figure",{className:n},Object(o.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return Object(o.createElement)(s.MediaPlaceholder,{icon:Object(o.createElement)(s.BlockIcon,{icon:v}),labels:{title:Object(u.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:j})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,a=e.mediaWidth,c=e.commitWidthChange,i=e.onWidthChange;if(r&&n){var l={right:"left"===t,left:"right"===t},s=null;switch(r){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(o.createElement)(O.ResizableBox,{className:"editor-media-container__resizer",size:{width:a+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResize:function(e,t,n){i(parseInt(n.style.width))},onResizeStop:function(e,t,n){c(parseInt(n.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(o.Component),_=["core/button","core/paragraph","core/heading","core/list"],w=[["core/paragraph",{fontSize:"large",placeholder:Object(u._x)("Content…","content placeholder")}]],k=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(f.a)(Object(f.a)(e))),e.onWidthChange=e.onWidthChange.bind(Object(f.a)(Object(f.a)(e))),e.commitWidthChange=e.commitWidthChange.bind(Object(f.a)(Object(f.a)(e))),e.state={mediaWidth:null},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(i.get)(e,["sizes","large","url"])||Object(i.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,a=e.mediaType,c=e.mediaUrl,i=e.mediaWidth;return Object(o.createElement)(y,Object(b.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:a,mediaUrl:c,mediaPosition:r,mediaWidth:i}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,a=t.className,i=t.backgroundColor,l=t.isSelected,b=t.setAttributes,d=t.setBackgroundColor,m=n.isStackedOnMobile,h=n.mediaAlt,p=n.mediaPosition,g=n.mediaType,f=n.mediaWidth,v=this.state.mediaWidth,j=c()(a,(e={"has-media-on-the-right":"right"===p,"is-selected":l},Object(r.a)(e,i.class,i.class),Object(r.a)(e,"is-stacked-on-mobile",m),e)),y="".concat(v||f,"%"),k={gridTemplateColumns:"right"===p?"auto ".concat(y):"".concat(y," auto"),backgroundColor:i.color},C=[{value:i.color,onChange:d,label:Object(u.__)("Background Color")}],E=[{icon:"align-pull-left",title:Object(u.__)("Show media on left"),isActive:"left"===p,onClick:function(){return b({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(u.__)("Show media on right"),isActive:"right"===p,onClick:function(){return b({mediaPosition:"right"})}}],x=Object(o.createElement)(O.PanelBody,{title:Object(u.__)("Media & Text Settings")},Object(o.createElement)(O.ToggleControl,{label:Object(u.__)("Stack on mobile"),checked:m,onChange:function(){return b({isStackedOnMobile:!m})}}),"image"===g&&Object(o.createElement)(O.TextareaControl,{label:Object(u.__)("Alt Text (Alternative Text)"),value:h,onChange:function(e){b({mediaAlt:e})},help:Object(u.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}));return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.InspectorControls,null,x,Object(o.createElement)(s.PanelColorSettings,{title:Object(u.__)("Color Settings"),initialOpen:!1,colorSettings:C})),Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(O.Toolbar,{controls:E})),Object(o.createElement)("div",{className:j,style:k},this.renderMediaArea(),Object(o.createElement)(s.InnerBlocks,{allowedBlocks:_,template:w,templateInsertUpdatesSelection:!1})))}}]),t}(o.Component),C=Object(s.withColors)("backgroundColor")(k),E=Object(o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(O.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"}));n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return T});var x="core/media-text",S={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},T={title:Object(u.__)("Media & Text"),description:Object(u.__)("Set media and words side-by-side for a richer layout."),icon:E,category:"layout",keywords:[Object(u.__)("image"),Object(u.__)("video")],attributes:S,supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(l.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object(l.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object(l.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object(l.createBlock)("core/video",{id:t,src:n})}}]},edit:C,save:function(e){var t,n,a=e.attributes,l=a.backgroundColor,u=a.customBackgroundColor,b=a.isStackedOnMobile,d=a.mediaAlt,m=a.mediaPosition,h=a.mediaType,p=a.mediaUrl,g=a.mediaWidth,f=a.mediaId,O={image:function(){return Object(o.createElement)("img",{src:p,alt:d,className:f&&"image"===h?"wp-image-".concat(f):null})},video:function(){return Object(o.createElement)("video",{controls:!0,src:p})}},v=Object(s.getColorClassName)("background-color",l),j=c()((t={"has-media-on-the-right":"right"===m},Object(r.a)(t,v,v),Object(r.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var y={backgroundColor:v?void 0:u,gridTemplateColumns:n};return Object(o.createElement)("div",{className:j,style:y},Object(o.createElement)("figure",{className:"wp-block-media-text__media"},(O[h]||i.noop)()),Object(o.createElement)("div",{className:"wp-block-media-text__content"},Object(o.createElement)(s.InnerBlocks.Content,null)))},deprecated:[{attributes:S,save:function(e){var t,n,a=e.attributes,l=a.backgroundColor,u=a.customBackgroundColor,b=a.isStackedOnMobile,d=a.mediaAlt,m=a.mediaPosition,h=a.mediaType,p=a.mediaUrl,g=a.mediaWidth,f={image:function(){return Object(o.createElement)("img",{src:p,alt:d})},video:function(){return Object(o.createElement)("video",{controls:!0,src:p})}},O=Object(s.getColorClassName)("background-color",l),v=c()((t={"has-media-on-the-right":"right"===m},Object(r.a)(t,O,O),Object(r.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var j={backgroundColor:O?void 0:u,gridTemplateColumns:n};return Object(o.createElement)("div",{className:v,style:j},Object(o.createElement)("figure",{className:"wp-block-media-text__media"},(f[h]||i.noop)()),Object(o.createElement)("div",{className:"wp-block-media-text__content"},Object(o.createElement)(s.InnerBlocks.Content,null)))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(19),o=n(15),a=n(7),c=n(0),i=n(16),l=n.n(i),s=n(35),u=n(14),b=n(8),d=n(1),m=n(28),h=n(10),p=n(9),g=n(11),f=n(12),O=n(13),v=n(3),j=n(2),y=n(4),_=n(6),w=n(5),k=n(22),C=n(23),E=n(40),x=n(53),S=Object(c.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(y.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(c.createElement)(y.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(c.createElement)(y.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var T=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(v.a)(Object(v.a)(e))),e.calculateSize=e.calculateSize.bind(Object(v.a)(Object(v.a)(e))),e}return Object(O.a)(t,e),Object(p.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=j.noop)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e,t,n,r,o,a=(e=this.image,t=this.container,n=t.clientWidth,r=e.width>n,o=e.height/e.width,{width:r?n:e.width,height:r?n*o:e.height}),c=a.width,i=a.height;this.setState({width:c,height:i})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object(c.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(c.Component),R=Object(_.withGlobalEvents)({resize:"calculateSize"})(T),A=["image"],N=function(e){var t=Object(j.pick)(e,["alt","id","link","caption"]);return t.url=Object(j.get)(e,["sizes","large","url"])||Object(j.get)(e,["media_details","sizes","large","source_url"])||e.url,t},B=function(e,t){return!e&&Object(s.isBlobURL)(t)},I=function(e){function t(e){var n,r=e.attributes;return Object(h.a)(this,t),(n=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(v.a)(Object(v.a)(n))),n.updateAlignment=n.updateAlignment.bind(Object(v.a)(Object(v.a)(n))),n.onFocusCaption=n.onFocusCaption.bind(Object(v.a)(Object(v.a)(n))),n.onImageClick=n.onImageClick.bind(Object(v.a)(Object(v.a)(n))),n.onSelectImage=n.onSelectImage.bind(Object(v.a)(Object(v.a)(n))),n.onSelectURL=n.onSelectURL.bind(Object(v.a)(Object(v.a)(n))),n.updateImageURL=n.updateImageURL.bind(Object(v.a)(Object(v.a)(n))),n.updateWidth=n.updateWidth.bind(Object(v.a)(Object(v.a)(n))),n.updateHeight=n.updateHeight.bind(Object(v.a)(Object(v.a)(n))),n.updateDimensions=n.updateDimensions.bind(Object(v.a)(Object(v.a)(n))),n.onSetCustomHref=n.onSetCustomHref.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkClass=n.onSetLinkClass.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkRel=n.onSetLinkRel.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkDestination=n.onSetLinkDestination.bind(Object(v.a)(Object(v.a)(n))),n.onSetNewTab=n.onSetNewTab.bind(Object(v.a)(Object(v.a)(n))),n.getFilename=n.getFilename.bind(Object(v.a)(Object(v.a)(n))),n.toggleIsEditing=n.toggleIsEditing.bind(Object(v.a)(Object(v.a)(n))),n.onUploadError=n.onUploadError.bind(Object(v.a)(Object(v.a)(n))),n.onImageError=n.onImageError.bind(Object(v.a)(Object(v.a)(n))),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(O.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(B(a,i)){var l=Object(s.getBlobByURL)(i);l&&Object(k.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(m.a)(e,1)[0];r(N(t))},allowedTypes:A,onError:function(t){o.createErrorNotice(t),e.setState({isEditing:!0})}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;B(n,o)&&!B(c,l)&&Object(s.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){this.props.noticeOperations.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){e&&e.url?(this.setState({isEditing:!1}),this.props.setAttributes(Object(a.a)({},N(e),{width:void 0,height:void 0}))):this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSetLinkDestination",value:function(e){var t;t="none"===e?void 0:"media"===e?this.props.image&&this.props.image.source_url||this.props.attributes.url:"attachment"===e?this.props.image&&this.props.image.link:this.props.attributes.href,this.props.setAttributes({linkDestination:e,href:t})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=Object(x.a)({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetCustomHref",value:function(e){this.props.setAttributes({href:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(Object(a.a)({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e,width:void 0,height:void 0})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getFilename",value:function(e){var t=Object(C.getPath)(e);if(t)return Object(j.last)(t.split("/"))}},{key:"getLinkDestinationOptions",value:function(){return[{value:"none",label:Object(d.__)("None")},{value:"media",label:Object(d.__)("Media File")},{value:"attachment",label:Object(d.__)("Attachment Page")},{value:"custom",label:Object(d.__)("Custom URL")}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(j.compact)(Object(j.map)(t,function(e){var t=e.name,r=e.slug,o=Object(j.get)(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"render",value:function(){var e,t=this,n=this.state.isEditing,r=this.props,o=r.attributes,a=r.setAttributes,i=r.isLargeViewport,u=r.isSelected,m=r.className,h=r.maxWidth,p=r.noticeUI,g=r.toggleSelection,f=r.isRTL,O=o.url,v=o.alt,_=o.caption,w=o.align,k=o.id,C=o.href,E=o.rel,x=o.linkClass,T=o.linkDestination,N=o.width,B=o.height,I=o.linkTarget,P=function(e,t){return t&&!e&&!Object(s.isBlobURL)(t)}(k,O);O&&(e=P?Object(c.createElement)(y.Toolbar,null,Object(c.createElement)(y.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(d.__)("Edit image"),onClick:this.toggleIsEditing,icon:"edit"})):Object(c.createElement)(b.MediaUploadCheck,null,Object(c.createElement)(y.Toolbar,null,Object(c.createElement)(b.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:A,value:k,render:function(e){var t=e.open;return Object(c.createElement)(y.IconButton,{className:"components-toolbar__control",label:Object(d.__)("Edit image"),icon:"edit",onClick:t})}}))));var L=Object(c.createElement)(b.BlockControls,null,Object(c.createElement)(b.BlockAlignmentToolbar,{value:w,onChange:this.updateAlignment}),e);if(n||!O){var M=P?O:void 0;return Object(c.createElement)(c.Fragment,null,L,Object(c.createElement)(b.MediaPlaceholder,{icon:Object(c.createElement)(b.BlockIcon,{icon:S}),className:m,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:p,onError:this.onUploadError,accept:"image/*",allowedTypes:A,value:{id:k,src:M}}))}var z=l()(m,{"is-transient":Object(s.isBlobURL)(O),"is-resized":!!N||!!B,"is-focused":u}),H=-1===["wide","full"].indexOf(w)&&i,D="custom"!==T,F=this.getImageSizeOptions(),U=function(e,n){return Object(c.createElement)(b.InspectorControls,null,Object(c.createElement)(y.PanelBody,{title:Object(d.__)("Image Settings")},Object(c.createElement)(y.TextareaControl,{label:Object(d.__)("Alt Text (Alternative Text)"),value:v,onChange:t.updateAlt,help:Object(d.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}),!Object(j.isEmpty)(F)&&Object(c.createElement)(y.SelectControl,{label:Object(d.__)("Image Size"),value:O,options:F,onChange:t.updateImageURL}),H&&Object(c.createElement)("div",{className:"block-library-image__dimensions"},Object(c.createElement)("p",{className:"block-library-image__dimensions__row"},Object(d.__)("Image Dimensions")),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(y.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(d.__)("Width"),value:void 0!==N?N:e,min:1,onChange:t.updateWidth}),Object(c.createElement)(y.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(d.__)("Height"),value:void 0!==B?B:n,min:1,onChange:t.updateHeight})),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(y.ButtonGroup,{"aria-label":Object(d.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(e*(r/100)),a=Math.round(n*(r/100)),i=N===o&&B===a;return Object(c.createElement)(y.Button,{key:r,isSmall:!0,isPrimary:i,"aria-pressed":i,onClick:t.updateDimensions(o,a)},r,"%")})),Object(c.createElement)(y.Button,{isSmall:!0,onClick:t.updateDimensions()},Object(d.__)("Reset"))))),Object(c.createElement)(y.PanelBody,{title:Object(d.__)("Link Settings")},Object(c.createElement)(y.SelectControl,{label:Object(d.__)("Link To"),value:T,options:t.getLinkDestinationOptions(),onChange:t.onSetLinkDestination}),"none"!==T&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link URL"),value:C||"",onChange:t.onSetCustomHref,placeholder:D?void 0:"https://",readOnly:D}),Object(c.createElement)(y.ToggleControl,{label:Object(d.__)("Open in New Tab"),onChange:t.onSetNewTab,checked:"_blank"===I}),Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link CSS Class"),value:x||"",onChange:t.onSetLinkClass}),Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link Rel"),value:E||"",onChange:t.onSetLinkRel}))))};return Object(c.createElement)(c.Fragment,null,L,Object(c.createElement)("figure",{className:z},Object(c.createElement)(R,{src:O,dirtynessTrigger:w},function(e){var n,r=e.imageWidthWithinContainer,o=e.imageHeightWithinContainer,i=e.imageWidth,l=e.imageHeight,u=t.getFilename(O);n=v||(u?Object(d.sprintf)(Object(d.__)("This image has an empty alt attribute; its file name is %s"),u):Object(d.__)("This image has an empty alt attribute"));var b=Object(c.createElement)(c.Fragment,null,Object(c.createElement)("img",{src:O,alt:n,onClick:t.onImageClick,onError:function(){return t.onImageError(O)}}),Object(s.isBlobURL)(O)&&Object(c.createElement)(y.Spinner,null));if(!H||!r)return Object(c.createElement)(c.Fragment,null,U(i,l),Object(c.createElement)("div",{style:{width:N,height:B}},b));var m=N||r,p=B||o,j=i/l,_=i a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},z={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},H={figure:{require:["img"],children:Object(a.a)({},z,{a:{attributes:["href","rel","target"],children:z},figcaption:{children:Object(u.getPhrasingContentSchema)()}})}};function D(e,t){var n=document.implementation.createHTMLDocument("").body;n.innerHTML=e;var r=n.firstElementChild;if(r&&"A"===r.nodeName)return r.getAttribute(t)||void 0}function F(e,t){var n=t.shortcode,r=document.implementation.createHTMLDocument("").body;r.innerHTML=n.content;for(var o=r.querySelector("img");o&&o.parentNode&&o.parentNode!==r;)o=o.parentNode;return o&&o.parentNode.removeChild(o),r.innerHTML.trim()}var U={title:Object(d.__)("Image"),description:Object(d.__)("Insert an image to make a visual statement."),icon:S,category:"common",keywords:["img",Object(d.__)("photo")],attributes:M,transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:H,transform:function(e){var t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),r=n?n[1]:void 0,o=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=o?Number(o[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,l=c&&c.href?c.href:void 0,s=c&&c.rel?c.rel:void 0,b=c&&c.className?c.className:void 0,d=Object(u.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:a,linkDestination:i,href:l,rel:s,linkClass:b});return Object(u.createBlock)("core/image",d)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(u.createBlock)("core/image",{url:Object(s.createBlobURL)(t)})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:F},href:{shortcode:function(e,t){return D(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return D(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return D(t.shortcode.content,"class")}},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:P,save:function(e){var t,n=e.attributes,r=n.url,a=n.alt,i=n.caption,s=n.align,u=n.href,d=n.rel,m=n.linkClass,h=n.width,p=n.height,g=n.id,f=n.linkTarget,O=l()((t={},Object(o.a)(t,"align".concat(s),s),Object(o.a)(t,"is-resized",h||p),t)),v=Object(c.createElement)("img",{src:r,alt:a,className:g?"wp-image-".concat(g):null,width:h,height:p}),j=Object(c.createElement)(c.Fragment,null,u?Object(c.createElement)("a",{className:m,href:u,target:f,rel:d},v):v,!b.RichText.isEmpty(i)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:i}));return"left"===s||"right"===s||"center"===s?Object(c.createElement)("div",null,Object(c.createElement)("figure",{className:O},j)):Object(c.createElement)("figure",{className:O},j)},deprecated:[{attributes:M,save:function(e){var t,n=e.attributes,r=n.url,a=n.alt,i=n.caption,s=n.align,u=n.href,d=n.width,m=n.height,h=n.id,p=l()((t={},Object(o.a)(t,"align".concat(s),s),Object(o.a)(t,"is-resized",d||m),t)),g=Object(c.createElement)("img",{src:r,alt:a,className:h?"wp-image-".concat(h):null,width:d,height:m});return Object(c.createElement)("figure",{className:p},u?Object(c.createElement)("a",{href:u},g):g,!b.RichText.isEmpty(i)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:i}))}},{attributes:M,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,i=t.href,l=t.width,s=t.height,u=t.id,d=Object(c.createElement)("img",{src:n,alt:r,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(c.createElement)("figure",{className:a?"align".concat(a):null},i?Object(c.createElement)("a",{href:i},d):d,!b.RichText.isEmpty(o)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:M,save:function(e){var t=e.attributes,n=t.url,o=t.alt,a=t.caption,i=t.align,l=t.href,s=t.width,u=t.height,d=s||u?{width:s,height:u}:{},m=Object(c.createElement)("img",Object(r.a)({src:n,alt:o},d)),h={};return s?h={width:s}:"left"!==i&&"right"!==i||(h={maxWidth:"50%"}),Object(c.createElement)("figure",{className:i?"align".concat(i):null,style:h},l?Object(c.createElement)("a",{href:l},m):m,!b.RichText.isEmpty(a)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:a}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(2),m=n(5),h=n(22),p=n(33),g=n.n(p),f=n(6),O=n(42),v=n.n(O),j=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.formRef=Object(r.createRef)(),e.widgetContentRef=Object(r.createRef)(),e.triggerWidgetEvent=e.triggerWidgetEvent.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.triggerWidgetEvent("widget-added"),this.previousFormData=new window.FormData(this.formRef.current)}},{key:"shouldComponentUpdate",value:function(e){e.form!==this.props.form&&this.widgetContentRef.current&&(this.widgetContentRef.current.innerHTML=e.form,this.triggerWidgetEvent("widget-updated"),this.previousFormData=new window.FormData(this.formRef.current));return!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,o=t.idBase,a=t.widgetNumber,c=t.form;return Object(r.createElement)("div",{className:"widget open",ref:this.containerRef},Object(r.createElement)("div",{className:"widget-inside"},Object(r.createElement)("form",{ref:this.formRef,method:"post",onBlur:function(){e.shouldTriggerInstanceUpdate()&&e.props.onInstanceChange(e.retrieveUpdatedInstance())}},Object(r.createElement)("div",{ref:this.widgetContentRef,className:"widget-content",dangerouslySetInnerHTML:{__html:c}}),Object(r.createElement)("input",{type:"hidden",name:"widget-id",className:"widget-id",value:n}),Object(r.createElement)("input",{type:"hidden",name:"id_base",className:"id_base",value:o}),Object(r.createElement)("input",{type:"hidden",name:"widget_number",className:"widget_number",value:a}),Object(r.createElement)("input",{type:"hidden",name:"multi_number",className:"multi_number",value:""}),Object(r.createElement)("input",{type:"hidden",name:"add_new",className:"add_new",value:""}))))}},{key:"shouldTriggerInstanceUpdate",value:function(){if(!this.formRef.current)return!1;if(!this.previousFormData)return!0;var e=new window.FormData(this.formRef.current),t=Array.from(e.keys()),n=Array.from(this.previousFormData.keys());if(t.length!==n.length)return!0;for(var r=0;r1?a[p]=g:a[p]=g[0]}}}catch(e){s=!0,u=e}finally{try{l||null==m.return||m.return()}finally{if(s)throw u}}return a}}}]),t}(r.Component),y=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={form:null,idBase:null},e.instanceUpdating=null,e.onInstanceChange=e.onInstanceChange.bind(Object(b.a)(Object(b.a)(e))),e.requestWidgetUpdater=e.requestWidgetUpdater.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.requestWidgetUpdater()}},{key:"componentDidUpdate",value:function(e){e.instance!==this.props.instance&&this.instanceUpdating!==this.props.instance&&this.requestWidgetUpdater(),this.instanceUpdating===this.props.instance&&(this.instanceUpdating=null)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,a=t.identifier,c=this.state,i=c.id,l=c.idBase,s=c.form;return a?s?Object(r.createElement)("div",{className:"wp-block-legacy-widget__edit-container",style:{display:this.props.isVisible?"block":"none"}},Object(r.createElement)(j,{ref:function(t){e.widgetEditDomManagerRef=t},onInstanceChange:this.onInstanceChange,widgetNumber:-1*n,id:i,idBase:l,form:s})):null:Object(o.__)("Not a valid widget.")}},{key:"onInstanceChange",value:function(e){var t=this;this.requestWidgetUpdater(e,function(e){t.instanceUpdating=e.instance,t.props.onInstanceChange(e.instance)})}},{key:"requestWidgetUpdater",value:function(e,t){var n=this,r=this.props,o=r.identifier,a=r.instanceId,c=r.instance;o&&g()({path:"/wp/v2/widgets/".concat(o,"/"),data:{identifier:o,instance:c,id_to_use:-1*a,instance_changes:e},method:"POST"}).then(function(e){n.isStillMounted&&(n.setState({form:e.form,idBase:e.id_base,id:e.id}),t&&t(e))})}}]),t}(r.Component),_=Object(f.withInstanceId)(y),w=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={isPreview:!1},e.switchToEdit=e.switchToEdit.bind(Object(b.a)(Object(b.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(b.a)(Object(b.a)(e))),e.changeWidget=e.changeWidget.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e,t=this,n=this.props,c=n.attributes,i=n.availableLegacyWidgets,l=n.hasPermissionsToManageWidgets,s=n.setAttributes,u=this.state.isPreview,b=c.identifier,m=c.isCallbackWidget,p=b&&i[b];if(!p)return e=l?0===i.length?Object(o.__)("There are no widgets available."):Object(r.createElement)(a.SelectControl,{label:Object(o.__)("Select a legacy widget to display:"),value:b||"none",onChange:function(e){return s({instance:{},identifier:e,isCallbackWidget:i[e].isCallbackWidget})},options:[{value:"none",label:"Select widget"}].concat(Object(d.map)(i,function(e,t){return{value:t,label:e.name}}))}):Object(o.__)("You don't have permissions to use widgets on this site."),Object(r.createElement)(a.Placeholder,{icon:Object(r.createElement)(h.BlockIcon,{icon:"admin-customizer"}),label:Object(o.__)("Legacy Widget")},e);var g=Object(r.createElement)(h.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:p.name},p.description));return l?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h.BlockControls,null,Object(r.createElement)(a.Toolbar,null,Object(r.createElement)(a.IconButton,{onClick:this.changeWidget,label:Object(o.__)("Change widget"),icon:"update"}),!m&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.Button,{className:"components-tab-button ".concat(u?"":"is-active"),onClick:this.switchToEdit},Object(r.createElement)("span",null,Object(o.__)("Edit"))),Object(r.createElement)(a.Button,{className:"components-tab-button ".concat(u?"is-active":""),onClick:this.switchToPreview},Object(r.createElement)("span",null,Object(o.__)("Preview")))))),g,!m&&Object(r.createElement)(_,{isVisible:!u,identifier:c.identifier,instance:c.instance,onInstanceChange:function(e){t.props.setAttributes({instance:e})}}),(u||m)&&this.renderWidgetPreview()):Object(r.createElement)(r.Fragment,null,g,this.renderWidgetPreview())}},{key:"changeWidget",value:function(){this.switchToEdit(),this.props.setAttributes({instance:{},identifier:void 0})}},{key:"switchToEdit",value:function(){this.setState({isPreview:!1})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"renderWidgetPreview",value:function(){var e=this.props.attributes;return Object(r.createElement)(h.ServerSideRender,{className:"wp-block-legacy-widget__preview",block:"core/legacy-widget",attributes:e})}}]),t}(r.Component),k=Object(m.withSelect)(function(e){var t=e("core/block-editor").getSettings(),n=t.availableLegacyWidgets;return{hasPermissionsToManageWidgets:t.hasPermissionsToManageWidgets,availableLegacyWidgets:n}})(w);n.d(t,"name",function(){return C}),n.d(t,"settings",function(){return E});var C="core/legacy-widget",E={title:Object(o.__)("Legacy Widget (Experimental)"),description:Object(o.__)("Display a legacy widget."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(a.G,null,Object(r.createElement)(a.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},edit:k,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(1),c=n(35),i=n(14),l=n(5),s=n(8),u=n(19),b=n(28),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(16),v=n.n(O),j=n(4),y=n(6),_=n(22),w=Object(r.createElement)(j.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(j.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(j.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function k(e){var t=e.hrefs,n=e.openInNewWindow,o=e.showDownloadButton,c=e.changeLinkDestinationOption,i=e.changeOpenInNewWindow,l=e.changeShowDownloadButton,u=t.href,b=t.textLinkHref,d=t.attachmentPage,m=[{value:u,label:Object(a.__)("URL")}];return d&&(m=[{value:u,label:Object(a.__)("Media File")},{value:d,label:Object(a.__)("Attachment Page")}]),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.InspectorControls,null,Object(r.createElement)(j.PanelBody,{title:Object(a.__)("Text Link Settings")},Object(r.createElement)(j.SelectControl,{label:Object(a.__)("Link To"),value:b,options:m,onChange:c}),Object(r.createElement)(j.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:n,onChange:i})),Object(r.createElement)(j.PanelBody,{title:Object(a.__)("Download Button Settings")},Object(r.createElement)(j.ToggleControl,{label:Object(a.__)("Show Download Button"),checked:o,onChange:l}))))}var C=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(f.a)(Object(f.a)(e))),e.confirmCopyURL=e.confirmCopyURL.bind(Object(f.a)(Object(f.a)(e))),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(f.a)(Object(f.a)(e))),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(f.a)(Object(f.a)(e))),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(f.a)(Object(f.a)(e))),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(f.a)(Object(f.a)(e))),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=n.href;if(Object(c.isBlobURL)(o)){var a=Object(c.getBlobByURL)(o);Object(_.mediaUpload)({filesList:[a],onFileChange:function(t){var n=Object(b.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),r.createErrorNotice(t)}}),Object(c.revokeBlobURL)(o)}}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isSelected,o=e.attributes,i=e.setAttributes,l=e.noticeUI,b=e.noticeOperations,d=e.media,m=o.fileName,h=o.href,p=o.textLinkHref,g=o.textLinkTarget,f=o.showDownloadButton,O=o.downloadButtonText,y=o.id,_=this.state,C=_.hasError,E=_.showCopyConfirmation,x=d&&d.link;if(!h||C)return Object(r.createElement)(s.MediaPlaceholder,{icon:Object(r.createElement)(s.BlockIcon,{icon:w}),labels:{title:Object(a.__)("File"),instructions:Object(a.__)("Drag a file, upload a new one or select a file from your library.")},onSelect:this.onSelectFile,notices:l,onError:b.createErrorNotice,accept:"*"});var S=v()(t,{"is-transient":Object(c.isBlobURL)(h)});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(k,Object(u.a)({hrefs:{href:h,textLinkHref:p,attachmentPage:x}},{openInNewWindow:!!g,showDownloadButton:f,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(r.createElement)(s.BlockControls,null,Object(r.createElement)(s.MediaUploadCheck,null,Object(r.createElement)(j.Toolbar,null,Object(r.createElement)(s.MediaUpload,{onSelect:this.onSelectFile,value:y,render:function(e){var t=e.open;return Object(r.createElement)(j.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(r.createElement)("div",{className:S},Object(r.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(r.createElement)(s.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:m,placeholder:Object(a.__)("Write file name…"),keepPlaceholderOnFocus:!0,formattingControls:[],onChange:function(e){return i({fileName:e})}}),f&&Object(r.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(r.createElement)(s.RichText,{tagName:"div",className:"wp-block-file__button",value:O,formattingControls:[],placeholder:Object(a.__)("Add text…"),keepPlaceholderOnFocus:!0,onChange:function(e){return i({downloadButtonText:e})}}))),n&&Object(r.createElement)(j.ClipboardButton,{isDefault:!0,text:h,className:"wp-block-file__copy-url-button",onCopy:this.confirmCopyURL,onFinishCopy:this.resetCopyConfirmation,disabled:Object(c.isBlobURL)(h)},E?Object(a.__)("Copied!"):Object(a.__)("Copy URL"))))}}]),t}(r.Component),E=Object(y.compose)([Object(l.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{media:void 0===r?void 0:n(r)}}),j.withNotices])(C);n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var x="core/file",S={title:Object(a.__)("File"),description:Object(a.__)("Add a link to a downloadable file."),icon:w,category:"common",keywords:[Object(a.__)("document"),Object(a.__)("pdf")],attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]",default:Object(a._x)("Download","button label")}},supports:{align:!0},transforms:{from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach(function(e){var n=Object(c.createBlobURL)(e);t.push(Object(i.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"audio")},transform:function(e){return Object(i.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"video")},transform:function(e){return Object(i.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"image")},transform:function(e){return Object(i.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},edit:E,save:function(e){var t=e.attributes,n=t.href,o=t.fileName,a=t.textLinkHref,c=t.textLinkTarget,i=t.showDownloadButton,l=t.downloadButtonText;return n&&Object(r.createElement)("div",null,!s.RichText.isEmpty(o)&&Object(r.createElement)("a",{href:a,target:c,rel:!!c&&"noreferrer noopener"},Object(r.createElement)(s.RichText.Content,{value:o})),i&&Object(r.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(r.createElement)(s.RichText.Content,{value:l})))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(19),a=n(7),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(0),m=n(2),h=n(4),p=n(5),g=n(8),f=n(6),O=n(18),v=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).titleField=Object(d.createRef)(),e.editButton=Object(d.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(b.a)(Object(b.a)(e))),e.handleTitleChange=e.handleTitleChange.bind(Object(b.a)(Object(b.a)(e))),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===O.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,o=e.isSaving,a=e.isEditDisabled,c=e.onEdit,i=e.instanceId;return Object(d.createElement)(d.Fragment,null,!t&&!o&&Object(d.createElement)("div",{className:"reusable-block-edit-panel"},Object(d.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(d.createElement)(h.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:a,onClick:c},Object(r.__)("Edit"))),(t||o)&&Object(d.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(d.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(i),className:"reusable-block-edit-panel__label"},Object(r.__)("Name:")),Object(d.createElement)("input",{ref:this.titleField,type:"text",disabled:o,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(i)}),Object(d.createElement)(h.Button,{type:"submit",isLarge:!0,isBusy:o,disabled:!n||o,className:"reusable-block-edit-panel__button"},Object(r.__)("Save"))))}}]),t}(d.Component),j=Object(f.withInstanceId)(v);var y=function(e){var t=e.title,n=Object(r.sprintf)(Object(r.__)("Reusable Block: %s"),t);return Object(d.createElement)(h.Tooltip,{text:n},Object(d.createElement)("span",{className:"reusable-block-indicator"},Object(d.createElement)(h.Dashicon,{icon:"controls-repeat"})))},_=function(e){function t(e){var n,r=e.reusableBlock;return Object(c.a)(this,t),(n=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(b.a)(Object(b.a)(n))),n.stopEditing=n.stopEditing.bind(Object(b.a)(Object(b.a)(n))),n.setAttributes=n.setAttributes.bind(Object(b.a)(Object(b.a)(n))),n.setTitle=n.setTitle.bind(Object(b.a)(Object(b.a)(n))),n.save=n.save.bind(Object(b.a)(Object(b.a)(n))),r&&r.isTemporary?n.state={isEditing:!0,title:r.title,changedAttributes:{}}:n.state={isEditing:!1,title:null,changedAttributes:null},n}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,changedAttributes:{}})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,changedAttributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){if(null!==t.changedAttributes)return{changedAttributes:Object(a.a)({},t.changedAttributes,e)}})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.reusableBlock,n=e.onUpdateTitle,r=e.updateAttributes,o=e.block,a=e.onSave,c=this.state,i=c.title,l=c.changedAttributes;i!==t.title&&n(i),r(o.clientId,l),a(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,c=e.block,i=e.isFetching,l=e.isSaving,s=e.canUpdateBlock,u=this.state,b=u.isEditing,p=u.title,f=u.changedAttributes;if(!n&&i)return Object(d.createElement)(h.Placeholder,null,Object(d.createElement)(h.Spinner,null));if(!n||!c)return Object(d.createElement)(h.Placeholder,null,Object(r.__)("Block has been deleted or is unavailable."));var O=Object(d.createElement)(g.BlockEdit,Object(o.a)({},this.props,{isSelected:b&&t,clientId:c.clientId,name:c.name,attributes:Object(a.a)({},c.attributes,f),setAttributes:b?this.setAttributes:m.noop}));return b||(O=Object(d.createElement)(h.Disabled,null,O)),Object(d.createElement)(d.Fragment,null,(t||b)&&Object(d.createElement)(j,{isEditing:b,title:null!==p?p:n.title,isSaving:l&&!n.isTemporary,isEditDisabled:!s,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!b&&Object(d.createElement)(y,{title:n.title}),O)}}]),t}(d.Component),w=Object(f.compose)([Object(p.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor").getBlock,l=t.attributes.ref,s=r(l);return{reusableBlock:s,isFetching:o(l),isSaving:a(l),block:s?i(s.clientId):null,canUpdateBlock:!!s&&!s.isTemporary&&!!c("update","blocks",l)}}),Object(p.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlockTitle,a=n.__experimentalSaveReusableBlock,c=e("core/block-editor").updateBlockAttributes,i=t.attributes.ref;return{fetchReusableBlock:Object(m.partial)(r,i),updateAttributes:c,onUpdateTitle:Object(m.partial)(o,i),onSave:Object(m.partial)(a,i)}})])(_);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/block",C={title:Object(r.__)("Reusable Block"),category:"reusable",description:Object(r.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},edit:w,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(0),a=n(2),c=n(1),i=n(14),l=n(8),s=n(22),u=n(35),b=n(15),d=n(17),m=n(10),h=n(9),p=n(11),g=n(12),f=n(13),O=n(3),v=n(16),j=n.n(v),y=n(4),_=n(18),w=n(5),k=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).onImageClick=e.onImageClick.bind(Object(O.a)(Object(O.a)(e))),e.onSelectCaption=e.onSelectCaption.bind(Object(O.a)(Object(O.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(O.a)(Object(O.a)(e))),e.bindContainer=e.bindContainer.bind(Object(O.a)(Object(O.a)(e))),e.state={captionSelected:!1},e}return Object(f.a)(t,e),Object(h.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[_.BACKSPACE,_.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,a=t.id,i=t.linkTo,s=t.link,b=t.isSelected,d=t.caption,m=t.onRemove,h=t.setAttributes,p=t["aria-label"];switch(i){case"media":e=n;break;case"attachment":e=s}var g=Object(o.createElement)(o.Fragment,null,Object(o.createElement)("img",{src:n,alt:r,"data-id":a,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":p}),Object(u.isBlobURL)(n)&&Object(o.createElement)(y.Spinner,null)),f=j()({"is-selected":b,"is-transient":Object(u.isBlobURL)(n)});return Object(o.createElement)("figure",{className:f,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},b&&Object(o.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(o.createElement)(y.IconButton,{icon:"no-alt",onClick:m,className:"blocks-gallery-item__remove",label:Object(c.__)("Remove Image")})),e?Object(o.createElement)("a",{href:e},g):g,!l.RichText.isEmpty(d)||b?Object(o.createElement)(l.RichText,{tagName:"figcaption",placeholder:Object(c.__)("Write caption…"),value:d,isSelected:this.state.captionSelected,onChange:function(e){return h({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(o.Component),C=Object(w.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(k),E=Object(o.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(y.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(o.createElement)(y.G,null,Object(o.createElement)(y.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),x=[{value:"attachment",label:Object(c.__)("Attachment Page")},{value:"media",label:Object(c.__)("Media File")},{value:"none",label:Object(c.__)("None")}],S=["image"];function T(e){return Math.min(3,e.images.length)}var R=function(e){var t=Object(a.pick)(e,["alt","id","link","caption"]);return t.url=Object(a.get)(e,["sizes","large","url"])||Object(a.get)(e,["media_details","sizes","large","source_url"])||e.url,t},A=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(Object(O.a)(e))),e.onSelectImages=e.onSelectImages.bind(Object(O.a)(Object(O.a)(e))),e.setLinkTo=e.setLinkTo.bind(Object(O.a)(Object(O.a)(e))),e.setColumnsNumber=e.setColumnsNumber.bind(Object(O.a)(Object(O.a)(e))),e.toggleImageCrop=e.toggleImageCrop.bind(Object(O.a)(Object(O.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(Object(O.a)(e))),e.setImageAttributes=e.setImageAttributes.bind(Object(O.a)(Object(O.a)(e))),e.addFiles=e.addFiles.bind(Object(O.a)(Object(O.a)(e))),e.uploadFromFiles=e.uploadFromFiles.bind(Object(O.a)(Object(O.a)(e))),e.setAttributes=e.setAttributes.bind(Object(O.a)(Object(O.a)(e))),e.state={selectedImage:null},e}return Object(f.a)(t,e),Object(h.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(r.a)({},e,{ids:Object(a.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(a.filter)(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){var t=this.props.attributes.columns;this.setAttributes({images:e.map(function(e){return R(e)}),columns:t?Math.min(e.length,t):t})}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(c.__)("Thumbnails are cropped to align."):Object(c.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,o=this.setAttributes;n[e]&&o({images:[].concat(Object(d.a)(n.slice(0,e)),[Object(r.a)({},n[e],t)],Object(d.a)(n.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.noticeOperations,r=this.setAttributes;Object(s.mediaUpload)({allowedTypes:S,filesList:e,onFileChange:function(e){var n=e.map(function(e){return R(e)});r({images:t.concat(n)})},onError:n.createErrorNotice})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,a=n.isSelected,i=n.className,s=n.noticeOperations,u=n.noticeUI,d=r.images,m=r.columns,h=void 0===m?T(r):m,p=r.align,g=r.imageCrop,f=r.linkTo,O=Object(o.createElement)(y.DropZone,{onFilesDrop:this.addFiles}),v=Object(o.createElement)(l.BlockControls,null,!!d.length&&Object(o.createElement)(y.Toolbar,null,Object(o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:S,multiple:!0,gallery:!0,value:d.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(o.createElement)(y.IconButton,{className:"components-toolbar__control",label:Object(c.__)("Edit gallery"),icon:"edit",onClick:t})}})));return 0===d.length?Object(o.createElement)(o.Fragment,null,v,Object(o.createElement)(l.MediaPlaceholder,{icon:Object(o.createElement)(l.BlockIcon,{icon:E}),className:i,labels:{title:Object(c.__)("Gallery"),instructions:Object(c.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:S,multiple:!0,notices:u,onError:s.createErrorNotice})):Object(o.createElement)(o.Fragment,null,v,Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(y.PanelBody,{title:Object(c.__)("Gallery Settings")},d.length>1&&Object(o.createElement)(y.RangeControl,{label:Object(c.__)("Columns"),value:h,onChange:this.setColumnsNumber,min:1,max:Math.min(8,d.length),required:!0}),Object(o.createElement)(y.ToggleControl,{label:Object(c.__)("Crop Images"),checked:!!g,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(o.createElement)(y.SelectControl,{label:Object(c.__)("Link To"),value:f,onChange:this.setLinkTo,options:x}))),u,Object(o.createElement)("ul",{className:j()(i,(e={},Object(b.a)(e,"align".concat(p),p),Object(b.a)(e,"columns-".concat(h),h),Object(b.a)(e,"is-cropped",g),e))},O,d.map(function(e,n){var r=Object(c.sprintf)(Object(c.__)("image %1$d of %2$d in gallery"),n+1,d.length);return Object(o.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(o.createElement)(C,{url:e.url,alt:e.alt,id:e.id,isSelected:a&&t.state.selectedImage===n,onRemove:t.onRemoveImage(n),onSelect:t.onSelectImage(n),setAttributes:function(e){return t.setImageAttributes(n,e)},caption:e.caption,"aria-label":r}))}),a&&Object(o.createElement)("li",{className:"blocks-gallery-item has-add-item-button"},Object(o.createElement)(y.FormFileUpload,{multiple:!0,isLarge:!0,className:"block-library-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(c.__)("Upload an image")))))}}]),t}(o.Component),N=Object(y.withNotices)(A);n.d(t,"name",function(){return I}),n.d(t,"settings",function(){return L});var B={images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},I="core/gallery",P=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},L={title:Object(c.__)("Gallery"),description:Object(c.__)("Display multiple images in a rich gallery."),icon:E,category:"common",keywords:[Object(c.__)("images"),Object(c.__)("photos")],attributes:B,supports:{align:!0},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(a.every)(e,["align",t])?t:void 0;var n=Object(a.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return Object(i.createBlock)("core/gallery",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return P(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return P(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(a.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=Object(i.createBlock)("core/gallery",{images:e.map(function(e){return R({url:Object(u.createBlobURL)(e)})})});return Object(s.mediaUpload)({filesList:e,onFileChange:function(e){var r=e.map(R);t(n.clientId,{ids:Object(a.map)(r,"id"),images:r})},allowedTypes:["image"]}),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object(i.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})}):Object(i.createBlock)("core/image",{align:n})}}]},edit:N,save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},deprecated:[{attributes:B,isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(a.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(r.a)({},e,{ids:Object(a.map)(e.images,function(e){var t=e.id;return t?parseInt(t,10):null})})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:B,save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:Object(r.a)({},B,{images:Object(r.a)({},B.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"}),align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.align,i=t.imageCrop,l=t.linkTo;return Object(o.createElement)("div",{className:"align".concat(c," columns-").concat(a," ").concat(i?"is-cropped":"")},n.map(function(e){var t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(o.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(o.createElement)("a",{href:t},n):n)}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(21),o=n(7),a=n(17),c=n(0),i=n(2),l=n(1),s=n(14),u=n(8),b=n(4),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=function(e){function t(){return Object(d.a)(this,t),Object(h.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(m.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:"heading",title:Object(l.sprintf)(Object(l.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(c.createElement)(b.Toolbar,{controls:Object(i.range)(n,r).map(function(t){return e.createLevelControl(t,o,a)})})}}]),t}(c.Component);function O(e){return Number(e.substr(1))}n.d(t,"getLevelFromHeadingNodeName",function(){return O}),n.d(t,"name",function(){return y}),n.d(t,"settings",function(){return _});var v={className:!1,anchor:!0},j={content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},align:{type:"string"},placeholder:{type:"string"}},y="core/heading",_={title:Object(l.__)("Heading"),description:Object(l.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Object(c.createElement)(b.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(b.Path,{d:"M5 4v3h5.5v12h3V7H19V4z"}),Object(c.createElement)(b.Path,{fill:"none",d:"M0 0h24v24H0V0z"})),category:"common",keywords:[Object(l.__)("title"),Object(l.__)("subtitle")],supports:v,attributes:j,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(s.getPhrasingContentSchema)()},h2:{children:Object(s.getPhrasingContentSchema)()},h3:{children:Object(s.getPhrasingContentSchema)()},h4:{children:Object(s.getPhrasingContentSchema)()},h5:{children:Object(s.getPhrasingContentSchema)()},h6:{children:Object(s.getPhrasingContentSchema)()}},transform:function(e){return Object(s.createBlock)("core/heading",Object(o.a)({},Object(s.getBlockAttributes)("core/heading",e.outerHTML),{level:O(e.nodeName)}))}}].concat(Object(a.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(s.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.createBlock)("core/paragraph",{content:t})}}]},deprecated:[{supports:v,attributes:Object(o.a)({},Object(i.omit)(j,["level"]),{nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"}}),migrate:function(e){var t=e.nodeName,n=Object(r.a)(e,["nodeName"]);return Object(o.a)({},n,{level:O(t)})},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content;return Object(c.createElement)(u.RichText.Content,{tagName:r.toLowerCase(),style:{textAlign:n},value:o})}}],merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.insertBlocksAfter,a=e.onReplace,i=e.className,d=t.align,m=t.content,h=t.level,p=t.placeholder,g="h"+h;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(u.BlockControls,null,Object(c.createElement)(f,{minLevel:2,maxLevel:5,selectedLevel:h,onChange:function(e){return n({level:e})}})),Object(c.createElement)(u.InspectorControls,null,Object(c.createElement)(b.PanelBody,{title:Object(l.__)("Heading Settings")},Object(c.createElement)("p",null,Object(l.__)("Level")),Object(c.createElement)(f,{minLevel:1,maxLevel:7,selectedLevel:h,onChange:function(e){return n({level:e})}}),Object(c.createElement)("p",null,Object(l.__)("Text Alignment")),Object(c.createElement)(u.AlignmentToolbar,{value:d,onChange:function(e){n({align:e})}}))),Object(c.createElement)(u.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:g,value:m,onChange:function(e){return n({content:e})},onMerge:r,unstableOnSplit:o?function(e,t){n({content:e});for(var r=arguments.length,a=new Array(r>2?r-2:0),c=2;c50){if(e&&e.attributes.dimRatio>50&&e.overlayColor.color===o.color)return;return o.color?void this.changeIsDarkIfRequired(w()(o.color).isDark()):void this.changeIsDarkIfRequired(!0)}if(!(e&&e.attributes.dimRatio<=50&&e.attributes.url===c)){var i;switch(r.backgroundType){case"image":i=this.imageRef.current;break;case"video":i=this.videoRef.current}i&&T().getColorAsync(i,function(e){t.changeIsDarkIfRequired(e.isDark)})}}},{key:"changeIsDarkIfRequired",value:function(e){this.state.isDark!==e&&this.setState({isDark:e})}}]),t}(a.Component),B=Object(k.compose)([Object(C.withColors)({overlayColor:"background-color"}),d.withNotices])(N);n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return L});var I={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},P="core/cover",L={title:Object(b.__)("Cover"),description:Object(b.__)("Add an image or video with a text overlay — great for headers."),icon:m,category:"common",attributes:I,supports:{align:!0},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object(s.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||"image"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType;return!e.url||"video"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},save:function(e){var t=e.attributes,n=t.backgroundType,r=t.customOverlayColor,o=t.dimRatio,c=t.focalPoint,i=t.hasParallax,s=t.overlayColor,b=t.url,d=Object(u.getColorClassName)("background-color",s),m="image"===n?R(b):{};d||(m.backgroundColor=r),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var h=l()(A(o),d,{"has-background-dim":0!==o,"has-parallax":i});return Object(a.createElement)("div",{className:h,style:m},"video"===n&&b&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:b}),Object(a.createElement)("div",{className:"wp-block-cover__inner-container"},Object(a.createElement)(u.InnerBlocks.Content,null)))},edit:B,deprecated:[{attributes:Object(o.a)({},I,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,n=t.backgroundType,o=t.contentAlign,c=t.customOverlayColor,i=t.dimRatio,s=t.focalPoint,b=t.hasParallax,d=t.overlayColor,m=t.title,h=t.url,p=Object(u.getColorClassName)("background-color",d),g="image"===n?R(h):{};p||(g.backgroundColor=c),s&&!b&&(g.backgroundPosition="".concat(100*s.x,"% ").concat(100*s.y,"%"));var f=l()(A(i),p,Object(r.a)({"has-background-dim":0!==i,"has-parallax":b},"has-".concat(o,"-content"),"center"!==o));return Object(a.createElement)("div",{className:f,style:g},"video"===n&&h&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:h}),!u.RichText.isEmpty(m)&&Object(a.createElement)(u.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:m}))},migrate:function(e){return[Object(c.omit)(e,["title","contentAlign"]),[Object(s.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(b.__)("Write title…")})]]}},{attributes:Object(o.a)({},I,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,o=t.title,c=t.hasParallax,i=t.dimRatio,s=t.align,b=t.contentAlign,d=t.overlayColor,m=t.customOverlayColor,h=Object(u.getColorClassName)("background-color",d),p=R(n);h||(p.backgroundColor=m);var g=l()("wp-block-cover-image",A(i),h,Object(r.a)({"has-background-dim":0!==i,"has-parallax":c},"has-".concat(b,"-content"),"center"!==b),s?"align".concat(s):null);return Object(a.createElement)("div",{className:g,style:p},!u.RichText.isEmpty(o)&&Object(a.createElement)(u.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:o}))}},{attributes:Object(o.a)({},I,{align:{type:"string"},title:{type:"string",source:"html",selector:"h2"},contentAlign:{type:"string",default:"center"}}),save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,c=t.dimRatio,i=t.align,s=R(n),b=l()(A(c),{"has-background-dim":0!==c,"has-parallax":o},i?"align".concat(i):null);return Object(a.createElement)("section",{className:b,style:s},Object(a.createElement)(u.RichText.Content,{tagName:"h2",value:r}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(35),a=n(14),c=n(8),i=n(1),l=n(15),s=n(28),u=n(10),b=n(9),d=n(11),m=n(12),h=n(13),p=n(3),g=n(4),f=n(22),O=n(53),v=Object(r.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(g.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(g.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),j=["video"],y=["image"],_=function(e){function t(){var e;return Object(u.a)(this,t),(e=Object(d.a)(this,Object(m.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(r.createRef)(),e.posterImageButton=Object(r.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(p.a)(Object(p.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(p.a)(Object(p.a)(e))),e.onSelectPoster=e.onSelectPoster.bind(Object(p.a)(Object(p.a)(e))),e.onRemovePoster=e.onRemovePoster.bind(Object(p.a)(Object(p.a)(e))),e}return Object(h.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(o.isBlobURL)(l)){var u=Object(o.getBlobByURL)(l);u&&Object(f.mediaUpload)({filesList:[u],onFileChange:function(e){var t=Object(s.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:j})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(l.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=Object(O.a)({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,o=t.caption,a=t.controls,l=t.loop,s=t.muted,u=t.poster,b=t.preload,d=t.src,m=this.props,h=m.setAttributes,p=m.isSelected,f=m.className,O=m.noticeOperations,_=m.noticeUI,w=this.state.editing,k=function(){e.setState({editing:!0})};return w?Object(r.createElement)(c.MediaPlaceholder,{icon:Object(r.createElement)(c.BlockIcon,{icon:v}),className:f,onSelect:function(t){if(!t||!t.url)return h({src:void 0,id:void 0}),void k();h({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:j,value:this.props.attributes,notices:_,onError:O.createErrorNotice}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(g.Toolbar,null,Object(r.createElement)(g.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(i.__)("Edit video"),onClick:k,icon:"edit"}))),Object(r.createElement)(c.InspectorControls,null,Object(r.createElement)(g.PanelBody,{title:Object(i.__)("Video Settings")},Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:l}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:s}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:a}),Object(r.createElement)(g.SelectControl,{label:Object(i.__)("Preload"),value:b,onChange:function(e){return h({preload:e})},options:[{value:"auto",label:Object(i.__)("Auto")},{value:"metadata",label:Object(i.__)("Metadata")},{value:"none",label:Object(i.__)("None")}]}),Object(r.createElement)(c.MediaUploadCheck,null,Object(r.createElement)(g.BaseControl,{className:"editor-video-poster-control",label:Object(i.__)("Poster Image")},Object(r.createElement)(c.MediaUpload,{title:Object(i.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:y,render:function(t){var n=t.open;return Object(r.createElement)(g.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton},e.props.attributes.poster?Object(i.__)("Replace image"):Object(i.__)("Select Poster Image"))}}),!!this.props.attributes.poster&&Object(r.createElement)(g.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(i.__)("Remove Poster Image")))))),Object(r.createElement)("figure",{className:f},Object(r.createElement)(g.Disabled,null,Object(r.createElement)("video",{controls:a,poster:u,src:d,ref:this.videoPlayer})),(!c.RichText.isEmpty(o)||p)&&Object(r.createElement)(c.RichText,{tagName:"figcaption",placeholder:Object(i.__)("Write caption…"),value:o,onChange:function(e){return h({caption:e})},inlineToolbar:!0})))}}]),t}(r.Component),w=Object(g.withNotices)(_);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/video",C={title:Object(i.__)("Video"),description:Object(i.__)("Embed a video from your media library or upload a new one."),icon:v,keywords:[Object(i.__)("movie")],category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"}},transforms:{from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(a.createBlock)("core/video",{src:Object(o.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},supports:{align:!0},edit:w,save:function(e){var t=e.attributes,n=t.autoplay,o=t.caption,a=t.controls,i=t.loop,l=t.muted,s=t.poster,u=t.preload,b=t.src;return Object(r.createElement)("figure",null,b&&Object(r.createElement)("video",{autoPlay:n,controls:a,loop:i,muted:l,poster:s,preload:"metadata"!==u?u:void 0,src:b}),!c.RichText.isEmpty(o)&&Object(r.createElement)(c.RichText.Content,{tagName:"figcaption",value:o}))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(16),a=n.n(o),c=n(1),i=n(14),l=n(4),s=n(8),u=n(10),b=n(9),d=n(11),m=n(12),h=n(13),p=n(3),g=n(17),f=n(15),O=n(7),v=n(2);var j=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],y=Object(s.createCustomColorsHOC)(j),_=function(e){function t(){var e;return Object(u.a)(this,t),(e=Object(d.a)(this,Object(m.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(p.a)(Object(p.a)(e))),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(p.a)(Object(p.a)(e))),e.onChange=e.onChange.bind(Object(p.a)(Object(p.a)(e))),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(p.a)(Object(p.a)(e))),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(p.a)(Object(p.a)(e))),e.renderSection=e.renderSection.bind(Object(p.a)(Object(p.a)(e))),e.getTableControls=e.getTableControls.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRow=e.onInsertRow.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(p.a)(Object(p.a)(e))),e.onDeleteRow=e.onDeleteRow.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumn=e.onInsertColumn.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(p.a)(Object(p.a)(e))),e.onDeleteColumn=e.onDeleteColumn.bind(Object(p.a)(Object(p.a)(e))),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(h.a)(t,e),Object(b.a)(t,[{key:"onChangeInitialColumnCount",value:function(e){this.setState({initialColumnCount:e})}},{key:"onChangeInitialRowCount",value:function(e){this.setState({initialRowCount:e})}},{key:"onCreateTable",value:function(e){e.preventDefault();var t,n,r,o=this.props.setAttributes,a=this.state,c=a.initialRowCount,i=a.initialColumnCount;c=parseInt(c,10)||2,i=parseInt(i,10)||2,o((n=(t={rowCount:c,columnCount:i}).rowCount,r=t.columnCount,{body:Object(v.times)(n,function(){return{cells:Object(v.times)(r,function(){return{content:"",tag:"td"}})}})}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes;(0,n.setAttributes)(function(e,t){var n=t.section,r=t.rowIndex,o=t.columnIndex,a=t.content;return Object(f.a)({},n,e[n].map(function(e,t){return t!==r?e:{cells:e.cells.map(function(e,t){return t!==o?e:Object(O.a)({},e,{content:a})})}}))}(r,{section:t.section,rowIndex:t.rowIndex,columnIndex:t.columnIndex,content:e}))}}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.rowIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.rowIndex,o=e[n][0].cells.length;return Object(f.a)({},n,[].concat(Object(g.a)(e[n].slice(0,r)),[{cells:Object(v.times)(o,function(){return{content:"",tag:"td"}})}],Object(g.a)(e[n].slice(r))))}(r,{section:a,rowIndex:c+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.rowIndex;return Object(f.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{section:o,rowIndex:a}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.columnIndex;return Object(f.a)({},n,e[n].map(function(e){return{cells:[].concat(Object(g.a)(e.cells.slice(0,r)),[{content:"",tag:"td"}],Object(g.a)(e.cells.slice(r)))}}))}(r,{section:a,columnIndex:c+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.columnIndex;return Object(f.a)({},n,e[n].map(function(e){return{cells:e.cells.filter(function(e,t){return t!==r})}}).filter(function(e){return e.cells.length}))}(n,{section:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:e})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(c.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(c.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(c.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(c.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(c.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(c.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.type,o=e.rows;if(!o.length)return null;var c="t".concat(n),i=this.state.selectedCell;return Object(r.createElement)(c,null,o.map(function(e,o){var c=e.cells;return Object(r.createElement)("tr",{key:o},c.map(function(e,c){var l=e.content,u=e.tag,b=i&&n===i.section&&o===i.rowIndex&&c===i.columnIndex,d={section:n,rowIndex:o,columnIndex:c},m=a()({"is-selected":b});return Object(r.createElement)(u,{key:c,className:m},Object(r.createElement)(s.RichText,{className:"wp-block-table__cell-content",value:l,onChange:t.onChange,unstableOnFocus:t.createOnFocus(d)}))}))}))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,o=e.backgroundColor,i=e.setBackgroundColor,u=this.state,b=u.initialRowCount,d=u.initialColumnCount,m=t.hasFixedLayout,h=t.head,p=t.body,g=t.foot,f=!h.length&&!p.length&&!g.length,O=this.renderSection;if(f)return Object(r.createElement)("form",{onSubmit:this.onCreateTable},Object(r.createElement)(l.TextControl,{type:"number",label:Object(c.__)("Column Count"),value:d,onChange:this.onChangeInitialColumnCount,min:"1"}),Object(r.createElement)(l.TextControl,{type:"number",label:Object(c.__)("Row Count"),value:b,onChange:this.onChangeInitialRowCount,min:"1"}),Object(r.createElement)(l.Button,{isPrimary:!0,type:"submit"},Object(c.__)("Create")));var v=a()(n,o.class,{"has-fixed-layout":m,"has-background":!!o.color});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.BlockControls,null,Object(r.createElement)(l.Toolbar,null,Object(r.createElement)(l.DropdownMenu,{icon:"editor-table",label:Object(c.__)("Edit table"),controls:this.getTableControls()}))),Object(r.createElement)(s.InspectorControls,null,Object(r.createElement)(l.PanelBody,{title:Object(c.__)("Table Settings"),className:"blocks-table-settings"},Object(r.createElement)(l.ToggleControl,{label:Object(c.__)("Fixed width table cells"),checked:!!m,onChange:this.onChangeFixedLayout})),Object(r.createElement)(s.PanelColorSettings,{title:Object(c.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:i,label:Object(c.__)("Background Color"),disableCustomColors:!0,colors:j}]})),Object(r.createElement)("table",{className:v},Object(r.createElement)(O,{type:"head",rows:h}),Object(r.createElement)(O,{type:"body",rows:p}),Object(r.createElement)(O,{type:"foot",rows:g})))}}]),t}(r.Component),w=y("backgroundColor")(_);n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var k={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object(i.getPhrasingContentSchema)()},td:{allowEmpty:!0,children:Object(i.getPhrasingContentSchema)()}}}},C={table:{children:{thead:{allowEmpty:!0,children:k},tfoot:{allowEmpty:!0,children:k},tbody:{allowEmpty:!0,children:k}}}};function E(e){return{type:"array",default:[],source:"query",selector:"t".concat(e," tr"),query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"}}}}}}var x="core/table",S={title:Object(c.__)("Table"),description:Object(c.__)("Insert a table — perfect for sharing charts and data."),icon:Object(r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(l.G,null,Object(r.createElement)(l.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:E("head"),body:E("body"),foot:E("foot")},styles:[{name:"regular",label:Object(c._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(c.__)("Stripes")}],supports:{align:!0},transforms:{from:[{type:"raw",selector:"table",schema:C}]},edit:w,save:function(e){var t=e.attributes,n=t.hasFixedLayout,o=t.head,c=t.body,i=t.foot,l=t.backgroundColor;if(!o.length&&!c.length&&!i.length)return null;var u=Object(s.getColorClassName)("background-color",l),b=a()(u,{"has-fixed-layout":n,"has-background":!!u}),d=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var o="t".concat(t);return Object(r.createElement)(o,null,n.map(function(e,t){var n=e.cells;return Object(r.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,o=e.tag;return Object(r.createElement)(s.RichText.Content,{tagName:o,value:n,key:t})}))}))};return Object(r.createElement)("table",{className:b},Object(r.createElement)(d,{type:"head",rows:o}),Object(r.createElement)(d,{type:"body",rows:c}),Object(r.createElement)(d,{type:"foot",rows:i}))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(14),c=n(4),i=n(8);n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var l="core/code",s={title:Object(o.__)("Code"),description:Object(o.__)("Display code snippets that respect your spacing and tabs."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(c.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1},transforms:{from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(a.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className;return Object(r.createElement)("div",{className:a},Object(r.createElement)(i.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(o.__)("Write code…"),"aria-label":Object(o.__)("Code")}))},save:function(e){var t=e.attributes;return Object(r.createElement)("pre",null,Object(r.createElement)("code",null,t.content))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(14),i=n(17),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(8),p=n(22),g=n(5),f=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(m.a)(Object(m.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(m.a)(Object(m.a)(e))),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(i.a)(Object(p.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,c=this.state,i=c.isPreview,l=c.styles;return Object(r.createElement)("div",{className:"wp-block-html"},Object(r.createElement)(h.BlockControls,null,Object(r.createElement)("div",{className:"components-toolbar"},Object(r.createElement)("button",{className:"components-tab-button ".concat(i?"":"is-active"),onClick:this.switchToHTML},Object(r.createElement)("span",null,"HTML")),Object(r.createElement)("button",{className:"components-tab-button ".concat(i?"is-active":""),onClick:this.switchToPreview},Object(r.createElement)("span",null,Object(o.__)("Preview"))))),Object(r.createElement)(a.Disabled.Consumer,null,function(e){return i||e?Object(r.createElement)(a.SandBox,{html:t.content,styles:l}):Object(r.createElement)(h.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(o.__)("Write HTML…"),"aria-label":Object(o.__)("HTML")})}))}}]),t}(r.Component),O=Object(g.withSelect)(function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}})(f);n.d(t,"name",function(){return v}),n.d(t,"settings",function(){return j});var v="core/html",j={title:Object(o.__)("Custom HTML"),description:Object(o.__)("Add custom HTML code and preview it as you edit."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"})),category:"formatting",keywords:[Object(o.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object(c.getPhrasingContentSchema)()}}}}}]},edit:O,save:function(e){var t=e.attributes;return Object(r.createElement)(r.RawHTML,null,t.content)}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(8),i=n(22);n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var l="core/archives",s={title:Object(o.__)("Archives"),description:Object(o.__)("Display a monthly archive of your posts."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(a.G,null,Object(r.createElement)(a.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right"].includes(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,l=t.align,s=t.showPostCounts,u=t.displayAsDropdown;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Archives Settings")},Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display as Dropdown"),checked:u,onChange:function(){return n({displayAsDropdown:!u})}}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Post Counts"),checked:s,onChange:function(){return n({showPostCounts:!s})}}))),Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(c.BlockAlignmentToolbar,{value:l,onChange:function(e){n({align:e})},controls:["left","center","right"]})),Object(r.createElement)(a.Disabled,null,Object(r.createElement)(i.ServerSideRender,{block:"core/archives",attributes:t})))},save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(7),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(4),u=n(1),b=n(8),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(6),v=window.getComputedStyle,j=Object(s.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:v(e).backgroundColor,fallbackTextColor:a||!c?void 0:v(c).color}}),y=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(f.a)(Object(f.a)(e))),e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,o=t.backgroundColor,c=t.textColor,l=t.setBackgroundColor,d=t.setTextColor,m=t.fallbackBackgroundColor,h=t.fallbackTextColor,p=t.setAttributes,g=t.isSelected,f=t.className,O=n.text,v=n.url,j=n.title;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:f,title:j,ref:this.bindRef},Object(a.createElement)(b.RichText,{placeholder:Object(u.__)("Add text…"),value:O,onChange:function(e){return p({text:e})},formattingControls:["bold","italic","strikethrough"],className:i()("wp-block-button__link",(e={"has-background":o.color},Object(r.a)(e,o.class,o.class),Object(r.a)(e,"has-text-color",c.color),Object(r.a)(e,c.class,c.class),e)),style:{backgroundColor:o.color,color:c.color},keepPlaceholderOnFocus:!0}),Object(a.createElement)(b.InspectorControls,null,Object(a.createElement)(b.PanelColorSettings,{title:Object(u.__)("Color Settings"),colorSettings:[{value:o.color,onChange:l,label:Object(u.__)("Background Color")},{value:c.color,onChange:d,label:Object(u.__)("Text Color")}]},Object(a.createElement)(b.ContrastChecker,{isLargeText:!1,textColor:c.color,backgroundColor:o.color,fallbackBackgroundColor:m,fallbackTextColor:h})))),g&&Object(a.createElement)("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},Object(a.createElement)(s.Dashicon,{icon:"admin-links"}),Object(a.createElement)(b.URLInput,{value:v,onChange:function(e){return p({url:e})}}),Object(a.createElement)(s.IconButton,{icon:"editor-break",label:Object(u.__)("Apply"),type:"submit"})))}}]),t}(a.Component),_=Object(O.compose)([Object(b.withColors)("backgroundColor",{textColor:"color"}),j])(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return E});var w={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},k="core/button",C=function(e){return Object(l.omit)(Object(o.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},E={title:Object(u.__)("Button"),description:Object(u.__)("Prompt visitors to take action with a button-style link."),icon:Object(a.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(s.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(s.G,null,Object(a.createElement)(s.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"}))),category:"layout",keywords:[Object(u.__)("link")],attributes:w,supports:{align:!0,alignWide:!1},styles:[{name:"default",label:Object(u._x)("Default","block style"),isDefault:!0},{name:"outline",label:Object(u.__)("Outline")},{name:"squared",label:Object(u._x)("Squared","block style")}],edit:_,save:function(e){var t,n=e.attributes,o=n.url,c=n.text,l=n.title,s=n.backgroundColor,u=n.textColor,d=n.customBackgroundColor,m=n.customTextColor,h=Object(b.getColorClassName)("color",u),p=Object(b.getColorClassName)("background-color",s),g=i()("wp-block-button__link",(t={"has-text-color":u||m},Object(r.a)(t,h,h),Object(r.a)(t,"has-background",s||d),Object(r.a)(t,p,p),t)),f={backgroundColor:p?void 0:d,color:h?void 0:m};return Object(a.createElement)("div",null,Object(a.createElement)(b.RichText.Content,{tagName:"a",className:g,href:o,title:l,style:f,value:c}))},deprecated:[{attributes:Object(o.a)({},Object(l.pick)(w,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,c=t.align,i={backgroundColor:t.color,color:t.textColor};return Object(a.createElement)("div",{className:"align".concat(c)},Object(a.createElement)(b.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:i,value:r}))},migrate:C},{attributes:Object(o.a)({},Object(l.pick)(w,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,c=t.align,i=t.color,l=t.textColor;return Object(a.createElement)("div",{className:"align".concat(c),style:{backgroundColor:i}},Object(a.createElement)(b.RichText.Content,{tagName:"a",href:n,title:o,style:{color:l},value:r}))},migrate:C}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(4),a=n(1),c=n(15),i=n(10),l=n(9),s=n(11),u=n(12),b=n(13),d=n(3),m=n(8),h=n(22),p=function(e){function t(){var e;return Object(i.a)(this,t),(e=Object(s.a)(this,Object(u.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(d.a)(Object(d.a)(e))),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(b.a)(t,e),Object(l.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(c.a)({},e,!n))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,n=e.displayAvatar,c=e.displayDate,i=e.displayExcerpt;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.InspectorControls,null,Object(r.createElement)(o.PanelBody,{title:Object(a.__)("Latest Comments Settings")},Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Date"),checked:c,onChange:this.toggleDisplayDate}),Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Excerpt"),checked:i,onChange:this.toggleDisplayExcerpt}),Object(r.createElement)(o.RangeControl,{label:Object(a.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(r.createElement)(o.Disabled,null,Object(r.createElement)(h.ServerSideRender,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(r.Component);n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var g="core/latest-comments",f={title:Object(a.__)("Latest Comments"),description:Object(a.__)("Display a list of your most recent comments."),icon:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),category:"widgets",keywords:[Object(a.__)("recent comments")],supports:{align:!0,html:!1},edit:p,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(15),i=n(19),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(2),p=n(16),g=n.n(p),f=n(33),O=n.n(f),v=n(23),j=n(50),y=n(8),_=n(5),w={per_page:-1},k=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).state={categoriesList:[]},e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(Object(m.a)(Object(m.a)(e))),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=O()({path:Object(v.addQueryArgs)("/wp/v2/categories",w)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,l=e.latestPosts,s=this.state.categoriesList,u=t.displayPostDate,b=t.align,d=t.postLayout,m=t.columns,h=t.order,p=t.orderBy,f=t.categories,O=t.postsToShow,v=Object(r.createElement)(y.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Latest Posts Settings")},Object(r.createElement)(a.QueryControls,Object(i.a)({order:h,orderBy:p},{numberOfItems:O,categoriesList:s,selectedCategoryId:f,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display post date"),checked:u,onChange:this.toggleDisplayPostDate}),"grid"===d&&Object(r.createElement)(a.RangeControl,{label:Object(o.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:_?Math.min(6,l.length):6,required:!0}))),_=Array.isArray(l)&&l.length;if(!_)return Object(r.createElement)(r.Fragment,null,v,Object(r.createElement)(a.Placeholder,{icon:"admin-post",label:Object(o.__)("Latest Posts")},Array.isArray(l)?Object(o.__)("No posts found."):Object(r.createElement)(a.Spinner,null)));var w=l.length>O?l.slice(0,O):l,k=[{icon:"list-view",title:Object(o.__)("List View"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===d},{icon:"grid-view",title:Object(o.__)("Grid View"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===d}],C=Object(j.__experimentalGetSettings)().formats.date;return Object(r.createElement)(r.Fragment,null,v,Object(r.createElement)(y.BlockControls,null,Object(r.createElement)(y.BlockAlignmentToolbar,{value:b,onChange:function(e){n({align:e})}}),Object(r.createElement)(a.Toolbar,{controls:k})),Object(r.createElement)("ul",{className:g()(this.props.className,Object(c.a)({"is-grid":"grid"===d,"has-dates":u},"columns-".concat(m),"grid"===d))},w.map(function(e,t){var n=e.title.rendered.trim();return Object(r.createElement)("li",{key:t},Object(r.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(r.createElement)(r.RawHTML,null,n):Object(o.__)("(Untitled)")),u&&e.date_gmt&&Object(r.createElement)("time",{dateTime:Object(j.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(j.dateI18n)(C,e.date_gmt)))})))}}]),t}(r.Component),C=Object(_.withSelect)(function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(h.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(h.isUndefined)(e)}))}})(k);n.d(t,"name",function(){return E}),n.d(t,"settings",function(){return x});var E="core/latest-posts",x={title:Object(o.__)("Latest Posts"),description:Object(o.__)("Display a list of your most recent posts."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(r.createElement)(a.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),category:"widgets",keywords:[Object(o.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:C,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(29),m=n.n(d),h=n(41),p=n.n(h),g=n(4),f=n(5),O=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).getYearMonth=p()(e.getYearMonth.bind(Object(u.a)(Object(u.a)(e))),{maxSize:1}),e.getServerSideAttributes=p()(e.getServerSideAttributes.bind(Object(u.a)(Object(u.a)(e))),{maxSize:1}),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=m()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(o.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(b.createElement)(g.Disabled,null,Object(b.createElement)(g.ServerSideRender,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(b.Component),v=Object(f.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute;return{date:"post"===t("type")?t("date"):void 0}})(O);n.d(t,"name",function(){return j}),n.d(t,"settings",function(){return y});var j="core/calendar",y={title:Object(r.__)("Calendar"),description:Object(r.__)("A calendar of your site’s posts."),icon:"calendar",category:"widgets",keywords:[Object(r.__)("posts"),Object(r.__)("archive")],supports:{align:!0},edit:v,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(2),m=n(6),h=n(5),p=n(8),g=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(b.a)(Object(b.a)(e))),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(b.a)(Object(b.a)(e))),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter(function(t){return t.parent===e}):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(d.unescape)(e.name).trim():Object(o.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(r.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map(function(t){return e.renderCategoryListItem(t,0)}))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,o=this.props.attributes,a=o.showHierarchy,c=o.showPostCounts,i=this.getCategories(e.id);return Object(r.createElement)("li",{key:e.id},Object(r.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),c&&Object(r.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),a&&!!i.length&&Object(r.createElement)("ul",{className:this.getCategoryListClassName(t+1)},i.map(function(e){return n.renderCategoryListItem(e,t+1)})))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,a=this.getCategories(n),c="blocks-category-select-".concat(t);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("label",{htmlFor:c,className:"screen-reader-text"},Object(o.__)("Categories")),Object(r.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},a.map(function(t){return e.renderCategoryDropdownItem(t,0)})))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,o=this.props.attributes,a=o.showHierarchy,c=o.showPostCounts,i=this.getCategories(e.id);return[Object(r.createElement)("option",{key:e.id},Object(d.times)(3*t,function(){return" "}),this.renderCategoryName(e),c?" (".concat(e.count,")"):""),a&&!!i.length&&i.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,c=t.displayAsDropdown,i=t.showHierarchy,l=t.showPostCounts,s=Object(r.createElement)(p.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Categories Settings")},Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display as Dropdown"),checked:c,onChange:this.toggleDisplayAsDropdown}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Hierarchy"),checked:i,onChange:this.toggleShowHierarchy}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Post Counts"),checked:l,onChange:this.toggleShowPostCounts})));return n?Object(r.createElement)(r.Fragment,null,s,Object(r.createElement)(a.Placeholder,{icon:"admin-post",label:Object(o.__)("Categories")},Object(r.createElement)(a.Spinner,null))):Object(r.createElement)(r.Fragment,null,s,Object(r.createElement)("div",{className:this.props.className},c?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(r.Component),f=Object(m.compose)(Object(h.withSelect)(function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}}),m.withInstanceId)(g);n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return v});var O="core/categories",v={title:Object(o.__)("Categories"),description:Object(o.__)("Display a list of all categories."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(r.createElement)(a.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object(r.createElement)(a.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,alignWide:!1,html:!1},edit:f,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(1),c=n(14),i=n(4),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(8),p=n(18),g=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(m.a)(Object(m.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.state={defaultText:Object(a.__)("Read more")},e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===p.ENTER&&n([Object(c.createBlock)(Object(c.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(a.__)("The excerpt is hidden."):Object(a.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,o=this.props.setAttributes,c=this.state.defaultText,l=void 0!==t?t:c,s=l.length+1;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h.InspectorControls,null,Object(r.createElement)(i.PanelBody,null,Object(r.createElement)(i.ToggleControl,{label:Object(a.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return o({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(r.createElement)("div",{className:"wp-block-more"},Object(r.createElement)("input",{type:"text",value:l,size:s,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(r.Component);n.d(t,"name",function(){return f}),n.d(t,"settings",function(){return O});var f="core/more",O={title:Object(a._x)("More","block name"),description:Object(a.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(i.G,null,Object(r.createElement)(i.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),Object(c.createBlock)("core/more",o)}}]},edit:g,save:function(e){var t=e.attributes,n=t.customText,a=t.noTeaser,c=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",i=a?"\x3c!--noteaser--\x3e":"";return Object(r.createElement)(r.RawHTML,null,Object(o.compact)([c,i]).join("\n"))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(14),c=n(4);n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var i="core/nextpage",l={title:Object(o.__)("Page Break"),description:Object(o.__)("Separate your content into a multi-page experience."),icon:Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.G,null,Object(r.createElement)(c.Path,{d:"M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}))),category:"layout",keywords:[Object(o.__)("next page"),Object(o.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(a.createBlock)("core/nextpage",{})}}]},edit:function(){return Object(r.createElement)("div",{className:"wp-block-nextpage"},Object(r.createElement)("span",null,Object(o.__)("Page break")))},save:function(){return Object(r.createElement)(r.RawHTML,null,"\x3c!--nextpage--\x3e")}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(8);n.d(t,"name",function(){return c}),n.d(t,"settings",function(){return i});var c="core/search",i={title:Object(r.__)("Search"),description:Object(r.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(r.__)("find")],edit:function(e){var t=e.className,n=e.attributes,c=e.setAttributes,i=n.label,l=n.placeholder,s=n.buttonText;return Object(o.createElement)("div",{className:t},Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(r.__)("Label text"),placeholder:Object(r.__)("Add label…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:i,onChange:function(e){return c({label:e})}}),Object(o.createElement)("input",{className:"wp-block-search__input","aria-label":Object(r.__)("Optional placeholder text"),placeholder:l?void 0:Object(r.__)("Optional placeholder…"),value:l,onChange:function(e){return c({placeholder:e.target.value})}}),Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(r.__)("Button text"),placeholder:Object(r.__)("Add button text…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:s,onChange:function(e){return c({buttonText:e})}}))},save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(15),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(1),u=n(8),b=n(5),d=n(4),m=n(19),h=n(10),p=n(9),g=n(11),f=n(12),O=n(13),v=n(3),j="is-style-".concat("solid-color"),y=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(g.a)(this,Object(f.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(v.a)(Object(v.a)(n))),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(v.a)(Object(v.a)(n))),n}return Object(O.a)(t,e),Object(p.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setTextColor,a=t.setMainColor,c=t.className,i=Object(l.includes)(c,j),s=!r.color||this.wasTextColorAutomaticallyComputed,u=i&&s&&e;a(e),u&&(this.wasTextColorAutomaticallyComputed=!0,o(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,c=e.setAttributes,b=e.isSelected,d=e.className,h=t.value,p=t.citation,g=Object(l.includes)(d,j),f=g?{backgroundColor:n.color}:{borderColor:n.color},O={color:r.color},v=r.color?i()("has-text-color",Object(o.a)({},r.class,r.class)):void 0;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("figure",{style:f,className:i()(d,Object(o.a)({},n.class,g&&n.class))},Object(a.createElement)("blockquote",{style:O,className:v},Object(a.createElement)(u.RichText,{multiline:!0,value:h,onChange:function(e){return c({value:e})},placeholder:Object(s.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!u.RichText.isEmpty(p)||b)&&Object(a.createElement)(u.RichText,{value:p,placeholder:Object(s.__)("Write citation…"),onChange:function(e){return c({citation:e})},className:"wp-block-pullquote__citation"}))),Object(a.createElement)(u.InspectorControls,null,Object(a.createElement)(u.PanelColorSettings,{title:Object(s.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(s.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(s.__)("Text Color")}]},g&&Object(a.createElement)(u.ContrastChecker,Object(m.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(a.Component),_=Object(u.withColors)({mainColor:"background-color",textColor:"color"})(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var w={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},k="core/pullquote",C={title:Object(s.__)("Pullquote"),description:Object(s.__)("Give special visual emphasis to a quote from your text."),icon:Object(a.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(d.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(a.createElement)(d.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(a.createElement)(d.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object(a.createElement)(d.Polygon,{points:"21 4 2 4 2 6 21 6"})),category:"formatting",attributes:w,styles:[{name:"default",label:Object(s._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(s.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:_,save:function(e){var t,n,r=e.attributes,c=r.mainColor,s=r.customMainColor,d=r.textColor,m=r.customTextColor,h=r.value,p=r.citation,g=r.className;if(Object(l.includes)(g,j))(t=Object(u.getColorClassName)("background-color",c))||(n={backgroundColor:s});else if(s)n={borderColor:s};else if(c){var f=Object(l.get)(Object(b.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(u.getColorObjectByAttributeValues)(f,c).color}}var O=Object(u.getColorClassName)("color",d),v=d||m?i()("has-text-color",Object(o.a)({},O,O)):void 0,y=O?void 0:{color:m};return Object(a.createElement)("figure",{className:t,style:n},Object(a.createElement)("blockquote",{className:v,style:y},Object(a.createElement)(u.RichText.Content,{value:h,multiline:!0}),!u.RichText.isEmpty(p)&&Object(a.createElement)(u.RichText.Content,{tagName:"cite",value:p})))},deprecated:[{attributes:Object(r.a)({},w),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(a.createElement)("blockquote",null,Object(a.createElement)(u.RichText.Content,{value:n,multiline:!0}),!u.RichText.isEmpty(r)&&Object(a.createElement)(u.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(r.a)({},w,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object(a.createElement)("blockquote",{className:"align".concat(o)},Object(a.createElement)(u.RichText.Content,{value:n,multiline:!0}),!u.RichText.isEmpty(r)&&Object(a.createElement)(u.RichText.Content,{tagName:"footer",value:r}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(15),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(4),m=n(8),h=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(u.a)(Object(u.a)(e))),e.onSubmitURL=e.onSubmitURL.bind(Object(u.a)(Object(u.a)(e))),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(o.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,o=t.columns,a=t.displayAuthor,c=t.displayExcerpt,i=t.displayDate,l=t.excerptLength,s=t.feedURL,u=t.itemsToShow,h=this.props.setAttributes;if(this.state.editing)return Object(b.createElement)(d.Placeholder,{icon:"rss",label:"RSS"},Object(b.createElement)("form",{onSubmit:this.onSubmitURL},Object(b.createElement)(d.TextControl,{placeholder:Object(r.__)("Enter URL here…"),value:s,onChange:function(e){return h({feedURL:e})},className:"components-placeholder__input"}),Object(b.createElement)(d.Button,{isLarge:!0,type:"submit"},Object(r.__)("Use URL"))));var p=[{icon:"edit",title:Object(r.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(r.__)("List View"),onClick:function(){return h({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(r.__)("Grid View"),onClick:function(){return h({blockLayout:"grid"})},isActive:"grid"===n}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(m.BlockControls,null,Object(b.createElement)(d.Toolbar,{controls:p})),Object(b.createElement)(m.InspectorControls,null,Object(b.createElement)(d.PanelBody,{title:Object(r.__)("RSS Settings")},Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Number of items"),value:u,onChange:function(e){return h({itemsToShow:e})},min:1,max:10,required:!0}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display author"),checked:a,onChange:this.toggleAttribute("displayAuthor")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display date"),checked:i,onChange:this.toggleAttribute("displayDate")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display excerpt"),checked:c,onChange:this.toggleAttribute("displayExcerpt")}),c&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Max number of words in excerpt"),value:l,onChange:function(e){return h({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Columns"),value:o,onChange:function(e){return h({columns:e})},min:2,max:6,required:!0}))),Object(b.createElement)(d.Disabled,null,Object(b.createElement)(d.ServerSideRender,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(b.Component);n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var p="core/rss",g={title:Object(r.__)("RSS"),description:Object(r.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(r.__)("atom"),Object(r.__)("feed")],supports:{html:!1},edit:h,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(2),m=n(4),h=n(5),p=n(8),g=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(u.a)(Object(u.a)(e))),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(u.a)(Object(u.a)(e))),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(d.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(r.__)("- Select -"),value:""},n=Object(d.map)(e,function(e){return{value:e.slug,label:e.name}});return[t].concat(Object(o.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,o=this.getTaxonomyOptions(),a=Object(b.createElement)(p.InspectorControls,null,Object(b.createElement)(m.PanelBody,{title:Object(r.__)("Tag Cloud Settings")},Object(b.createElement)(m.SelectControl,{label:Object(r.__)("Taxonomy"),options:o,value:t,onChange:this.setTaxonomy}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(b.createElement)(b.Fragment,null,a,Object(b.createElement)(m.ServerSideRender,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(b.Component),f=Object(h.withSelect)(function(e){return{taxonomies:e("core").getTaxonomies()}})(g);n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return v});var O="core/tag-cloud",v={title:Object(r.__)("Tag Cloud"),description:Object(r.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:f,save:function(){return null}}},,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"registerCoreBlocks",function(){return G});var r=n(17),o=(n(72),n(8),n(22),n(14)),a=n(138),c=n(230),i=n(235),l=n(208),s=n(234),u=n(242),b=n(236),d=n(243),m=n(246),h=n(247),p=n(240),g=n(209),f=n(210),O=n(237),v=n(110),j=n(232),y=n(241),_=n(229),w=n(244),k=n(245),C=n(231),E=n(212),x=n(136),S=n(248),T=n(249),R=n(213),A=n(251),N=n(233),B=n(252),I=n(250),P=n(214),L=n(215),M=n(216),z=n(217),H=n(239),D=n(218),F=n(219),U=n(220),V=n(238),W=n(253),q=n(139),G=function(){[a,c,i,s,E,l,L,u,b,d,m,h,p,g,f,O,v].concat(Object(r.a)(v.common),Object(r.a)(v.others),[j,window.wp&&window.wp.oldEditor?q:null,y,_,w,k,2===e.env.GUTENBERG_PHASE?C:null,x,S,T,R,A,B,I,P,N,M,z,H,W,D,F,U,V]).forEach(function(e){if(e){var t=e.name,n=e.settings;Object(o.registerBlockType)(t,n)}}),Object(o.setDefaultBlockName)(a.name),window.wp&&window.wp.oldEditor&&Object(o.setFreeformContentHandlerName)(q.name),Object(o.setUnregisteredTypeHandlerName)(x.name)}}.call(this,n(257))},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(e){r=c}}();var l,s=[],u=!1,b=-1;function d(){u&&l&&(u=!1,l.length?s=l.concat(s):b=-1,s.length&&m())}function m(){if(!u){var e=i(d);u=!0;for(var t=s.length;t;){for(l=s,s=[];++b1)for(var n=1;nc?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,a=0,c=0,i=0,l=0;lr?-1:n===r?0:1}),d=t(b[0],5),m=d[0],h=d[1],p=d[2],g=d[3],f=d[4];return g?[Math.round(m/g),Math.round(h/g),Math.round(p/g),Math.round(g/f)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",c),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),r=[].concat(n,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){var t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(r.prototype,o),a&&e(r,a),n;var r,o,a}()}()},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var r=n(21),o=n(17),a=n(7),c=n(0),i=n(2),l=n(1),s=n(14),u=n(8),b=n(20),d=n(4),m=Object(a.a)({},Object(s.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){m[e].children={li:{children:m}}});var h={className:!1},p={ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""}},g="core/list",f={title:Object(l.__)("List"),description:Object(l.__)("Create a bulleted or numbered list."),icon:Object(c.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(d.G,null,Object(c.createElement)(d.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"}))),category:"common",keywords:[Object(l.__)("bullet list"),Object(l.__)("ordered list"),Object(l.__)("numbered list")],attributes:p,supports:h,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(s.createBlock)("core/list",{values:Object(b.toHTMLString)({value:Object(b.join)(e.map(function(t){var n=t.content,r=Object(b.create)({html:n});return e.length>1?r:Object(b.replace)(r,/\n/g,b.LINE_SEPARATOR)}),b.LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(s.createBlock)("core/list",{values:Object(b.toHTMLString)({value:Object(b.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:m.ol,ul:m.ul},transform:function(e){return Object(s.createBlock)("core/list",Object(a.a)({},Object(s.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(o.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(s.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}})),Object(o.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(s.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(b.split)(Object(b.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),b.LINE_SEPARATOR).map(function(e){return Object(s.createBlock)("core/paragraph",{content:Object(b.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(s.createBlock)("core/quote",{value:Object(b.toHTMLString)({value:Object(b.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},deprecated:[{supports:h,attributes:Object(a.a)({},Object(i.omit)(p,["ordered"]),{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"}}),migrate:function(e){var t=e.nodeName,n=Object(r.a)(e,["nodeName"]);return Object(a.a)({},n,{ordered:"OL"===t})},save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(c.createElement)(u.RichText.Content,{tagName:n.toLowerCase(),value:r})}}],merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(a.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,i=e.className,b=t.ordered,d=t.values;return Object(c.createElement)(u.RichText,{identifier:"values",multiline:"li",tagName:b?"ol":"ul",onChange:function(e){return r({values:e})},value:d,wrapperClassName:"block-library-list",className:i,placeholder:Object(l.__)("Write list…"),onMerge:o,unstableOnSplit:n?function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),c=2;c"!==t&&a.push(Object(s.createBlock)("core/list",{ordered:b,values:t})),r({values:e}),n(a)}:void 0,onRemove:function(){return a([])},onTagNameChange:function(e){return r({ordered:"ol"===e})}})},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=n?"ol":"ul";return Object(c.createElement)(u.RichText.Content,{tagName:o,value:r,multiline:"li"})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var r=n(0),o=n(1),a=n(14),c=n(8),i=n(4),l="core/preformatted",s={title:Object(o.__)("Preformatted"),description:Object(o.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(i.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object(r.createElement)(i.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(r.createElement)(i.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(r.createElement)(i.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(r.createElement)(i.Rect,{x:"10",y:"10",width:"8",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}},transforms:{from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(a.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object(a.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.mergeBlocks,a=e.setAttributes,i=e.className,l=t.content;return Object(r.createElement)(c.RichText,{tagName:"pre",value:l.replace(/\n/g,"
    "),onChange:function(e){a({content:e.replace(/
    /g,"\n")})},placeholder:Object(o.__)("Write preformatted text…"),wrapperClassName:i,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(r.createElement)(c.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(1),a=n(14),c=n(4),i="core/separator",l={title:Object(o.__)("Separator"),description:Object(o.__)("Create a break between ideas or sections with a horizontal separator."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(c.Path,{d:"M19 13H5v-2h14v2z"})),category:"layout",keywords:[Object(o.__)("horizontal-line"),"hr",Object(o.__)("divider")],styles:[{name:"default",label:Object(o.__)("Default"),isDefault:!0},{name:"wide",label:Object(o.__)("Wide Line")},{name:"dots",label:Object(o.__)("Dots")}],transforms:{from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(a.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},edit:function(e){var t=e.className;return Object(r.createElement)("hr",{className:t})},save:function(){return Object(r.createElement)("hr",null)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return s}),n.d(t,"settings",function(){return u});var r=n(0),o=n(66),a=n(1),c=n(4),i=n(8),l=n(6),s="core/shortcode",u={title:Object(a.__)("Shortcode"),description:Object(a.__)("Insert additional custom elements with a WordPress shortcode."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"})),category:"widgets",attributes:{text:{type:"string",source:"html"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(o.removep)(Object(o.autop)(n))}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(l.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,o=e.instanceId,l="blocks-shortcode-input-".concat(o);return Object(r.createElement)("div",{className:"wp-block-shortcode"},Object(r.createElement)("label",{htmlFor:l},Object(r.createElement)(c.Dashicon,{icon:"shortcode"}),Object(a.__)("Shortcode")),Object(r.createElement)(i.PlainText,{className:"input-control",id:l,value:t.text,placeholder:Object(a.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return Object(r.createElement)(r.RawHTML,null,t.text)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var r=n(0),o=n(16),a=n.n(o),c=n(1),i=n(8),l=n(4),s=n(6),u="core/spacer",b={title:Object(c.__)("Spacer"),description:Object(c.__)("Add white space between blocks and customize its height."),icon:Object(r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(l.G,null,Object(r.createElement)(l.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),category:"layout",attributes:{height:{type:"number",default:100}},edit:Object(s.withInstanceId)(function(e){var t=e.attributes,n=e.isSelected,o=e.setAttributes,s=e.toggleSelection,u=e.instanceId,b=t.height,d="block-spacer-height-input-".concat(u);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.ResizableBox,{className:a()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:b},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,n,r){o({height:parseInt(b+r.height,10)}),s(!0)},onResizeStart:function(){s(!1)}}),Object(r.createElement)(i.InspectorControls,null,Object(r.createElement)(l.PanelBody,{title:Object(c.__)("Spacer Settings")},Object(r.createElement)(l.BaseControl,{label:Object(c.__)("Height in pixels"),id:d},Object(r.createElement)("input",{type:"number",id:d,onChange:function(e){o({height:parseInt(e.target.value,10)})},value:b,min:"20",step:"10"})))))}),save:function(e){var t=e.attributes;return Object(r.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var r=n(0),o=n(49),a=n.n(o),c=n(1),i=n(14),l=n(8),s=n(4),u="core/subhead",b={title:Object(c.__)("Subheading (deprecated)"),description:Object(c.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(s.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),category:"common",supports:{inserter:!1,multiple:!1},attributes:{content:{type:"string",source:"html",selector:"p"},align:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,i=t.align,s=t.content,u=t.placeholder;return a()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.BlockControls,null,Object(r.createElement)(l.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(r.createElement)(l.RichText,{tagName:"p",value:s,onChange:function(e){n({content:e})},style:{textAlign:i},className:o,placeholder:u||Object(c.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,o=t.content;return Object(r.createElement)(l.RichText.Content,{tagName:"p",style:{textAlign:n},value:o})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var r=n(0),o=n(1),a=n(8),c=n(4),i="core/template",l={title:Object(o.__)("Reusable Template"),category:"reusable",description:Object(o.__)("Template block used as a container."),icon:Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(r.createElement)(c.G,null,Object(r.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),supports:{customClassName:!1,html:!1,inserter:!1},edit:function(){return Object(r.createElement)(a.InnerBlocks,null)},save:function(){return Object(r.createElement)(a.InnerBlocks.Content,null)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return d}),n.d(t,"settings",function(){return m});var r=n(17),o=n(0),a=n(2),c=n(14),i=n(1),l=n(4),s=n(8),u=n(49),b=n.n(u),d="core/text-columns",m={supports:{inserter:!1},title:Object(i.__)("Text Columns (deprecated)"),description:Object(i.__)("This block is deprecated. Please use the Columns block instead."),icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(c.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map(function(e){var t=e.children;return Object(c.createBlock)("core/column",{},[Object(c.createBlock)("core/paragraph",{content:t})])}))}}]},getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,c=e.className,u=t.width,d=t.content,m=t.columns;return b()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.BlockAlignmentToolbar,{value:u,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,null,Object(o.createElement)(l.RangeControl,{label:Object(i.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(o.createElement)("div",{className:"".concat(c," align").concat(u," columns-").concat(m)},Object(a.times)(m,function(e){return Object(o.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(o.createElement)(s.RichText,{tagName:"p",value:Object(a.get)(d,[e,"children"]),onChange:function(t){n({content:[].concat(Object(r.a)(d.slice(0,e)),[{children:t}],Object(r.a)(d.slice(e+1)))})},placeholder:Object(i.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,c=t.columns;return Object(o.createElement)("div",{className:"align".concat(n," columns-").concat(c)},Object(a.times)(c,function(e){return Object(o.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(o.createElement)(s.RichText.Content,{tagName:"p",value:Object(a.get)(r,[e,"children"])}))}))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var r=n(0),o=n(1),a=n(14),c=n(8),i=n(4),l="core/verse",s={title:Object(o.__)("Verse"),description:Object(o.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(i.Path,{d:"M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"})),category:"formatting",keywords:[Object(o.__)("poetry")],attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className,i=e.mergeBlocks,l=t.textAlign,s=t.content;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(c.AlignmentToolbar,{value:l,onChange:function(e){n({textAlign:e})}})),Object(r.createElement)(c.RichText,{tagName:"pre",value:s,onChange:function(e){n({content:e})},style:{textAlign:l},placeholder:Object(o.__)("Write…"),wrapperClassName:a,onMerge:i}))},save:function(e){var t=e.attributes,n=t.textAlign,o=t.content;return Object(r.createElement)(c.RichText.Content,{tagName:"pre",style:{textAlign:n},value:o})},merge:function(e,t){return{content:e.content+t.content}}}},,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(0),a=n(16),c=n.n(a),i=n(2),l=n(14),s=n(8),u=n(1),b=n(19),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(4),v=Object(o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(O.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(o.createElement)(O.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(o.createElement)(O.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),j=["image","video"],y=function(e){function t(){return Object(d.a)(this,t),Object(h.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(m.a)(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(O.Toolbar,null,Object(o.createElement)(s.MediaUpload,{onSelect:n,allowedTypes:j,value:t,render:function(e){var t=e.open;return Object(o.createElement)(O.IconButton,{className:"components-toolbar__control",label:Object(u.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className;return Object(o.createElement)(o.Fragment,null,this.renderToolbarEditButton(),Object(o.createElement)("figure",{className:r},Object(o.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(o.createElement)(o.Fragment,null,this.renderToolbarEditButton(),Object(o.createElement)("figure",{className:n},Object(o.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return Object(o.createElement)(s.MediaPlaceholder,{icon:Object(o.createElement)(s.BlockIcon,{icon:v}),labels:{title:Object(u.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:j})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,a=e.mediaWidth,c=e.commitWidthChange,i=e.onWidthChange;if(r&&n){var l={right:"left"===t,left:"right"===t},s=null;switch(r){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(o.createElement)(O.ResizableBox,{className:"editor-media-container__resizer",size:{width:a+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResize:function(e,t,n){i(parseInt(n.style.width))},onResizeStop:function(e,t,n){c(parseInt(n.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(o.Component),_=["core/button","core/paragraph","core/heading","core/list"],w=[["core/paragraph",{fontSize:"large",placeholder:Object(u._x)("Content…","content placeholder")}]],k=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(f.a)(Object(f.a)(e))),e.onWidthChange=e.onWidthChange.bind(Object(f.a)(Object(f.a)(e))),e.commitWidthChange=e.commitWidthChange.bind(Object(f.a)(Object(f.a)(e))),e.state={mediaWidth:null},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(i.get)(e,["sizes","large","url"])||Object(i.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,a=e.mediaType,c=e.mediaUrl,i=e.mediaWidth;return Object(o.createElement)(y,Object(b.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:a,mediaUrl:c,mediaPosition:r,mediaWidth:i}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,a=t.className,i=t.backgroundColor,l=t.isSelected,b=t.setAttributes,d=t.setBackgroundColor,m=n.isStackedOnMobile,h=n.mediaAlt,p=n.mediaPosition,g=n.mediaType,f=n.mediaWidth,v=this.state.mediaWidth,j=c()(a,(e={"has-media-on-the-right":"right"===p,"is-selected":l},Object(r.a)(e,i.class,i.class),Object(r.a)(e,"is-stacked-on-mobile",m),e)),y="".concat(v||f,"%"),k={gridTemplateColumns:"right"===p?"auto ".concat(y):"".concat(y," auto"),backgroundColor:i.color},C=[{value:i.color,onChange:d,label:Object(u.__)("Background Color")}],E=[{icon:"align-pull-left",title:Object(u.__)("Show media on left"),isActive:"left"===p,onClick:function(){return b({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(u.__)("Show media on right"),isActive:"right"===p,onClick:function(){return b({mediaPosition:"right"})}}],x=Object(o.createElement)(O.PanelBody,{title:Object(u.__)("Media & Text Settings")},Object(o.createElement)(O.ToggleControl,{label:Object(u.__)("Stack on mobile"),checked:m,onChange:function(){return b({isStackedOnMobile:!m})}}),"image"===g&&Object(o.createElement)(O.TextareaControl,{label:Object(u.__)("Alt Text (Alternative Text)"),value:h,onChange:function(e){b({mediaAlt:e})},help:Object(u.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}));return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.InspectorControls,null,x,Object(o.createElement)(s.PanelColorSettings,{title:Object(u.__)("Color Settings"),initialOpen:!1,colorSettings:C})),Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(O.Toolbar,{controls:E})),Object(o.createElement)("div",{className:j,style:k},this.renderMediaArea(),Object(o.createElement)(s.InnerBlocks,{allowedBlocks:_,template:w,templateInsertUpdatesSelection:!1})))}}]),t}(o.Component),C=Object(s.withColors)("backgroundColor")(k),E=Object(o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(O.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"}));n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return T});var x="core/media-text",S={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},T={title:Object(u.__)("Media & Text"),description:Object(u.__)("Set media and words side-by-side for a richer layout."),icon:E,category:"layout",keywords:[Object(u.__)("image"),Object(u.__)("video")],attributes:S,supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(l.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object(l.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object(l.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object(l.createBlock)("core/video",{id:t,src:n})}}]},edit:C,save:function(e){var t,n,a=e.attributes,l=a.backgroundColor,u=a.customBackgroundColor,b=a.isStackedOnMobile,d=a.mediaAlt,m=a.mediaPosition,h=a.mediaType,p=a.mediaUrl,g=a.mediaWidth,f=a.mediaId,O={image:function(){return Object(o.createElement)("img",{src:p,alt:d,className:f&&"image"===h?"wp-image-".concat(f):null})},video:function(){return Object(o.createElement)("video",{controls:!0,src:p})}},v=Object(s.getColorClassName)("background-color",l),j=c()((t={"has-media-on-the-right":"right"===m},Object(r.a)(t,v,v),Object(r.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var y={backgroundColor:v?void 0:u,gridTemplateColumns:n};return Object(o.createElement)("div",{className:j,style:y},Object(o.createElement)("figure",{className:"wp-block-media-text__media"},(O[h]||i.noop)()),Object(o.createElement)("div",{className:"wp-block-media-text__content"},Object(o.createElement)(s.InnerBlocks.Content,null)))},deprecated:[{attributes:S,save:function(e){var t,n,a=e.attributes,l=a.backgroundColor,u=a.customBackgroundColor,b=a.isStackedOnMobile,d=a.mediaAlt,m=a.mediaPosition,h=a.mediaType,p=a.mediaUrl,g=a.mediaWidth,f={image:function(){return Object(o.createElement)("img",{src:p,alt:d})},video:function(){return Object(o.createElement)("video",{controls:!0,src:p})}},O=Object(s.getColorClassName)("background-color",l),v=c()((t={"has-media-on-the-right":"right"===m},Object(r.a)(t,O,O),Object(r.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var j={backgroundColor:O?void 0:u,gridTemplateColumns:n};return Object(o.createElement)("div",{className:v,style:j},Object(o.createElement)("figure",{className:"wp-block-media-text__media"},(f[h]||i.noop)()),Object(o.createElement)("div",{className:"wp-block-media-text__content"},Object(o.createElement)(s.InnerBlocks.Content,null)))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(19),o=n(15),a=n(7),c=n(0),i=n(16),l=n.n(i),s=n(35),u=n(14),b=n(8),d=n(1),m=n(28),h=n(10),p=n(9),g=n(11),f=n(12),O=n(13),v=n(3),j=n(2),y=n(4),_=n(6),w=n(5),k=n(22),C=n(23),E=n(40),x=n(53),S=Object(c.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(y.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(c.createElement)(y.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(c.createElement)(y.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var T=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(v.a)(Object(v.a)(e))),e.calculateSize=e.calculateSize.bind(Object(v.a)(Object(v.a)(e))),e}return Object(O.a)(t,e),Object(p.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=j.noop)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e,t,n,r,o,a=(e=this.image,t=this.container,n=t.clientWidth,r=e.width>n,o=e.height/e.width,{width:r?n:e.width,height:r?n*o:e.height}),c=a.width,i=a.height;this.setState({width:c,height:i})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object(c.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(c.Component),R=Object(_.withGlobalEvents)({resize:"calculateSize"})(T),A=["image"],N=function(e){var t=Object(j.pick)(e,["alt","id","link","caption"]);return t.url=Object(j.get)(e,["sizes","large","url"])||Object(j.get)(e,["media_details","sizes","large","source_url"])||e.url,t},B=function(e,t){return!e&&Object(s.isBlobURL)(t)},I=function(e){function t(e){var n,r=e.attributes;return Object(h.a)(this,t),(n=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(v.a)(Object(v.a)(n))),n.updateAlignment=n.updateAlignment.bind(Object(v.a)(Object(v.a)(n))),n.onFocusCaption=n.onFocusCaption.bind(Object(v.a)(Object(v.a)(n))),n.onImageClick=n.onImageClick.bind(Object(v.a)(Object(v.a)(n))),n.onSelectImage=n.onSelectImage.bind(Object(v.a)(Object(v.a)(n))),n.onSelectURL=n.onSelectURL.bind(Object(v.a)(Object(v.a)(n))),n.updateImageURL=n.updateImageURL.bind(Object(v.a)(Object(v.a)(n))),n.updateWidth=n.updateWidth.bind(Object(v.a)(Object(v.a)(n))),n.updateHeight=n.updateHeight.bind(Object(v.a)(Object(v.a)(n))),n.updateDimensions=n.updateDimensions.bind(Object(v.a)(Object(v.a)(n))),n.onSetCustomHref=n.onSetCustomHref.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkClass=n.onSetLinkClass.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkRel=n.onSetLinkRel.bind(Object(v.a)(Object(v.a)(n))),n.onSetLinkDestination=n.onSetLinkDestination.bind(Object(v.a)(Object(v.a)(n))),n.onSetNewTab=n.onSetNewTab.bind(Object(v.a)(Object(v.a)(n))),n.getFilename=n.getFilename.bind(Object(v.a)(Object(v.a)(n))),n.toggleIsEditing=n.toggleIsEditing.bind(Object(v.a)(Object(v.a)(n))),n.onUploadError=n.onUploadError.bind(Object(v.a)(Object(v.a)(n))),n.onImageError=n.onImageError.bind(Object(v.a)(Object(v.a)(n))),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(O.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(B(a,i)){var l=Object(s.getBlobByURL)(i);l&&Object(k.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(m.a)(e,1)[0];r(N(t))},allowedTypes:A,onError:function(t){o.createErrorNotice(t),e.setState({isEditing:!0})}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;B(n,o)&&!B(c,l)&&Object(s.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){this.props.noticeOperations.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){e&&e.url?(this.setState({isEditing:!1}),this.props.setAttributes(Object(a.a)({},N(e),{width:void 0,height:void 0}))):this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSetLinkDestination",value:function(e){var t;t="none"===e?void 0:"media"===e?this.props.image&&this.props.image.source_url||this.props.attributes.url:"attachment"===e?this.props.image&&this.props.image.link:this.props.attributes.href,this.props.setAttributes({linkDestination:e,href:t})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=Object(x.a)({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetCustomHref",value:function(e){this.props.setAttributes({href:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(Object(a.a)({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e,width:void 0,height:void 0})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getFilename",value:function(e){var t=Object(C.getPath)(e);if(t)return Object(j.last)(t.split("/"))}},{key:"getLinkDestinationOptions",value:function(){return[{value:"none",label:Object(d.__)("None")},{value:"media",label:Object(d.__)("Media File")},{value:"attachment",label:Object(d.__)("Attachment Page")},{value:"custom",label:Object(d.__)("Custom URL")}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(j.compact)(Object(j.map)(t,function(e){var t=e.name,r=e.slug,o=Object(j.get)(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"render",value:function(){var e,t=this,n=this.state.isEditing,r=this.props,o=r.attributes,a=r.setAttributes,i=r.isLargeViewport,u=r.isSelected,m=r.className,h=r.maxWidth,p=r.noticeUI,g=r.toggleSelection,f=r.isRTL,O=o.url,v=o.alt,_=o.caption,w=o.align,k=o.id,C=o.href,E=o.rel,x=o.linkClass,T=o.linkDestination,N=o.width,B=o.height,I=o.linkTarget,P=function(e,t){return t&&!e&&!Object(s.isBlobURL)(t)}(k,O);O&&(e=P?Object(c.createElement)(y.Toolbar,null,Object(c.createElement)(y.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(d.__)("Edit image"),onClick:this.toggleIsEditing,icon:"edit"})):Object(c.createElement)(b.MediaUploadCheck,null,Object(c.createElement)(y.Toolbar,null,Object(c.createElement)(b.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:A,value:k,render:function(e){var t=e.open;return Object(c.createElement)(y.IconButton,{className:"components-toolbar__control",label:Object(d.__)("Edit image"),icon:"edit",onClick:t})}}))));var L=Object(c.createElement)(b.BlockControls,null,Object(c.createElement)(b.BlockAlignmentToolbar,{value:w,onChange:this.updateAlignment}),e);if(n||!O){var M=P?O:void 0;return Object(c.createElement)(c.Fragment,null,L,Object(c.createElement)(b.MediaPlaceholder,{icon:Object(c.createElement)(b.BlockIcon,{icon:S}),className:m,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:p,onError:this.onUploadError,accept:"image/*",allowedTypes:A,value:{id:k,src:M}}))}var z=l()(m,{"is-transient":Object(s.isBlobURL)(O),"is-resized":!!N||!!B,"is-focused":u}),H=-1===["wide","full"].indexOf(w)&&i,D="custom"!==T,F=this.getImageSizeOptions(),U=function(e,n){return Object(c.createElement)(b.InspectorControls,null,Object(c.createElement)(y.PanelBody,{title:Object(d.__)("Image Settings")},Object(c.createElement)(y.TextareaControl,{label:Object(d.__)("Alt Text (Alternative Text)"),value:v,onChange:t.updateAlt,help:Object(d.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}),!Object(j.isEmpty)(F)&&Object(c.createElement)(y.SelectControl,{label:Object(d.__)("Image Size"),value:O,options:F,onChange:t.updateImageURL}),H&&Object(c.createElement)("div",{className:"block-library-image__dimensions"},Object(c.createElement)("p",{className:"block-library-image__dimensions__row"},Object(d.__)("Image Dimensions")),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(y.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(d.__)("Width"),value:void 0!==N?N:e,min:1,onChange:t.updateWidth}),Object(c.createElement)(y.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(d.__)("Height"),value:void 0!==B?B:n,min:1,onChange:t.updateHeight})),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(y.ButtonGroup,{"aria-label":Object(d.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(e*(r/100)),a=Math.round(n*(r/100)),i=N===o&&B===a;return Object(c.createElement)(y.Button,{key:r,isSmall:!0,isPrimary:i,"aria-pressed":i,onClick:t.updateDimensions(o,a)},r,"%")})),Object(c.createElement)(y.Button,{isSmall:!0,onClick:t.updateDimensions()},Object(d.__)("Reset"))))),Object(c.createElement)(y.PanelBody,{title:Object(d.__)("Link Settings")},Object(c.createElement)(y.SelectControl,{label:Object(d.__)("Link To"),value:T,options:t.getLinkDestinationOptions(),onChange:t.onSetLinkDestination}),"none"!==T&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link URL"),value:C||"",onChange:t.onSetCustomHref,placeholder:D?void 0:"https://",readOnly:D}),Object(c.createElement)(y.ToggleControl,{label:Object(d.__)("Open in New Tab"),onChange:t.onSetNewTab,checked:"_blank"===I}),Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link CSS Class"),value:x||"",onChange:t.onSetLinkClass}),Object(c.createElement)(y.TextControl,{label:Object(d.__)("Link Rel"),value:E||"",onChange:t.onSetLinkRel}))))};return Object(c.createElement)(c.Fragment,null,L,Object(c.createElement)("figure",{className:z},Object(c.createElement)(R,{src:O,dirtynessTrigger:w},function(e){var n,r=e.imageWidthWithinContainer,o=e.imageHeightWithinContainer,i=e.imageWidth,l=e.imageHeight,u=t.getFilename(O);n=v||(u?Object(d.sprintf)(Object(d.__)("This image has an empty alt attribute; its file name is %s"),u):Object(d.__)("This image has an empty alt attribute"));var b=Object(c.createElement)(c.Fragment,null,Object(c.createElement)("img",{src:O,alt:n,onClick:t.onImageClick,onError:function(){return t.onImageError(O)}}),Object(s.isBlobURL)(O)&&Object(c.createElement)(y.Spinner,null));if(!H||!r)return Object(c.createElement)(c.Fragment,null,U(i,l),Object(c.createElement)("div",{style:{width:N,height:B}},b));var m=N||r,p=B||o,j=i/l,_=i a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},z={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},H={figure:{require:["img"],children:Object(a.a)({},z,{a:{attributes:["href","rel","target"],children:z},figcaption:{children:Object(u.getPhrasingContentSchema)()}})}};function D(e,t){var n=document.implementation.createHTMLDocument("").body;n.innerHTML=e;var r=n.firstElementChild;if(r&&"A"===r.nodeName)return r.getAttribute(t)||void 0}function F(e,t){var n=t.shortcode,r=document.implementation.createHTMLDocument("").body;r.innerHTML=n.content;for(var o=r.querySelector("img");o&&o.parentNode&&o.parentNode!==r;)o=o.parentNode;return o&&o.parentNode.removeChild(o),r.innerHTML.trim()}var U={title:Object(d.__)("Image"),description:Object(d.__)("Insert an image to make a visual statement."),icon:S,category:"common",keywords:["img",Object(d.__)("photo")],attributes:M,transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:H,transform:function(e){var t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),r=n?n[1]:void 0,o=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=o?Number(o[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,l=c&&c.href?c.href:void 0,s=c&&c.rel?c.rel:void 0,b=c&&c.className?c.className:void 0,d=Object(u.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:a,linkDestination:i,href:l,rel:s,linkClass:b});return Object(u.createBlock)("core/image",d)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(u.createBlock)("core/image",{url:Object(s.createBlobURL)(t)})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:F},href:{shortcode:function(e,t){return D(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return D(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return D(t.shortcode.content,"class")}},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:P,save:function(e){var t,n=e.attributes,r=n.url,a=n.alt,i=n.caption,s=n.align,u=n.href,d=n.rel,m=n.linkClass,h=n.width,p=n.height,g=n.id,f=n.linkTarget,O=l()((t={},Object(o.a)(t,"align".concat(s),s),Object(o.a)(t,"is-resized",h||p),t)),v=Object(c.createElement)("img",{src:r,alt:a,className:g?"wp-image-".concat(g):null,width:h,height:p}),j=Object(c.createElement)(c.Fragment,null,u?Object(c.createElement)("a",{className:m,href:u,target:f,rel:d},v):v,!b.RichText.isEmpty(i)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:i}));return"left"===s||"right"===s||"center"===s?Object(c.createElement)("div",null,Object(c.createElement)("figure",{className:O},j)):Object(c.createElement)("figure",{className:O},j)},deprecated:[{attributes:M,save:function(e){var t,n=e.attributes,r=n.url,a=n.alt,i=n.caption,s=n.align,u=n.href,d=n.width,m=n.height,h=n.id,p=l()((t={},Object(o.a)(t,"align".concat(s),s),Object(o.a)(t,"is-resized",d||m),t)),g=Object(c.createElement)("img",{src:r,alt:a,className:h?"wp-image-".concat(h):null,width:d,height:m});return Object(c.createElement)("figure",{className:p},u?Object(c.createElement)("a",{href:u},g):g,!b.RichText.isEmpty(i)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:i}))}},{attributes:M,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,i=t.href,l=t.width,s=t.height,u=t.id,d=Object(c.createElement)("img",{src:n,alt:r,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(c.createElement)("figure",{className:a?"align".concat(a):null},i?Object(c.createElement)("a",{href:i},d):d,!b.RichText.isEmpty(o)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:M,save:function(e){var t=e.attributes,n=t.url,o=t.alt,a=t.caption,i=t.align,l=t.href,s=t.width,u=t.height,d=s||u?{width:s,height:u}:{},m=Object(c.createElement)("img",Object(r.a)({src:n,alt:o},d)),h={};return s?h={width:s}:"left"!==i&&"right"!==i||(h={maxWidth:"50%"}),Object(c.createElement)("figure",{className:i?"align".concat(i):null,style:h},l?Object(c.createElement)("a",{href:l},m):m,!b.RichText.isEmpty(a)&&Object(c.createElement)(b.RichText.Content,{tagName:"figcaption",value:a}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(2),m=n(5),h=n(22),p=n(33),g=n.n(p),f=n(6),O=n(42),v=n.n(O),j=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.formRef=Object(r.createRef)(),e.widgetContentRef=Object(r.createRef)(),e.triggerWidgetEvent=e.triggerWidgetEvent.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.triggerWidgetEvent("widget-added"),this.previousFormData=new window.FormData(this.formRef.current)}},{key:"shouldComponentUpdate",value:function(e){e.form!==this.props.form&&this.widgetContentRef.current&&(this.widgetContentRef.current.innerHTML=e.form,this.triggerWidgetEvent("widget-updated"),this.previousFormData=new window.FormData(this.formRef.current));return!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,o=t.idBase,a=t.widgetNumber,c=t.form;return Object(r.createElement)("div",{className:"widget open",ref:this.containerRef},Object(r.createElement)("div",{className:"widget-inside"},Object(r.createElement)("form",{ref:this.formRef,method:"post",onBlur:function(){e.shouldTriggerInstanceUpdate()&&e.props.onInstanceChange(e.retrieveUpdatedInstance())}},Object(r.createElement)("div",{ref:this.widgetContentRef,className:"widget-content",dangerouslySetInnerHTML:{__html:c}}),Object(r.createElement)("input",{type:"hidden",name:"widget-id",className:"widget-id",value:n}),Object(r.createElement)("input",{type:"hidden",name:"id_base",className:"id_base",value:o}),Object(r.createElement)("input",{type:"hidden",name:"widget_number",className:"widget_number",value:a}),Object(r.createElement)("input",{type:"hidden",name:"multi_number",className:"multi_number",value:""}),Object(r.createElement)("input",{type:"hidden",name:"add_new",className:"add_new",value:""}))))}},{key:"shouldTriggerInstanceUpdate",value:function(){if(!this.formRef.current)return!1;if(!this.previousFormData)return!0;var e=new window.FormData(this.formRef.current),t=Array.from(e.keys()),n=Array.from(this.previousFormData.keys());if(t.length!==n.length)return!0;for(var r=0;r1?a[p]=g:a[p]=g[0]}}}catch(e){s=!0,u=e}finally{try{l||null==m.return||m.return()}finally{if(s)throw u}}return a}}}]),t}(r.Component),y=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={form:null,idBase:null},e.instanceUpdating=null,e.onInstanceChange=e.onInstanceChange.bind(Object(b.a)(Object(b.a)(e))),e.requestWidgetUpdater=e.requestWidgetUpdater.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.requestWidgetUpdater()}},{key:"componentDidUpdate",value:function(e){e.instance!==this.props.instance&&this.instanceUpdating!==this.props.instance&&this.requestWidgetUpdater(),this.instanceUpdating===this.props.instance&&(this.instanceUpdating=null)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,a=t.identifier,c=this.state,i=c.id,l=c.idBase,s=c.form;return a?s?Object(r.createElement)("div",{className:"wp-block-legacy-widget__edit-container",style:{display:this.props.isVisible?"block":"none"}},Object(r.createElement)(j,{ref:function(t){e.widgetEditDomManagerRef=t},onInstanceChange:this.onInstanceChange,widgetNumber:-1*n,id:i,idBase:l,form:s})):null:Object(o.__)("Not a valid widget.")}},{key:"onInstanceChange",value:function(e){var t=this;this.requestWidgetUpdater(e,function(e){t.instanceUpdating=e.instance,t.props.onInstanceChange(e.instance)})}},{key:"requestWidgetUpdater",value:function(e,t){var n=this,r=this.props,o=r.identifier,a=r.instanceId,c=r.instance;o&&g()({path:"/wp/v2/widgets/".concat(o,"/"),data:{identifier:o,instance:c,id_to_use:-1*a,instance_changes:e},method:"POST"}).then(function(e){n.isStillMounted&&(n.setState({form:e.form,idBase:e.id_base,id:e.id}),t&&t(e))})}}]),t}(r.Component),_=Object(f.withInstanceId)(y),w=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={isPreview:!1},e.switchToEdit=e.switchToEdit.bind(Object(b.a)(Object(b.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(b.a)(Object(b.a)(e))),e.changeWidget=e.changeWidget.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e,t=this,n=this.props,c=n.attributes,i=n.availableLegacyWidgets,l=n.hasPermissionsToManageWidgets,s=n.setAttributes,u=this.state.isPreview,b=c.identifier,m=c.isCallbackWidget,p=b&&i[b];if(!p)return e=l?0===i.length?Object(o.__)("There are no widgets available."):Object(r.createElement)(a.SelectControl,{label:Object(o.__)("Select a legacy widget to display:"),value:b||"none",onChange:function(e){return s({instance:{},identifier:e,isCallbackWidget:i[e].isCallbackWidget})},options:[{value:"none",label:"Select widget"}].concat(Object(d.map)(i,function(e,t){return{value:t,label:e.name}}))}):Object(o.__)("You don't have permissions to use widgets on this site."),Object(r.createElement)(a.Placeholder,{icon:Object(r.createElement)(h.BlockIcon,{icon:"admin-customizer"}),label:Object(o.__)("Legacy Widget")},e);var g=Object(r.createElement)(h.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:p.name},p.description));return l?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h.BlockControls,null,Object(r.createElement)(a.Toolbar,null,Object(r.createElement)(a.IconButton,{onClick:this.changeWidget,label:Object(o.__)("Change widget"),icon:"update"}),!m&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.Button,{className:"components-tab-button ".concat(u?"":"is-active"),onClick:this.switchToEdit},Object(r.createElement)("span",null,Object(o.__)("Edit"))),Object(r.createElement)(a.Button,{className:"components-tab-button ".concat(u?"is-active":""),onClick:this.switchToPreview},Object(r.createElement)("span",null,Object(o.__)("Preview")))))),g,!m&&Object(r.createElement)(_,{isVisible:!u,identifier:c.identifier,instance:c.instance,onInstanceChange:function(e){t.props.setAttributes({instance:e})}}),(u||m)&&this.renderWidgetPreview()):Object(r.createElement)(r.Fragment,null,g,this.renderWidgetPreview())}},{key:"changeWidget",value:function(){this.switchToEdit(),this.props.setAttributes({instance:{},identifier:void 0})}},{key:"switchToEdit",value:function(){this.setState({isPreview:!1})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"renderWidgetPreview",value:function(){var e=this.props.attributes;return Object(r.createElement)(h.ServerSideRender,{className:"wp-block-legacy-widget__preview",block:"core/legacy-widget",attributes:e})}}]),t}(r.Component),k=Object(m.withSelect)(function(e){var t=e("core/block-editor").getSettings(),n=t.availableLegacyWidgets;return{hasPermissionsToManageWidgets:t.hasPermissionsToManageWidgets,availableLegacyWidgets:n}})(w);n.d(t,"name",function(){return C}),n.d(t,"settings",function(){return E});var C="core/legacy-widget",E={title:Object(o.__)("Legacy Widget (Experimental)"),description:Object(o.__)("Display a legacy widget."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(a.G,null,Object(r.createElement)(a.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},edit:k,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(1),c=n(35),i=n(14),l=n(5),s=n(8),u=n(19),b=n(28),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(16),v=n.n(O),j=n(4),y=n(6),_=n(22),w=Object(r.createElement)(j.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(j.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(j.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function k(e){var t=e.hrefs,n=e.openInNewWindow,o=e.showDownloadButton,c=e.changeLinkDestinationOption,i=e.changeOpenInNewWindow,l=e.changeShowDownloadButton,u=t.href,b=t.textLinkHref,d=t.attachmentPage,m=[{value:u,label:Object(a.__)("URL")}];return d&&(m=[{value:u,label:Object(a.__)("Media File")},{value:d,label:Object(a.__)("Attachment Page")}]),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.InspectorControls,null,Object(r.createElement)(j.PanelBody,{title:Object(a.__)("Text Link Settings")},Object(r.createElement)(j.SelectControl,{label:Object(a.__)("Link To"),value:b,options:m,onChange:c}),Object(r.createElement)(j.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:n,onChange:i})),Object(r.createElement)(j.PanelBody,{title:Object(a.__)("Download Button Settings")},Object(r.createElement)(j.ToggleControl,{label:Object(a.__)("Show Download Button"),checked:o,onChange:l}))))}var C=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(f.a)(Object(f.a)(e))),e.confirmCopyURL=e.confirmCopyURL.bind(Object(f.a)(Object(f.a)(e))),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(f.a)(Object(f.a)(e))),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(f.a)(Object(f.a)(e))),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(f.a)(Object(f.a)(e))),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(f.a)(Object(f.a)(e))),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=n.href;if(Object(c.isBlobURL)(o)){var a=Object(c.getBlobByURL)(o);Object(_.mediaUpload)({filesList:[a],onFileChange:function(t){var n=Object(b.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),r.createErrorNotice(t)}}),Object(c.revokeBlobURL)(o)}}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isSelected,o=e.attributes,i=e.setAttributes,l=e.noticeUI,b=e.noticeOperations,d=e.media,m=o.fileName,h=o.href,p=o.textLinkHref,g=o.textLinkTarget,f=o.showDownloadButton,O=o.downloadButtonText,y=o.id,_=this.state,C=_.hasError,E=_.showCopyConfirmation,x=d&&d.link;if(!h||C)return Object(r.createElement)(s.MediaPlaceholder,{icon:Object(r.createElement)(s.BlockIcon,{icon:w}),labels:{title:Object(a.__)("File"),instructions:Object(a.__)("Drag a file, upload a new one or select a file from your library.")},onSelect:this.onSelectFile,notices:l,onError:b.createErrorNotice,accept:"*"});var S=v()(t,{"is-transient":Object(c.isBlobURL)(h)});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(k,Object(u.a)({hrefs:{href:h,textLinkHref:p,attachmentPage:x}},{openInNewWindow:!!g,showDownloadButton:f,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(r.createElement)(s.BlockControls,null,Object(r.createElement)(s.MediaUploadCheck,null,Object(r.createElement)(j.Toolbar,null,Object(r.createElement)(s.MediaUpload,{onSelect:this.onSelectFile,value:y,render:function(e){var t=e.open;return Object(r.createElement)(j.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(r.createElement)("div",{className:S},Object(r.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(r.createElement)(s.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:m,placeholder:Object(a.__)("Write file name…"),keepPlaceholderOnFocus:!0,formattingControls:[],onChange:function(e){return i({fileName:e})}}),f&&Object(r.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(r.createElement)(s.RichText,{tagName:"div",className:"wp-block-file__button",value:O,formattingControls:[],placeholder:Object(a.__)("Add text…"),keepPlaceholderOnFocus:!0,onChange:function(e){return i({downloadButtonText:e})}}))),n&&Object(r.createElement)(j.ClipboardButton,{isDefault:!0,text:h,className:"wp-block-file__copy-url-button",onCopy:this.confirmCopyURL,onFinishCopy:this.resetCopyConfirmation,disabled:Object(c.isBlobURL)(h)},E?Object(a.__)("Copied!"):Object(a.__)("Copy URL"))))}}]),t}(r.Component),E=Object(y.compose)([Object(l.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{media:void 0===r?void 0:n(r)}}),j.withNotices])(C);n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var x="core/file",S={title:Object(a.__)("File"),description:Object(a.__)("Add a link to a downloadable file."),icon:w,category:"common",keywords:[Object(a.__)("document"),Object(a.__)("pdf")],attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]",default:Object(a._x)("Download","button label")}},supports:{align:!0},transforms:{from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach(function(e){var n=Object(c.createBlobURL)(e);t.push(Object(i.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(i.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"audio")},transform:function(e){return Object(i.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"video")},transform:function(e){return Object(i.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(l.select)("core").getMedia)(t);return!!n&&Object(o.includes)(n.mime_type,"image")},transform:function(e){return Object(i.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},edit:E,save:function(e){var t=e.attributes,n=t.href,o=t.fileName,a=t.textLinkHref,c=t.textLinkTarget,i=t.showDownloadButton,l=t.downloadButtonText;return n&&Object(r.createElement)("div",null,!s.RichText.isEmpty(o)&&Object(r.createElement)("a",{href:a,target:c,rel:!!c&&"noreferrer noopener"},Object(r.createElement)(s.RichText.Content,{value:o})),i&&Object(r.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(r.createElement)(s.RichText.Content,{value:l})))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(19),a=n(7),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(0),m=n(2),h=n(4),p=n(5),g=n(8),f=n(6),O=n(18),v=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).titleField=Object(d.createRef)(),e.editButton=Object(d.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(b.a)(Object(b.a)(e))),e.handleTitleChange=e.handleTitleChange.bind(Object(b.a)(Object(b.a)(e))),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===O.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,o=e.isSaving,a=e.isEditDisabled,c=e.onEdit,i=e.instanceId;return Object(d.createElement)(d.Fragment,null,!t&&!o&&Object(d.createElement)("div",{className:"reusable-block-edit-panel"},Object(d.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(d.createElement)(h.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:a,onClick:c},Object(r.__)("Edit"))),(t||o)&&Object(d.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(d.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(i),className:"reusable-block-edit-panel__label"},Object(r.__)("Name:")),Object(d.createElement)("input",{ref:this.titleField,type:"text",disabled:o,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(i)}),Object(d.createElement)(h.Button,{type:"submit",isLarge:!0,isBusy:o,disabled:!n||o,className:"reusable-block-edit-panel__button"},Object(r.__)("Save"))))}}]),t}(d.Component),j=Object(f.withInstanceId)(v);var y=function(e){var t=e.title,n=Object(r.sprintf)(Object(r.__)("Reusable Block: %s"),t);return Object(d.createElement)(h.Tooltip,{text:n},Object(d.createElement)("span",{className:"reusable-block-indicator"},Object(d.createElement)(h.Dashicon,{icon:"controls-repeat"})))},_=function(e){function t(e){var n,r=e.reusableBlock;return Object(c.a)(this,t),(n=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(b.a)(Object(b.a)(n))),n.stopEditing=n.stopEditing.bind(Object(b.a)(Object(b.a)(n))),n.setAttributes=n.setAttributes.bind(Object(b.a)(Object(b.a)(n))),n.setTitle=n.setTitle.bind(Object(b.a)(Object(b.a)(n))),n.save=n.save.bind(Object(b.a)(Object(b.a)(n))),r&&r.isTemporary?n.state={isEditing:!0,title:r.title,changedAttributes:{}}:n.state={isEditing:!1,title:null,changedAttributes:null},n}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,changedAttributes:{}})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,changedAttributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){if(null!==t.changedAttributes)return{changedAttributes:Object(a.a)({},t.changedAttributes,e)}})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.reusableBlock,n=e.onUpdateTitle,r=e.updateAttributes,o=e.block,a=e.onSave,c=this.state,i=c.title,l=c.changedAttributes;i!==t.title&&n(i),r(o.clientId,l),a(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,c=e.block,i=e.isFetching,l=e.isSaving,s=e.canUpdateBlock,u=this.state,b=u.isEditing,p=u.title,f=u.changedAttributes;if(!n&&i)return Object(d.createElement)(h.Placeholder,null,Object(d.createElement)(h.Spinner,null));if(!n||!c)return Object(d.createElement)(h.Placeholder,null,Object(r.__)("Block has been deleted or is unavailable."));var O=Object(d.createElement)(g.BlockEdit,Object(o.a)({},this.props,{isSelected:b&&t,clientId:c.clientId,name:c.name,attributes:Object(a.a)({},c.attributes,f),setAttributes:b?this.setAttributes:m.noop}));return b||(O=Object(d.createElement)(h.Disabled,null,O)),Object(d.createElement)(d.Fragment,null,(t||b)&&Object(d.createElement)(j,{isEditing:b,title:null!==p?p:n.title,isSaving:l&&!n.isTemporary,isEditDisabled:!s,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!b&&Object(d.createElement)(y,{title:n.title}),O)}}]),t}(d.Component),w=Object(f.compose)([Object(p.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor").getBlock,l=t.attributes.ref,s=r(l);return{reusableBlock:s,isFetching:o(l),isSaving:a(l),block:s?i(s.clientId):null,canUpdateBlock:!!s&&!s.isTemporary&&!!c("update","blocks",l)}}),Object(p.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlockTitle,a=n.__experimentalSaveReusableBlock,c=e("core/block-editor").updateBlockAttributes,i=t.attributes.ref;return{fetchReusableBlock:Object(m.partial)(r,i),updateAttributes:c,onUpdateTitle:Object(m.partial)(o,i),onSave:Object(m.partial)(a,i)}})])(_);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/block",C={title:Object(r.__)("Reusable Block"),category:"reusable",description:Object(r.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},edit:w,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(0),a=n(2),c=n(1),i=n(14),l=n(8),s=n(22),u=n(35),b=n(15),d=n(17),m=n(10),h=n(9),p=n(11),g=n(12),f=n(13),O=n(3),v=n(16),j=n.n(v),y=n(4),_=n(18),w=n(5),k=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).onImageClick=e.onImageClick.bind(Object(O.a)(Object(O.a)(e))),e.onSelectCaption=e.onSelectCaption.bind(Object(O.a)(Object(O.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(O.a)(Object(O.a)(e))),e.bindContainer=e.bindContainer.bind(Object(O.a)(Object(O.a)(e))),e.state={captionSelected:!1},e}return Object(f.a)(t,e),Object(h.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[_.BACKSPACE,_.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,a=t.id,i=t.linkTo,s=t.link,b=t.isSelected,d=t.caption,m=t.onRemove,h=t.setAttributes,p=t["aria-label"];switch(i){case"media":e=n;break;case"attachment":e=s}var g=Object(o.createElement)(o.Fragment,null,Object(o.createElement)("img",{src:n,alt:r,"data-id":a,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":p}),Object(u.isBlobURL)(n)&&Object(o.createElement)(y.Spinner,null)),f=j()({"is-selected":b,"is-transient":Object(u.isBlobURL)(n)});return Object(o.createElement)("figure",{className:f,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},b&&Object(o.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(o.createElement)(y.IconButton,{icon:"no-alt",onClick:m,className:"blocks-gallery-item__remove",label:Object(c.__)("Remove Image")})),e?Object(o.createElement)("a",{href:e},g):g,!l.RichText.isEmpty(d)||b?Object(o.createElement)(l.RichText,{tagName:"figcaption",placeholder:Object(c.__)("Write caption…"),value:d,isSelected:this.state.captionSelected,onChange:function(e){return h({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(o.Component),C=Object(w.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(k),E=Object(o.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(y.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(o.createElement)(y.G,null,Object(o.createElement)(y.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),x=[{value:"attachment",label:Object(c.__)("Attachment Page")},{value:"media",label:Object(c.__)("Media File")},{value:"none",label:Object(c.__)("None")}],S=["image"];function T(e){return Math.min(3,e.images.length)}var R=function(e){var t=Object(a.pick)(e,["alt","id","link","caption"]);return t.url=Object(a.get)(e,["sizes","large","url"])||Object(a.get)(e,["media_details","sizes","large","source_url"])||e.url,t},A=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(Object(O.a)(e))),e.onSelectImages=e.onSelectImages.bind(Object(O.a)(Object(O.a)(e))),e.setLinkTo=e.setLinkTo.bind(Object(O.a)(Object(O.a)(e))),e.setColumnsNumber=e.setColumnsNumber.bind(Object(O.a)(Object(O.a)(e))),e.toggleImageCrop=e.toggleImageCrop.bind(Object(O.a)(Object(O.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(Object(O.a)(e))),e.setImageAttributes=e.setImageAttributes.bind(Object(O.a)(Object(O.a)(e))),e.addFiles=e.addFiles.bind(Object(O.a)(Object(O.a)(e))),e.uploadFromFiles=e.uploadFromFiles.bind(Object(O.a)(Object(O.a)(e))),e.setAttributes=e.setAttributes.bind(Object(O.a)(Object(O.a)(e))),e.state={selectedImage:null},e}return Object(f.a)(t,e),Object(h.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(r.a)({},e,{ids:Object(a.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(a.filter)(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){var t=this.props.attributes.columns;this.setAttributes({images:e.map(function(e){return R(e)}),columns:t?Math.min(e.length,t):t})}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(c.__)("Thumbnails are cropped to align."):Object(c.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,o=this.setAttributes;n[e]&&o({images:[].concat(Object(d.a)(n.slice(0,e)),[Object(r.a)({},n[e],t)],Object(d.a)(n.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.noticeOperations,r=this.setAttributes;Object(s.mediaUpload)({allowedTypes:S,filesList:e,onFileChange:function(e){var n=e.map(function(e){return R(e)});r({images:t.concat(n)})},onError:n.createErrorNotice})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,a=n.isSelected,i=n.className,s=n.noticeOperations,u=n.noticeUI,d=r.images,m=r.columns,h=void 0===m?T(r):m,p=r.align,g=r.imageCrop,f=r.linkTo,O=Object(o.createElement)(y.DropZone,{onFilesDrop:this.addFiles}),v=Object(o.createElement)(l.BlockControls,null,!!d.length&&Object(o.createElement)(y.Toolbar,null,Object(o.createElement)(l.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:S,multiple:!0,gallery:!0,value:d.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(o.createElement)(y.IconButton,{className:"components-toolbar__control",label:Object(c.__)("Edit gallery"),icon:"edit",onClick:t})}})));return 0===d.length?Object(o.createElement)(o.Fragment,null,v,Object(o.createElement)(l.MediaPlaceholder,{icon:Object(o.createElement)(l.BlockIcon,{icon:E}),className:i,labels:{title:Object(c.__)("Gallery"),instructions:Object(c.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:S,multiple:!0,notices:u,onError:s.createErrorNotice})):Object(o.createElement)(o.Fragment,null,v,Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(y.PanelBody,{title:Object(c.__)("Gallery Settings")},d.length>1&&Object(o.createElement)(y.RangeControl,{label:Object(c.__)("Columns"),value:h,onChange:this.setColumnsNumber,min:1,max:Math.min(8,d.length),required:!0}),Object(o.createElement)(y.ToggleControl,{label:Object(c.__)("Crop Images"),checked:!!g,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(o.createElement)(y.SelectControl,{label:Object(c.__)("Link To"),value:f,onChange:this.setLinkTo,options:x}))),u,Object(o.createElement)("ul",{className:j()(i,(e={},Object(b.a)(e,"align".concat(p),p),Object(b.a)(e,"columns-".concat(h),h),Object(b.a)(e,"is-cropped",g),e))},O,d.map(function(e,n){var r=Object(c.sprintf)(Object(c.__)("image %1$d of %2$d in gallery"),n+1,d.length);return Object(o.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(o.createElement)(C,{url:e.url,alt:e.alt,id:e.id,isSelected:a&&t.state.selectedImage===n,onRemove:t.onRemoveImage(n),onSelect:t.onSelectImage(n),setAttributes:function(e){return t.setImageAttributes(n,e)},caption:e.caption,"aria-label":r}))}),a&&Object(o.createElement)("li",{className:"blocks-gallery-item has-add-item-button"},Object(o.createElement)(y.FormFileUpload,{multiple:!0,isLarge:!0,className:"block-library-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(c.__)("Upload an image")))))}}]),t}(o.Component),N=Object(y.withNotices)(A);n.d(t,"name",function(){return I}),n.d(t,"settings",function(){return L});var B={images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},I="core/gallery",P=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},L={title:Object(c.__)("Gallery"),description:Object(c.__)("Display multiple images in a rich gallery."),icon:E,category:"common",keywords:[Object(c.__)("images"),Object(c.__)("photos")],attributes:B,supports:{align:!0},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(a.every)(e,["align",t])?t:void 0;var n=Object(a.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return Object(i.createBlock)("core/gallery",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return P(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return P(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(a.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=Object(i.createBlock)("core/gallery",{images:e.map(function(e){return R({url:Object(u.createBlobURL)(e)})})});return Object(s.mediaUpload)({filesList:e,onFileChange:function(e){var r=e.map(R);t(n.clientId,{ids:Object(a.map)(r,"id"),images:r})},allowedTypes:["image"]}),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object(i.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})}):Object(i.createBlock)("core/image",{align:n})}}]},edit:N,save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},deprecated:[{attributes:B,isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(a.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(r.a)({},e,{ids:Object(a.map)(e.images,function(e){var t=e.id;return t?parseInt(t,10):null})})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:B,save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.imageCrop,i=t.linkTo;return Object(o.createElement)("ul",{className:"columns-".concat(a," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(o.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(o.createElement)("figure",null,t?Object(o.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(o.createElement)(l.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:Object(r.a)({},B,{images:Object(r.a)({},B.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"}),align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,a=void 0===r?T(t):r,c=t.align,i=t.imageCrop,l=t.linkTo;return Object(o.createElement)("div",{className:"align".concat(c," columns-").concat(a," ").concat(i?"is-cropped":"")},n.map(function(e){var t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(o.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(o.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(o.createElement)("a",{href:t},n):n)}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(21),o=n(7),a=n(17),c=n(0),i=n(2),l=n(1),s=n(14),u=n(8),b=n(4),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=function(e){function t(){return Object(d.a)(this,t),Object(h.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(m.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:"heading",title:Object(l.sprintf)(Object(l.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(c.createElement)(b.Toolbar,{controls:Object(i.range)(n,r).map(function(t){return e.createLevelControl(t,o,a)})})}}]),t}(c.Component);function O(e){return Number(e.substr(1))}n.d(t,"getLevelFromHeadingNodeName",function(){return O}),n.d(t,"name",function(){return y}),n.d(t,"settings",function(){return _});var v={className:!1,anchor:!0},j={content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},align:{type:"string"},placeholder:{type:"string"}},y="core/heading",_={title:Object(l.__)("Heading"),description:Object(l.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Object(c.createElement)(b.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(b.Path,{d:"M5 4v3h5.5v12h3V7H19V4z"}),Object(c.createElement)(b.Path,{fill:"none",d:"M0 0h24v24H0V0z"})),category:"common",keywords:[Object(l.__)("title"),Object(l.__)("subtitle")],supports:v,attributes:j,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(s.getPhrasingContentSchema)()},h2:{children:Object(s.getPhrasingContentSchema)()},h3:{children:Object(s.getPhrasingContentSchema)()},h4:{children:Object(s.getPhrasingContentSchema)()},h5:{children:Object(s.getPhrasingContentSchema)()},h6:{children:Object(s.getPhrasingContentSchema)()}},transform:function(e){return Object(s.createBlock)("core/heading",Object(o.a)({},Object(s.getBlockAttributes)("core/heading",e.outerHTML),{level:O(e.nodeName)}))}}].concat(Object(a.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(s.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.createBlock)("core/paragraph",{content:t})}}]},deprecated:[{supports:v,attributes:Object(o.a)({},Object(i.omit)(j,["level"]),{nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"}}),migrate:function(e){var t=e.nodeName,n=Object(r.a)(e,["nodeName"]);return Object(o.a)({},n,{level:O(t)})},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content;return Object(c.createElement)(u.RichText.Content,{tagName:r.toLowerCase(),style:{textAlign:n},value:o})}}],merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.insertBlocksAfter,a=e.onReplace,i=e.className,d=t.align,m=t.content,h=t.level,p=t.placeholder,g="h"+h;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(u.BlockControls,null,Object(c.createElement)(f,{minLevel:2,maxLevel:5,selectedLevel:h,onChange:function(e){return n({level:e})}})),Object(c.createElement)(u.InspectorControls,null,Object(c.createElement)(b.PanelBody,{title:Object(l.__)("Heading Settings")},Object(c.createElement)("p",null,Object(l.__)("Level")),Object(c.createElement)(f,{minLevel:1,maxLevel:7,selectedLevel:h,onChange:function(e){return n({level:e})}}),Object(c.createElement)("p",null,Object(l.__)("Text Alignment")),Object(c.createElement)(u.AlignmentToolbar,{value:d,onChange:function(e){n({align:e})}}))),Object(c.createElement)(u.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:g,value:m,onChange:function(e){return n({content:e})},onMerge:r,unstableOnSplit:o?function(e,t){n({content:e});for(var r=arguments.length,a=new Array(r>2?r-2:0),c=2;c50){if(e&&e.attributes.dimRatio>50&&e.overlayColor.color===o.color)return;return o.color?void this.changeIsDarkIfRequired(w()(o.color).isDark()):void this.changeIsDarkIfRequired(!0)}if(!(e&&e.attributes.dimRatio<=50&&e.attributes.url===c)){var i;switch(r.backgroundType){case"image":i=this.imageRef.current;break;case"video":i=this.videoRef.current}i&&T().getColorAsync(i,function(e){t.changeIsDarkIfRequired(e.isDark)})}}},{key:"changeIsDarkIfRequired",value:function(e){this.state.isDark!==e&&this.setState({isDark:e})}}]),t}(a.Component),B=Object(k.compose)([Object(C.withColors)({overlayColor:"background-color"}),d.withNotices])(N);n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return L});var I={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},P="core/cover",L={title:Object(b.__)("Cover"),description:Object(b.__)("Add an image or video with a text overlay — great for headers."),icon:m,category:"common",attributes:I,supports:{align:!0},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object(s.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||"image"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType;return!e.url||"video"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(s.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},save:function(e){var t=e.attributes,n=t.backgroundType,r=t.customOverlayColor,o=t.dimRatio,c=t.focalPoint,i=t.hasParallax,s=t.overlayColor,b=t.url,d=Object(u.getColorClassName)("background-color",s),m="image"===n?R(b):{};d||(m.backgroundColor=r),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var h=l()(A(o),d,{"has-background-dim":0!==o,"has-parallax":i});return Object(a.createElement)("div",{className:h,style:m},"video"===n&&b&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:b}),Object(a.createElement)("div",{className:"wp-block-cover__inner-container"},Object(a.createElement)(u.InnerBlocks.Content,null)))},edit:B,deprecated:[{attributes:Object(o.a)({},I,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,n=t.backgroundType,o=t.contentAlign,c=t.customOverlayColor,i=t.dimRatio,s=t.focalPoint,b=t.hasParallax,d=t.overlayColor,m=t.title,h=t.url,p=Object(u.getColorClassName)("background-color",d),g="image"===n?R(h):{};p||(g.backgroundColor=c),s&&!b&&(g.backgroundPosition="".concat(100*s.x,"% ").concat(100*s.y,"%"));var f=l()(A(i),p,Object(r.a)({"has-background-dim":0!==i,"has-parallax":b},"has-".concat(o,"-content"),"center"!==o));return Object(a.createElement)("div",{className:f,style:g},"video"===n&&h&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:h}),!u.RichText.isEmpty(m)&&Object(a.createElement)(u.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:m}))},migrate:function(e){return[Object(c.omit)(e,["title","contentAlign"]),[Object(s.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(b.__)("Write title…")})]]}},{attributes:Object(o.a)({},I,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,o=t.title,c=t.hasParallax,i=t.dimRatio,s=t.align,b=t.contentAlign,d=t.overlayColor,m=t.customOverlayColor,h=Object(u.getColorClassName)("background-color",d),p=R(n);h||(p.backgroundColor=m);var g=l()("wp-block-cover-image",A(i),h,Object(r.a)({"has-background-dim":0!==i,"has-parallax":c},"has-".concat(b,"-content"),"center"!==b),s?"align".concat(s):null);return Object(a.createElement)("div",{className:g,style:p},!u.RichText.isEmpty(o)&&Object(a.createElement)(u.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:o}))}},{attributes:Object(o.a)({},I,{align:{type:"string"},title:{type:"string",source:"html",selector:"h2"},contentAlign:{type:"string",default:"center"}}),save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,c=t.dimRatio,i=t.align,s=R(n),b=l()(A(c),{"has-background-dim":0!==c,"has-parallax":o},i?"align".concat(i):null);return Object(a.createElement)("section",{className:b,style:s},Object(a.createElement)(u.RichText.Content,{tagName:"h2",value:r}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(35),a=n(14),c=n(8),i=n(1),l=n(15),s=n(28),u=n(10),b=n(9),d=n(11),m=n(12),h=n(13),p=n(3),g=n(4),f=n(22),O=n(53),v=Object(r.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(g.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(g.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),j=["video"],y=["image"],_=function(e){function t(){var e;return Object(u.a)(this,t),(e=Object(d.a)(this,Object(m.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(r.createRef)(),e.posterImageButton=Object(r.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(p.a)(Object(p.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(p.a)(Object(p.a)(e))),e.onSelectPoster=e.onSelectPoster.bind(Object(p.a)(Object(p.a)(e))),e.onRemovePoster=e.onRemovePoster.bind(Object(p.a)(Object(p.a)(e))),e}return Object(h.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(o.isBlobURL)(l)){var u=Object(o.getBlobByURL)(l);u&&Object(f.mediaUpload)({filesList:[u],onFileChange:function(e){var t=Object(s.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:j})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(l.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=Object(O.a)({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,o=t.caption,a=t.controls,l=t.loop,s=t.muted,u=t.poster,b=t.preload,d=t.src,m=this.props,h=m.setAttributes,p=m.isSelected,f=m.className,O=m.noticeOperations,_=m.noticeUI,w=this.state.editing,k=function(){e.setState({editing:!0})};return w?Object(r.createElement)(c.MediaPlaceholder,{icon:Object(r.createElement)(c.BlockIcon,{icon:v}),className:f,onSelect:function(t){if(!t||!t.url)return h({src:void 0,id:void 0}),void k();h({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:j,value:this.props.attributes,notices:_,onError:O.createErrorNotice}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(g.Toolbar,null,Object(r.createElement)(g.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(i.__)("Edit video"),onClick:k,icon:"edit"}))),Object(r.createElement)(c.InspectorControls,null,Object(r.createElement)(g.PanelBody,{title:Object(i.__)("Video Settings")},Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:l}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:s}),Object(r.createElement)(g.ToggleControl,{label:Object(i.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:a}),Object(r.createElement)(g.SelectControl,{label:Object(i.__)("Preload"),value:b,onChange:function(e){return h({preload:e})},options:[{value:"auto",label:Object(i.__)("Auto")},{value:"metadata",label:Object(i.__)("Metadata")},{value:"none",label:Object(i.__)("None")}]}),Object(r.createElement)(c.MediaUploadCheck,null,Object(r.createElement)(g.BaseControl,{className:"editor-video-poster-control",label:Object(i.__)("Poster Image")},Object(r.createElement)(c.MediaUpload,{title:Object(i.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:y,render:function(t){var n=t.open;return Object(r.createElement)(g.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton},e.props.attributes.poster?Object(i.__)("Replace image"):Object(i.__)("Select Poster Image"))}}),!!this.props.attributes.poster&&Object(r.createElement)(g.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(i.__)("Remove Poster Image")))))),Object(r.createElement)("figure",{className:f},Object(r.createElement)(g.Disabled,null,Object(r.createElement)("video",{controls:a,poster:u,src:d,ref:this.videoPlayer})),(!c.RichText.isEmpty(o)||p)&&Object(r.createElement)(c.RichText,{tagName:"figcaption",placeholder:Object(i.__)("Write caption…"),value:o,onChange:function(e){return h({caption:e})},inlineToolbar:!0})))}}]),t}(r.Component),w=Object(g.withNotices)(_);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/video",C={title:Object(i.__)("Video"),description:Object(i.__)("Embed a video from your media library or upload a new one."),icon:v,keywords:[Object(i.__)("movie")],category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"}},transforms:{from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(a.createBlock)("core/video",{src:Object(o.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},supports:{align:!0},edit:w,save:function(e){var t=e.attributes,n=t.autoplay,o=t.caption,a=t.controls,i=t.loop,l=t.muted,s=t.poster,u=t.preload,b=t.src;return Object(r.createElement)("figure",null,b&&Object(r.createElement)("video",{autoPlay:n,controls:a,loop:i,muted:l,poster:s,preload:"metadata"!==u?u:void 0,src:b}),!c.RichText.isEmpty(o)&&Object(r.createElement)(c.RichText.Content,{tagName:"figcaption",value:o}))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(16),a=n.n(o),c=n(1),i=n(14),l=n(4),s=n(8),u=n(10),b=n(9),d=n(11),m=n(12),h=n(13),p=n(3),g=n(17),f=n(15),O=n(7),v=n(2);var j=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],y=Object(s.createCustomColorsHOC)(j),_=function(e){function t(){var e;return Object(u.a)(this,t),(e=Object(d.a)(this,Object(m.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(p.a)(Object(p.a)(e))),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(p.a)(Object(p.a)(e))),e.onChange=e.onChange.bind(Object(p.a)(Object(p.a)(e))),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(p.a)(Object(p.a)(e))),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(p.a)(Object(p.a)(e))),e.renderSection=e.renderSection.bind(Object(p.a)(Object(p.a)(e))),e.getTableControls=e.getTableControls.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRow=e.onInsertRow.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(p.a)(Object(p.a)(e))),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(p.a)(Object(p.a)(e))),e.onDeleteRow=e.onDeleteRow.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumn=e.onInsertColumn.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(p.a)(Object(p.a)(e))),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(p.a)(Object(p.a)(e))),e.onDeleteColumn=e.onDeleteColumn.bind(Object(p.a)(Object(p.a)(e))),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(h.a)(t,e),Object(b.a)(t,[{key:"onChangeInitialColumnCount",value:function(e){this.setState({initialColumnCount:e})}},{key:"onChangeInitialRowCount",value:function(e){this.setState({initialRowCount:e})}},{key:"onCreateTable",value:function(e){e.preventDefault();var t,n,r,o=this.props.setAttributes,a=this.state,c=a.initialRowCount,i=a.initialColumnCount;c=parseInt(c,10)||2,i=parseInt(i,10)||2,o((n=(t={rowCount:c,columnCount:i}).rowCount,r=t.columnCount,{body:Object(v.times)(n,function(){return{cells:Object(v.times)(r,function(){return{content:"",tag:"td"}})}})}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes;(0,n.setAttributes)(function(e,t){var n=t.section,r=t.rowIndex,o=t.columnIndex,a=t.content;return Object(f.a)({},n,e[n].map(function(e,t){return t!==r?e:{cells:e.cells.map(function(e,t){return t!==o?e:Object(O.a)({},e,{content:a})})}}))}(r,{section:t.section,rowIndex:t.rowIndex,columnIndex:t.columnIndex,content:e}))}}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.rowIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.rowIndex,o=e[n][0].cells.length;return Object(f.a)({},n,[].concat(Object(g.a)(e[n].slice(0,r)),[{cells:Object(v.times)(o,function(){return{content:"",tag:"td"}})}],Object(g.a)(e[n].slice(r))))}(r,{section:a,rowIndex:c+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.rowIndex;return Object(f.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{section:o,rowIndex:a}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.columnIndex;return Object(f.a)({},n,e[n].map(function(e){return{cells:[].concat(Object(g.a)(e.cells.slice(0,r)),[{content:"",tag:"td"}],Object(g.a)(e.cells.slice(r)))}}))}(r,{section:a,columnIndex:c+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.columnIndex;return Object(f.a)({},n,e[n].map(function(e){return{cells:e.cells.filter(function(e,t){return t!==r})}}).filter(function(e){return e.cells.length}))}(n,{section:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:e})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(c.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(c.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(c.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(c.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(c.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(c.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.type,o=e.rows;if(!o.length)return null;var c="t".concat(n),i=this.state.selectedCell;return Object(r.createElement)(c,null,o.map(function(e,o){var c=e.cells;return Object(r.createElement)("tr",{key:o},c.map(function(e,c){var l=e.content,u=e.tag,b=i&&n===i.section&&o===i.rowIndex&&c===i.columnIndex,d={section:n,rowIndex:o,columnIndex:c},m=a()({"is-selected":b});return Object(r.createElement)(u,{key:c,className:m},Object(r.createElement)(s.RichText,{className:"wp-block-table__cell-content",value:l,onChange:t.onChange,unstableOnFocus:t.createOnFocus(d)}))}))}))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,o=e.backgroundColor,i=e.setBackgroundColor,u=this.state,b=u.initialRowCount,d=u.initialColumnCount,m=t.hasFixedLayout,h=t.head,p=t.body,g=t.foot,f=!h.length&&!p.length&&!g.length,O=this.renderSection;if(f)return Object(r.createElement)("form",{onSubmit:this.onCreateTable},Object(r.createElement)(l.TextControl,{type:"number",label:Object(c.__)("Column Count"),value:d,onChange:this.onChangeInitialColumnCount,min:"1"}),Object(r.createElement)(l.TextControl,{type:"number",label:Object(c.__)("Row Count"),value:b,onChange:this.onChangeInitialRowCount,min:"1"}),Object(r.createElement)(l.Button,{isPrimary:!0,type:"submit"},Object(c.__)("Create")));var v=a()(n,o.class,{"has-fixed-layout":m,"has-background":!!o.color});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.BlockControls,null,Object(r.createElement)(l.Toolbar,null,Object(r.createElement)(l.DropdownMenu,{icon:"editor-table",label:Object(c.__)("Edit table"),controls:this.getTableControls()}))),Object(r.createElement)(s.InspectorControls,null,Object(r.createElement)(l.PanelBody,{title:Object(c.__)("Table Settings"),className:"blocks-table-settings"},Object(r.createElement)(l.ToggleControl,{label:Object(c.__)("Fixed width table cells"),checked:!!m,onChange:this.onChangeFixedLayout})),Object(r.createElement)(s.PanelColorSettings,{title:Object(c.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:i,label:Object(c.__)("Background Color"),disableCustomColors:!0,colors:j}]})),Object(r.createElement)("table",{className:v},Object(r.createElement)(O,{type:"head",rows:h}),Object(r.createElement)(O,{type:"body",rows:p}),Object(r.createElement)(O,{type:"foot",rows:g})))}}]),t}(r.Component),w=y("backgroundColor")(_);n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var k={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object(i.getPhrasingContentSchema)()},td:{allowEmpty:!0,children:Object(i.getPhrasingContentSchema)()}}}},C={table:{children:{thead:{allowEmpty:!0,children:k},tfoot:{allowEmpty:!0,children:k},tbody:{allowEmpty:!0,children:k}}}};function E(e){return{type:"array",default:[],source:"query",selector:"t".concat(e," tr"),query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"}}}}}}var x="core/table",S={title:Object(c.__)("Table"),description:Object(c.__)("Insert a table — perfect for sharing charts and data."),icon:Object(r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(l.G,null,Object(r.createElement)(l.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:E("head"),body:E("body"),foot:E("foot")},styles:[{name:"regular",label:Object(c._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(c.__)("Stripes")}],supports:{align:!0},transforms:{from:[{type:"raw",selector:"table",schema:C}]},edit:w,save:function(e){var t=e.attributes,n=t.hasFixedLayout,o=t.head,c=t.body,i=t.foot,l=t.backgroundColor;if(!o.length&&!c.length&&!i.length)return null;var u=Object(s.getColorClassName)("background-color",l),b=a()(u,{"has-fixed-layout":n,"has-background":!!u}),d=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var o="t".concat(t);return Object(r.createElement)(o,null,n.map(function(e,t){var n=e.cells;return Object(r.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,o=e.tag;return Object(r.createElement)(s.RichText.Content,{tagName:o,value:n,key:t})}))}))};return Object(r.createElement)("table",{className:b},Object(r.createElement)(d,{type:"head",rows:o}),Object(r.createElement)(d,{type:"body",rows:c}),Object(r.createElement)(d,{type:"foot",rows:i}))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(14),c=n(4),i=n(8);n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var l="core/code",s={title:Object(o.__)("Code"),description:Object(o.__)("Display code snippets that respect your spacing and tabs."),icon:Object(r.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(c.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(c.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1},transforms:{from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(a.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className;return Object(r.createElement)("div",{className:a},Object(r.createElement)(i.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(o.__)("Write code…"),"aria-label":Object(o.__)("Code")}))},save:function(e){var t=e.attributes;return Object(r.createElement)("pre",null,Object(r.createElement)("code",null,t.content))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(14),i=n(17),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(8),p=n(22),g=n(5),f=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(m.a)(Object(m.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(m.a)(Object(m.a)(e))),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(i.a)(Object(p.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,c=this.state,i=c.isPreview,l=c.styles;return Object(r.createElement)("div",{className:"wp-block-html"},Object(r.createElement)(h.BlockControls,null,Object(r.createElement)("div",{className:"components-toolbar"},Object(r.createElement)("button",{className:"components-tab-button ".concat(i?"":"is-active"),onClick:this.switchToHTML},Object(r.createElement)("span",null,"HTML")),Object(r.createElement)("button",{className:"components-tab-button ".concat(i?"is-active":""),onClick:this.switchToPreview},Object(r.createElement)("span",null,Object(o.__)("Preview"))))),Object(r.createElement)(a.Disabled.Consumer,null,function(e){return i||e?Object(r.createElement)(a.SandBox,{html:t.content,styles:l}):Object(r.createElement)(h.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(o.__)("Write HTML…"),"aria-label":Object(o.__)("HTML")})}))}}]),t}(r.Component),O=Object(g.withSelect)(function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}})(f);n.d(t,"name",function(){return v}),n.d(t,"settings",function(){return j});var v="core/html",j={title:Object(o.__)("Custom HTML"),description:Object(o.__)("Add custom HTML code and preview it as you edit."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"})),category:"formatting",keywords:[Object(o.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object(c.getPhrasingContentSchema)()}}}}}]},edit:O,save:function(e){var t=e.attributes;return Object(r.createElement)(r.RawHTML,null,t.content)}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(8),i=n(22);n.d(t,"name",function(){return l}),n.d(t,"settings",function(){return s});var l="core/archives",s={title:Object(o.__)("Archives"),description:Object(o.__)("Display a monthly archive of your posts."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(a.G,null,Object(r.createElement)(a.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right"].includes(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,l=t.align,s=t.showPostCounts,u=t.displayAsDropdown;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Archives Settings")},Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display as Dropdown"),checked:u,onChange:function(){return n({displayAsDropdown:!u})}}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Post Counts"),checked:s,onChange:function(){return n({showPostCounts:!s})}}))),Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(c.BlockAlignmentToolbar,{value:l,onChange:function(e){n({align:e})},controls:["left","center","right"]})),Object(r.createElement)(a.Disabled,null,Object(r.createElement)(i.ServerSideRender,{block:"core/archives",attributes:t})))},save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(7),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(4),u=n(1),b=n(8),d=n(10),m=n(9),h=n(11),p=n(12),g=n(13),f=n(3),O=n(6),v=window.getComputedStyle,j=Object(s.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:v(e).backgroundColor,fallbackTextColor:a||!c?void 0:v(c).color}}),y=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(f.a)(Object(f.a)(e))),e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,o=t.backgroundColor,c=t.textColor,l=t.setBackgroundColor,d=t.setTextColor,m=t.fallbackBackgroundColor,h=t.fallbackTextColor,p=t.setAttributes,g=t.isSelected,f=t.className,O=n.text,v=n.url,j=n.title;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:f,title:j,ref:this.bindRef},Object(a.createElement)(b.RichText,{placeholder:Object(u.__)("Add text…"),value:O,onChange:function(e){return p({text:e})},formattingControls:["bold","italic","strikethrough"],className:i()("wp-block-button__link",(e={"has-background":o.color},Object(r.a)(e,o.class,o.class),Object(r.a)(e,"has-text-color",c.color),Object(r.a)(e,c.class,c.class),e)),style:{backgroundColor:o.color,color:c.color},keepPlaceholderOnFocus:!0}),Object(a.createElement)(b.InspectorControls,null,Object(a.createElement)(b.PanelColorSettings,{title:Object(u.__)("Color Settings"),colorSettings:[{value:o.color,onChange:l,label:Object(u.__)("Background Color")},{value:c.color,onChange:d,label:Object(u.__)("Text Color")}]},Object(a.createElement)(b.ContrastChecker,{isLargeText:!1,textColor:c.color,backgroundColor:o.color,fallbackBackgroundColor:m,fallbackTextColor:h})))),g&&Object(a.createElement)("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},Object(a.createElement)(s.Dashicon,{icon:"admin-links"}),Object(a.createElement)(b.URLInput,{value:v,onChange:function(e){return p({url:e})}}),Object(a.createElement)(s.IconButton,{icon:"editor-break",label:Object(u.__)("Apply"),type:"submit"})))}}]),t}(a.Component),_=Object(O.compose)([Object(b.withColors)("backgroundColor",{textColor:"color"}),j])(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return E});var w={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},k="core/button",C=function(e){return Object(l.omit)(Object(o.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},E={title:Object(u.__)("Button"),description:Object(u.__)("Prompt visitors to take action with a button-style link."),icon:Object(a.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(s.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(s.G,null,Object(a.createElement)(s.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"}))),category:"layout",keywords:[Object(u.__)("link")],attributes:w,supports:{align:!0,alignWide:!1},styles:[{name:"default",label:Object(u._x)("Default","block style"),isDefault:!0},{name:"outline",label:Object(u.__)("Outline")},{name:"squared",label:Object(u._x)("Squared","block style")}],edit:_,save:function(e){var t,n=e.attributes,o=n.url,c=n.text,l=n.title,s=n.backgroundColor,u=n.textColor,d=n.customBackgroundColor,m=n.customTextColor,h=Object(b.getColorClassName)("color",u),p=Object(b.getColorClassName)("background-color",s),g=i()("wp-block-button__link",(t={"has-text-color":u||m},Object(r.a)(t,h,h),Object(r.a)(t,"has-background",s||d),Object(r.a)(t,p,p),t)),f={backgroundColor:p?void 0:d,color:h?void 0:m};return Object(a.createElement)("div",null,Object(a.createElement)(b.RichText.Content,{tagName:"a",className:g,href:o,title:l,style:f,value:c}))},deprecated:[{attributes:Object(o.a)({},Object(l.pick)(w,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,c=t.align,i={backgroundColor:t.color,color:t.textColor};return Object(a.createElement)("div",{className:"align".concat(c)},Object(a.createElement)(b.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:i,value:r}))},migrate:C},{attributes:Object(o.a)({},Object(l.pick)(w,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,c=t.align,i=t.color,l=t.textColor;return Object(a.createElement)("div",{className:"align".concat(c),style:{backgroundColor:i}},Object(a.createElement)(b.RichText.Content,{tagName:"a",href:n,title:o,style:{color:l},value:r}))},migrate:C}]}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(4),a=n(1),c=n(15),i=n(10),l=n(9),s=n(11),u=n(12),b=n(13),d=n(3),m=n(8),h=n(22),p=function(e){function t(){var e;return Object(i.a)(this,t),(e=Object(s.a)(this,Object(u.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(d.a)(Object(d.a)(e))),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(b.a)(t,e),Object(l.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(c.a)({},e,!n))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,n=e.displayAvatar,c=e.displayDate,i=e.displayExcerpt;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.InspectorControls,null,Object(r.createElement)(o.PanelBody,{title:Object(a.__)("Latest Comments Settings")},Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Date"),checked:c,onChange:this.toggleDisplayDate}),Object(r.createElement)(o.ToggleControl,{label:Object(a.__)("Display Excerpt"),checked:i,onChange:this.toggleDisplayExcerpt}),Object(r.createElement)(o.RangeControl,{label:Object(a.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(r.createElement)(o.Disabled,null,Object(r.createElement)(h.ServerSideRender,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(r.Component);n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var g="core/latest-comments",f={title:Object(a.__)("Latest Comments"),description:Object(a.__)("Display a list of your most recent comments."),icon:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.G,null,Object(r.createElement)(o.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),category:"widgets",keywords:[Object(a.__)("recent comments")],supports:{align:!0,html:!1},edit:p,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(15),i=n(19),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(2),p=n(16),g=n.n(p),f=n(33),O=n.n(f),v=n(23),j=n(50),y=n(8),_=n(5),w={per_page:-1},k=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).state={categoriesList:[]},e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(Object(m.a)(Object(m.a)(e))),e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=O()({path:Object(v.addQueryArgs)("/wp/v2/categories",w)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,l=e.latestPosts,s=this.state.categoriesList,u=t.displayPostDate,b=t.align,d=t.postLayout,m=t.columns,h=t.order,p=t.orderBy,f=t.categories,O=t.postsToShow,v=Object(r.createElement)(y.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Latest Posts Settings")},Object(r.createElement)(a.QueryControls,Object(i.a)({order:h,orderBy:p},{numberOfItems:O,categoriesList:s,selectedCategoryId:f,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display post date"),checked:u,onChange:this.toggleDisplayPostDate}),"grid"===d&&Object(r.createElement)(a.RangeControl,{label:Object(o.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:_?Math.min(6,l.length):6,required:!0}))),_=Array.isArray(l)&&l.length;if(!_)return Object(r.createElement)(r.Fragment,null,v,Object(r.createElement)(a.Placeholder,{icon:"admin-post",label:Object(o.__)("Latest Posts")},Array.isArray(l)?Object(o.__)("No posts found."):Object(r.createElement)(a.Spinner,null)));var w=l.length>O?l.slice(0,O):l,k=[{icon:"list-view",title:Object(o.__)("List View"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===d},{icon:"grid-view",title:Object(o.__)("Grid View"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===d}],C=Object(j.__experimentalGetSettings)().formats.date;return Object(r.createElement)(r.Fragment,null,v,Object(r.createElement)(y.BlockControls,null,Object(r.createElement)(y.BlockAlignmentToolbar,{value:b,onChange:function(e){n({align:e})}}),Object(r.createElement)(a.Toolbar,{controls:k})),Object(r.createElement)("ul",{className:g()(this.props.className,Object(c.a)({"is-grid":"grid"===d,"has-dates":u},"columns-".concat(m),"grid"===d))},w.map(function(e,t){var n=e.title.rendered.trim();return Object(r.createElement)("li",{key:t},Object(r.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(r.createElement)(r.RawHTML,null,n):Object(o.__)("(Untitled)")),u&&e.date_gmt&&Object(r.createElement)("time",{dateTime:Object(j.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(j.dateI18n)(C,e.date_gmt)))})))}}]),t}(r.Component),C=Object(_.withSelect)(function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(h.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(h.isUndefined)(e)}))}})(k);n.d(t,"name",function(){return E}),n.d(t,"settings",function(){return x});var E="core/latest-posts",x={title:Object(o.__)("Latest Posts"),description:Object(o.__)("Display a list of your most recent posts."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(r.createElement)(a.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(r.createElement)(a.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),category:"widgets",keywords:[Object(o.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:C,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(29),m=n.n(d),h=n(41),p=n.n(h),g=n(4),f=n(5),O=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).getYearMonth=p()(e.getYearMonth.bind(Object(u.a)(Object(u.a)(e))),{maxSize:1}),e.getServerSideAttributes=p()(e.getServerSideAttributes.bind(Object(u.a)(Object(u.a)(e))),{maxSize:1}),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=m()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(o.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(b.createElement)(g.Disabled,null,Object(b.createElement)(g.ServerSideRender,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(b.Component),v=Object(f.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute;return{date:"post"===t("type")?t("date"):void 0}})(O);n.d(t,"name",function(){return j}),n.d(t,"settings",function(){return y});var j="core/calendar",y={title:Object(r.__)("Calendar"),description:Object(r.__)("A calendar of your site’s posts."),icon:"calendar",category:"widgets",keywords:[Object(r.__)("posts"),Object(r.__)("archive")],supports:{align:!0},edit:v,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(4),c=n(10),i=n(9),l=n(11),s=n(12),u=n(13),b=n(3),d=n(2),m=n(6),h=n(5),p=n(8),g=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(b.a)(Object(b.a)(e))),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(b.a)(Object(b.a)(e))),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(b.a)(Object(b.a)(e))),e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter(function(t){return t.parent===e}):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(d.unescape)(e.name).trim():Object(o.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(r.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map(function(t){return e.renderCategoryListItem(t,0)}))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,o=this.props.attributes,a=o.showHierarchy,c=o.showPostCounts,i=this.getCategories(e.id);return Object(r.createElement)("li",{key:e.id},Object(r.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),c&&Object(r.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),a&&!!i.length&&Object(r.createElement)("ul",{className:this.getCategoryListClassName(t+1)},i.map(function(e){return n.renderCategoryListItem(e,t+1)})))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,a=this.getCategories(n),c="blocks-category-select-".concat(t);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("label",{htmlFor:c,className:"screen-reader-text"},Object(o.__)("Categories")),Object(r.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},a.map(function(t){return e.renderCategoryDropdownItem(t,0)})))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,o=this.props.attributes,a=o.showHierarchy,c=o.showPostCounts,i=this.getCategories(e.id);return[Object(r.createElement)("option",{key:e.id},Object(d.times)(3*t,function(){return" "}),this.renderCategoryName(e),c?" (".concat(e.count,")"):""),a&&!!i.length&&i.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,c=t.displayAsDropdown,i=t.showHierarchy,l=t.showPostCounts,s=Object(r.createElement)(p.InspectorControls,null,Object(r.createElement)(a.PanelBody,{title:Object(o.__)("Categories Settings")},Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Display as Dropdown"),checked:c,onChange:this.toggleDisplayAsDropdown}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Hierarchy"),checked:i,onChange:this.toggleShowHierarchy}),Object(r.createElement)(a.ToggleControl,{label:Object(o.__)("Show Post Counts"),checked:l,onChange:this.toggleShowPostCounts})));return n?Object(r.createElement)(r.Fragment,null,s,Object(r.createElement)(a.Placeholder,{icon:"admin-post",label:Object(o.__)("Categories")},Object(r.createElement)(a.Spinner,null))):Object(r.createElement)(r.Fragment,null,s,Object(r.createElement)("div",{className:this.props.className},c?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(r.Component),f=Object(m.compose)(Object(h.withSelect)(function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}}),m.withInstanceId)(g);n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return v});var O="core/categories",v={title:Object(o.__)("Categories"),description:Object(o.__)("Display a list of all categories."),icon:Object(r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(a.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(r.createElement)(a.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object(r.createElement)(a.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,alignWide:!1,html:!1},edit:f,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(2),a=n(1),c=n(14),i=n(4),l=n(10),s=n(9),u=n(11),b=n(12),d=n(13),m=n(3),h=n(8),p=n(18),g=function(e){function t(){var e;return Object(l.a)(this,t),(e=Object(u.a)(this,Object(b.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(m.a)(Object(m.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.state={defaultText:Object(a.__)("Read more")},e}return Object(d.a)(t,e),Object(s.a)(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===p.ENTER&&n([Object(c.createBlock)(Object(c.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(a.__)("The excerpt is hidden."):Object(a.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,o=this.props.setAttributes,c=this.state.defaultText,l=void 0!==t?t:c,s=l.length+1;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h.InspectorControls,null,Object(r.createElement)(i.PanelBody,null,Object(r.createElement)(i.ToggleControl,{label:Object(a.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return o({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(r.createElement)("div",{className:"wp-block-more"},Object(r.createElement)("input",{type:"text",value:l,size:s,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(r.Component);n.d(t,"name",function(){return f}),n.d(t,"settings",function(){return O});var f="core/more",O={title:Object(a._x)("More","block name"),description:Object(a.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Object(r.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(i.G,null,Object(r.createElement)(i.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),Object(c.createBlock)("core/more",o)}}]},edit:g,save:function(e){var t=e.attributes,n=t.customText,a=t.noTeaser,c=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",i=a?"\x3c!--noteaser--\x3e":"";return Object(r.createElement)(r.RawHTML,null,Object(o.compact)([c,i]).join("\n"))}}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(14),c=n(4);n.d(t,"name",function(){return i}),n.d(t,"settings",function(){return l});var i="core/nextpage",l={title:Object(o.__)("Page Break"),description:Object(o.__)("Separate your content into a multi-page experience."),icon:Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.G,null,Object(r.createElement)(c.Path,{d:"M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}))),category:"layout",keywords:[Object(o.__)("next page"),Object(o.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(a.createBlock)("core/nextpage",{})}}]},edit:function(){return Object(r.createElement)("div",{className:"wp-block-nextpage"},Object(r.createElement)("span",null,Object(o.__)("Page break")))},save:function(){return Object(r.createElement)(r.RawHTML,null,"\x3c!--nextpage--\x3e")}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(15),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(1),u=n(8),b=n(5),d=n(4),m=n(19),h=n(10),p=n(9),g=n(11),f=n(12),O=n(13),v=n(3),j="is-style-".concat("solid-color"),y=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(g.a)(this,Object(f.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(v.a)(Object(v.a)(n))),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(v.a)(Object(v.a)(n))),n}return Object(O.a)(t,e),Object(p.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setTextColor,a=t.setMainColor,c=t.className,i=Object(l.includes)(c,j),s=!r.color||this.wasTextColorAutomaticallyComputed,u=i&&s&&e;a(e),u&&(this.wasTextColorAutomaticallyComputed=!0,o(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,c=e.setAttributes,b=e.isSelected,d=e.className,h=t.value,p=t.citation,g=Object(l.includes)(d,j),f=g?{backgroundColor:n.color}:{borderColor:n.color},O={color:r.color},v=r.color?i()("has-text-color",Object(o.a)({},r.class,r.class)):void 0;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("figure",{style:f,className:i()(d,Object(o.a)({},n.class,g&&n.class))},Object(a.createElement)("blockquote",{style:O,className:v},Object(a.createElement)(u.RichText,{multiline:!0,value:h,onChange:function(e){return c({value:e})},placeholder:Object(s.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!u.RichText.isEmpty(p)||b)&&Object(a.createElement)(u.RichText,{value:p,placeholder:Object(s.__)("Write citation…"),onChange:function(e){return c({citation:e})},className:"wp-block-pullquote__citation"}))),Object(a.createElement)(u.InspectorControls,null,Object(a.createElement)(u.PanelColorSettings,{title:Object(s.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(s.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(s.__)("Text Color")}]},g&&Object(a.createElement)(u.ContrastChecker,Object(m.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(a.Component),_=Object(u.withColors)({mainColor:"background-color",textColor:"color"})(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var w={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},k="core/pullquote",C={title:Object(s.__)("Pullquote"),description:Object(s.__)("Give special visual emphasis to a quote from your text."),icon:Object(a.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(d.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(a.createElement)(d.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(a.createElement)(d.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object(a.createElement)(d.Polygon,{points:"21 4 2 4 2 6 21 6"})),category:"formatting",attributes:w,styles:[{name:"default",label:Object(s._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(s.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:_,save:function(e){var t,n,r=e.attributes,c=r.mainColor,s=r.customMainColor,d=r.textColor,m=r.customTextColor,h=r.value,p=r.citation,g=r.className;if(Object(l.includes)(g,j))(t=Object(u.getColorClassName)("background-color",c))||(n={backgroundColor:s});else if(s)n={borderColor:s};else if(c){var f=Object(l.get)(Object(b.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(u.getColorObjectByAttributeValues)(f,c).color}}var O=Object(u.getColorClassName)("color",d),v=d||m?i()("has-text-color",Object(o.a)({},O,O)):void 0,y=O?void 0:{color:m};return Object(a.createElement)("figure",{className:t,style:n},Object(a.createElement)("blockquote",{className:v,style:y},Object(a.createElement)(u.RichText.Content,{value:h,multiline:!0}),!u.RichText.isEmpty(p)&&Object(a.createElement)(u.RichText.Content,{tagName:"cite",value:p})))},deprecated:[{attributes:Object(r.a)({},w),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(a.createElement)("blockquote",null,Object(a.createElement)(u.RichText.Content,{value:n,multiline:!0}),!u.RichText.isEmpty(r)&&Object(a.createElement)(u.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(r.a)({},w,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object(a.createElement)("blockquote",{className:"align".concat(o)},Object(a.createElement)(u.RichText.Content,{value:n,multiline:!0}),!u.RichText.isEmpty(r)&&Object(a.createElement)(u.RichText.Content,{tagName:"footer",value:r}))}}]}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(8);n.d(t,"name",function(){return c}),n.d(t,"settings",function(){return i});var c="core/search",i={title:Object(r.__)("Search"),description:Object(r.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(r.__)("find")],edit:function(e){var t=e.className,n=e.attributes,c=e.setAttributes,i=n.label,l=n.placeholder,s=n.buttonText;return Object(o.createElement)("div",{className:t},Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(r.__)("Label text"),placeholder:Object(r.__)("Add label…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:i,onChange:function(e){return c({label:e})}}),Object(o.createElement)("input",{className:"wp-block-search__input","aria-label":Object(r.__)("Optional placeholder text"),placeholder:l?void 0:Object(r.__)("Optional placeholder…"),value:l,onChange:function(e){return c({placeholder:e.target.value})}}),Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(r.__)("Button text"),placeholder:Object(r.__)("Add button text…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:s,onChange:function(e){return c({buttonText:e})}}))},save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(15),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(4),m=n(8),h=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(u.a)(Object(u.a)(e))),e.onSubmitURL=e.onSubmitURL.bind(Object(u.a)(Object(u.a)(e))),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(o.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,o=t.columns,a=t.displayAuthor,c=t.displayExcerpt,i=t.displayDate,l=t.excerptLength,s=t.feedURL,u=t.itemsToShow,h=this.props.setAttributes;if(this.state.editing)return Object(b.createElement)(d.Placeholder,{icon:"rss",label:"RSS"},Object(b.createElement)("form",{onSubmit:this.onSubmitURL},Object(b.createElement)(d.TextControl,{placeholder:Object(r.__)("Enter URL here…"),value:s,onChange:function(e){return h({feedURL:e})},className:"components-placeholder__input"}),Object(b.createElement)(d.Button,{isLarge:!0,type:"submit"},Object(r.__)("Use URL"))));var p=[{icon:"edit",title:Object(r.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(r.__)("List View"),onClick:function(){return h({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(r.__)("Grid View"),onClick:function(){return h({blockLayout:"grid"})},isActive:"grid"===n}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(m.BlockControls,null,Object(b.createElement)(d.Toolbar,{controls:p})),Object(b.createElement)(m.InspectorControls,null,Object(b.createElement)(d.PanelBody,{title:Object(r.__)("RSS Settings")},Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Number of items"),value:u,onChange:function(e){return h({itemsToShow:e})},min:1,max:10,required:!0}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display author"),checked:a,onChange:this.toggleAttribute("displayAuthor")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display date"),checked:i,onChange:this.toggleAttribute("displayDate")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display excerpt"),checked:c,onChange:this.toggleAttribute("displayExcerpt")}),c&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Max number of words in excerpt"),value:l,onChange:function(e){return h({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Columns"),value:o,onChange:function(e){return h({columns:e})},min:2,max:6,required:!0}))),Object(b.createElement)(d.Disabled,null,Object(b.createElement)(d.ServerSideRender,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(b.Component);n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var p="core/rss",g={title:Object(r.__)("RSS"),description:Object(r.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(r.__)("atom"),Object(r.__)("feed")],supports:{html:!1},edit:h,save:function(){return null}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),a=n(10),c=n(9),i=n(11),l=n(12),s=n(13),u=n(3),b=n(0),d=n(2),m=n(4),h=n(5),p=n(8),g=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(u.a)(Object(u.a)(e))),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(u.a)(Object(u.a)(e))),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(d.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(r.__)("- Select -"),value:""},n=Object(d.map)(e,function(e){return{value:e.slug,label:e.name}});return[t].concat(Object(o.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,o=this.getTaxonomyOptions(),a=Object(b.createElement)(p.InspectorControls,null,Object(b.createElement)(m.PanelBody,{title:Object(r.__)("Tag Cloud Settings")},Object(b.createElement)(m.SelectControl,{label:Object(r.__)("Taxonomy"),options:o,value:t,onChange:this.setTaxonomy}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(b.createElement)(b.Fragment,null,a,Object(b.createElement)(m.ServerSideRender,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(b.Component),f=Object(h.withSelect)(function(e){return{taxonomies:e("core").getTaxonomies()}})(g);n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return v});var O="core/tag-cloud",v={title:Object(r.__)("Tag Cloud"),description:Object(r.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:f,save:function(){return null}}},,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"registerCoreBlocks",function(){return G});var r=n(17),o=(n(72),n(8),n(22),n(14)),a=n(138),c=n(230),i=n(235),l=n(208),s=n(234),u=n(242),b=n(236),d=n(243),m=n(246),h=n(247),p=n(240),g=n(209),f=n(210),O=n(237),v=n(110),j=n(232),y=n(241),_=n(229),w=n(244),k=n(245),C=n(231),E=n(212),x=n(136),S=n(248),T=n(249),R=n(213),A=n(250),N=n(233),B=n(252),I=n(251),P=n(214),L=n(215),M=n(216),z=n(217),H=n(239),D=n(218),F=n(219),U=n(220),V=n(238),W=n(253),q=n(139),G=function(){[a,c,i,s,E,l,L,u,b,d,m,h,p,g,f,O,v].concat(Object(r.a)(v.common),Object(r.a)(v.others),[j,window.wp&&window.wp.oldEditor?q:null,y,_,w,k,2===e.env.GUTENBERG_PHASE?C:null,x,S,T,R,A,B,I,P,N,M,z,H,W,D,F,U,V]).forEach(function(e){if(e){var t=e.name,n=e.settings;Object(o.registerBlockType)(t,n)}}),Object(o.setDefaultBlockName)(a.name),window.wp&&window.wp.oldEditor&&Object(o.setFreeformContentHandlerName)(q.name),Object(o.setUnregisteredTypeHandlerName)(x.name)}}.call(this,n(257))},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(e){r=c}}();var l,s=[],u=!1,b=-1;function d(){u&&l&&(u=!1,l.length?s=l.concat(s):b=-1,s.length&&m())}function m(){if(!u){var e=i(d);u=!0;for(var t=s.length;t;){for(l=s,s=[];++b1)for(var n=1;n]+>/, ''); // If we detect block delimiters, parse entirely as blocks. + HTML = HTML.replace(/]+>/, ''); // If we detect block delimiters in HTML, parse entirely as blocks. - if (mode !== 'INLINE' && HTML.indexOf('