diff --git a/wp-admin/about.php b/wp-admin/about.php index c14c1bfc50..15b77d3a63 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -40,6 +40,39 @@ +
+
+

+

+ Version %1$s addressed some security issues and fixed %2$s bug.', + 'Version %1$s addressed some security issues and fixed %2$s bugs.', + 11 + ), + '5.4.1', + number_format_i18n( 11 ) + ); + ?> + the release notes.' ), + sprintf( + /* translators: %s: WordPress version */ + esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), + sanitize_title( '5.4.1' ) + ) + ); + ?> +

+
+
+ +
+

diff --git a/wp-admin/css/about-rtl.css b/wp-admin/css/about-rtl.css index 65e0648877..48e4014254 100644 --- a/wp-admin/css/about-rtl.css +++ b/wp-admin/css/about-rtl.css @@ -318,7 +318,8 @@ line-height: 1.4; } -.about__container h3 { +.about__container h3, +.about__container h2.is-smaller-heading { margin-top: 0; font-size: 1em; } diff --git a/wp-admin/css/about-rtl.min.css b/wp-admin/css/about-rtl.min.css index 314532b02c..6b6a565209 100644 --- a/wp-admin/css/about-rtl.min.css +++ b/wp-admin/css/about-rtl.min.css @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -.about__container{--background:#f3f4f5;--subtle-background:#bde7f0;--text:#32373c;--text-light:#f3f4f5;--nav-background:#216bce;--nav-border:#1730e5;--nav-color:#f3f4f5;--accent-1:#1730e5;--accent-2:#216bce;--accent-3:#bde7f0}.about-php,.credits-php,.freedoms-php,.privacy-php{background:#fff}.about-php #wpcontent,.credits-php #wpcontent,.freedoms-php #wpcontent,.privacy-php #wpcontent{background:#fff;padding:0 24px}@media screen and (max-width:782px){.about-php.auto-fold #wpcontent,.credits-php.auto-fold #wpcontent,.freedoms-php.auto-fold #wpcontent,.privacy-php.auto-fold #wpcontent{padding-right:24px}}.about__container{max-width:1000px;margin:24px auto;clear:both}.about__container .alignleft{float:right}.about__container .alignright{float:left}.about__container .aligncenter{text-align:center}.about__container .is-vertically-aligned-top{-ms-grid-row-align:start;align-self:start}.about__container .is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.about__container .is-vertically-aligned-bottom{-ms-grid-row-align:end;align-self:end}.about__section{background:#f3f4f5;background:var(--background);clear:both}.about__container .has-accent-background-color{color:#f3f4f5;color:var(--text-light);background-color:#1730e5;background-color:var(--accent-1)}.about__container .has-subtle-background-color{background-color:#bde7f0;background-color:var(--subtle-background)}.about__section{margin:0}.about__section .column{padding:32px}.about__section .column.is-edge-to-edge{padding:0}.about__section .column p:first-of-type{margin-top:0}.about__section .column p:last-of-type{margin-bottom:0}.about__section .is-section-header{margin-bottom:0;padding:32px 32px 0}.about__section .is-section-header:first-child:last-child{padding:0}.about__section.is-feature{padding:32px}.about__section.is-feature p{margin:0}.about__section.is-feature p+p{margin-top:1rem}.about__section.has-2-columns,.about__section.has-3-columns,.about__section.has-4-columns{display:-ms-grid;display:grid}.about__section.has-2-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about__section.has-2-columns.is-wider-right{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.about__section.has-2-columns.is-wider-left{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.about__section.has-2-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:span 2}.about__section.has-2-columns .column:nth-of-type(2n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-2-columns .column:nth-of-type(2n){-ms-grid-column:2;grid-column-start:2}.about__section.has-3-columns{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.about__section.has-3-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-3-columns .column:nth-of-type(3n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-3-columns .column:nth-of-type(3n+2){-ms-grid-column:2;grid-column-start:2}.about__section.has-3-columns .column:nth-of-type(3n){-ms-grid-column:3;grid-column-start:3}.about__section.has-4-columns{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.about__section.has-4-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:4;grid-column-end:span 4}.about__section.has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2}.about__section.has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:3;grid-column-start:3}.about__section.has-4-columns .column:nth-of-type(4n){-ms-grid-column:4;grid-column-start:4}.about__section.has-2-columns .is-section-header~.column,.about__section.has-3-columns .is-section-header~.column,.about__section.has-4-columns .is-section-header~.column{-ms-grid-row:2;grid-row-start:2}@media screen and (max-width:782px){.about__section.has-3-columns,.about__section.has-4-columns{display:block;padding-bottom:16px}.about__section.has-3-columns .column:nth-of-type(n),.about__section.has-4-columns .column:nth-of-type(n){padding-top:16px;padding-bottom:16px}}@media screen and (max-width:600px){.about__section.has-2-columns{display:flex;flex-wrap:wrap;align-content:stretch;padding-bottom:16px}.about__section.has-2-columns .column:nth-of-type(n){padding-top:16px;padding-bottom:16px;width:100%}.about__section.has-2-columns .is-edge-to-edge{order:-1}}.about__container{line-height:1.4}.about__container h1{margin:0 0 1em;padding:0;font-weight:600;color:inherit}.about__container h1,.about__container h2{margin-top:0;font-size:1.4em;line-height:1.4}.about__container h3{margin-top:0;font-size:1em}.about__container p{font-size:inherit;line-height:inherit}.about__section a{color:#1730e5;color:var(--accent-1);text-decoration:underline}.about__section a:active,.about__section a:focus,.about__section a:hover{text-decoration:none}.wp-credits-list a{text-decoration:none}.wp-credits-list a:active,.wp-credits-list a:focus,.wp-credits-list a:hover{text-decoration:underline}.about__container ul{list-style:disc;margin-right:16px}.about__container img{margin:0;vertical-align:middle}.about__container .about__image{display:-ms-grid;display:grid;align-items:center;justify-content:center;height:100%;overflow:hidden}.about__container .about__image img{max-width:100%;width:100%;height:auto}.about__container hr{margin:0;height:32px;border:none}.about__container hr.is-small{height:8px}.about__container .notice,.about__container div.error,.about__container div.updated{display:none!important}.about__section{font-size:1.2em}.about__section.is-feature{font-size:1.6em;font-weight:600;text-align:center}@media screen and (max-width:480px){.about__section.is-feature{font-size:1.4em;font-weight:500}}.about__header{margin-bottom:32px;background-color:#f3f4f5;background-color:var(--background);background-repeat:no-repeat;background-position:top left;background-size:contain;background-image:url(https://s.w.org/images/core/5.4/header-diagonal.svg)}.rtl .about__header{background-image:url(https://s.w.org/images/core/5.4/header-diagonal-rtl.svg)}.about__header>div{display:flex}.about__header>div>*{align-self:flex-end}.about__header-title{min-height:24em;max-height:32em;height:80vh;padding:0 32px}.about__header-title p{margin:0;padding:0;font-size:4em;line-height:1;font-weight:500;color:#1730e5;color:var(--accent-1)}.about__header-title p span{display:inline-block;color:#216bce;color:var(--accent-2)}.about__header-text{padding:16px 32px 32px;font-size:1.5em;line-height:1.4}.about__header-text p{margin:0}.about__header-navigation{padding-top:0;background:#216bce;background:var(--nav-background);color:#f3f4f5;color:var(--nav-color);border-bottom:3px solid #1730e5;border-bottom:3px solid var(--nav-border)}.about__header-navigation .nav-tab{margin-right:0;padding:24px 32px;font-size:1.4em;line-height:1;border-width:0 0 3px;border-style:solid;border-color:transparent;background:0 0;color:inherit}.about__header-navigation .nav-tab:active,.about__header-navigation .nav-tab:hover{background-color:#1730e5;background-color:var(--accent-1)}.about__header-navigation .nav-tab-active{margin-bottom:-3px;border-width:0 0 6px;border-color:#bde7f0;border-color:var(--accent-3)}.about__header-navigation .nav-tab-active:active,.about__header-navigation .nav-tab-active:hover{background-color:#1730e5;background-color:var(--accent-1);border-color:#bde7f0;border-color:var(--accent-3)}@media screen and (max-width:782px){.about__container .about__header-text{font-size:1.4em}.about__header-title{min-height:0;max-height:none;height:auto;padding-top:60%}.about__header-navigation .nav-tab{margin-top:0;margin-left:0;padding:24px 16px}}@media screen and (max-width:480px){.about__header-title p{font-size:3.2em}.about__header-navigation .nav-tab{float:none;display:block;margin-bottom:0;padding:16px 16px;border-right-width:6px;border-bottom:none}.about__header-navigation .nav-tab-active{border-bottom:none;border-right-width:6px}}.about__section .wp-people-group{margin:0}.about__section .wp-person{display:inline-block;vertical-align:top;box-sizing:border-box;padding:0 0 1em 1em;height:6em;width:calc(33% - 4px);min-width:280px}.about__section .compact .wp-person{height:auto;width:calc(25% - 4px);min-width:220px;padding-bottom:.5em}.about__section .wp-person .gravatar{float:right;margin:-4px 0 .85em .85em;padding:1px;width:80px;height:80px;border-radius:100%}.about__section .compact .wp-person .gravatar{width:40px;height:40px}.about__section .wp-person .web{font-size:1.4em;font-weight:600;text-decoration:none;color:#32373c;color:var(--text)}.about__section .wp-person .web:hover{text-decoration:underline}.about__section .compact .wp-person .web{font-size:1.2em}.about__section .wp-person .title{display:block;margin-top:.5em}@media screen and (max-width:480px){.about__section .wp-person{min-width:100%}.about__section .wp-person .gravatar{width:60px;height:60px}.about__section .wp-person .web{font-size:1em}.about__section .compact .wp-person .web{font-size:1em}}.about__section .column .freedoms-image{margin-bottom:1em}.about-wrap{position:relative;margin:25px 20px 0 40px;max-width:1050px;font-size:15px}.about-wrap.full-width-layout{max-width:1200px}.about-wrap-content{max-width:1050px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:3em 0 0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;width:100%;height:auto;vertical-align:middle}.about-wrap .inline-svg img{max-width:100%;width:auto;height:auto}.about-wrap video{margin:1.5em auto}.wp-badge{background:#0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;background-position:center 25px;background-size:80px 80px;color:#fff;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:140px;text-rendering:optimizeLegibility;box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20160308)}.about-wrap .wp-badge{position:absolute;top:0;left:0}.about-wrap .nav-tab{padding-left:15px;padding-right:15px;font-size:18px;line-height:1.33333333}.about-wrap h1{margin:.2em 0 0 200px;padding:0;color:#32373c;line-height:1.2;font-size:2.8em;font-weight:400}.about-wrap h2{margin:40px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.about-wrap h4{font-size:16px;color:#23282d}.about-wrap p{line-height:1.5;font-size:16px}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap figcaption{font-size:13px;text-align:center;color:#fff;text-overflow:ellipsis}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6;font-size:19px}.about-wrap .about-text{margin:1em 0 1em 200px;color:#555d66}.about-wrap .has-1-columns,.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:-ms-grid;display:grid;max-width:800px;margin-top:40px;margin-right:auto;margin-left:auto}.about-wrap .column{margin-left:20px;margin-right:20px}.about-wrap .is-wide{max-width:760px}.about-wrap .is-fullwidth{max-width:100%}.about-wrap .has-1-columns{display:block;max-width:680px;margin:0 auto 40px}.about-wrap .has-2-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about-wrap .has-2-columns .column:nth-of-type(2n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-2-columns .column:nth-of-type(2n){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-2-columns.is-wider-right{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.about-wrap .has-2-columns.is-wider-left{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.about-wrap .has-3-columns{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.about-wrap .has-3-columns .column:nth-of-type(3n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-3-columns .column:nth-of-type(3n){-ms-grid-column:3;grid-column-start:3}.about-wrap .has-4-columns{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.about-wrap .has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:3;grid-column-start:3}.about-wrap .has-4-columns .column:nth-of-type(4n){-ms-grid-column:4;grid-column-start:4}.about-wrap .column :first-child{margin-top:0}.about-wrap .aligncenter{text-align:center}.about-wrap .alignleft{float:right;margin-left:40px}.about-wrap .alignright{float:left;margin-right:40px}.about-wrap .is-vertically-aligned-top{-ms-grid-row-align:start;align-self:start}.about-wrap .is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.about-wrap .is-vertically-aligned-bottom{-ms-grid-row-align:end;align-self:end}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #ddd}.about-wrap .changelog{margin-bottom:40px}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .changelog.feature-section .col{margin-top:40px}.about-wrap .lead-description{font-size:1.5em;text-align:center}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .headline-feature{margin:0 auto 40px;max-width:680px}.about-wrap .headline-feature h2{margin:50px 0 0}.about-wrap .headline-feature img{max-width:600px;width:100%}.about-wrap .return-to-dashboard{margin:30px -5px 0 0;font-size:14px;font-weight:600}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap h2.wp-people-group{margin:2.6em 0 1.33em;padding:0;font-size:16px;line-height:inherit;font-weight:600;text-align:right}.about-wrap .wp-people-group{padding:0 5px;margin:0 -5px 0 -15px}.about-wrap .compact{margin-bottom:0}.about-wrap .wp-person{display:inline-block;vertical-align:top;margin-left:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap .compact .wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap .wp-person .gravatar{float:right;margin:0 0 10px 10px;padding:1px;width:60px;height:60px}.about-wrap .compact .wp-person .gravatar{width:30px;height:30px}.about-wrap .wp-person .web{margin:6px 0 2px;font-size:16px;font-weight:400;line-height:2;text-decoration:none}.about-wrap .wp-person .title{display:block}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:600}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}.freedoms-php .column .freedoms-image{background-image:url(https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png);background-size:100%;padding-top:100%}.freedoms-php .column:nth-of-type(2) .freedoms-image{background-position:100% 34%}.freedoms-php .column:nth-of-type(3) .freedoms-image{background-position:100% 66%}.freedoms-php .column:nth-of-type(4) .freedoms-image{background-position:100% 100%}@media screen and (max-width:782px){.about-wrap .has-3-columns,.about-wrap .has-4-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about-wrap .has-3-columns .column:nth-of-type(3n+1),.about-wrap .has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2),.about-wrap .has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n),.about-wrap .has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:2;grid-row-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:2;grid-row-start:2}}@media screen and (max-width:600px){.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:block}.about-wrap :not(.is-wider-right):not(.is-wider-left) .column{margin-left:0;margin-right:0}.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:-ms-grid;display:grid}}@media only screen and (max-width:500px){.about-wrap{margin-left:20px;margin-right:10px}.about-wrap .about-text,.about-wrap h1{margin-left:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}}@media only screen and (max-width:480px){.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:block}.about-wrap .column{margin-left:0;margin-right:0}.about-wrap .has-2-columns.is-wider-left img,.about-wrap .has-2-columns.is-wider-right img{max-width:160px}} \ No newline at end of file +.about__container{--background:#f3f4f5;--subtle-background:#bde7f0;--text:#32373c;--text-light:#f3f4f5;--nav-background:#216bce;--nav-border:#1730e5;--nav-color:#f3f4f5;--accent-1:#1730e5;--accent-2:#216bce;--accent-3:#bde7f0}.about-php,.credits-php,.freedoms-php,.privacy-php{background:#fff}.about-php #wpcontent,.credits-php #wpcontent,.freedoms-php #wpcontent,.privacy-php #wpcontent{background:#fff;padding:0 24px}@media screen and (max-width:782px){.about-php.auto-fold #wpcontent,.credits-php.auto-fold #wpcontent,.freedoms-php.auto-fold #wpcontent,.privacy-php.auto-fold #wpcontent{padding-right:24px}}.about__container{max-width:1000px;margin:24px auto;clear:both}.about__container .alignleft{float:right}.about__container .alignright{float:left}.about__container .aligncenter{text-align:center}.about__container .is-vertically-aligned-top{-ms-grid-row-align:start;align-self:start}.about__container .is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.about__container .is-vertically-aligned-bottom{-ms-grid-row-align:end;align-self:end}.about__section{background:#f3f4f5;background:var(--background);clear:both}.about__container .has-accent-background-color{color:#f3f4f5;color:var(--text-light);background-color:#1730e5;background-color:var(--accent-1)}.about__container .has-subtle-background-color{background-color:#bde7f0;background-color:var(--subtle-background)}.about__section{margin:0}.about__section .column{padding:32px}.about__section .column.is-edge-to-edge{padding:0}.about__section .column p:first-of-type{margin-top:0}.about__section .column p:last-of-type{margin-bottom:0}.about__section .is-section-header{margin-bottom:0;padding:32px 32px 0}.about__section .is-section-header:first-child:last-child{padding:0}.about__section.is-feature{padding:32px}.about__section.is-feature p{margin:0}.about__section.is-feature p+p{margin-top:1rem}.about__section.has-2-columns,.about__section.has-3-columns,.about__section.has-4-columns{display:-ms-grid;display:grid}.about__section.has-2-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about__section.has-2-columns.is-wider-right{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.about__section.has-2-columns.is-wider-left{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.about__section.has-2-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:span 2}.about__section.has-2-columns .column:nth-of-type(2n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-2-columns .column:nth-of-type(2n){-ms-grid-column:2;grid-column-start:2}.about__section.has-3-columns{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.about__section.has-3-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-3-columns .column:nth-of-type(3n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-3-columns .column:nth-of-type(3n+2){-ms-grid-column:2;grid-column-start:2}.about__section.has-3-columns .column:nth-of-type(3n){-ms-grid-column:3;grid-column-start:3}.about__section.has-4-columns{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.about__section.has-4-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:4;grid-column-end:span 4}.about__section.has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2}.about__section.has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:3;grid-column-start:3}.about__section.has-4-columns .column:nth-of-type(4n){-ms-grid-column:4;grid-column-start:4}.about__section.has-2-columns .is-section-header~.column,.about__section.has-3-columns .is-section-header~.column,.about__section.has-4-columns .is-section-header~.column{-ms-grid-row:2;grid-row-start:2}@media screen and (max-width:782px){.about__section.has-3-columns,.about__section.has-4-columns{display:block;padding-bottom:16px}.about__section.has-3-columns .column:nth-of-type(n),.about__section.has-4-columns .column:nth-of-type(n){padding-top:16px;padding-bottom:16px}}@media screen and (max-width:600px){.about__section.has-2-columns{display:flex;flex-wrap:wrap;align-content:stretch;padding-bottom:16px}.about__section.has-2-columns .column:nth-of-type(n){padding-top:16px;padding-bottom:16px;width:100%}.about__section.has-2-columns .is-edge-to-edge{order:-1}}.about__container{line-height:1.4}.about__container h1{margin:0 0 1em;padding:0;font-weight:600;color:inherit}.about__container h1,.about__container h2{margin-top:0;font-size:1.4em;line-height:1.4}.about__container h2.is-smaller-heading,.about__container h3{margin-top:0;font-size:1em}.about__container p{font-size:inherit;line-height:inherit}.about__section a{color:#1730e5;color:var(--accent-1);text-decoration:underline}.about__section a:active,.about__section a:focus,.about__section a:hover{text-decoration:none}.wp-credits-list a{text-decoration:none}.wp-credits-list a:active,.wp-credits-list a:focus,.wp-credits-list a:hover{text-decoration:underline}.about__container ul{list-style:disc;margin-right:16px}.about__container img{margin:0;vertical-align:middle}.about__container .about__image{display:-ms-grid;display:grid;align-items:center;justify-content:center;height:100%;overflow:hidden}.about__container .about__image img{max-width:100%;width:100%;height:auto}.about__container hr{margin:0;height:32px;border:none}.about__container hr.is-small{height:8px}.about__container .notice,.about__container div.error,.about__container div.updated{display:none!important}.about__section{font-size:1.2em}.about__section.is-feature{font-size:1.6em;font-weight:600;text-align:center}@media screen and (max-width:480px){.about__section.is-feature{font-size:1.4em;font-weight:500}}.about__header{margin-bottom:32px;background-color:#f3f4f5;background-color:var(--background);background-repeat:no-repeat;background-position:top left;background-size:contain;background-image:url(https://s.w.org/images/core/5.4/header-diagonal.svg)}.rtl .about__header{background-image:url(https://s.w.org/images/core/5.4/header-diagonal-rtl.svg)}.about__header>div{display:flex}.about__header>div>*{align-self:flex-end}.about__header-title{min-height:24em;max-height:32em;height:80vh;padding:0 32px}.about__header-title p{margin:0;padding:0;font-size:4em;line-height:1;font-weight:500;color:#1730e5;color:var(--accent-1)}.about__header-title p span{display:inline-block;color:#216bce;color:var(--accent-2)}.about__header-text{padding:16px 32px 32px;font-size:1.5em;line-height:1.4}.about__header-text p{margin:0}.about__header-navigation{padding-top:0;background:#216bce;background:var(--nav-background);color:#f3f4f5;color:var(--nav-color);border-bottom:3px solid #1730e5;border-bottom:3px solid var(--nav-border)}.about__header-navigation .nav-tab{margin-right:0;padding:24px 32px;font-size:1.4em;line-height:1;border-width:0 0 3px;border-style:solid;border-color:transparent;background:0 0;color:inherit}.about__header-navigation .nav-tab:active,.about__header-navigation .nav-tab:hover{background-color:#1730e5;background-color:var(--accent-1)}.about__header-navigation .nav-tab-active{margin-bottom:-3px;border-width:0 0 6px;border-color:#bde7f0;border-color:var(--accent-3)}.about__header-navigation .nav-tab-active:active,.about__header-navigation .nav-tab-active:hover{background-color:#1730e5;background-color:var(--accent-1);border-color:#bde7f0;border-color:var(--accent-3)}@media screen and (max-width:782px){.about__container .about__header-text{font-size:1.4em}.about__header-title{min-height:0;max-height:none;height:auto;padding-top:60%}.about__header-navigation .nav-tab{margin-top:0;margin-left:0;padding:24px 16px}}@media screen and (max-width:480px){.about__header-title p{font-size:3.2em}.about__header-navigation .nav-tab{float:none;display:block;margin-bottom:0;padding:16px 16px;border-right-width:6px;border-bottom:none}.about__header-navigation .nav-tab-active{border-bottom:none;border-right-width:6px}}.about__section .wp-people-group{margin:0}.about__section .wp-person{display:inline-block;vertical-align:top;box-sizing:border-box;padding:0 0 1em 1em;height:6em;width:calc(33% - 4px);min-width:280px}.about__section .compact .wp-person{height:auto;width:calc(25% - 4px);min-width:220px;padding-bottom:.5em}.about__section .wp-person .gravatar{float:right;margin:-4px 0 .85em .85em;padding:1px;width:80px;height:80px;border-radius:100%}.about__section .compact .wp-person .gravatar{width:40px;height:40px}.about__section .wp-person .web{font-size:1.4em;font-weight:600;text-decoration:none;color:#32373c;color:var(--text)}.about__section .wp-person .web:hover{text-decoration:underline}.about__section .compact .wp-person .web{font-size:1.2em}.about__section .wp-person .title{display:block;margin-top:.5em}@media screen and (max-width:480px){.about__section .wp-person{min-width:100%}.about__section .wp-person .gravatar{width:60px;height:60px}.about__section .wp-person .web{font-size:1em}.about__section .compact .wp-person .web{font-size:1em}}.about__section .column .freedoms-image{margin-bottom:1em}.about-wrap{position:relative;margin:25px 20px 0 40px;max-width:1050px;font-size:15px}.about-wrap.full-width-layout{max-width:1200px}.about-wrap-content{max-width:1050px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:3em 0 0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;width:100%;height:auto;vertical-align:middle}.about-wrap .inline-svg img{max-width:100%;width:auto;height:auto}.about-wrap video{margin:1.5em auto}.wp-badge{background:#0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;background-position:center 25px;background-size:80px 80px;color:#fff;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:140px;text-rendering:optimizeLegibility;box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20160308)}.about-wrap .wp-badge{position:absolute;top:0;left:0}.about-wrap .nav-tab{padding-left:15px;padding-right:15px;font-size:18px;line-height:1.33333333}.about-wrap h1{margin:.2em 0 0 200px;padding:0;color:#32373c;line-height:1.2;font-size:2.8em;font-weight:400}.about-wrap h2{margin:40px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.about-wrap h4{font-size:16px;color:#23282d}.about-wrap p{line-height:1.5;font-size:16px}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap figcaption{font-size:13px;text-align:center;color:#fff;text-overflow:ellipsis}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6;font-size:19px}.about-wrap .about-text{margin:1em 0 1em 200px;color:#555d66}.about-wrap .has-1-columns,.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:-ms-grid;display:grid;max-width:800px;margin-top:40px;margin-right:auto;margin-left:auto}.about-wrap .column{margin-left:20px;margin-right:20px}.about-wrap .is-wide{max-width:760px}.about-wrap .is-fullwidth{max-width:100%}.about-wrap .has-1-columns{display:block;max-width:680px;margin:0 auto 40px}.about-wrap .has-2-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about-wrap .has-2-columns .column:nth-of-type(2n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-2-columns .column:nth-of-type(2n){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-2-columns.is-wider-right{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.about-wrap .has-2-columns.is-wider-left{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.about-wrap .has-3-columns{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.about-wrap .has-3-columns .column:nth-of-type(3n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-3-columns .column:nth-of-type(3n){-ms-grid-column:3;grid-column-start:3}.about-wrap .has-4-columns{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.about-wrap .has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:3;grid-column-start:3}.about-wrap .has-4-columns .column:nth-of-type(4n){-ms-grid-column:4;grid-column-start:4}.about-wrap .column :first-child{margin-top:0}.about-wrap .aligncenter{text-align:center}.about-wrap .alignleft{float:right;margin-left:40px}.about-wrap .alignright{float:left;margin-right:40px}.about-wrap .is-vertically-aligned-top{-ms-grid-row-align:start;align-self:start}.about-wrap .is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.about-wrap .is-vertically-aligned-bottom{-ms-grid-row-align:end;align-self:end}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #ddd}.about-wrap .changelog{margin-bottom:40px}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .changelog.feature-section .col{margin-top:40px}.about-wrap .lead-description{font-size:1.5em;text-align:center}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .headline-feature{margin:0 auto 40px;max-width:680px}.about-wrap .headline-feature h2{margin:50px 0 0}.about-wrap .headline-feature img{max-width:600px;width:100%}.about-wrap .return-to-dashboard{margin:30px -5px 0 0;font-size:14px;font-weight:600}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap h2.wp-people-group{margin:2.6em 0 1.33em;padding:0;font-size:16px;line-height:inherit;font-weight:600;text-align:right}.about-wrap .wp-people-group{padding:0 5px;margin:0 -5px 0 -15px}.about-wrap .compact{margin-bottom:0}.about-wrap .wp-person{display:inline-block;vertical-align:top;margin-left:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap .compact .wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap .wp-person .gravatar{float:right;margin:0 0 10px 10px;padding:1px;width:60px;height:60px}.about-wrap .compact .wp-person .gravatar{width:30px;height:30px}.about-wrap .wp-person .web{margin:6px 0 2px;font-size:16px;font-weight:400;line-height:2;text-decoration:none}.about-wrap .wp-person .title{display:block}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:600}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}.freedoms-php .column .freedoms-image{background-image:url(https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png);background-size:100%;padding-top:100%}.freedoms-php .column:nth-of-type(2) .freedoms-image{background-position:100% 34%}.freedoms-php .column:nth-of-type(3) .freedoms-image{background-position:100% 66%}.freedoms-php .column:nth-of-type(4) .freedoms-image{background-position:100% 100%}@media screen and (max-width:782px){.about-wrap .has-3-columns,.about-wrap .has-4-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about-wrap .has-3-columns .column:nth-of-type(3n+1),.about-wrap .has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2),.about-wrap .has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n),.about-wrap .has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:2;grid-row-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:2;grid-row-start:2}}@media screen and (max-width:600px){.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:block}.about-wrap :not(.is-wider-right):not(.is-wider-left) .column{margin-left:0;margin-right:0}.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:-ms-grid;display:grid}}@media only screen and (max-width:500px){.about-wrap{margin-left:20px;margin-right:10px}.about-wrap .about-text,.about-wrap h1{margin-left:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}}@media only screen and (max-width:480px){.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:block}.about-wrap .column{margin-left:0;margin-right:0}.about-wrap .has-2-columns.is-wider-left img,.about-wrap .has-2-columns.is-wider-right img{max-width:160px}} \ No newline at end of file diff --git a/wp-admin/css/about.css b/wp-admin/css/about.css index f2e658a8aa..0cfca9f165 100644 --- a/wp-admin/css/about.css +++ b/wp-admin/css/about.css @@ -317,7 +317,8 @@ line-height: 1.4; } -.about__container h3 { +.about__container h3, +.about__container h2.is-smaller-heading { margin-top: 0; font-size: 1em; } diff --git a/wp-admin/css/about.min.css b/wp-admin/css/about.min.css index b7b6658601..0cdb3c0faa 100644 --- a/wp-admin/css/about.min.css +++ b/wp-admin/css/about.min.css @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -.about__container{--background:#f3f4f5;--subtle-background:#bde7f0;--text:#32373c;--text-light:#f3f4f5;--nav-background:#216bce;--nav-border:#1730e5;--nav-color:#f3f4f5;--accent-1:#1730e5;--accent-2:#216bce;--accent-3:#bde7f0}.about-php,.credits-php,.freedoms-php,.privacy-php{background:#fff}.about-php #wpcontent,.credits-php #wpcontent,.freedoms-php #wpcontent,.privacy-php #wpcontent{background:#fff;padding:0 24px}@media screen and (max-width:782px){.about-php.auto-fold #wpcontent,.credits-php.auto-fold #wpcontent,.freedoms-php.auto-fold #wpcontent,.privacy-php.auto-fold #wpcontent{padding-left:24px}}.about__container{max-width:1000px;margin:24px auto;clear:both}.about__container .alignleft{float:left}.about__container .alignright{float:right}.about__container .aligncenter{text-align:center}.about__container .is-vertically-aligned-top{-ms-grid-row-align:start;align-self:start}.about__container .is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.about__container .is-vertically-aligned-bottom{-ms-grid-row-align:end;align-self:end}.about__section{background:#f3f4f5;background:var(--background);clear:both}.about__container .has-accent-background-color{color:#f3f4f5;color:var(--text-light);background-color:#1730e5;background-color:var(--accent-1)}.about__container .has-subtle-background-color{background-color:#bde7f0;background-color:var(--subtle-background)}.about__section{margin:0}.about__section .column{padding:32px}.about__section .column.is-edge-to-edge{padding:0}.about__section .column p:first-of-type{margin-top:0}.about__section .column p:last-of-type{margin-bottom:0}.about__section .is-section-header{margin-bottom:0;padding:32px 32px 0}.about__section .is-section-header:first-child:last-child{padding:0}.about__section.is-feature{padding:32px}.about__section.is-feature p{margin:0}.about__section.is-feature p+p{margin-top:1rem}.about__section.has-2-columns,.about__section.has-3-columns,.about__section.has-4-columns{display:-ms-grid;display:grid}.about__section.has-2-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about__section.has-2-columns.is-wider-right{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.about__section.has-2-columns.is-wider-left{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.about__section.has-2-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:span 2}.about__section.has-2-columns .column:nth-of-type(2n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-2-columns .column:nth-of-type(2n){-ms-grid-column:2;grid-column-start:2}.about__section.has-3-columns{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.about__section.has-3-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-3-columns .column:nth-of-type(3n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-3-columns .column:nth-of-type(3n+2){-ms-grid-column:2;grid-column-start:2}.about__section.has-3-columns .column:nth-of-type(3n){-ms-grid-column:3;grid-column-start:3}.about__section.has-4-columns{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.about__section.has-4-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:4;grid-column-end:span 4}.about__section.has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2}.about__section.has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:3;grid-column-start:3}.about__section.has-4-columns .column:nth-of-type(4n){-ms-grid-column:4;grid-column-start:4}.about__section.has-2-columns .is-section-header~.column,.about__section.has-3-columns .is-section-header~.column,.about__section.has-4-columns .is-section-header~.column{-ms-grid-row:2;grid-row-start:2}@media screen and (max-width:782px){.about__section.has-3-columns,.about__section.has-4-columns{display:block;padding-bottom:16px}.about__section.has-3-columns .column:nth-of-type(n),.about__section.has-4-columns .column:nth-of-type(n){padding-top:16px;padding-bottom:16px}}@media screen and (max-width:600px){.about__section.has-2-columns{display:flex;flex-wrap:wrap;align-content:stretch;padding-bottom:16px}.about__section.has-2-columns .column:nth-of-type(n){padding-top:16px;padding-bottom:16px;width:100%}.about__section.has-2-columns .is-edge-to-edge{order:-1}}.about__container{line-height:1.4}.about__container h1{margin:0 0 1em;padding:0;font-weight:600;color:inherit}.about__container h1,.about__container h2{margin-top:0;font-size:1.4em;line-height:1.4}.about__container h3{margin-top:0;font-size:1em}.about__container p{font-size:inherit;line-height:inherit}.about__section a{color:#1730e5;color:var(--accent-1);text-decoration:underline}.about__section a:active,.about__section a:focus,.about__section a:hover{text-decoration:none}.wp-credits-list a{text-decoration:none}.wp-credits-list a:active,.wp-credits-list a:focus,.wp-credits-list a:hover{text-decoration:underline}.about__container ul{list-style:disc;margin-left:16px}.about__container img{margin:0;vertical-align:middle}.about__container .about__image{display:-ms-grid;display:grid;align-items:center;justify-content:center;height:100%;overflow:hidden}.about__container .about__image img{max-width:100%;width:100%;height:auto}.about__container hr{margin:0;height:32px;border:none}.about__container hr.is-small{height:8px}.about__container .notice,.about__container div.error,.about__container div.updated{display:none!important}.about__section{font-size:1.2em}.about__section.is-feature{font-size:1.6em;font-weight:600;text-align:center}@media screen and (max-width:480px){.about__section.is-feature{font-size:1.4em;font-weight:500}}.about__header{margin-bottom:32px;background-color:#f3f4f5;background-color:var(--background);background-repeat:no-repeat;background-position:top right;background-size:contain;background-image:url(https://s.w.org/images/core/5.4/header-diagonal.svg)}.rtl .about__header{background-image:url(https://s.w.org/images/core/5.4/header-diagonal-rtl.svg)}.about__header>div{display:flex}.about__header>div>*{align-self:flex-end}.about__header-title{min-height:24em;max-height:32em;height:80vh;padding:0 32px}.about__header-title p{margin:0;padding:0;font-size:4em;line-height:1;font-weight:500;color:#1730e5;color:var(--accent-1)}.about__header-title p span{display:inline-block;color:#216bce;color:var(--accent-2)}.about__header-text{padding:16px 32px 32px;font-size:1.5em;line-height:1.4}.about__header-text p{margin:0}.about__header-navigation{padding-top:0;background:#216bce;background:var(--nav-background);color:#f3f4f5;color:var(--nav-color);border-bottom:3px solid #1730e5;border-bottom:3px solid var(--nav-border)}.about__header-navigation .nav-tab{margin-left:0;padding:24px 32px;font-size:1.4em;line-height:1;border-width:0 0 3px;border-style:solid;border-color:transparent;background:0 0;color:inherit}.about__header-navigation .nav-tab:active,.about__header-navigation .nav-tab:hover{background-color:#1730e5;background-color:var(--accent-1)}.about__header-navigation .nav-tab-active{margin-bottom:-3px;border-width:0 0 6px;border-color:#bde7f0;border-color:var(--accent-3)}.about__header-navigation .nav-tab-active:active,.about__header-navigation .nav-tab-active:hover{background-color:#1730e5;background-color:var(--accent-1);border-color:#bde7f0;border-color:var(--accent-3)}@media screen and (max-width:782px){.about__container .about__header-text{font-size:1.4em}.about__header-title{min-height:0;max-height:none;height:auto;padding-top:60%}.about__header-navigation .nav-tab{margin-top:0;margin-right:0;padding:24px 16px}}@media screen and (max-width:480px){.about__header-title p{font-size:3.2em}.about__header-navigation .nav-tab{float:none;display:block;margin-bottom:0;padding:16px 16px;border-left-width:6px;border-bottom:none}.about__header-navigation .nav-tab-active{border-bottom:none;border-left-width:6px}}.about__section .wp-people-group{margin:0}.about__section .wp-person{display:inline-block;vertical-align:top;box-sizing:border-box;padding:0 1em 1em 0;height:6em;width:calc(33% - 4px);min-width:280px}.about__section .compact .wp-person{height:auto;width:calc(25% - 4px);min-width:220px;padding-bottom:.5em}.about__section .wp-person .gravatar{float:left;margin:-4px .85em .85em 0;padding:1px;width:80px;height:80px;border-radius:100%}.about__section .compact .wp-person .gravatar{width:40px;height:40px}.about__section .wp-person .web{font-size:1.4em;font-weight:600;text-decoration:none;color:#32373c;color:var(--text)}.about__section .wp-person .web:hover{text-decoration:underline}.about__section .compact .wp-person .web{font-size:1.2em}.about__section .wp-person .title{display:block;margin-top:.5em}@media screen and (max-width:480px){.about__section .wp-person{min-width:100%}.about__section .wp-person .gravatar{width:60px;height:60px}.about__section .wp-person .web{font-size:1em}.about__section .compact .wp-person .web{font-size:1em}}.about__section .column .freedoms-image{margin-bottom:1em}.about-wrap{position:relative;margin:25px 40px 0 20px;max-width:1050px;font-size:15px}.about-wrap.full-width-layout{max-width:1200px}.about-wrap-content{max-width:1050px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:3em 0 0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;width:100%;height:auto;vertical-align:middle}.about-wrap .inline-svg img{max-width:100%;width:auto;height:auto}.about-wrap video{margin:1.5em auto}.wp-badge{background:#0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;background-position:center 25px;background-size:80px 80px;color:#fff;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:140px;text-rendering:optimizeLegibility;box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20160308)}.about-wrap .wp-badge{position:absolute;top:0;right:0}.about-wrap .nav-tab{padding-right:15px;padding-left:15px;font-size:18px;line-height:1.33333333}.about-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2;font-size:2.8em;font-weight:400}.about-wrap h2{margin:40px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.about-wrap h4{font-size:16px;color:#23282d}.about-wrap p{line-height:1.5;font-size:16px}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap figcaption{font-size:13px;text-align:center;color:#fff;text-overflow:ellipsis}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6;font-size:19px}.about-wrap .about-text{margin:1em 200px 1em 0;color:#555d66}.about-wrap .has-1-columns,.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:-ms-grid;display:grid;max-width:800px;margin-top:40px;margin-left:auto;margin-right:auto}.about-wrap .column{margin-right:20px;margin-left:20px}.about-wrap .is-wide{max-width:760px}.about-wrap .is-fullwidth{max-width:100%}.about-wrap .has-1-columns{display:block;max-width:680px;margin:0 auto 40px}.about-wrap .has-2-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about-wrap .has-2-columns .column:nth-of-type(2n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-2-columns .column:nth-of-type(2n){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-2-columns.is-wider-right{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.about-wrap .has-2-columns.is-wider-left{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.about-wrap .has-3-columns{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.about-wrap .has-3-columns .column:nth-of-type(3n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-3-columns .column:nth-of-type(3n){-ms-grid-column:3;grid-column-start:3}.about-wrap .has-4-columns{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.about-wrap .has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:3;grid-column-start:3}.about-wrap .has-4-columns .column:nth-of-type(4n){-ms-grid-column:4;grid-column-start:4}.about-wrap .column :first-child{margin-top:0}.about-wrap .aligncenter{text-align:center}.about-wrap .alignleft{float:left;margin-right:40px}.about-wrap .alignright{float:right;margin-left:40px}.about-wrap .is-vertically-aligned-top{-ms-grid-row-align:start;align-self:start}.about-wrap .is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.about-wrap .is-vertically-aligned-bottom{-ms-grid-row-align:end;align-self:end}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #ddd}.about-wrap .changelog{margin-bottom:40px}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .changelog.feature-section .col{margin-top:40px}.about-wrap .lead-description{font-size:1.5em;text-align:center}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .headline-feature{margin:0 auto 40px;max-width:680px}.about-wrap .headline-feature h2{margin:50px 0 0}.about-wrap .headline-feature img{max-width:600px;width:100%}.about-wrap .return-to-dashboard{margin:30px 0 0 -5px;font-size:14px;font-weight:600}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap h2.wp-people-group{margin:2.6em 0 1.33em;padding:0;font-size:16px;line-height:inherit;font-weight:600;text-align:left}.about-wrap .wp-people-group{padding:0 5px;margin:0 -15px 0 -5px}.about-wrap .compact{margin-bottom:0}.about-wrap .wp-person{display:inline-block;vertical-align:top;margin-right:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap .compact .wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap .wp-person .gravatar{float:left;margin:0 10px 10px 0;padding:1px;width:60px;height:60px}.about-wrap .compact .wp-person .gravatar{width:30px;height:30px}.about-wrap .wp-person .web{margin:6px 0 2px;font-size:16px;font-weight:400;line-height:2;text-decoration:none}.about-wrap .wp-person .title{display:block}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:600}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}.freedoms-php .column .freedoms-image{background-image:url(https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png);background-size:100%;padding-top:100%}.freedoms-php .column:nth-of-type(2) .freedoms-image{background-position:0 34%}.freedoms-php .column:nth-of-type(3) .freedoms-image{background-position:0 66%}.freedoms-php .column:nth-of-type(4) .freedoms-image{background-position:0 100%}@media screen and (max-width:782px){.about-wrap .has-3-columns,.about-wrap .has-4-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about-wrap .has-3-columns .column:nth-of-type(3n+1),.about-wrap .has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2),.about-wrap .has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n),.about-wrap .has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:2;grid-row-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:2;grid-row-start:2}}@media screen and (max-width:600px){.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:block}.about-wrap :not(.is-wider-right):not(.is-wider-left) .column{margin-right:0;margin-left:0}.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:-ms-grid;display:grid}}@media only screen and (max-width:500px){.about-wrap{margin-right:20px;margin-left:10px}.about-wrap .about-text,.about-wrap h1{margin-right:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}}@media only screen and (max-width:480px){.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:block}.about-wrap .column{margin-right:0;margin-left:0}.about-wrap .has-2-columns.is-wider-left img,.about-wrap .has-2-columns.is-wider-right img{max-width:160px}} \ No newline at end of file +.about__container{--background:#f3f4f5;--subtle-background:#bde7f0;--text:#32373c;--text-light:#f3f4f5;--nav-background:#216bce;--nav-border:#1730e5;--nav-color:#f3f4f5;--accent-1:#1730e5;--accent-2:#216bce;--accent-3:#bde7f0}.about-php,.credits-php,.freedoms-php,.privacy-php{background:#fff}.about-php #wpcontent,.credits-php #wpcontent,.freedoms-php #wpcontent,.privacy-php #wpcontent{background:#fff;padding:0 24px}@media screen and (max-width:782px){.about-php.auto-fold #wpcontent,.credits-php.auto-fold #wpcontent,.freedoms-php.auto-fold #wpcontent,.privacy-php.auto-fold #wpcontent{padding-left:24px}}.about__container{max-width:1000px;margin:24px auto;clear:both}.about__container .alignleft{float:left}.about__container .alignright{float:right}.about__container .aligncenter{text-align:center}.about__container .is-vertically-aligned-top{-ms-grid-row-align:start;align-self:start}.about__container .is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.about__container .is-vertically-aligned-bottom{-ms-grid-row-align:end;align-self:end}.about__section{background:#f3f4f5;background:var(--background);clear:both}.about__container .has-accent-background-color{color:#f3f4f5;color:var(--text-light);background-color:#1730e5;background-color:var(--accent-1)}.about__container .has-subtle-background-color{background-color:#bde7f0;background-color:var(--subtle-background)}.about__section{margin:0}.about__section .column{padding:32px}.about__section .column.is-edge-to-edge{padding:0}.about__section .column p:first-of-type{margin-top:0}.about__section .column p:last-of-type{margin-bottom:0}.about__section .is-section-header{margin-bottom:0;padding:32px 32px 0}.about__section .is-section-header:first-child:last-child{padding:0}.about__section.is-feature{padding:32px}.about__section.is-feature p{margin:0}.about__section.is-feature p+p{margin-top:1rem}.about__section.has-2-columns,.about__section.has-3-columns,.about__section.has-4-columns{display:-ms-grid;display:grid}.about__section.has-2-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about__section.has-2-columns.is-wider-right{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.about__section.has-2-columns.is-wider-left{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.about__section.has-2-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:span 2}.about__section.has-2-columns .column:nth-of-type(2n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-2-columns .column:nth-of-type(2n){-ms-grid-column:2;grid-column-start:2}.about__section.has-3-columns{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.about__section.has-3-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-3-columns .column:nth-of-type(3n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-3-columns .column:nth-of-type(3n+2){-ms-grid-column:2;grid-column-start:2}.about__section.has-3-columns .column:nth-of-type(3n){-ms-grid-column:3;grid-column-start:3}.about__section.has-4-columns{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.about__section.has-4-columns .is-section-header{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:4;grid-column-end:span 4}.about__section.has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1}.about__section.has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2}.about__section.has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:3;grid-column-start:3}.about__section.has-4-columns .column:nth-of-type(4n){-ms-grid-column:4;grid-column-start:4}.about__section.has-2-columns .is-section-header~.column,.about__section.has-3-columns .is-section-header~.column,.about__section.has-4-columns .is-section-header~.column{-ms-grid-row:2;grid-row-start:2}@media screen and (max-width:782px){.about__section.has-3-columns,.about__section.has-4-columns{display:block;padding-bottom:16px}.about__section.has-3-columns .column:nth-of-type(n),.about__section.has-4-columns .column:nth-of-type(n){padding-top:16px;padding-bottom:16px}}@media screen and (max-width:600px){.about__section.has-2-columns{display:flex;flex-wrap:wrap;align-content:stretch;padding-bottom:16px}.about__section.has-2-columns .column:nth-of-type(n){padding-top:16px;padding-bottom:16px;width:100%}.about__section.has-2-columns .is-edge-to-edge{order:-1}}.about__container{line-height:1.4}.about__container h1{margin:0 0 1em;padding:0;font-weight:600;color:inherit}.about__container h1,.about__container h2{margin-top:0;font-size:1.4em;line-height:1.4}.about__container h2.is-smaller-heading,.about__container h3{margin-top:0;font-size:1em}.about__container p{font-size:inherit;line-height:inherit}.about__section a{color:#1730e5;color:var(--accent-1);text-decoration:underline}.about__section a:active,.about__section a:focus,.about__section a:hover{text-decoration:none}.wp-credits-list a{text-decoration:none}.wp-credits-list a:active,.wp-credits-list a:focus,.wp-credits-list a:hover{text-decoration:underline}.about__container ul{list-style:disc;margin-left:16px}.about__container img{margin:0;vertical-align:middle}.about__container .about__image{display:-ms-grid;display:grid;align-items:center;justify-content:center;height:100%;overflow:hidden}.about__container .about__image img{max-width:100%;width:100%;height:auto}.about__container hr{margin:0;height:32px;border:none}.about__container hr.is-small{height:8px}.about__container .notice,.about__container div.error,.about__container div.updated{display:none!important}.about__section{font-size:1.2em}.about__section.is-feature{font-size:1.6em;font-weight:600;text-align:center}@media screen and (max-width:480px){.about__section.is-feature{font-size:1.4em;font-weight:500}}.about__header{margin-bottom:32px;background-color:#f3f4f5;background-color:var(--background);background-repeat:no-repeat;background-position:top right;background-size:contain;background-image:url(https://s.w.org/images/core/5.4/header-diagonal.svg)}.rtl .about__header{background-image:url(https://s.w.org/images/core/5.4/header-diagonal-rtl.svg)}.about__header>div{display:flex}.about__header>div>*{align-self:flex-end}.about__header-title{min-height:24em;max-height:32em;height:80vh;padding:0 32px}.about__header-title p{margin:0;padding:0;font-size:4em;line-height:1;font-weight:500;color:#1730e5;color:var(--accent-1)}.about__header-title p span{display:inline-block;color:#216bce;color:var(--accent-2)}.about__header-text{padding:16px 32px 32px;font-size:1.5em;line-height:1.4}.about__header-text p{margin:0}.about__header-navigation{padding-top:0;background:#216bce;background:var(--nav-background);color:#f3f4f5;color:var(--nav-color);border-bottom:3px solid #1730e5;border-bottom:3px solid var(--nav-border)}.about__header-navigation .nav-tab{margin-left:0;padding:24px 32px;font-size:1.4em;line-height:1;border-width:0 0 3px;border-style:solid;border-color:transparent;background:0 0;color:inherit}.about__header-navigation .nav-tab:active,.about__header-navigation .nav-tab:hover{background-color:#1730e5;background-color:var(--accent-1)}.about__header-navigation .nav-tab-active{margin-bottom:-3px;border-width:0 0 6px;border-color:#bde7f0;border-color:var(--accent-3)}.about__header-navigation .nav-tab-active:active,.about__header-navigation .nav-tab-active:hover{background-color:#1730e5;background-color:var(--accent-1);border-color:#bde7f0;border-color:var(--accent-3)}@media screen and (max-width:782px){.about__container .about__header-text{font-size:1.4em}.about__header-title{min-height:0;max-height:none;height:auto;padding-top:60%}.about__header-navigation .nav-tab{margin-top:0;margin-right:0;padding:24px 16px}}@media screen and (max-width:480px){.about__header-title p{font-size:3.2em}.about__header-navigation .nav-tab{float:none;display:block;margin-bottom:0;padding:16px 16px;border-left-width:6px;border-bottom:none}.about__header-navigation .nav-tab-active{border-bottom:none;border-left-width:6px}}.about__section .wp-people-group{margin:0}.about__section .wp-person{display:inline-block;vertical-align:top;box-sizing:border-box;padding:0 1em 1em 0;height:6em;width:calc(33% - 4px);min-width:280px}.about__section .compact .wp-person{height:auto;width:calc(25% - 4px);min-width:220px;padding-bottom:.5em}.about__section .wp-person .gravatar{float:left;margin:-4px .85em .85em 0;padding:1px;width:80px;height:80px;border-radius:100%}.about__section .compact .wp-person .gravatar{width:40px;height:40px}.about__section .wp-person .web{font-size:1.4em;font-weight:600;text-decoration:none;color:#32373c;color:var(--text)}.about__section .wp-person .web:hover{text-decoration:underline}.about__section .compact .wp-person .web{font-size:1.2em}.about__section .wp-person .title{display:block;margin-top:.5em}@media screen and (max-width:480px){.about__section .wp-person{min-width:100%}.about__section .wp-person .gravatar{width:60px;height:60px}.about__section .wp-person .web{font-size:1em}.about__section .compact .wp-person .web{font-size:1em}}.about__section .column .freedoms-image{margin-bottom:1em}.about-wrap{position:relative;margin:25px 40px 0 20px;max-width:1050px;font-size:15px}.about-wrap.full-width-layout{max-width:1200px}.about-wrap-content{max-width:1050px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:3em 0 0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;width:100%;height:auto;vertical-align:middle}.about-wrap .inline-svg img{max-width:100%;width:auto;height:auto}.about-wrap video{margin:1.5em auto}.wp-badge{background:#0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;background-position:center 25px;background-size:80px 80px;color:#fff;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:140px;text-rendering:optimizeLegibility;box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20160308)}.about-wrap .wp-badge{position:absolute;top:0;right:0}.about-wrap .nav-tab{padding-right:15px;padding-left:15px;font-size:18px;line-height:1.33333333}.about-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2;font-size:2.8em;font-weight:400}.about-wrap h2{margin:40px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.about-wrap h4{font-size:16px;color:#23282d}.about-wrap p{line-height:1.5;font-size:16px}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap figcaption{font-size:13px;text-align:center;color:#fff;text-overflow:ellipsis}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6;font-size:19px}.about-wrap .about-text{margin:1em 200px 1em 0;color:#555d66}.about-wrap .has-1-columns,.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:-ms-grid;display:grid;max-width:800px;margin-top:40px;margin-left:auto;margin-right:auto}.about-wrap .column{margin-right:20px;margin-left:20px}.about-wrap .is-wide{max-width:760px}.about-wrap .is-fullwidth{max-width:100%}.about-wrap .has-1-columns{display:block;max-width:680px;margin:0 auto 40px}.about-wrap .has-2-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about-wrap .has-2-columns .column:nth-of-type(2n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-2-columns .column:nth-of-type(2n){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-2-columns.is-wider-right{-ms-grid-columns:1fr 2fr;grid-template-columns:1fr 2fr}.about-wrap .has-2-columns.is-wider-left{-ms-grid-columns:2fr 1fr;grid-template-columns:2fr 1fr}.about-wrap .has-3-columns{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.about-wrap .has-3-columns .column:nth-of-type(3n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-3-columns .column:nth-of-type(3n){-ms-grid-column:3;grid-column-start:3}.about-wrap .has-4-columns{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.about-wrap .has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1}.about-wrap .has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:3;grid-column-start:3}.about-wrap .has-4-columns .column:nth-of-type(4n){-ms-grid-column:4;grid-column-start:4}.about-wrap .column :first-child{margin-top:0}.about-wrap .aligncenter{text-align:center}.about-wrap .alignleft{float:left;margin-right:40px}.about-wrap .alignright{float:right;margin-left:40px}.about-wrap .is-vertically-aligned-top{-ms-grid-row-align:start;align-self:start}.about-wrap .is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.about-wrap .is-vertically-aligned-bottom{-ms-grid-row-align:end;align-self:end}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #ddd}.about-wrap .changelog{margin-bottom:40px}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .changelog.feature-section .col{margin-top:40px}.about-wrap .lead-description{font-size:1.5em;text-align:center}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .headline-feature{margin:0 auto 40px;max-width:680px}.about-wrap .headline-feature h2{margin:50px 0 0}.about-wrap .headline-feature img{max-width:600px;width:100%}.about-wrap .return-to-dashboard{margin:30px 0 0 -5px;font-size:14px;font-weight:600}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap h2.wp-people-group{margin:2.6em 0 1.33em;padding:0;font-size:16px;line-height:inherit;font-weight:600;text-align:left}.about-wrap .wp-people-group{padding:0 5px;margin:0 -15px 0 -5px}.about-wrap .compact{margin-bottom:0}.about-wrap .wp-person{display:inline-block;vertical-align:top;margin-right:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap .compact .wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap .wp-person .gravatar{float:left;margin:0 10px 10px 0;padding:1px;width:60px;height:60px}.about-wrap .compact .wp-person .gravatar{width:30px;height:30px}.about-wrap .wp-person .web{margin:6px 0 2px;font-size:16px;font-weight:400;line-height:2;text-decoration:none}.about-wrap .wp-person .title{display:block}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:600}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}.freedoms-php .column .freedoms-image{background-image:url(https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png);background-size:100%;padding-top:100%}.freedoms-php .column:nth-of-type(2) .freedoms-image{background-position:0 34%}.freedoms-php .column:nth-of-type(3) .freedoms-image{background-position:0 66%}.freedoms-php .column:nth-of-type(4) .freedoms-image{background-position:0 100%}@media screen and (max-width:782px){.about-wrap .has-3-columns,.about-wrap .has-4-columns{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.about-wrap .has-3-columns .column:nth-of-type(3n+1),.about-wrap .has-4-columns .column:nth-of-type(4n+1){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2),.about-wrap .has-4-columns .column:nth-of-type(4n+2){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n),.about-wrap .has-4-columns .column:nth-of-type(4n+3){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:2;grid-row-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:2;grid-row-start:2}}@media screen and (max-width:600px){.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:block}.about-wrap :not(.is-wider-right):not(.is-wider-left) .column{margin-right:0;margin-left:0}.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:-ms-grid;display:grid}}@media only screen and (max-width:500px){.about-wrap{margin-right:20px;margin-left:10px}.about-wrap .about-text,.about-wrap h1{margin-right:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}}@media only screen and (max-width:480px){.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:block}.about-wrap .column{margin-right:0;margin-left:0}.about-wrap .has-2-columns.is-wider-left img,.about-wrap .has-2-columns.is-wider-right img{max-width:160px}} \ No newline at end of file diff --git a/wp-admin/css/edit-rtl.css b/wp-admin/css/edit-rtl.css index 52265d4e48..9158954fad 100644 --- a/wp-admin/css/edit-rtl.css +++ b/wp-admin/css/edit-rtl.css @@ -449,7 +449,7 @@ form#tags-filter { #post-body #visibility:before, .curtime #timestamp:before, #post-body .misc-pub-revisions:before, -#post-body .misc-pub-response-to:before, +#post-body .misc-pub-response-to:before, #post-body .misc-pub-comment-status:before { color: #82878c; } @@ -458,7 +458,7 @@ form#tags-filter { #post-body #visibility:before, .curtime #timestamp:before, #post-body .misc-pub-revisions:before, -#post-body .misc-pub-response-to:before, +#post-body .misc-pub-response-to:before, #post-body .misc-pub-comment-status:before { font: normal 20px/1 dashicons; speak: none; @@ -470,7 +470,7 @@ form#tags-filter { -moz-osx-font-smoothing: grayscale; } -#post-body .misc-pub-post-status:before, +#post-body .misc-pub-post-status:before, #post-body .misc-pub-comment-status:before { content: "\f173"; } @@ -757,21 +757,32 @@ form#tags-filter { margin-bottom: 1em; } -.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) { +.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help), +.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { background-color: #fff; margin: 0; padding: 1em; } -.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help) { +.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help), +.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { padding-top: 0; } -.hide-privacy-policy-tutorial p:not(.privacy-policy-tutorial):not(.wp-policy-help) { +.hide-privacy-policy-tutorial > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { margin: 1em 0; padding: 0; } +.policy-text ul li, +.policy-text ol li { + margin-right: 2em; +} + +.policy-text ul { + list-style: disc; +} + strong.wp-policy-help, /* For back-compat, see #49282 */ strong.privacy-policy-tutorial { display: block; diff --git a/wp-admin/css/edit-rtl.min.css b/wp-admin/css/edit-rtl.min.css index f0602be98d..ee74046875 100644 --- a/wp-admin/css/edit-rtl.min.css +++ b/wp-admin/css/edit-rtl.min.css @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-left:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments a{float:right}#show-comments .spinner{float:none;margin-top:0}#lost-connection-notice .spinner{visibility:visible;float:right;margin:0 0 0 5px}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#72777c;position:absolute;font-size:1.7em;padding:10px;pointer-events:none}input#link_description,input#link_url{width:98%}#pending{background:100% none;border:0 none;padding:0;font-size:11px;margin-top:-1px}#comment-link-box,#edit-slug-box{line-height:1.84615384;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-left:10px;padding:0;font-size:11px}#comment-link-box{margin:5px 0;padding:0 5px}#editable-post-name-full{display:none}#editable-post-name{font-weight:600}#editable-post-name input{font-size:13px;font-weight:400;height:24px;margin:0;width:16em}.postarea h3 label{float:right}body.post-new-php .submitbox .submitdelete{display:none}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-left:4px;padding:6px}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{position:relative;min-width:255px;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:transparent none;border:0 none;float:left;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#32373c}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:0}.taxonomy-add-new{display:inline-block;margin:10px 0;font-weight:600}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:5px 7px 10px;overflow:hidden}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0 none}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:solid 1px transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #ddd;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 6px}#set-post-thumbnail{display:inline-block;max-width:100%}#postimagediv .inside img{max-width:100%;height:auto;width:auto;vertical-align:top;background-image:linear-gradient(-45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4),linear-gradient(-45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4);background-position:100% 0,10px 10px;background-size:20px 20px}form#tags-filter{position:relative}.ui-tabs-hide,.wp-hidden-children .wp-hidden-child{display:none}#post-body .tagsdiv #newtag{margin-left:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #ccd0d4;border-top:none;background-color:#f7f7f7;box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:left}#editorcontent #post-status-info{border:none}#content-resize-handle{background:transparent url(../images/resize.gif) no-repeat scroll left bottom;width:12px;cursor:row-resize}.rtl #content-resize-handle{background-image:url(../images/resize-rtl.gif);background-position:left bottom}.wp-editor-expand #content-resize-handle{display:none}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#wp-content-editor-container{position:relative}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #ccd0d4}.wp-editor-expand #wp-content-editor-container{box-shadow:none;margin-top:-1px}.wp-editor-expand #wp-content-editor-container{border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #ccd0d4}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw{display:none}.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{vertical-align:top;font-size:12px;line-height:2.33333333}#aa,#hh,#jj,#mn{padding:6px 1px;font-size:12px;line-height:1.16666666}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px 0;display:inline!important;height:auto!important}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{color:#82878c}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:normal 20px/1 dashicons;speak:none;display:inline-block;margin-right:-1px;padding-left:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before{content:"\f173"}#post-body #visibility:before{content:"\f177"}.curtime #timestamp:before{content:"\f145";position:relative;top:-1px}#post-body .misc-pub-revisions:before{content:"\f321"}#post-body .misc-pub-response-to:before{content:"\f101"}#timestampdiv{padding-top:5px;line-height:1.76923076}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{text-align:center}.notification-dialog{position:fixed;top:30%;max-height:70%;right:50%;width:450px;margin-right:-225px;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#file-editor-warning .button,#post-lock-dialog .post-locked-message a.button{margin-left:10px}#post-lock-dialog .post-locked-avatar{float:right;margin:0 0 20px 20px}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:right;margin-left:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-right:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist strong{margin-right:-8px;position:absolute}.tagchecklist>li{float:right;margin-left:25px;font-size:13px;line-height:1.8;cursor:default;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tagchecklist .ntdelbutton{position:absolute;width:24px;height:24px;border:none;margin:0 -19px 0 0;padding:0;background:0 0;cursor:pointer;text-indent:0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .stuffbox h2{padding:8px 10px}#poststuff .stuffbox>h2{border-bottom:1px solid #eee}#poststuff .inside{margin:6px 0 0 0}#poststuff .stuffbox .inside{margin:0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}.post-attributes-label-wrapper{margin-bottom:.5em}.post-attributes-label{vertical-align:baseline;font-weight:600}#comment-status-radio,#post-visibility-select{line-height:1.5;margin-top:3px}#linksubmitdiv .inside,#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}.wp_attachment_details .attachment-content-description{margin-top:.5385em;display:inline-block;min-height:1.6923em}.wp-privacy-policy-guide{max-width:1000px}.privacy-text-box{width:calc(100% - 260px)}.privacy-text-box-toc{float:left;width:250px;background-color:#fff}.privacy-text-box-toc p{margin:0;padding:.7em 1em;border-bottom:1px solid #eee}.privacy-text-box-toc ol{margin-right:2em}.wp-privacy-policy-guide h3{font-size:1.2em;margin:1em 0 .5em}.privacy-text-section .privacy-text-copy{float:left}.privacy-text-section{position:relative;border-top:1px solid #e3e3e3}.privacy-text-box-head,.privacy-text-section.text-removed{padding-bottom:12px}.text-removed .policy-text{font-style:italic;color:#666;font-weight:600}.privacy-text-actions{height:32px;line-height:2.46153846;padding-bottom:6px}.wp-privacy-policy-guide .policy-text h2{margin:1.2em 0 1em;padding:0}.suggested-policy-content{font-style:italic}.privacy-text-section a.return-to-top{float:left;margin-left:-250px;margin-top:6px}.hide-privacy-policy-tutorial{background-color:#fff}.hide-privacy-policy-tutorial .privacy-policy-tutorial,.hide-privacy-policy-tutorial .wp-policy-help{display:none}.policy-text{margin-bottom:1em}.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help){background-color:#fff;margin:0;padding:1em}.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help)+p:not(.privacy-policy-tutorial):not(.wp-policy-help){padding-top:0}.hide-privacy-policy-tutorial p:not(.privacy-policy-tutorial):not(.wp-policy-help){margin:1em 0;padding:0}strong.privacy-policy-tutorial,strong.wp-policy-help{display:block;margin:0 0 1em}.notice.wp-pp-notice{margin:15px 0 3px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0 none;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #ddd;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-left:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:right;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-format-icon::before{display:inline-block;vertical-align:middle;height:20px;width:20px;margin-top:-4px;margin-left:7px;color:#ddd;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a.post-format-icon:hover:before{color:#00a0d2}#post-formats-select{line-height:2}#post-formats-select .post-format-icon::before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-right:0;padding:2px 0}.post-format-icon.post-format-standard::before{content:"\f109"}.post-format-icon.post-format-image::before{content:"\f128"}.post-format-icon.post-format-gallery::before{content:"\f161"}.post-format-icon.post-format-audio::before{content:"\f127"}.post-format-icon.post-format-video::before{content:"\f126"}.post-format-icon.post-format-chat::before{content:"\f125"}.post-format-icon.post-format-status::before{content:"\f130"}.post-format-icon.post-format-aside::before{content:"\f123"}.post-format-icon.post-format-quote::before{content:"\f122"}.post-format-icon.post-format-link::before{content:"\f103"}.category-adder{margin-right:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:solid 1px #ddd;background-color:#fdfdfd}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}div.tabs-panel-active:focus{box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 2px 1px rgba(30,140,190,.8);outline:0 none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-right:18px}ul.categorychecklist li{margin:0;padding:0;line-height:1.69230769;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px 0}.form-field input[type=email],.form-field input[type=number],.form-field input[type=password],.form-field input[type=search],.form-field input[type=tel],.form-field input[type=text],.form-field input[type=url],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-field p,.form-field select{max-width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}p.description code{font-style:normal}.form-wrap .form-field{margin:1em 0;padding:0}.col-wrap h2{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}.edit-term-notes{margin-top:2em}#poststuff .tagsdiv .ajaxtag{margin-top:1em}#poststuff .tagsdiv .howto{margin:1em 0 6px 0}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h2{margin:2px 0 12px}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.2;word-spacing:3px}.the-tagcloud ul{margin:0}.the-tagcloud ul li{display:inline-block}.ac_results{display:none;margin:-1px 0 0;padding:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{margin:0;padding:5px 10px;white-space:nowrap;text-align:right}.ac_over .ac_match,.ac_results .ac_over{background-color:#0073aa;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}#addtag .spinner{float:none;vertical-align:top}#edittag{max-width:800px}.edit-tag-actions{margin-top:20px}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}.comment-ays .comment-content ul{list-style:initial;margin-right:2em}.comment-ays .comment-content a[href]:after{content:"(" attr(href) ")";display:inline-block;padding:0 4px;color:#72777c;font-size:13px;word-break:break-all}.comment-ays .comment-content p.edit-comment{margin-top:10px}.comment-ays .comment-content p.edit-comment a[href]:after{content:"";padding:0}.comment-ays-submit .button-cancel{margin-right:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 0 1px 8px;line-height:1.23076923}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-left:8px;vertical-align:middle}.stuffbox .editcomment{clear:none;margin-top:0}#namediv.stuffbox .editcomment input{width:100%}#namediv.stuffbox .editcomment.form-table td{padding:10px}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 0 5px 3px;vertical-align:middle}#comment-status-radio label{padding:5px 0}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:right;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td,.links-table th{padding:5px 0}.links-table td label{margin-left:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}#qt_content_dfw{display:none}.wp-editor-expand #qt_content_dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .page-title-action,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;transition-duration:.6s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .page-title-action,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;transition-duration:.2s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transition-duration:.6s;transition-property:transform;transition-timing-function:ease-in-out}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transform:translateX(100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{transform:translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:transparent url(../images/resize-2x.gif) no-repeat scroll left bottom;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background-image:url(../images/resize-rtl-2x.gif);background-position:left bottom}}@media only screen and (max-width:1200px){.post-type-attachment #poststuff{min-width:0}.post-type-attachment #wpbody-content #poststuff #post-body{margin:0}.post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}.post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty,.post-type-attachment #poststuff #postbox-container-1 .empty-container{border:0 none;height:0;min-height:0}.post-type-attachment #poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.post-type-attachment .columns-prefs,.post-type-attachment .screen-layout{display:none}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0 none;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){.wp-core-ui .edit-tag-actions .button-primary{margin-bottom:0}#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px 10px}#poststuff .stuffbox .inside{padding:0 0 4px 2px}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{padding:12px}#namediv.stuffbox .editcomment.form-table td{padding:5px 10px}.post-format-options{padding-left:0}.post-format-options a{margin-left:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-left:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist li{margin-bottom:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto;margin-bottom:15px}.tagchecklist{margin:25px 10px}.tagchecklist>li{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:right!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-right:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding-top:6px;padding-bottom:6px;padding-right:6px;padding-left:3px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1;margin:7px 7px 0 0;padding:8px 12px}#wp-content-media-buttons a{font-size:14px;padding:6px 10px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-right:-2px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px 20px}.misc-pub-section>a{float:left;font-size:16px}#delete-action,#publishing-action{line-height:3.61538461}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}.privacy-text-box{width:auto}.privacy-text-box-toc{float:none;width:auto;height:100%}.privacy-text-section a.return-to-top{float:none;margin:0}} \ No newline at end of file +#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-left:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments a{float:right}#show-comments .spinner{float:none;margin-top:0}#lost-connection-notice .spinner{visibility:visible;float:right;margin:0 0 0 5px}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#72777c;position:absolute;font-size:1.7em;padding:10px;pointer-events:none}input#link_description,input#link_url{width:98%}#pending{background:100% none;border:0 none;padding:0;font-size:11px;margin-top:-1px}#comment-link-box,#edit-slug-box{line-height:1.84615384;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-left:10px;padding:0;font-size:11px}#comment-link-box{margin:5px 0;padding:0 5px}#editable-post-name-full{display:none}#editable-post-name{font-weight:600}#editable-post-name input{font-size:13px;font-weight:400;height:24px;margin:0;width:16em}.postarea h3 label{float:right}body.post-new-php .submitbox .submitdelete{display:none}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-left:4px;padding:6px}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{position:relative;min-width:255px;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:transparent none;border:0 none;float:left;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#32373c}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:0}.taxonomy-add-new{display:inline-block;margin:10px 0;font-weight:600}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:5px 7px 10px;overflow:hidden}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0 none}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:solid 1px transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #ddd;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 6px}#set-post-thumbnail{display:inline-block;max-width:100%}#postimagediv .inside img{max-width:100%;height:auto;width:auto;vertical-align:top;background-image:linear-gradient(-45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4),linear-gradient(-45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4);background-position:100% 0,10px 10px;background-size:20px 20px}form#tags-filter{position:relative}.ui-tabs-hide,.wp-hidden-children .wp-hidden-child{display:none}#post-body .tagsdiv #newtag{margin-left:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #ccd0d4;border-top:none;background-color:#f7f7f7;box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:left}#editorcontent #post-status-info{border:none}#content-resize-handle{background:transparent url(../images/resize.gif) no-repeat scroll left bottom;width:12px;cursor:row-resize}.rtl #content-resize-handle{background-image:url(../images/resize-rtl.gif);background-position:left bottom}.wp-editor-expand #content-resize-handle{display:none}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#wp-content-editor-container{position:relative}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #ccd0d4}.wp-editor-expand #wp-content-editor-container{box-shadow:none;margin-top:-1px}.wp-editor-expand #wp-content-editor-container{border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #ccd0d4}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw{display:none}.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{vertical-align:top;font-size:12px;line-height:2.33333333}#aa,#hh,#jj,#mn{padding:6px 1px;font-size:12px;line-height:1.16666666}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px 0;display:inline!important;height:auto!important}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{color:#82878c}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:normal 20px/1 dashicons;speak:none;display:inline-block;margin-right:-1px;padding-left:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before{content:"\f173"}#post-body #visibility:before{content:"\f177"}.curtime #timestamp:before{content:"\f145";position:relative;top:-1px}#post-body .misc-pub-revisions:before{content:"\f321"}#post-body .misc-pub-response-to:before{content:"\f101"}#timestampdiv{padding-top:5px;line-height:1.76923076}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{text-align:center}.notification-dialog{position:fixed;top:30%;max-height:70%;right:50%;width:450px;margin-right:-225px;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#file-editor-warning .button,#post-lock-dialog .post-locked-message a.button{margin-left:10px}#post-lock-dialog .post-locked-avatar{float:right;margin:0 0 20px 20px}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:right;margin-left:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-right:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist strong{margin-right:-8px;position:absolute}.tagchecklist>li{float:right;margin-left:25px;font-size:13px;line-height:1.8;cursor:default;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tagchecklist .ntdelbutton{position:absolute;width:24px;height:24px;border:none;margin:0 -19px 0 0;padding:0;background:0 0;cursor:pointer;text-indent:0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .stuffbox h2{padding:8px 10px}#poststuff .stuffbox>h2{border-bottom:1px solid #eee}#poststuff .inside{margin:6px 0 0 0}#poststuff .stuffbox .inside{margin:0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}.post-attributes-label-wrapper{margin-bottom:.5em}.post-attributes-label{vertical-align:baseline;font-weight:600}#comment-status-radio,#post-visibility-select{line-height:1.5;margin-top:3px}#linksubmitdiv .inside,#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}.wp_attachment_details .attachment-content-description{margin-top:.5385em;display:inline-block;min-height:1.6923em}.wp-privacy-policy-guide{max-width:1000px}.privacy-text-box{width:calc(100% - 260px)}.privacy-text-box-toc{float:left;width:250px;background-color:#fff}.privacy-text-box-toc p{margin:0;padding:.7em 1em;border-bottom:1px solid #eee}.privacy-text-box-toc ol{margin-right:2em}.wp-privacy-policy-guide h3{font-size:1.2em;margin:1em 0 .5em}.privacy-text-section .privacy-text-copy{float:left}.privacy-text-section{position:relative;border-top:1px solid #e3e3e3}.privacy-text-box-head,.privacy-text-section.text-removed{padding-bottom:12px}.text-removed .policy-text{font-style:italic;color:#666;font-weight:600}.privacy-text-actions{height:32px;line-height:2.46153846;padding-bottom:6px}.wp-privacy-policy-guide .policy-text h2{margin:1.2em 0 1em;padding:0}.suggested-policy-content{font-style:italic}.privacy-text-section a.return-to-top{float:left;margin-left:-250px;margin-top:6px}.hide-privacy-policy-tutorial{background-color:#fff}.hide-privacy-policy-tutorial .privacy-policy-tutorial,.hide-privacy-policy-tutorial .wp-policy-help{display:none}.policy-text{margin-bottom:1em}.policy-text div>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),.policy-text>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help){background-color:#fff;margin:0;padding:1em}.policy-text div>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help)+:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),.policy-text>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help)+:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help){padding-top:0}.hide-privacy-policy-tutorial>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help){margin:1em 0;padding:0}.policy-text ol li,.policy-text ul li{margin-right:2em}.policy-text ul{list-style:disc}strong.privacy-policy-tutorial,strong.wp-policy-help{display:block;margin:0 0 1em}.notice.wp-pp-notice{margin:15px 0 3px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0 none;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #ddd;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-left:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:right;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-format-icon::before{display:inline-block;vertical-align:middle;height:20px;width:20px;margin-top:-4px;margin-left:7px;color:#ddd;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a.post-format-icon:hover:before{color:#00a0d2}#post-formats-select{line-height:2}#post-formats-select .post-format-icon::before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-right:0;padding:2px 0}.post-format-icon.post-format-standard::before{content:"\f109"}.post-format-icon.post-format-image::before{content:"\f128"}.post-format-icon.post-format-gallery::before{content:"\f161"}.post-format-icon.post-format-audio::before{content:"\f127"}.post-format-icon.post-format-video::before{content:"\f126"}.post-format-icon.post-format-chat::before{content:"\f125"}.post-format-icon.post-format-status::before{content:"\f130"}.post-format-icon.post-format-aside::before{content:"\f123"}.post-format-icon.post-format-quote::before{content:"\f122"}.post-format-icon.post-format-link::before{content:"\f103"}.category-adder{margin-right:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:solid 1px #ddd;background-color:#fdfdfd}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}div.tabs-panel-active:focus{box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 2px 1px rgba(30,140,190,.8);outline:0 none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-right:18px}ul.categorychecklist li{margin:0;padding:0;line-height:1.69230769;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px 0}.form-field input[type=email],.form-field input[type=number],.form-field input[type=password],.form-field input[type=search],.form-field input[type=tel],.form-field input[type=text],.form-field input[type=url],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-field p,.form-field select{max-width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}p.description code{font-style:normal}.form-wrap .form-field{margin:1em 0;padding:0}.col-wrap h2{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}.edit-term-notes{margin-top:2em}#poststuff .tagsdiv .ajaxtag{margin-top:1em}#poststuff .tagsdiv .howto{margin:1em 0 6px 0}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h2{margin:2px 0 12px}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.2;word-spacing:3px}.the-tagcloud ul{margin:0}.the-tagcloud ul li{display:inline-block}.ac_results{display:none;margin:-1px 0 0;padding:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{margin:0;padding:5px 10px;white-space:nowrap;text-align:right}.ac_over .ac_match,.ac_results .ac_over{background-color:#0073aa;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}#addtag .spinner{float:none;vertical-align:top}#edittag{max-width:800px}.edit-tag-actions{margin-top:20px}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}.comment-ays .comment-content ul{list-style:initial;margin-right:2em}.comment-ays .comment-content a[href]:after{content:"(" attr(href) ")";display:inline-block;padding:0 4px;color:#72777c;font-size:13px;word-break:break-all}.comment-ays .comment-content p.edit-comment{margin-top:10px}.comment-ays .comment-content p.edit-comment a[href]:after{content:"";padding:0}.comment-ays-submit .button-cancel{margin-right:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 0 1px 8px;line-height:1.23076923}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-left:8px;vertical-align:middle}.stuffbox .editcomment{clear:none;margin-top:0}#namediv.stuffbox .editcomment input{width:100%}#namediv.stuffbox .editcomment.form-table td{padding:10px}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 0 5px 3px;vertical-align:middle}#comment-status-radio label{padding:5px 0}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:right;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td,.links-table th{padding:5px 0}.links-table td label{margin-left:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}#qt_content_dfw{display:none}.wp-editor-expand #qt_content_dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .page-title-action,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;transition-duration:.6s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .page-title-action,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;transition-duration:.2s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transition-duration:.6s;transition-property:transform;transition-timing-function:ease-in-out}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transform:translateX(100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{transform:translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:transparent url(../images/resize-2x.gif) no-repeat scroll left bottom;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background-image:url(../images/resize-rtl-2x.gif);background-position:left bottom}}@media only screen and (max-width:1200px){.post-type-attachment #poststuff{min-width:0}.post-type-attachment #wpbody-content #poststuff #post-body{margin:0}.post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}.post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty,.post-type-attachment #poststuff #postbox-container-1 .empty-container{border:0 none;height:0;min-height:0}.post-type-attachment #poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.post-type-attachment .columns-prefs,.post-type-attachment .screen-layout{display:none}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0 none;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){.wp-core-ui .edit-tag-actions .button-primary{margin-bottom:0}#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px 10px}#poststuff .stuffbox .inside{padding:0 0 4px 2px}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{padding:12px}#namediv.stuffbox .editcomment.form-table td{padding:5px 10px}.post-format-options{padding-left:0}.post-format-options a{margin-left:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-left:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist li{margin-bottom:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto;margin-bottom:15px}.tagchecklist{margin:25px 10px}.tagchecklist>li{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:right!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-right:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding-top:6px;padding-bottom:6px;padding-right:6px;padding-left:3px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1;margin:7px 7px 0 0;padding:8px 12px}#wp-content-media-buttons a{font-size:14px;padding:6px 10px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-right:-2px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px 20px}.misc-pub-section>a{float:left;font-size:16px}#delete-action,#publishing-action{line-height:3.61538461}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}.privacy-text-box{width:auto}.privacy-text-box-toc{float:none;width:auto;height:100%}.privacy-text-section a.return-to-top{float:none;margin:0}} \ No newline at end of file diff --git a/wp-admin/css/edit.css b/wp-admin/css/edit.css index a789a4399d..38b8b96de7 100644 --- a/wp-admin/css/edit.css +++ b/wp-admin/css/edit.css @@ -448,7 +448,7 @@ form#tags-filter { #post-body #visibility:before, .curtime #timestamp:before, #post-body .misc-pub-revisions:before, -#post-body .misc-pub-response-to:before, +#post-body .misc-pub-response-to:before, #post-body .misc-pub-comment-status:before { color: #82878c; } @@ -457,7 +457,7 @@ form#tags-filter { #post-body #visibility:before, .curtime #timestamp:before, #post-body .misc-pub-revisions:before, -#post-body .misc-pub-response-to:before, +#post-body .misc-pub-response-to:before, #post-body .misc-pub-comment-status:before { font: normal 20px/1 dashicons; speak: none; @@ -469,7 +469,7 @@ form#tags-filter { -moz-osx-font-smoothing: grayscale; } -#post-body .misc-pub-post-status:before, +#post-body .misc-pub-post-status:before, #post-body .misc-pub-comment-status:before { content: "\f173"; } @@ -756,21 +756,32 @@ form#tags-filter { margin-bottom: 1em; } -.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) { +.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help), +.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { background-color: #fff; margin: 0; padding: 1em; } -.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help) { +.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help), +.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { padding-top: 0; } -.hide-privacy-policy-tutorial p:not(.privacy-policy-tutorial):not(.wp-policy-help) { +.hide-privacy-policy-tutorial > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { margin: 1em 0; padding: 0; } +.policy-text ul li, +.policy-text ol li { + margin-left: 2em; +} + +.policy-text ul { + list-style: disc; +} + strong.wp-policy-help, /* For back-compat, see #49282 */ strong.privacy-policy-tutorial { display: block; diff --git a/wp-admin/css/edit.min.css b/wp-admin/css/edit.min.css index c872c619bb..ad25ce6be3 100644 --- a/wp-admin/css/edit.min.css +++ b/wp-admin/css/edit.min.css @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-right:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments a{float:left}#show-comments .spinner{float:none;margin-top:0}#lost-connection-notice .spinner{visibility:visible;float:left;margin:0 5px 0 0}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#72777c;position:absolute;font-size:1.7em;padding:10px;pointer-events:none}input#link_description,input#link_url{width:98%}#pending{background:0 none;border:0 none;padding:0;font-size:11px;margin-top:-1px}#comment-link-box,#edit-slug-box{line-height:1.84615384;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-right:10px;padding:0;font-size:11px}#comment-link-box{margin:5px 0;padding:0 5px}#editable-post-name-full{display:none}#editable-post-name{font-weight:600}#editable-post-name input{font-size:13px;font-weight:400;height:24px;margin:0;width:16em}.postarea h3 label{float:left}body.post-new-php .submitbox .submitdelete{display:none}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-right:4px;padding:6px}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{position:relative;min-width:255px;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:transparent none;border:0 none;float:right;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#32373c}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:0}.taxonomy-add-new{display:inline-block;margin:10px 0;font-weight:600}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:5px 7px 10px;overflow:hidden}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0 none}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:solid 1px transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #ddd;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 6px}#set-post-thumbnail{display:inline-block;max-width:100%}#postimagediv .inside img{max-width:100%;height:auto;width:auto;vertical-align:top;background-image:linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4),linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4);background-position:0 0,10px 10px;background-size:20px 20px}form#tags-filter{position:relative}.ui-tabs-hide,.wp-hidden-children .wp-hidden-child{display:none}#post-body .tagsdiv #newtag{margin-right:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #ccd0d4;border-top:none;background-color:#f7f7f7;box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:right}#editorcontent #post-status-info{border:none}#content-resize-handle{background:transparent url(../images/resize.gif) no-repeat scroll right bottom;width:12px;cursor:row-resize}.rtl #content-resize-handle{background-image:url(../images/resize-rtl.gif);background-position:left bottom}.wp-editor-expand #content-resize-handle{display:none}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#wp-content-editor-container{position:relative}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #ccd0d4}.wp-editor-expand #wp-content-editor-container{box-shadow:none;margin-top:-1px}.wp-editor-expand #wp-content-editor-container{border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #ccd0d4}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw{display:none}.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{vertical-align:top;font-size:12px;line-height:2.33333333}#aa,#hh,#jj,#mn{padding:6px 1px;font-size:12px;line-height:1.16666666}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px 0;display:inline!important;height:auto!important}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{color:#82878c}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:normal 20px/1 dashicons;speak:none;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before{content:"\f173"}#post-body #visibility:before{content:"\f177"}.curtime #timestamp:before{content:"\f145";position:relative;top:-1px}#post-body .misc-pub-revisions:before{content:"\f321"}#post-body .misc-pub-response-to:before{content:"\f101"}#timestampdiv{padding-top:5px;line-height:1.76923076}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{text-align:center}.notification-dialog{position:fixed;top:30%;max-height:70%;left:50%;width:450px;margin-left:-225px;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#file-editor-warning .button,#post-lock-dialog .post-locked-message a.button{margin-right:10px}#post-lock-dialog .post-locked-avatar{float:left;margin:0 20px 20px 0}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:left;margin-right:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-left:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist strong{margin-left:-8px;position:absolute}.tagchecklist>li{float:left;margin-right:25px;font-size:13px;line-height:1.8;cursor:default;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tagchecklist .ntdelbutton{position:absolute;width:24px;height:24px;border:none;margin:0 0 0 -19px;padding:0;background:0 0;cursor:pointer;text-indent:0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .stuffbox h2{padding:8px 10px}#poststuff .stuffbox>h2{border-bottom:1px solid #eee}#poststuff .inside{margin:6px 0 0 0}#poststuff .stuffbox .inside{margin:0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}.post-attributes-label-wrapper{margin-bottom:.5em}.post-attributes-label{vertical-align:baseline;font-weight:600}#comment-status-radio,#post-visibility-select{line-height:1.5;margin-top:3px}#linksubmitdiv .inside,#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}.wp_attachment_details .attachment-content-description{margin-top:.5385em;display:inline-block;min-height:1.6923em}.wp-privacy-policy-guide{max-width:1000px}.privacy-text-box{width:calc(100% - 260px)}.privacy-text-box-toc{float:right;width:250px;background-color:#fff}.privacy-text-box-toc p{margin:0;padding:.7em 1em;border-bottom:1px solid #eee}.privacy-text-box-toc ol{margin-left:2em}.wp-privacy-policy-guide h3{font-size:1.2em;margin:1em 0 .5em}.privacy-text-section .privacy-text-copy{float:right}.privacy-text-section{position:relative;border-top:1px solid #e3e3e3}.privacy-text-box-head,.privacy-text-section.text-removed{padding-bottom:12px}.text-removed .policy-text{font-style:italic;color:#666;font-weight:600}.privacy-text-actions{height:32px;line-height:2.46153846;padding-bottom:6px}.wp-privacy-policy-guide .policy-text h2{margin:1.2em 0 1em;padding:0}.suggested-policy-content{font-style:italic}.privacy-text-section a.return-to-top{float:right;margin-right:-250px;margin-top:6px}.hide-privacy-policy-tutorial{background-color:#fff}.hide-privacy-policy-tutorial .privacy-policy-tutorial,.hide-privacy-policy-tutorial .wp-policy-help{display:none}.policy-text{margin-bottom:1em}.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help){background-color:#fff;margin:0;padding:1em}.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help)+p:not(.privacy-policy-tutorial):not(.wp-policy-help){padding-top:0}.hide-privacy-policy-tutorial p:not(.privacy-policy-tutorial):not(.wp-policy-help){margin:1em 0;padding:0}strong.privacy-policy-tutorial,strong.wp-policy-help{display:block;margin:0 0 1em}.notice.wp-pp-notice{margin:15px 0 3px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0 none;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #ddd;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-right:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:left;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-format-icon::before{display:inline-block;vertical-align:middle;height:20px;width:20px;margin-top:-4px;margin-right:7px;color:#ddd;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a.post-format-icon:hover:before{color:#00a0d2}#post-formats-select{line-height:2}#post-formats-select .post-format-icon::before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-left:0;padding:2px 0}.post-format-icon.post-format-standard::before{content:"\f109"}.post-format-icon.post-format-image::before{content:"\f128"}.post-format-icon.post-format-gallery::before{content:"\f161"}.post-format-icon.post-format-audio::before{content:"\f127"}.post-format-icon.post-format-video::before{content:"\f126"}.post-format-icon.post-format-chat::before{content:"\f125"}.post-format-icon.post-format-status::before{content:"\f130"}.post-format-icon.post-format-aside::before{content:"\f123"}.post-format-icon.post-format-quote::before{content:"\f122"}.post-format-icon.post-format-link::before{content:"\f103"}.category-adder{margin-left:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:solid 1px #ddd;background-color:#fdfdfd}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}div.tabs-panel-active:focus{box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 2px 1px rgba(30,140,190,.8);outline:0 none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-left:18px}ul.categorychecklist li{margin:0;padding:0;line-height:1.69230769;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px 0}.form-field input[type=email],.form-field input[type=number],.form-field input[type=password],.form-field input[type=search],.form-field input[type=tel],.form-field input[type=text],.form-field input[type=url],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-field p,.form-field select{max-width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}p.description code{font-style:normal}.form-wrap .form-field{margin:1em 0;padding:0}.col-wrap h2{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}.edit-term-notes{margin-top:2em}#poststuff .tagsdiv .ajaxtag{margin-top:1em}#poststuff .tagsdiv .howto{margin:1em 0 6px 0}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h2{margin:2px 0 12px}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.2;word-spacing:3px}.the-tagcloud ul{margin:0}.the-tagcloud ul li{display:inline-block}.ac_results{display:none;margin:-1px 0 0;padding:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{margin:0;padding:5px 10px;white-space:nowrap;text-align:left}.ac_over .ac_match,.ac_results .ac_over{background-color:#0073aa;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}#addtag .spinner{float:none;vertical-align:top}#edittag{max-width:800px}.edit-tag-actions{margin-top:20px}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}.comment-ays .comment-content ul{list-style:initial;margin-left:2em}.comment-ays .comment-content a[href]:after{content:"(" attr(href) ")";display:inline-block;padding:0 4px;color:#72777c;font-size:13px;word-break:break-all}.comment-ays .comment-content p.edit-comment{margin-top:10px}.comment-ays .comment-content p.edit-comment a[href]:after{content:"";padding:0}.comment-ays-submit .button-cancel{margin-left:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 8px 1px 0;line-height:1.23076923}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-right:8px;vertical-align:middle}.stuffbox .editcomment{clear:none;margin-top:0}#namediv.stuffbox .editcomment input{width:100%}#namediv.stuffbox .editcomment.form-table td{padding:10px}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 3px 5px 0;vertical-align:middle}#comment-status-radio label{padding:5px 0}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:left;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td,.links-table th{padding:5px 0}.links-table td label{margin-right:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}#qt_content_dfw{display:none}.wp-editor-expand #qt_content_dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .page-title-action,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;transition-duration:.6s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .page-title-action,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;transition-duration:.2s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transition-duration:.6s;transition-property:transform;transition-timing-function:ease-in-out}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transform:translateX(-100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{transform:translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background-image:url(../images/resize-rtl-2x.gif);background-position:left bottom}}@media only screen and (max-width:1200px){.post-type-attachment #poststuff{min-width:0}.post-type-attachment #wpbody-content #poststuff #post-body{margin:0}.post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}.post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty,.post-type-attachment #poststuff #postbox-container-1 .empty-container{border:0 none;height:0;min-height:0}.post-type-attachment #poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.post-type-attachment .columns-prefs,.post-type-attachment .screen-layout{display:none}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0 none;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){.wp-core-ui .edit-tag-actions .button-primary{margin-bottom:0}#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px 10px}#poststuff .stuffbox .inside{padding:0 2px 4px 0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{padding:12px}#namediv.stuffbox .editcomment.form-table td{padding:5px 10px}.post-format-options{padding-right:0}.post-format-options a{margin-right:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-right:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist li{margin-bottom:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto;margin-bottom:15px}.tagchecklist{margin:25px 10px}.tagchecklist>li{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:left!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-left:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding-top:6px;padding-bottom:6px;padding-left:6px;padding-right:3px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1;margin:7px 0 0 7px;padding:8px 12px}#wp-content-media-buttons a{font-size:14px;padding:6px 10px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-left:-2px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px 20px}.misc-pub-section>a{float:right;font-size:16px}#delete-action,#publishing-action{line-height:3.61538461}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}.privacy-text-box{width:auto}.privacy-text-box-toc{float:none;width:auto;height:100%}.privacy-text-section a.return-to-top{float:none;margin:0}} \ No newline at end of file +#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-right:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments a{float:left}#show-comments .spinner{float:none;margin-top:0}#lost-connection-notice .spinner{visibility:visible;float:left;margin:0 5px 0 0}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#72777c;position:absolute;font-size:1.7em;padding:10px;pointer-events:none}input#link_description,input#link_url{width:98%}#pending{background:0 none;border:0 none;padding:0;font-size:11px;margin-top:-1px}#comment-link-box,#edit-slug-box{line-height:1.84615384;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-right:10px;padding:0;font-size:11px}#comment-link-box{margin:5px 0;padding:0 5px}#editable-post-name-full{display:none}#editable-post-name{font-weight:600}#editable-post-name input{font-size:13px;font-weight:400;height:24px;margin:0;width:16em}.postarea h3 label{float:left}body.post-new-php .submitbox .submitdelete{display:none}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-right:4px;padding:6px}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{position:relative;min-width:255px;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:transparent none;border:0 none;float:right;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#32373c}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:0}.taxonomy-add-new{display:inline-block;margin:10px 0;font-weight:600}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:5px 7px 10px;overflow:hidden}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0 none}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:solid 1px transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #ddd;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 6px}#set-post-thumbnail{display:inline-block;max-width:100%}#postimagediv .inside img{max-width:100%;height:auto;width:auto;vertical-align:top;background-image:linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4),linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4);background-position:0 0,10px 10px;background-size:20px 20px}form#tags-filter{position:relative}.ui-tabs-hide,.wp-hidden-children .wp-hidden-child{display:none}#post-body .tagsdiv #newtag{margin-right:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #ccd0d4;border-top:none;background-color:#f7f7f7;box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:right}#editorcontent #post-status-info{border:none}#content-resize-handle{background:transparent url(../images/resize.gif) no-repeat scroll right bottom;width:12px;cursor:row-resize}.rtl #content-resize-handle{background-image:url(../images/resize-rtl.gif);background-position:left bottom}.wp-editor-expand #content-resize-handle{display:none}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#wp-content-editor-container{position:relative}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #ccd0d4}.wp-editor-expand #wp-content-editor-container{box-shadow:none;margin-top:-1px}.wp-editor-expand #wp-content-editor-container{border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #ccd0d4}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw{display:none}.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{vertical-align:top;font-size:12px;line-height:2.33333333}#aa,#hh,#jj,#mn{padding:6px 1px;font-size:12px;line-height:1.16666666}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px 0;display:inline!important;height:auto!important}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{color:#82878c}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:normal 20px/1 dashicons;speak:none;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before{content:"\f173"}#post-body #visibility:before{content:"\f177"}.curtime #timestamp:before{content:"\f145";position:relative;top:-1px}#post-body .misc-pub-revisions:before{content:"\f321"}#post-body .misc-pub-response-to:before{content:"\f101"}#timestampdiv{padding-top:5px;line-height:1.76923076}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{text-align:center}.notification-dialog{position:fixed;top:30%;max-height:70%;left:50%;width:450px;margin-left:-225px;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#file-editor-warning .button,#post-lock-dialog .post-locked-message a.button{margin-right:10px}#post-lock-dialog .post-locked-avatar{float:left;margin:0 20px 20px 0}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:left;margin-right:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-left:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist strong{margin-left:-8px;position:absolute}.tagchecklist>li{float:left;margin-right:25px;font-size:13px;line-height:1.8;cursor:default;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tagchecklist .ntdelbutton{position:absolute;width:24px;height:24px;border:none;margin:0 0 0 -19px;padding:0;background:0 0;cursor:pointer;text-indent:0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .stuffbox h2{padding:8px 10px}#poststuff .stuffbox>h2{border-bottom:1px solid #eee}#poststuff .inside{margin:6px 0 0 0}#poststuff .stuffbox .inside{margin:0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}.post-attributes-label-wrapper{margin-bottom:.5em}.post-attributes-label{vertical-align:baseline;font-weight:600}#comment-status-radio,#post-visibility-select{line-height:1.5;margin-top:3px}#linksubmitdiv .inside,#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}.wp_attachment_details .attachment-content-description{margin-top:.5385em;display:inline-block;min-height:1.6923em}.wp-privacy-policy-guide{max-width:1000px}.privacy-text-box{width:calc(100% - 260px)}.privacy-text-box-toc{float:right;width:250px;background-color:#fff}.privacy-text-box-toc p{margin:0;padding:.7em 1em;border-bottom:1px solid #eee}.privacy-text-box-toc ol{margin-left:2em}.wp-privacy-policy-guide h3{font-size:1.2em;margin:1em 0 .5em}.privacy-text-section .privacy-text-copy{float:right}.privacy-text-section{position:relative;border-top:1px solid #e3e3e3}.privacy-text-box-head,.privacy-text-section.text-removed{padding-bottom:12px}.text-removed .policy-text{font-style:italic;color:#666;font-weight:600}.privacy-text-actions{height:32px;line-height:2.46153846;padding-bottom:6px}.wp-privacy-policy-guide .policy-text h2{margin:1.2em 0 1em;padding:0}.suggested-policy-content{font-style:italic}.privacy-text-section a.return-to-top{float:right;margin-right:-250px;margin-top:6px}.hide-privacy-policy-tutorial{background-color:#fff}.hide-privacy-policy-tutorial .privacy-policy-tutorial,.hide-privacy-policy-tutorial .wp-policy-help{display:none}.policy-text{margin-bottom:1em}.policy-text div>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),.policy-text>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help){background-color:#fff;margin:0;padding:1em}.policy-text div>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help)+:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),.policy-text>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help)+:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help){padding-top:0}.hide-privacy-policy-tutorial>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help){margin:1em 0;padding:0}.policy-text ol li,.policy-text ul li{margin-left:2em}.policy-text ul{list-style:disc}strong.privacy-policy-tutorial,strong.wp-policy-help{display:block;margin:0 0 1em}.notice.wp-pp-notice{margin:15px 0 3px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0 none;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #ddd;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-right:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:left;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-format-icon::before{display:inline-block;vertical-align:middle;height:20px;width:20px;margin-top:-4px;margin-right:7px;color:#ddd;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a.post-format-icon:hover:before{color:#00a0d2}#post-formats-select{line-height:2}#post-formats-select .post-format-icon::before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-left:0;padding:2px 0}.post-format-icon.post-format-standard::before{content:"\f109"}.post-format-icon.post-format-image::before{content:"\f128"}.post-format-icon.post-format-gallery::before{content:"\f161"}.post-format-icon.post-format-audio::before{content:"\f127"}.post-format-icon.post-format-video::before{content:"\f126"}.post-format-icon.post-format-chat::before{content:"\f125"}.post-format-icon.post-format-status::before{content:"\f130"}.post-format-icon.post-format-aside::before{content:"\f123"}.post-format-icon.post-format-quote::before{content:"\f122"}.post-format-icon.post-format-link::before{content:"\f103"}.category-adder{margin-left:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:solid 1px #ddd;background-color:#fdfdfd}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}div.tabs-panel-active:focus{box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 2px 1px rgba(30,140,190,.8);outline:0 none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-left:18px}ul.categorychecklist li{margin:0;padding:0;line-height:1.69230769;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px 0}.form-field input[type=email],.form-field input[type=number],.form-field input[type=password],.form-field input[type=search],.form-field input[type=tel],.form-field input[type=text],.form-field input[type=url],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-field p,.form-field select{max-width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}p.description code{font-style:normal}.form-wrap .form-field{margin:1em 0;padding:0}.col-wrap h2{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}.edit-term-notes{margin-top:2em}#poststuff .tagsdiv .ajaxtag{margin-top:1em}#poststuff .tagsdiv .howto{margin:1em 0 6px 0}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h2{margin:2px 0 12px}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.2;word-spacing:3px}.the-tagcloud ul{margin:0}.the-tagcloud ul li{display:inline-block}.ac_results{display:none;margin:-1px 0 0;padding:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{margin:0;padding:5px 10px;white-space:nowrap;text-align:left}.ac_over .ac_match,.ac_results .ac_over{background-color:#0073aa;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}#addtag .spinner{float:none;vertical-align:top}#edittag{max-width:800px}.edit-tag-actions{margin-top:20px}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}.comment-ays .comment-content ul{list-style:initial;margin-left:2em}.comment-ays .comment-content a[href]:after{content:"(" attr(href) ")";display:inline-block;padding:0 4px;color:#72777c;font-size:13px;word-break:break-all}.comment-ays .comment-content p.edit-comment{margin-top:10px}.comment-ays .comment-content p.edit-comment a[href]:after{content:"";padding:0}.comment-ays-submit .button-cancel{margin-left:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 8px 1px 0;line-height:1.23076923}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-right:8px;vertical-align:middle}.stuffbox .editcomment{clear:none;margin-top:0}#namediv.stuffbox .editcomment input{width:100%}#namediv.stuffbox .editcomment.form-table td{padding:10px}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 3px 5px 0;vertical-align:middle}#comment-status-radio label{padding:5px 0}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:left;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td,.links-table th{padding:5px 0}.links-table td label{margin-right:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}#qt_content_dfw{display:none}.wp-editor-expand #qt_content_dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .page-title-action,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;transition-duration:.6s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .page-title-action,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;transition-duration:.2s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transition-duration:.6s;transition-property:transform;transition-timing-function:ease-in-out}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transform:translateX(-100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{transform:translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background-image:url(../images/resize-rtl-2x.gif);background-position:left bottom}}@media only screen and (max-width:1200px){.post-type-attachment #poststuff{min-width:0}.post-type-attachment #wpbody-content #poststuff #post-body{margin:0}.post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}.post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty,.post-type-attachment #poststuff #postbox-container-1 .empty-container{border:0 none;height:0;min-height:0}.post-type-attachment #poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.post-type-attachment .columns-prefs,.post-type-attachment .screen-layout{display:none}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0 none;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){.wp-core-ui .edit-tag-actions .button-primary{margin-bottom:0}#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px 10px}#poststuff .stuffbox .inside{padding:0 2px 4px 0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{padding:12px}#namediv.stuffbox .editcomment.form-table td{padding:5px 10px}.post-format-options{padding-right:0}.post-format-options a{margin-right:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-right:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist li{margin-bottom:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto;margin-bottom:15px}.tagchecklist{margin:25px 10px}.tagchecklist>li{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:left!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-left:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding-top:6px;padding-bottom:6px;padding-left:6px;padding-right:3px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1;margin:7px 0 0 7px;padding:8px 12px}#wp-content-media-buttons a{font-size:14px;padding:6px 10px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-left:-2px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px 20px}.misc-pub-section>a{float:right;font-size:16px}#delete-action,#publishing-action{line-height:3.61538461}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}.privacy-text-box{width:auto}.privacy-text-box-toc{float:none;width:auto;height:100%}.privacy-text-section a.return-to-top{float:none;margin:0}} \ No newline at end of file diff --git a/wp-admin/freedoms.php b/wp-admin/freedoms.php index 454a647c0d..b9c1a832dc 100644 --- a/wp-admin/freedoms.php +++ b/wp-admin/freedoms.php @@ -64,22 +64,22 @@
-

+

-

+

-

+

-

+

diff --git a/wp-admin/images/w-logo-blue.png b/wp-admin/images/w-logo-blue.png index 11e550c74e..5a810177d6 100644 Binary files a/wp-admin/images/w-logo-blue.png and b/wp-admin/images/w-logo-blue.png differ diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php index 951de39708..520914d945 100644 --- a/wp-admin/includes/deprecated.php +++ b/wp-admin/includes/deprecated.php @@ -1563,19 +1563,4 @@ function __construct( $args ) { */ function _wp_privacy_requests_screen_options() { _deprecated_function( __FUNCTION__, '5.3.0' ); -} - -/** - * Return the user request object for the specified request ID. - * - * @since 4.9.6 - * @deprecated 5.4.0 Use wp_get_user_request() - * @see wp_get_user_request() - * - * @param int $request_id The ID of the user request. - * @return WP_User_Request|false - */ -function wp_get_user_request_data( $request_id ) { - _deprecated_function( __FUNCTION__, '5.4.0', 'wp_get_user_request()' ); - return wp_get_user_request( $request_id ); } \ No newline at end of file diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index b25decfb6b..fc03622508 100644 --- a/wp-includes/assets/script-loader-packages.php +++ b/wp-includes/assets/script-loader-packages.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '45f739d280d1244f6cb498ed8f1bf042'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'c32d429d3012d9d46c0b1874fa1b6560'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'b437dd9d1118e698b1b85961e759bf03'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'aa8f88d2344416fcd2f7946cac4d5dd4'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '60ed48227f0a303ddf818dc8dc3e16fd'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '51d7097d8f9501396fc6f2299bdd61f9'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '704b9a6d689b18b6982a8b2ae902e7ec'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'f710d3cc99e7a55a0d6a5418f3cfe33c'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '30e97d4a87a3a28bd9052050ce276b47'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '423068d7079f57cf9f02458ccb4a6131'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '90861a4430fed183d94d6750cb7ae6f4'), 'compose.js' => array('dependencies' => array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '3c7f1e5a90aa3c9e9b0f65014efccb35'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '30bbd0e8996befdf7ce081c737c9c75c'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'e80048e7b309581a40e44b8bd8aaba41'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '01499e0a61256afb555131b4ed614fed'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '87f9d64d7050eeeffa6a6f670f0c546e'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'cd9e35508705772fbc5e2d9736bde31b'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '47fe5105eb1c16e22c3970e08b1f0953'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '91fc8f05178d5c6365aec778f840ae17'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '99ca111a562584048ddeb818a39c18f6'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'bb928f624169f992ec79a4889c7abf35'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'a7bf20cbfb0791e9fc65111e966d5592'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4198c7c0e05a9f34f4126334be746ddd'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '1cceafc98ef77eb54f1da78b10949b4b'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '552e55b6e60db2edbd9073097f2686f7'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '81efc2ce02f13b864d66666c7bec2136'), 'i18n.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cced130522e86c87a37cd7b8397b882c'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a4b6079b15ec86d646a9228996f79cf7'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'e5de24153978d727a85bc355566df02f'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '46e6adf844a1e989da37d39c64fca9e2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e3f5ece5fd3e8a2951172d531c3e1aab'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '591443ff969b73a6db3bc4d8cc57722d'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '74c8f15ff58eb236879fb3c4bcc0b9e2'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'f52ed6421db1d89876d15481c111f1ad'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => 'b1050e54f3a934a1c06648c984d141ed'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ecfd167b66d8272c99af2b0220535f33'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8d7738a3dac3e69a70c11e046ecfd5ff'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7b7d8224ca3d5f24509583833d71c388'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '942ff14b26cac991c71bdc5fd907ea4b'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '0982eea1efaf70db5d7a28a18b7f8bfa'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6b07711152e32e32d3fc082cc7dd632c'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f2fd25ef34512e2ebba30cfede36f1da'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'b7106409bea2c78aabddc45249f7c1fc'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'a1159de92dac2fded88b078b7a172740'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '98c469cb6d86983eb5fa9fc7a8dfa0c4'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '3bd8af3b607ad44d3f7f3c491a33e6bc')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '45f739d280d1244f6cb498ed8f1bf042'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'c32d429d3012d9d46c0b1874fa1b6560'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'b437dd9d1118e698b1b85961e759bf03'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'aa8f88d2344416fcd2f7946cac4d5dd4'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '60ed48227f0a303ddf818dc8dc3e16fd'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '51d7097d8f9501396fc6f2299bdd61f9'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'aacb5c07c68e448af6536df79db8f400'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '067800bc020babb22719c7a030bf65d9'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '30e97d4a87a3a28bd9052050ce276b47'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '423068d7079f57cf9f02458ccb4a6131'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '90861a4430fed183d94d6750cb7ae6f4'), 'compose.js' => array('dependencies' => array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '3c7f1e5a90aa3c9e9b0f65014efccb35'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '30bbd0e8996befdf7ce081c737c9c75c'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'e80048e7b309581a40e44b8bd8aaba41'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '01499e0a61256afb555131b4ed614fed'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '87f9d64d7050eeeffa6a6f670f0c546e'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'cd9e35508705772fbc5e2d9736bde31b'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '47fe5105eb1c16e22c3970e08b1f0953'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '91fc8f05178d5c6365aec778f840ae17'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '99ca111a562584048ddeb818a39c18f6'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'bb928f624169f992ec79a4889c7abf35'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'a7bf20cbfb0791e9fc65111e966d5592'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4198c7c0e05a9f34f4126334be746ddd'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '1cceafc98ef77eb54f1da78b10949b4b'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '552e55b6e60db2edbd9073097f2686f7'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '81efc2ce02f13b864d66666c7bec2136'), 'i18n.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cced130522e86c87a37cd7b8397b882c'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a4b6079b15ec86d646a9228996f79cf7'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'e5de24153978d727a85bc355566df02f'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '46e6adf844a1e989da37d39c64fca9e2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e3f5ece5fd3e8a2951172d531c3e1aab'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '591443ff969b73a6db3bc4d8cc57722d'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '74c8f15ff58eb236879fb3c4bcc0b9e2'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'f52ed6421db1d89876d15481c111f1ad'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => 'b1050e54f3a934a1c06648c984d141ed'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ecfd167b66d8272c99af2b0220535f33'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8d7738a3dac3e69a70c11e046ecfd5ff'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7b7d8224ca3d5f24509583833d71c388'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '942ff14b26cac991c71bdc5fd907ea4b'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '0982eea1efaf70db5d7a28a18b7f8bfa'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6b07711152e32e32d3fc082cc7dd632c'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f2fd25ef34512e2ebba30cfede36f1da'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'b7106409bea2c78aabddc45249f7c1fc'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'a1159de92dac2fded88b078b7a172740'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '98c469cb6d86983eb5fa9fc7a8dfa0c4'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '3bd8af3b607ad44d3f7f3c491a33e6bc')); \ No newline at end of file diff --git a/wp-includes/blocks/rss.php b/wp-includes/blocks/rss.php index 0315cfc013..07ddb3d007 100644 --- a/wp-includes/blocks/rss.php +++ b/wp-includes/blocks/rss.php @@ -92,7 +92,7 @@ function render_block_core_rss( $attributes ) { $class .= ' ' . $attributes['className']; } - return ""; + return sprintf( "", esc_attr( $class ), $list_items ); } /** diff --git a/wp-includes/blocks/search.php b/wp-includes/blocks/search.php index 5face0b929..a140caf0e0 100644 --- a/wp-includes/blocks/search.php +++ b/wp-includes/blocks/search.php @@ -57,7 +57,7 @@ function render_block_core_search( $attributes ) { return sprintf( '', - $class, + esc_attr( $class ), esc_url( home_url( '/' ) ), $label_markup . $input_markup . $button_markup ); diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 9d4ec4be36..b06d46f36c 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -2923,22 +2923,11 @@ function save_changeset_post( $args = array() ) { add_filter( 'wp_save_post_revision_post_has_changed', array( $this, '_filter_revision_post_has_changed' ), 5, 3 ); /* - * Update the changeset post. The publish_customize_changeset action - * will cause the settings in the changeset to be saved via - * WP_Customize_Setting::save(). + * Update the changeset post. The publish_customize_changeset action will cause the settings in the + * changeset to be saved via WP_Customize_Setting::save(). Updating a post with publish status will + * trigger WP_Customize_Manager::publish_changeset_values(). */ - - // Prevent content filters from corrupting JSON in post_content. - $has_kses = ( false !== has_filter( 'content_save_pre', 'wp_filter_post_kses' ) ); - if ( $has_kses ) { - kses_remove_filters(); - } - $has_targeted_link_rel_filters = ( false !== has_filter( 'content_save_pre', 'wp_targeted_link_rel' ) ); - if ( $has_targeted_link_rel_filters ) { - wp_remove_targeted_link_rel_filters(); - } - - // Note that updating a post with publish status will trigger WP_Customize_Manager::publish_changeset_values(). + add_filter( 'wp_insert_post_data', array( $this, 'preserve_insert_changeset_post_content' ), 5, 3 ); if ( $changeset_post_id ) { if ( $args['autosave'] && 'auto-draft' !== get_post_status( $changeset_post_id ) ) { // See _wp_translate_postdata() for why this is required as it will use the edit_post meta capability. @@ -2969,14 +2958,7 @@ function save_changeset_post( $args = array() ) { $this->_changeset_post_id = $r; // Update cached post ID for the loaded changeset. } } - - // Restore removed content filters. - if ( $has_kses ) { - kses_init_filters(); - } - if ( $has_targeted_link_rel_filters ) { - wp_init_targeted_link_rel_filters(); - } + remove_filter( 'wp_insert_post_data', array( $this, 'preserve_insert_changeset_post_content' ), 5 ); $this->_changeset_data = null; // Reset so WP_Customize_Manager::changeset_data() will re-populate with updated contents. @@ -2994,6 +2976,51 @@ function save_changeset_post( $args = array() ) { return $response; } + /** + * Preserve the initial JSON post_content passed to save into the post. + * + * This is needed to prevent KSES and other {@see 'content_save_pre'} filters + * from corrupting JSON data. + * + * Note that WP_Customize_Manager::validate_setting_values() have already + * run on the setting values being serialized as JSON into the post content + * so it is pre-sanitized. + * + * Also, the sanitization logic is re-run through the respective + * WP_Customize_Setting::sanitize() method when being read out of the + * changeset, via WP_Customize_Manager::post_value(), and this sanitized + * value will also be sent into WP_Customize_Setting::update() for + * persisting to the DB. + * + * Multiple users can collaborate on a single changeset, where one user may + * have the unfiltered_html capability but another may not. A user with + * unfiltered_html may add a script tag to some field which needs to be kept + * intact even when another user updates the changeset to modify another field + * when they do not have unfiltered_html. + * + * @since 5.4.1 + * + * @param array $data An array of slashed and processed post data. + * @param array $postarr An array of sanitized (and slashed) but otherwise unmodified post data. + * @param array $unsanitized_postarr An array of slashed yet *unsanitized* and unprocessed post data as originally passed to wp_insert_post(). + * @return array Filtered post data. + */ + public function preserve_insert_changeset_post_content( $data, $postarr, $unsanitized_postarr ) { + if ( + isset( $data['post_type'] ) && + isset( $unsanitized_postarr['post_content'] ) && + 'customize_changeset' === $data['post_type'] || + ( + 'revision' === $data['post_type'] && + ! empty( $data['post_parent'] ) && + 'customize_changeset' === get_post_type( $data['post_parent'] ) + ) + ) { + $data['post_content'] = $unsanitized_postarr['post_content']; + } + return $data; + } + /** * Trash or delete a changeset post. * diff --git a/wp-includes/class-wp-object-cache.php b/wp-includes/class-wp-object-cache.php index fafdc8b9e5..428e453631 100644 --- a/wp-includes/class-wp-object-cache.php +++ b/wp-includes/class-wp-object-cache.php @@ -441,7 +441,7 @@ public function stats() { echo '

'; echo ''; } diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php index 540201552c..bd04e91fe9 100644 --- a/wp-includes/class-wp-query.php +++ b/wp-includes/class-wp-query.php @@ -811,10 +811,6 @@ public function parse_query( $query = '' ) { $this->is_single = true; } elseif ( $qv['p'] ) { $this->is_single = true; - } elseif ( ( '' !== $qv['hour'] ) && ( '' !== $qv['minute'] ) && ( '' !== $qv['second'] ) && ( '' != $qv['year'] ) && ( '' != $qv['monthnum'] ) && ( '' != $qv['day'] ) ) { - // If year, month, day, hour, minute, and second are set, - // a single post is being queried. - $this->is_single = true; } elseif ( '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) { $this->is_page = true; $this->is_single = false; diff --git a/wp-includes/css/dist/block-directory/style-rtl.css b/wp-includes/css/dist/block-directory/style-rtl.css index 5eaca23802..13e64e29ba 100644 --- a/wp-includes/css/dist/block-directory/style-rtl.css +++ b/wp-includes/css/dist/block-directory/style-rtl.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/block-directory/style.css b/wp-includes/css/dist/block-directory/style.css index 4c3fca9a71..9a2d49ee82 100644 --- a/wp-includes/css/dist/block-directory/style.css +++ b/wp-includes/css/dist/block-directory/style.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index 150a9be392..5d4f708656 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/block-editor/style.css b/wp-includes/css/dist/block-editor/style.css index c876bf3019..096692d393 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css index d19f70c91a..493c8e8298 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css index a3ab45ad87..9314c347c2 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/block-library/style-rtl.css b/wp-includes/css/dist/block-library/style-rtl.css index f762de7e82..b8d7bbbc89 100644 --- a/wp-includes/css/dist/block-library/style-rtl.css +++ b/wp-includes/css/dist/block-library/style-rtl.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ @@ -87,7 +91,12 @@ .wp-block-buttons .wp-block-button { display: inline-block; - margin: 4px; } + margin-left: 8px; + margin-bottom: 8px; } + +.wp-block-buttons.alignright .wp-block-button { + margin-left: none; + margin-right: 8px; } .wp-block-buttons.aligncenter { text-align: center; } diff --git a/wp-includes/css/dist/block-library/style-rtl.min.css b/wp-includes/css/dist/block-library/style-rtl.min.css index a7db7b5410..abf8cd71e3 100644 --- a/wp-includes/css/dist/block-library/style-rtl.min.css +++ b/wp-includes/css/dist/block-library/style-rtl.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.wp-gs .wp-block-button__link:not(.has-background){background-color:var(--wp-block-core-button--color--background,var(--wp-color--primary,#32373c))}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-buttons .wp-block-button{display:inline-block;margin:4px}.wp-block-buttons.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:20px 30px}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column{flex-basis:calc(50% - 16px)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style]{flex-grow:0}.wp-block-column:not(:first-child){margin-right:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;right:50%;transform:translateX(50%) translateY(-50%);width:100%;height:100%;z-index:0;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left],.block-editor-block-list__block[data-type="core/embed"][data-align=right],.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 16px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-left:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-left:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-left:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-left:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-left:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-left:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-right:0;margin-left:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img,.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:right;height:40px;margin-left:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-latest-posts__featured-image img{height:auto;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.wp-block-media-text{direction:ltr;display:-ms-grid;display:grid;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr;-ms-grid-rows:auto;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.wp-block-navigation>ul{display:block;list-style:none;margin:0;padding-right:0}@media (min-width:600px){.wp-block-navigation>ul{display:flex;flex-wrap:wrap}}.wp-block-navigation>ul ul{list-style:none;padding-right:0;margin-top:0;margin-right:0}.wp-block-navigation>ul ul li{margin:0}.wp-block-navigation>ul li{z-index:1}.wp-block-navigation>ul li:focus-within,.wp-block-navigation>ul li:hover{cursor:pointer;z-index:99999}.wp-block-navigation>ul li:focus-within>ul,.wp-block-navigation>ul li:hover>ul,.wp-block-navigation>ul li ul:focus,.wp-block-navigation>ul li ul:hover{visibility:visible;opacity:1;display:flex;flex-direction:column}.wp-block-navigation>ul>li ul{position:absolute;right:0;top:100%;min-width:200px;max-width:200px;opacity:0;transition:opacity .1s linear;visibility:hidden}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation .block-editor-block-list__layout .block-editor-block-list__layout{width:200px}.wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{margin:0;width:auto}.wp-block-navigation,.wp-block-navigation>.wp-block-navigation__container{align-items:center;width:100%}.wp-block-navigation>.wp-block-navigation-link,.wp-block-navigation>.wp-block-navigation__container>.wp-block-navigation-link{display:flex;margin-top:0;margin-bottom:0}.wp-block-navigation .wp-block-navigation-link{position:relative;margin:0;min-height:56px;display:flex;line-height:1.4}.wp-block-navigation .wp-block-navigation-link .wp-block,.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link{min-height:auto;padding:0}.wp-block-navigation .wp-block-navigation-link .wp-block .wp-block-navigation-link{margin:0}.wp-block-navigation .wp-block-navigation-link>.block-editor-inner-blocks{display:none}.wp-block-navigation .wp-block-navigation-link.has-child>.wp-block-navigation__container,.wp-block-navigation .wp-block-navigation-link.is-editing.has-child>.block-editor-inner-blocks{display:flex;border:1px solid rgba(0,0,0,.15);position:absolute;z-index:1;top:100%;right:0}.wp-block-navigation .wp-block-navigation-link.has-child>.wp-block-navigation__container .block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link.has-child>.wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation .wp-block-navigation-link.is-editing.has-child>.block-editor-inner-blocks .block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link.is-editing.has-child>.block-editor-inner-blocks .wp-block-navigation__container{right:100%;top:-1px}.wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link .wp-block-navigation__container{background-color:inherit;color:inherit}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__content{display:flex;align-items:center;width:max-content;padding:6px 16px}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link:first-child:not(:only-child) .wp-block-navigation-link__content{padding-top:8px}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link:last-child .wp-block-navigation-link__content{padding-bottom:8px}.wp-block-navigation .wp-block-navigation-link.has-child .wp-block-navigation-link__content{min-width:100%;padding-left:32px;position:relative}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__submenu-icon{position:absolute;left:16px}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__submenu-icon svg{fill:currentColor}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link svg{transform:rotate(0)}.wp-block-navigation .wp-block-navigation-link.has-text-color .wp-block-navigation-link__content{color:inherit}.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-text-color)>.block-editor-inner-blocks,.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-text-color)>.wp-block-navigation__container,.wp-block-navigation .wp-block-navigation-link:not(.has-text-color)>.block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link:not(.has-text-color)>.wp-block-navigation__container{color:#111}.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-background)>.block-editor-inner-blocks,.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-background)>.wp-block-navigation__container,.wp-block-navigation .wp-block-navigation-link:not(.has-background)>.block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link:not(.has-background)>.wp-block-navigation__container{background-color:#fff}.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-text-color)>.block-editor-inner-blocks,.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-text-color)>.wp-block-navigation__container{color:#fff}.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-background)>.block-editor-inner-blocks,.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-background)>.wp-block-navigation__container{background-color:#333}.wp-block-navigation .wp-block-navigation-link.has-child>.wp-block-navigation__container{display:flex;flex-direction:column;padding:0}.wp-block-navigation>ul>li>a{display:flex;align-items:center}.wp-block-navigation>ul>li:first-of-type>a{padding-right:0}.wp-block-navigation>ul>li:last-of-type>a{padding-left:0}.wp-block-navigation.items-justified-left>ul{justify-content:flex-start}.wp-block-navigation.items-justified-center>ul{justify-content:center}.wp-block-navigation.items-justified-right>ul{justify-content:flex-end}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:290px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:left}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;max-width:360px}.wp-block-search .wp-block-search__button{margin-right:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-right:0;padding-left:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-social-link{display:block;width:36px;height:36px;border-radius:36px;margin-left:8px;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-social-link{transition-duration:0s}}.wp-social-link a{padding:6px;display:block;line-height:0;transition:transform .1s ease}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:16px;padding-left:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file +.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.wp-gs .wp-block-button__link:not(.has-background){background-color:var(--wp-block-core-button--color--background,var(--wp-color--primary,#32373c))}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-buttons .wp-block-button{display:inline-block;margin-left:8px;margin-bottom:8px}.wp-block-buttons.alignright .wp-block-button{margin-left:none;margin-right:8px}.wp-block-buttons.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:20px 30px}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column{flex-basis:calc(50% - 16px)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style]{flex-grow:0}.wp-block-column:not(:first-child){margin-right:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;right:50%;transform:translateX(50%) translateY(-50%);width:100%;height:100%;z-index:0;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left],.block-editor-block-list__block[data-type="core/embed"][data-align=right],.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 16px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-left:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-left:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-left:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-left:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-left:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-left:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-right:0;margin-left:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img,.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:right;height:40px;margin-left:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-latest-posts__featured-image img{height:auto;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.wp-block-media-text{direction:ltr;display:-ms-grid;display:grid;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr;-ms-grid-rows:auto;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.wp-block-navigation>ul{display:block;list-style:none;margin:0;padding-right:0}@media (min-width:600px){.wp-block-navigation>ul{display:flex;flex-wrap:wrap}}.wp-block-navigation>ul ul{list-style:none;padding-right:0;margin-top:0;margin-right:0}.wp-block-navigation>ul ul li{margin:0}.wp-block-navigation>ul li{z-index:1}.wp-block-navigation>ul li:focus-within,.wp-block-navigation>ul li:hover{cursor:pointer;z-index:99999}.wp-block-navigation>ul li:focus-within>ul,.wp-block-navigation>ul li:hover>ul,.wp-block-navigation>ul li ul:focus,.wp-block-navigation>ul li ul:hover{visibility:visible;opacity:1;display:flex;flex-direction:column}.wp-block-navigation>ul>li ul{position:absolute;right:0;top:100%;min-width:200px;max-width:200px;opacity:0;transition:opacity .1s linear;visibility:hidden}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation .block-editor-block-list__layout .block-editor-block-list__layout{width:200px}.wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{margin:0;width:auto}.wp-block-navigation,.wp-block-navigation>.wp-block-navigation__container{align-items:center;width:100%}.wp-block-navigation>.wp-block-navigation-link,.wp-block-navigation>.wp-block-navigation__container>.wp-block-navigation-link{display:flex;margin-top:0;margin-bottom:0}.wp-block-navigation .wp-block-navigation-link{position:relative;margin:0;min-height:56px;display:flex;line-height:1.4}.wp-block-navigation .wp-block-navigation-link .wp-block,.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link{min-height:auto;padding:0}.wp-block-navigation .wp-block-navigation-link .wp-block .wp-block-navigation-link{margin:0}.wp-block-navigation .wp-block-navigation-link>.block-editor-inner-blocks{display:none}.wp-block-navigation .wp-block-navigation-link.has-child>.wp-block-navigation__container,.wp-block-navigation .wp-block-navigation-link.is-editing.has-child>.block-editor-inner-blocks{display:flex;border:1px solid rgba(0,0,0,.15);position:absolute;z-index:1;top:100%;right:0}.wp-block-navigation .wp-block-navigation-link.has-child>.wp-block-navigation__container .block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link.has-child>.wp-block-navigation__container .wp-block-navigation__container,.wp-block-navigation .wp-block-navigation-link.is-editing.has-child>.block-editor-inner-blocks .block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link.is-editing.has-child>.block-editor-inner-blocks .wp-block-navigation__container{right:100%;top:-1px}.wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link .wp-block-navigation__container{background-color:inherit;color:inherit}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__content{display:flex;align-items:center;width:max-content;padding:6px 16px}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link:first-child:not(:only-child) .wp-block-navigation-link__content{padding-top:8px}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link:last-child .wp-block-navigation-link__content{padding-bottom:8px}.wp-block-navigation .wp-block-navigation-link.has-child .wp-block-navigation-link__content{min-width:100%;padding-left:32px;position:relative}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__submenu-icon{position:absolute;left:16px}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__submenu-icon svg{fill:currentColor}.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link svg{transform:rotate(0)}.wp-block-navigation .wp-block-navigation-link.has-text-color .wp-block-navigation-link__content{color:inherit}.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-text-color)>.block-editor-inner-blocks,.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-text-color)>.wp-block-navigation__container,.wp-block-navigation .wp-block-navigation-link:not(.has-text-color)>.block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link:not(.has-text-color)>.wp-block-navigation__container{color:#111}.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-background)>.block-editor-inner-blocks,.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-background)>.wp-block-navigation__container,.wp-block-navigation .wp-block-navigation-link:not(.has-background)>.block-editor-inner-blocks,.wp-block-navigation .wp-block-navigation-link:not(.has-background)>.wp-block-navigation__container{background-color:#fff}.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-text-color)>.block-editor-inner-blocks,.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-text-color)>.wp-block-navigation__container{color:#fff}.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-background)>.block-editor-inner-blocks,.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-background)>.wp-block-navigation__container{background-color:#333}.wp-block-navigation .wp-block-navigation-link.has-child>.wp-block-navigation__container{display:flex;flex-direction:column;padding:0}.wp-block-navigation>ul>li>a{display:flex;align-items:center}.wp-block-navigation>ul>li:first-of-type>a{padding-right:0}.wp-block-navigation>ul>li:last-of-type>a{padding-left:0}.wp-block-navigation.items-justified-left>ul{justify-content:flex-start}.wp-block-navigation.items-justified-center>ul{justify-content:center}.wp-block-navigation.items-justified-right>ul{justify-content:flex-end}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:290px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:left}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;max-width:360px}.wp-block-search .wp-block-search__button{margin-right:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-right:0;padding-left:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-social-link{display:block;width:36px;height:36px;border-radius:36px;margin-left:8px;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-social-link{transition-duration:0s}}.wp-social-link a{padding:6px;display:block;line-height:0;transition:transform .1s ease}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:16px;padding-left:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style.css b/wp-includes/css/dist/block-library/style.css index c24023f0d2..3e36f36ee7 100644 --- a/wp-includes/css/dist/block-library/style.css +++ b/wp-includes/css/dist/block-library/style.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ @@ -88,7 +92,12 @@ .wp-block-buttons .wp-block-button { display: inline-block; - margin: 4px; } + margin-right: 8px; + margin-bottom: 8px; } + +.wp-block-buttons.alignright .wp-block-button { + margin-right: none; + margin-left: 8px; } .wp-block-buttons.aligncenter { text-align: center; } diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css index 988b34a23e..f047ccc866 100644 --- a/wp-includes/css/dist/block-library/style.min.css +++ b/wp-includes/css/dist/block-library/style.min.css @@ -1,4 +1,4 @@ -.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.wp-gs .wp-block-button__link:not(.has-background){background-color:var(--wp-block-core-button--color--background,var(--wp-color--primary,#32373c))}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-buttons .wp-block-button{display:inline-block;margin:4px}.wp-block-buttons.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:20px 30px}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column{flex-basis:calc(50% - 16px)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style]{flex-grow:0}.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:100%;height:100%;z-index:0;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left],.block-editor-block-list__block[data-type="core/embed"][data-align=right],.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-left:0;margin-right:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img,.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:left;height:40px;margin-right:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-latest-posts__featured-image img{height:auto;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.wp-block-media-text{ +.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.wp-gs .wp-block-button__link:not(.has-background){background-color:var(--wp-block-core-button--color--background,var(--wp-color--primary,#32373c))}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-buttons .wp-block-button{display:inline-block;margin-right:8px;margin-bottom:8px}.wp-block-buttons.alignright .wp-block-button{margin-right:none;margin-left:8px}.wp-block-buttons.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:20px 30px}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column{flex-basis:calc(50% - 16px)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style]{flex-grow:0}.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:100%;height:100%;z-index:0;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left],.block-editor-block-list__block[data-type="core/embed"][data-align=right],.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-left:0;margin-right:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img,.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:left;height:40px;margin-right:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-latest-posts__featured-image img{height:auto;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.wp-block-media-text{ /*!rtl:begin:ignore*/direction:ltr; /*!rtl:end:ignore*/display:-ms-grid;display:grid;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr;-ms-grid-rows:auto;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{ /*!rtl:begin:ignore*/-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1; diff --git a/wp-includes/css/dist/block-library/theme-rtl.css b/wp-includes/css/dist/block-library/theme-rtl.css index b985efc89e..f0511b19ee 100644 --- a/wp-includes/css/dist/block-library/theme-rtl.css +++ b/wp-includes/css/dist/block-library/theme-rtl.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/block-library/theme.css b/wp-includes/css/dist/block-library/theme.css index 1f60a03089..312011a6a0 100644 --- a/wp-includes/css/dist/block-library/theme.css +++ b/wp-includes/css/dist/block-library/theme.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index fdf408ca98..db49a8aaf2 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css index fe4b0e6d82..23f5448def 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/editor/editor-styles-rtl.css b/wp-includes/css/dist/editor/editor-styles-rtl.css index d6108fa875..d24b8f9454 100644 --- a/wp-includes/css/dist/editor/editor-styles-rtl.css +++ b/wp-includes/css/dist/editor/editor-styles-rtl.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/editor/editor-styles.css b/wp-includes/css/dist/editor/editor-styles.css index 6eee9eb23a..dd90efe06e 100644 --- a/wp-includes/css/dist/editor/editor-styles.css +++ b/wp-includes/css/dist/editor/editor-styles.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/editor/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css index 82268c419c..0b435d1862 100644 --- a/wp-includes/css/dist/editor/style-rtl.css +++ b/wp-includes/css/dist/editor/style-rtl.css @@ -11,6 +11,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/editor/style.css b/wp-includes/css/dist/editor/style.css index 41df71fd74..b231a618ff 100644 --- a/wp-includes/css/dist/editor/style.css +++ b/wp-includes/css/dist/editor/style.css @@ -11,6 +11,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/format-library/style-rtl.css b/wp-includes/css/dist/format-library/style-rtl.css index bc569f532b..4e0e3595cf 100644 --- a/wp-includes/css/dist/format-library/style-rtl.css +++ b/wp-includes/css/dist/format-library/style-rtl.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/dist/format-library/style.css b/wp-includes/css/dist/format-library/style.css index 256113e5dd..6b64b92644 100644 --- a/wp-includes/css/dist/format-library/style.css +++ b/wp-includes/css/dist/format-library/style.css @@ -10,6 +10,10 @@ /** * Often re-used variables */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ /** * Breakpoint mixins */ diff --git a/wp-includes/css/media-views-rtl.css b/wp-includes/css/media-views-rtl.css index 79b10d75f4..b5493b1b37 100644 --- a/wp-includes/css/media-views-rtl.css +++ b/wp-includes/css/media-views-rtl.css @@ -1527,11 +1527,6 @@ display: inline-block !important; } -div.moxie-shim.moxie-shim-html5, -div.moxie-shim.moxie-shim-html5 input[type="file"] { - display: none; -} - /** * Selection */ diff --git a/wp-includes/css/media-views-rtl.min.css b/wp-includes/css/media-views-rtl.min.css index 5737c8d5e4..ab54f71097 100644 --- a/wp-includes/css/media-views-rtl.min.css +++ b/wp-includes/css/media-views-rtl.min.css @@ -6,4 +6,4 @@ * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - */.ui-draggable-handle,.ui-sortable-handle{touch-action:none}.media-modal{position:fixed;top:30px;right:30px;left:30px;bottom:30px;z-index:160000}.wp-customizer .media-modal{z-index:560000}.media-modal-backdrop{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:159900}.wp-customizer .media-modal-backdrop{z-index:559900}.media-modal-close{position:absolute;top:0;left:0;width:50px;height:50px;margin:0;padding:0;border:1px solid transparent;background:0 0;color:#666;z-index:1000;cursor:pointer;outline:0;transition:color .1s ease-in-out,background .1s ease-in-out}.media-modal-close:active,.media-modal-close:hover{color:#00a0d2}.media-modal-close:focus{color:#00a0d2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8);outline:2px solid transparent}.media-modal-close span.media-modal-icon{background-image:none}.media-modal-close .media-modal-icon:before{content:"\f158";font:normal 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.media-modal-content{position:absolute;top:0;right:0;left:0;bottom:0;overflow:auto;min-height:300px;box-shadow:0 5px 15px rgba(0,0,0,.7);background:#fcfcfc;-webkit-font-smoothing:subpixel-antialiased}.media-modal-content .media-frame select.attachment-filters{margin-top:32px;margin-left:2%;width:42%;width:calc(48% - 12px)}.media-modal-content .attachments-browser .search{width:100%}.wp-core-ui .media-modal-icon{background-image:url(../images/uploader-icons.png);background-repeat:no-repeat}.media-toolbar{position:absolute;top:0;right:0;left:0;z-index:100;height:60px;padding:0 16px;border:0 solid #ddd;overflow:hidden}.media-frame-toolbar .media-toolbar{top:auto;bottom:-47px;height:auto;overflow:visible;border-top:1px solid #ddd}.media-toolbar-primary{float:left;height:100%;position:relative}.media-toolbar-secondary{float:right;height:100%}.media-toolbar-primary>.media-button,.media-toolbar-primary>.media-button-group{margin-right:10px;float:right;margin-top:15px}.media-toolbar-secondary>.media-button,.media-toolbar-secondary>.media-button-group{margin-left:10px;margin-top:15px}.media-sidebar{position:absolute;top:0;left:0;bottom:0;width:267px;padding:0 16px;z-index:75;background:#f3f3f3;border-right:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch}.media-sidebar::after{content:"";display:flex;clear:both;height:24px}.hide-toolbar .media-sidebar{bottom:0}.image-details h2,.media-sidebar h2{position:relative;font-weight:600;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}.attachment-details .setting,.media-sidebar .setting{display:block;float:right;width:100%;margin:0 0 10px}.media-sidebar .collection-settings .setting{margin:1px 0}.attachment-details .setting.has-description,.media-sidebar .setting.has-description{margin-bottom:5px}.media-sidebar .setting .link-to-custom{margin:3px 2px 0}.attachment-details .setting .name,.attachment-details .setting span,.media-sidebar .setting .name,.media-sidebar .setting .value,.media-sidebar .setting span{min-width:30%;margin-left:4%;font-size:12px;text-align:left;word-wrap:break-word}.media-sidebar .setting .name{max-width:80px}.media-sidebar .setting .value{text-align:right}.media-sidebar .setting select{max-width:65%}.attachment-details .field input[type=checkbox],.attachment-details .field input[type=radio],.attachment-details .setting input[type=checkbox],.attachment-details .setting input[type=radio],.media-sidebar .field input[type=checkbox],.media-sidebar .field input[type=radio],.media-sidebar .setting input[type=checkbox],.media-sidebar .setting input[type=radio]{float:none;margin:8px 3px 0;padding:0}.attachment-details .setting .name,.attachment-details .setting .value,.attachment-details .setting span,.compat-item label span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting .name,.media-sidebar .setting .value,.media-sidebar .setting span{float:right;min-height:22px;padding-top:8px;line-height:1.33333333;font-weight:400;color:#666}.media-sidebar .checkbox-label-inline{font-size:12px}.compat-item label span{text-align:left}.attachment-details .setting .value,.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting textarea,.attachment-details .setting+.description,.media-sidebar .setting .value,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting textarea{box-sizing:border-box;margin:1px;width:65%;float:left}.attachment-details .setting .value,.attachment-details .setting+.description,.media-sidebar .setting .value{margin:0 1px;text-align:right}.attachment-details .setting+.description{clear:both;font-size:12px;font-style:normal;margin-bottom:10px}.attachment-details .setting textarea,.compat-item .field textarea,.media-sidebar .setting textarea{height:62px;resize:vertical}.compat-item{float:right;width:100%;overflow:hidden}.compat-item table{width:100%;table-layout:fixed;border-spacing:0;border:0}.compat-item tr{padding:2px 0;display:block;overflow:hidden}.compat-item .field,.compat-item .label{display:block;margin:0;padding:0}.compat-item .label{min-width:30%;margin-left:4%;float:right;text-align:left}.compat-item .label span{display:block;width:100%}.compat-item .field{float:left;width:65%;margin:1px}.compat-item .field input[type=email],.compat-item .field input[type=number],.compat-item .field input[type=password],.compat-item .field input[type=search],.compat-item .field input[type=tel],.compat-item .field input[type=text],.compat-item .field input[type=url],.compat-item .field textarea{width:100%;margin:0;box-sizing:border-box}.sidebar-for-errors .attachment-details,.sidebar-for-errors .compat-item,.sidebar-for-errors .media-sidebar .media-progress-bar,.sidebar-for-errors .upload-details{display:none!important}.media-menu{position:absolute;top:0;right:0;left:0;bottom:0;margin:0;padding:50px 0 10px;background:#f3f3f3;border-left-width:1px;border-left-style:solid;border-left-color:#ccc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.media-menu .media-menu-item{display:block;box-sizing:border-box;width:100%;position:relative;border:0;margin:0;padding:8px 20px;font-size:14px;line-height:1.28571428;background:0 0;color:#0073aa;text-align:right;text-decoration:none;cursor:pointer}.media-menu .media-menu-item:hover{background:rgba(0,0,0,.04)}.media-menu .media-menu-item:active{color:#0073aa;outline:0}.media-menu .active,.media-menu .active:hover{color:#23282d;font-weight:600}.media-menu .media-menu-item:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-menu .separator{height:0;margin:12px 20px;padding:0;border-top:1px solid #ddd}.media-router{position:relative;padding:0 6px;margin:0;clear:both}.media-router .media-menu-item{position:relative;float:right;border:0;margin:0;padding:8px 10px 9px;height:18px;line-height:1.28571428;font-size:14px;text-decoration:none;background:0 0;cursor:pointer;transition:none}.media-router .media-menu-item:last-child{border-left:0}.media-router .media-menu-item:active,.media-router .media-menu-item:hover{color:#0073aa}.media-router .active,.media-router .active:hover{color:#23282d}.media-router .media-menu-item:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-router .active,.media-router .media-menu-item.active:last-child{margin:-1px -1px 0;background:#fff;border:1px solid #ddd;border-bottom:none}.media-router .active:after{display:none}.media-frame{overflow:hidden;position:absolute;top:0;right:0;left:0;bottom:0}.media-frame-menu{position:absolute;top:0;right:0;bottom:0;width:200px;z-index:150}.media-frame-title{position:absolute;top:0;right:200px;left:0;height:50px;z-index:200}.media-frame-router{position:absolute;top:50px;right:200px;left:0;height:36px;z-index:200}.media-frame-content{position:absolute;top:84px;right:200px;left:0;bottom:61px;height:auto;width:auto;margin:0;overflow:auto;background:#fff;border-top:1px solid #ddd}.media-frame-toolbar{position:absolute;right:200px;left:0;z-index:100;bottom:60px;height:auto}.media-frame.hide-menu .media-frame-content,.media-frame.hide-menu .media-frame-router,.media-frame.hide-menu .media-frame-title,.media-frame.hide-menu .media-frame-toolbar{right:0}.media-frame.hide-toolbar .media-frame-content{bottom:0}.media-frame.hide-router .media-frame-content{top:50px}.media-frame.hide-menu .media-frame-menu,.media-frame.hide-menu .media-frame-menu-heading,.media-frame.hide-router .media-frame-router,.media-frame.hide-toolbar .media-frame-toolbar{display:none}.media-frame-title h1{padding:0 16px;font-size:22px;line-height:2.27272727;margin:0}.media-attachments-filter-heading,.media-frame-menu-heading{position:absolute;right:20px;top:22px;margin:0;font-size:13px;line-height:1;z-index:151}.media-attachments-filter-heading{top:10px;right:16px}.mode-grid .media-attachments-filter-heading{top:0;right:-9999px}.mode-grid .media-frame-actions-heading{display:none}.wp-core-ui .button.media-frame-menu-toggle{display:none}.media-frame-title .suggested-dimensions{font-size:14px;float:left;margin-left:20px}.media-frame-content .crop-content{height:100%}.wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon{margin-left:300px}.media-frame-content .crop-content .crop-image{display:block;margin:auto;max-width:100%;max-height:100%}.media-frame-content .crop-content .upload-errors{position:absolute;width:300px;top:50%;right:50%;margin-right:-150px;margin-left:-150px;z-index:600000}.media-frame .media-iframe{overflow:hidden}.media-frame .media-iframe,.media-frame .media-iframe iframe{height:100%;width:100%;border:0}.media-frame select.attachment-filters{margin-top:11px;margin-left:2%;max-width:42%;max-width:calc(48% - 12px)}.media-frame select.attachment-filters:last-of-type{margin-left:0;width:auto;max-width:100%}.media-frame .search{margin:32px 0 0;padding:4px;font-size:13px;color:#444;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;-webkit-appearance:none}.media-toolbar-primary .search{max-width:100%}.media-frame .media-search-input-label{position:absolute;right:0;top:10px;margin:0;line-height:1}.wp-core-ui .attachments{margin:0;-webkit-overflow-scrolling:touch}.wp-core-ui .attachment{position:relative;float:right;padding:8px;margin:0;color:#444;cursor:pointer;list-style:none;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:25%;box-sizing:border-box}.wp-core-ui .attachment.details:focus,.wp-core-ui .attachment:focus,.wp-core-ui .selected.attachment:focus{box-shadow:inset 0 0 2px 3px #fff,inset 0 0 0 7px #5b9dd9;outline:2px solid transparent;outline-offset:-6px}.wp-core-ui .selected.attachment{box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #ccc}.wp-core-ui .attachment.details{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0073aa}.wp-core-ui .attachment-preview{position:relative;box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);background:#eee;cursor:pointer}.wp-core-ui .attachment-preview:before{content:"";display:block;padding-top:100%}.wp-core-ui .attachment .icon{margin:0 auto;overflow:hidden}.wp-core-ui .attachment .thumbnail{overflow:hidden;position:absolute;top:0;left:0;bottom:0;right:0;opacity:1;transition:opacity .1s}.wp-core-ui .attachment .portrait img{max-width:100%}.wp-core-ui .attachment .landscape img{max-height:100%}.wp-core-ui .attachment .thumbnail:after{content:"";display:block;position:absolute;top:0;right:0;left:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.wp-core-ui .attachment .thumbnail img{top:0;right:0}.wp-core-ui .attachment .thumbnail .centered{position:absolute;top:0;right:0;width:100%;height:100%;transform:translate(-50%,50%)}.wp-core-ui .attachment .thumbnail .centered img{transform:translate(50%,-50%)}.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon{transform:translate(50%,-70%)}.wp-core-ui .attachment .filename{position:absolute;right:0;left:0;bottom:0;overflow:hidden;max-height:100%;word-wrap:break-word;text-align:center;font-weight:600;background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.wp-core-ui .attachment .filename div{padding:5px 10px}.wp-core-ui .attachment .thumbnail img{position:absolute}.wp-core-ui .attachment-close{display:block;position:absolute;top:5px;left:5px;height:22px;width:22px;padding:0;background-color:#fff;background-position:-96px 4px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.3);transition:none}.wp-core-ui .attachment-close:focus,.wp-core-ui .attachment-close:hover{background-position:-36px 4px}.wp-core-ui .attachment .check{display:none;height:24px;width:24px;padding:0;border:0;position:absolute;z-index:10;top:0;left:0;outline:0;background:#eee;cursor:pointer;box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15)}.wp-core-ui .attachment .check .media-modal-icon{display:block;background-position:-1px 0;height:15px;width:15px;margin:5px}.wp-core-ui .attachment .check:hover .media-modal-icon{background-position:-40px 0}.wp-core-ui .attachment.selected .check{display:block}.wp-core-ui .attachment.details .check,.wp-core-ui .attachment.selected .check:focus,.wp-core-ui .media-frame.mode-grid .attachment.selected .check{background-color:#0073aa;box-shadow:0 0 0 1px #fff,0 0 0 2px #0073aa}.wp-core-ui .attachment.selected .check:focus{outline:2px solid transparent}.wp-core-ui .attachment.details .check .media-modal-icon,.wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon{background-position:-21px 0}.wp-core-ui .attachment.details .check:hover .media-modal-icon,.wp-core-ui .attachment.selected .check:focus .media-modal-icon,.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon{background-position:-60px 0}.wp-core-ui .media-frame .attachment .describe{position:relative;display:block;width:100%;margin:0;padding:0 8px;font-size:12px;border-radius:0}.media-frame .attachments-browser{position:relative;width:100%;height:100%;overflow:hidden}.attachments-browser .media-toolbar{left:300px;height:72px;background:#fff}.attachments-browser.hide-sidebar .media-toolbar{left:0}.attachments-browser .media-toolbar-primary>.media-button,.attachments-browser .media-toolbar-primary>.media-button-group,.attachments-browser .media-toolbar-secondary>.media-button,.attachments-browser .media-toolbar-secondary>.media-button-group{margin:10px 0}.attachments-browser .attachments{padding:2px 8px 8px}.attachments-browser .attachments,.attachments-browser .uploader-inline{position:absolute;top:72px;right:0;left:300px;bottom:0;overflow:auto;outline:0}.attachments-browser .uploader-inline.hidden{display:none}.attachments-browser .media-toolbar-primary{max-width:33%}.mode-grid .attachments-browser .media-toolbar-primary{display:flex;align-items:center}.mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary{display:none}.attachments-browser .media-toolbar-secondary{max-width:66%}.uploader-inline .close{background-color:transparent;border:0;cursor:pointer;height:48px;outline:0;padding:0;position:absolute;left:2px;text-align:center;top:2px;width:48px;z-index:1}.uploader-inline .close:before{font:normal 30px/1 dashicons!important;color:#555d66;display:inline-block;content:"\f335";font-weight:300;margin-top:1px}.uploader-inline .close:focus{outline:1px solid #5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.attachments-browser.hide-sidebar .attachments,.attachments-browser.hide-sidebar .uploader-inline{left:0;margin-left:0}.attachments-browser .instructions{display:inline-block;margin-top:16px;line-height:1.38461538;font-size:13px;color:#666}.attachments-browser .no-media{padding:2em 2em 0 0}.media-progress-bar{position:relative;height:10px;width:70%;margin:10px auto;border-radius:10px;background:#ddd;background:rgba(0,0,0,.1)}.media-progress-bar div{height:10px;min-width:20px;width:0;background:#0073aa;border-radius:10px;transition:width .3s}.media-uploader-status .media-progress-bar{display:none;width:100%}.uploading.media-uploader-status .media-progress-bar{display:block}.attachment-preview .media-progress-bar{position:absolute;top:50%;right:15%;width:70%;margin:-5px 0 0 0}.media-uploader-status{position:relative;margin:0 auto;padding-bottom:10px;max-width:400px}.uploader-inline .media-uploader-status h2{display:none}.media-uploader-status .upload-details{display:none;font-size:12px;color:#666}.uploading.media-uploader-status .upload-details{display:block}.media-uploader-status .upload-detail-separator{padding:0 4px}.media-uploader-status .upload-count{color:#444}.media-uploader-status .upload-dismiss-errors,.media-uploader-status .upload-errors{display:none}.errors.media-uploader-status .upload-dismiss-errors,.errors.media-uploader-status .upload-errors{display:block}.media-uploader-status .upload-dismiss-errors{position:absolute;top:-3px;left:-5px;padding:5px;border-radius:50%;transition:none;text-decoration:none}.uploader-inline .media-uploader-status .upload-dismiss-errors{top:2px;left:2px}.media-uploader-status .upload-dismiss-errors::before{content:"\f153";display:block;font:normal 16px/1 dashicons;color:#72777c}.uploader-inline .errors.media-uploader-status .upload-dismiss-errors::before{color:#606a73}.errors.media-uploader-status .upload-dismiss-errors:focus::before,.errors.media-uploader-status .upload-dismiss-errors:hover::before{color:#c00}.upload-errors .upload-error{padding:12px;margin-bottom:12px;background:#fff;border-right:4px solid #dc3232;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.uploader-inline .upload-errors .upload-error{padding:12px 30px;background-color:#fbeaea;box-shadow:none}.upload-errors .upload-error-filename{font-weight:600}.upload-errors .upload-error-message{display:block;padding-top:8px;word-wrap:break-word}.uploader-window,.wp-editor-wrap .uploader-editor{top:0;right:0;left:0;bottom:0;text-align:center;display:none}.uploader-window{position:fixed;z-index:250000;opacity:0;transition:opacity 250ms}.wp-editor-wrap .uploader-editor{position:absolute;z-index:99998;background:rgba(150,150,150,.9)}.uploader-window,.wp-editor-wrap .uploader-editor.droppable{background:rgba(0,86,132,.9)}.uploader-window-content,.wp-editor-wrap .uploader-editor-content{position:absolute;top:10px;right:10px;left:10px;bottom:10px;border:1px dashed #fff}.uploader-window .uploader-editor-title,.uploader-window h1,.wp-editor-wrap .uploader-editor .uploader-editor-title{position:absolute;top:50%;right:0;left:0;transform:translateY(-50%);font-size:3em;line-height:1.3;font-weight:600;color:#fff;margin:0;padding:0 10px}.wp-editor-wrap .uploader-editor .uploader-editor-title{display:none}.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title{display:block}.uploader-window .media-progress-bar{margin-top:20px;max-width:300px;background:0 0;border-color:#fff;display:none}.uploader-window .media-progress-bar div{background:#fff}.uploading .uploader-window .media-progress-bar{display:block}.media-frame .uploader-inline{margin-bottom:20px;padding:0;text-align:center}.uploader-inline-content{position:absolute;top:30%;right:0;left:0}.uploader-inline-content .upload-ui{margin:2em 0}.uploader-inline-content .post-upload-ui{margin-bottom:2em}.uploader-inline .has-upload-message .upload-ui{margin:0 0 4em}.uploader-inline h2{font-size:20px;line-height:1.4;font-weight:400;margin:0}.uploader-inline .has-upload-message .upload-instructions{font-size:14px;color:#444;font-weight:400}.uploader-inline .drop-instructions{display:none}.supports-drag-drop .uploader-inline .drop-instructions{display:block}.uploader-inline p{margin:.5em 0}.uploader-inline .media-progress-bar{display:none}.uploading.uploader-inline .media-progress-bar{display:block}.uploader-inline .browser{display:inline-block!important}div.moxie-shim.moxie-shim-html5,div.moxie-shim.moxie-shim-html5 input[type=file]{display:none}.media-selection{position:absolute;top:0;right:0;left:350px;height:60px;padding:0 16px 0 0;overflow:hidden;white-space:nowrap}.media-selection .selection-info{display:inline-block;font-size:12px;height:60px;margin-left:10px;vertical-align:top}.media-selection.editing,.media-selection.empty{display:none}.media-selection.one .edit-selection{display:none}.media-selection .count{display:block;padding-top:12px;font-size:14px;line-height:1.42857142;font-weight:600}.media-selection .button-link{float:right;padding:1px 8px;margin:1px -8px 1px 8px;line-height:1.4;border-left:1px solid #ddd;color:#0073aa;text-decoration:none}.media-selection .button-link:focus,.media-selection .button-link:hover{color:#00a0d2}.media-selection .button-link:last-child{border-left:0;margin-left:0}.selection-info .clear-selection{color:#bc0b0b}.selection-info .clear-selection:focus,.selection-info .clear-selection:hover{color:#dc3232}.media-selection .selection-view{display:inline-block;vertical-align:top}.media-selection .attachments{display:inline-block;height:48px;margin:6px;padding:0;overflow:hidden;vertical-align:top}.media-selection .attachment{width:40px;padding:0;margin:4px}.media-selection .attachment .thumbnail{top:0;left:0;bottom:0;right:0}.media-selection .attachment .icon{width:50%}.media-selection .attachment-preview{box-shadow:none;background:0 0}.wp-core-ui .media-selection .attachment.details:focus,.wp-core-ui .media-selection .attachment:focus,.wp-core-ui .media-selection .selected.attachment:focus{box-shadow:0 0 0 1px #fff,0 0 2px 3px #5b9dd9;outline:2px solid transparent}.wp-core-ui .media-selection .selected.attachment{box-shadow:none}.wp-core-ui .media-selection .attachment.details{box-shadow:0 0 0 1px #fff,0 0 0 3px #0073aa}.media-selection:after{content:"";display:block;position:absolute;top:0;left:0;bottom:0;width:25px;background-image:linear-gradient(to right,rgba(255,255,255,1),rgba(255,255,255,0))}.media-selection .attachment .filename{display:none}.media-frame .spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;float:left;display:inline-block;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:0;vertical-align:middle}.media-frame.mode-grid .spinner{margin:0;float:none;vertical-align:middle}.media-modal .media-toolbar .spinner{float:none;vertical-align:bottom;margin:0 5px 5px 0}.media-frame .instructions+.spinner.is-active{vertical-align:middle}.media-frame .spinner.is-active{visibility:visible}.attachment-details{position:relative;overflow:auto}.attachment-details .settings-save-status{float:left;text-transform:none;font-weight:400}.attachment-details .settings-save-status .spinner{float:none;margin-right:5px}.attachment-details .settings-save-status .saved{display:none}.attachment-details.save-waiting .settings-save-status .spinner{visibility:visible}.attachment-details.save-complete .settings-save-status .saved{display:inline-block}.attachment-info{overflow:hidden;min-height:60px;margin-bottom:16px;line-height:1.5;color:#666;border-bottom:1px solid #ddd;padding-bottom:11px}.attachment-info .filename{font-weight:600;color:#444;word-wrap:break-word}.attachment-info .thumbnail{position:relative;float:right;max-width:120px;max-height:120px;margin-top:5px;margin-left:10px;margin-bottom:5px}.uploading .attachment-info .thumbnail{width:120px;height:80px;box-shadow:inset 0 0 15px rgba(0,0,0,.1)}.uploading .attachment-info .media-progress-bar{margin-top:35px}.attachment-info .thumbnail-image:after{content:"";display:block;position:absolute;top:0;right:0;left:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);overflow:hidden}.attachment-info .thumbnail img{display:block;max-width:120px;max-height:120px;margin:0 auto}.attachment-info .details{float:right;font-size:12px;max-width:100%}.attachment-info .delete-attachment,.attachment-info .edit-attachment,.attachment-info .trash-attachment,.attachment-info .untrash-attachment{display:block;text-decoration:none;white-space:nowrap}.attachment-details.needs-refresh .attachment-info .edit-attachment{display:none}.attachment-info .edit-attachment{display:block}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment{display:inline;padding:0;color:#bc0b0b}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover{color:#dc3232}.attachment-display-settings{width:100%;float:right;overflow:hidden}.collection-settings{overflow:hidden}.collection-settings .setting input[type=checkbox]{float:right;margin-left:8px}.collection-settings .setting .name,.collection-settings .setting span{min-width:inherit}.media-modal .imgedit-wrap{position:static}.media-modal .imgedit-wrap .imgedit-panel-content{padding:16px 16px 0 16px;position:absolute;top:0;left:282px;bottom:0;right:0;overflow:auto}.media-modal .imgedit-wrap .imgedit-submit{margin-bottom:16px}.media-modal .imgedit-wrap .imgedit-settings{background:#f3f3f3;border-right:1px solid #ddd;padding:20px 16px 0;position:absolute;top:0;left:0;bottom:0;width:250px;overflow:auto}.media-modal .imgedit-wrap .imgedit-save-target{margin:8px 0 24px}.media-modal .imgedit-group{background:0 0;border:none;border-bottom:1px solid #ddd;box-shadow:none;margin:0;margin-bottom:16px;padding:0;padding-bottom:16px;position:relative}.media-modal .imgedit-group:last-of-type{border:none;margin:0;padding:0}.media-modal .imgedit-group-top{margin:0}.media-modal .imgedit-group-top h2,.media-modal .imgedit-group-top h2 .button-link{display:inline-block;text-transform:uppercase;font-size:12px;color:#666;margin:0;margin-top:3px}.media-modal .imgedit-group-top h2 .button-link,.media-modal .imgedit-group-top h2 a{text-decoration:none;color:#666}.wp-core-ui.media-modal .image-editor .imgedit-help-toggle,.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active,.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover{border:1px solid transparent;margin:0;padding:0;background:0 0;color:#0074a2;font-size:20px;line-height:1;cursor:pointer;box-sizing:content-box;box-shadow:none}.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus{color:#0074a2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8);outline:2px solid transparent}.wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle{margin-top:-3px}.wp-core-ui.media-modal .image-editor h3 .imgedit-help-toggle{margin-top:-2px}.media-modal .imgedit-help-toggled span.dashicons:before{content:"\f142"}.media-modal .imgedit-thumbnail-preview{margin:10px 0 0 8px}.imgedit-thumbnail-preview-caption{display:block}.media-modal .imgedit-wrap div.updated{margin:0;margin-bottom:16px}.embed-url{display:block;position:relative;padding:16px;margin:0;z-index:250;background:#fff;font-size:18px}.media-frame .embed-url input{font-size:18px;line-height:1.22222222;padding:12px 14px 12px 40px;width:100%;min-width:200px;box-shadow:inset -2px 2px 4px -2px rgba(0,0,0,.1)}.media-frame .embed-url input::-ms-clear{display:none}.media-frame .embed-url .spinner{position:absolute;top:32px;left:26px}.media-frame .embed-loading .embed-url .spinner{visibility:visible}.embed-link-settings,.embed-media-settings{position:absolute;top:70px;right:0;left:0;bottom:0;padding:0 16px;overflow:auto}.embed-link-settings::after,.embed-media-settings::after{content:"";display:flex;clear:both;height:24px}.media-embed .embed-link-settings{overflow:visible}.embed-preview embed,.embed-preview iframe,.embed-preview img,.mejs-container video{max-width:100%;vertical-align:middle}.embed-preview a{display:inline-block}.embed-preview img{display:block;height:auto}.mejs-container:focus{outline:1px solid #5b9dd9;box-shadow:0 0 2px 1px rgba(30,140,190,.8)}.image-details .media-modal{right:140px;left:140px}.image-details .media-frame-content,.image-details .media-frame-router,.image-details .media-frame-title{right:0}.image-details .embed-media-settings{top:0;overflow:visible;padding:0}.image-details .embed-media-settings::after{content:none}.image-details .embed-media-settings,.image-details .embed-media-settings div{box-sizing:border-box}.image-details .column-settings{background:#f3f3f3;border-left:1px solid #ddd;min-height:100%;width:55%;position:absolute;top:0;right:0}.image-details .column-settings h2{margin:20px;padding-top:20px;border-top:1px solid #ddd;color:#23282d}.image-details .column-image{width:45%;position:absolute;right:55%;top:0}.image-details .image{margin:20px}.image-details .image img{max-width:100%;max-height:500px}.image-details .advanced-toggle{padding:0;color:#666;text-transform:uppercase;text-decoration:none}.image-details .advanced-toggle:active,.image-details .advanced-toggle:hover{color:#666}.image-details .advanced-toggle:after{font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f140";display:inline-block;margin-top:-2px}.image-details .advanced-visible .advanced-toggle:after{content:"\f142"}.image-details .custom-size .custom-size-setting,.image-details .custom-size label{display:block;float:right}.image-details .custom-size .custom-size-setting label{float:none}.image-details .custom-size input{width:5em}.image-details .custom-size .sep{float:right;margin:26px 6px 0 6px}.image-details .custom-size .description{margin-right:0}.media-embed .thumbnail{max-width:100%;max-height:200px;position:relative;float:right}.media-embed .thumbnail img{max-height:200px;display:block}.media-embed .thumbnail:after{content:"";display:block;position:absolute;top:0;right:0;left:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.media-embed .setting,.media-embed .setting-group{width:100%;margin:10px 0;float:right;display:block;clear:both}.media-embed .setting-group .setting:not(.checkbox-setting){margin:0}.media-embed .setting.has-description{margin-bottom:5px}.media-embed .description{clear:both;font-style:normal}.media-embed .content-track+.description{line-height:1.4;max-width:none!important}.media-embed .remove-track{margin-bottom:10px}.image-details .embed-media-settings .setting,.image-details .embed-media-settings .setting-group{float:none;width:auto}.image-details .actions{margin:10px 0}.image-details .hidden{display:none}.media-embed .setting input[type=text],.media-embed .setting textarea,.media-embed fieldset{display:block;width:100%;max-width:400px}.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{max-width:inherit;width:70%}.image-details .description,.image-details .embed-media-settings .custom-size,.image-details .embed-media-settings .link-target,.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting-group{margin-right:27%;width:70%}.image-details .description{font-style:normal;margin-top:0}.image-details .embed-media-settings .link-target{margin-top:16px}.audio-details .checkbox-label,.image-details .checkbox-label,.video-details .checkbox-label{vertical-align:baseline}.media-embed .setting input.hidden,.media-embed .setting textarea.hidden{display:none}.media-embed .setting .name,.media-embed .setting span,.media-embed .setting-group .name{display:inline-block;font-size:13px;line-height:1.84615384;color:#666}.media-embed .setting span{display:block;width:200px}.image-details .embed-media-settings .setting .name,.image-details .embed-media-settings .setting span{float:right;width:25%;text-align:left;margin:8px 1% 0 1%;line-height:1.1}.image-details .embed-media-settings .setting .button-group,.media-frame .setting-group .button-group{width:auto}.media-embed-sidebar{position:absolute;top:0;right:440px}.advanced-section,.link-settings{margin-top:10px}.media-frame .setting .button-group{display:flex;margin:0!important;max-width:none!important}.rtl .media-frame,.rtl .media-frame .search,.rtl .media-frame input[type=email],.rtl .media-frame input[type=number],.rtl .media-frame input[type=password],.rtl .media-frame input[type=search],.rtl .media-frame input[type=tel],.rtl .media-frame input[type=text],.rtl .media-frame input[type=url],.rtl .media-frame select,.rtl .media-frame textarea,.rtl .media-modal{font-family:Tahoma,sans-serif}:lang(he-il) .rtl .media-frame,:lang(he-il) .rtl .media-frame .search,:lang(he-il) .rtl .media-frame input[type=email],:lang(he-il) .rtl .media-frame input[type=number],:lang(he-il) .rtl .media-frame input[type=password],:lang(he-il) .rtl .media-frame input[type=search],:lang(he-il) .rtl .media-frame input[type=text],:lang(he-il) .rtl .media-frame input[type=url],:lang(he-il) .rtl .media-frame select,:lang(he-il) .rtl .media-frame textarea,:lang(he-il) .rtl .media-modal{font-family:Arial,sans-serif}@media only screen and (max-width:900px){.media-modal .media-frame-title{height:40px}.media-modal .media-frame-title h1{line-height:2.22222222;font-size:18px}.media-modal-close{width:42px;height:42px}.media-frame .media-frame-title{position:static;padding:0 44px;text-align:center}.media-frame:not(.hide-menu) .media-frame-content,.media-frame:not(.hide-menu) .media-frame-router,.media-frame:not(.hide-menu) .media-frame-toolbar{right:0}.media-frame:not(.hide-menu) .media-frame-router{top:80px}.media-frame:not(.hide-menu) .media-frame-content{top:114px}.media-frame.hide-router .media-frame-content{top:80px}.media-frame:not(.hide-menu) .media-frame-menu{position:static;width:0}.media-frame:not(.hide-menu) .media-menu{display:none;width:auto;max-width:80%;overflow:auto;z-index:2000;top:75px;right:50%;transform:translateX(50%);left:auto;bottom:auto;padding:5px 0;border:1px solid #ccc}.media-frame:not(.hide-menu) .media-menu.visible{display:block}.media-frame:not(.hide-menu) .media-menu>a{padding:12px 16px;font-size:16px}.media-frame:not(.hide-menu) .media-menu .separator{margin:5px 10px}.media-frame-menu-heading{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;width:1px;word-wrap:normal!important}.wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle{display:inline-flex;align-items:center;position:absolute;right:50%;transform:translateX(50%);margin:-6px 0 0;padding:0 12px 0 2px;font-size:.875rem;font-weight:600;text-decoration:none;background:0 0;height:.1%;min-height:40px}.wp-core-ui .button.media-frame-menu-toggle:active,.wp-core-ui .button.media-frame-menu-toggle:hover{background:0 0;transform:none}.wp-core-ui .button.media-frame-menu-toggle:focus{outline:1px solid transparent}.media-sidebar{width:230px}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{left:262px}.attachment-details .setting,.media-sidebar .setting{margin:6px 0}.attachment-details .setting .name,.attachment-details .setting input,.attachment-details .setting textarea,.compat-item label span,.media-sidebar .setting .name,.media-sidebar .setting input,.media-sidebar .setting textarea{float:none;display:inline-block}.attachment-details .setting span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting span{float:none}.media-sidebar .setting .select-label-inline{display:inline}.attachment-details .setting .name,.compat-item label span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting .name{text-align:inherit;min-height:16px;margin:0;padding:8px 2px 2px}.attachment-details .setting .value,.media-sidebar .setting .value{float:none;width:auto}.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting select,.attachment-details .setting textarea,.attachment-details .setting+.description,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting select,.media-sidebar .setting textarea{float:none;width:98%;max-width:none;height:auto}.media-frame .media-toolbar input[type=search]{line-height:2.25}.attachment-details .setting select.columns,.media-sidebar .setting select.columns{width:auto}.media-frame .search,.media-frame input,.media-frame textarea{padding:3px 6px}.wp-admin .media-frame select{min-height:40px;font-size:16px;line-height:1.625;padding:5px 8px 5px 24px}.image-details .column-image{width:30%;right:70%}.image-details .column-settings{width:70%}.image-details .media-modal{right:30px;left:30px}.image-details .embed-media-settings .setting,.image-details .embed-media-settings .setting-group{margin:20px}.image-details .embed-media-settings .setting .name,.image-details .embed-media-settings .setting span{float:none;text-align:right;width:100%;margin-bottom:4px;margin-right:0}.media-modal .legend-inline{position:static;transform:none;margin-right:0;margin-bottom:6px}.image-details .embed-media-settings .setting-group .setting{margin-bottom:0}.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{width:100%;margin-right:0}.image-details .embed-media-settings .setting.has-description{margin-bottom:5px}.image-details .description{width:auto;margin:0 20px}.image-details .embed-media-settings .custom-size{margin-right:20px}.collection-settings .setting input[type=checkbox]{float:none;margin-top:0}.media-selection{min-width:120px}.media-selection:after{background:0 0}.media-selection .attachments{display:none}.media-modal .attachments-browser .media-toolbar .search{max-width:100%;height:auto;float:left}.media-modal .attachments-browser .media-toolbar .attachment-filters{height:auto}.media-frame input[type=email],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=text],.media-frame input[type=url],.media-frame select,.media-frame textarea{font-size:16px}.media-frame .media-toolbar input[type=search]{line-height:2.3755}.media-modal .media-toolbar .spinner{margin-bottom:10px}}@media screen and (max-width:782px){.attachments-browser .media-toolbar{height:82px}.attachments-browser .attachments,.attachments-browser .uploader-inline{top:82px}.media-frame-toolbar .media-toolbar{bottom:-54px}}@media screen and (max-width:782px){.mode-grid .attachments-browser .media-toolbar-primary{display:block}}@media only screen and (max-width:640px),screen and (max-height:400px){.image-details .media-modal,.media-modal{position:fixed;top:0;right:0;left:0;bottom:0}.media-modal-backdrop{position:fixed}.media-sidebar{z-index:1900;max-width:70%;bottom:120%;box-sizing:border-box;padding-bottom:0}.media-sidebar.visible{bottom:0}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{left:0}.image-details .media-frame-title{display:block;top:0;font-size:14px}.image-details .column-image,.image-details .column-settings{width:100%;position:relative;right:0}.image-details .column-settings{padding:4px 0}.media-frame-content .media-toolbar .instructions{display:none}}@media only screen and (min-width:901px) and (max-height:400px){.media-frame:not(.hide-menu) .media-menu,.media-menu{top:0;padding-top:44px}}@media only screen and (max-width:480px){.wp-core-ui.wp-customizer .media-button{margin-top:13px}}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-core-ui .media-modal-icon{background-image:url(../images/uploader-icons-2x.png);background-size:134px 15px}.media-frame .spinner{background-image:url(../images/spinner-2x.gif)}}.media-frame-content[data-columns="1"] .attachment{width:100%}.media-frame-content[data-columns="2"] .attachment{width:50%}.media-frame-content[data-columns="3"] .attachment{width:33.33%}.media-frame-content[data-columns="4"] .attachment{width:25%}.media-frame-content[data-columns="5"] .attachment{width:20%}.media-frame-content[data-columns="6"] .attachment{width:16.66%}.media-frame-content[data-columns="7"] .attachment{width:14.28%}.media-frame-content[data-columns="8"] .attachment{width:12.5%}.media-frame-content[data-columns="9"] .attachment{width:11.11%}.media-frame-content[data-columns="10"] .attachment{width:10%}.media-frame-content[data-columns="11"] .attachment{width:9.09%}.media-frame-content[data-columns="12"] .attachment{width:8.33%} \ No newline at end of file + */.ui-draggable-handle,.ui-sortable-handle{touch-action:none}.media-modal{position:fixed;top:30px;right:30px;left:30px;bottom:30px;z-index:160000}.wp-customizer .media-modal{z-index:560000}.media-modal-backdrop{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:159900}.wp-customizer .media-modal-backdrop{z-index:559900}.media-modal-close{position:absolute;top:0;left:0;width:50px;height:50px;margin:0;padding:0;border:1px solid transparent;background:0 0;color:#666;z-index:1000;cursor:pointer;outline:0;transition:color .1s ease-in-out,background .1s ease-in-out}.media-modal-close:active,.media-modal-close:hover{color:#00a0d2}.media-modal-close:focus{color:#00a0d2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8);outline:2px solid transparent}.media-modal-close span.media-modal-icon{background-image:none}.media-modal-close .media-modal-icon:before{content:"\f158";font:normal 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.media-modal-content{position:absolute;top:0;right:0;left:0;bottom:0;overflow:auto;min-height:300px;box-shadow:0 5px 15px rgba(0,0,0,.7);background:#fcfcfc;-webkit-font-smoothing:subpixel-antialiased}.media-modal-content .media-frame select.attachment-filters{margin-top:32px;margin-left:2%;width:42%;width:calc(48% - 12px)}.media-modal-content .attachments-browser .search{width:100%}.wp-core-ui .media-modal-icon{background-image:url(../images/uploader-icons.png);background-repeat:no-repeat}.media-toolbar{position:absolute;top:0;right:0;left:0;z-index:100;height:60px;padding:0 16px;border:0 solid #ddd;overflow:hidden}.media-frame-toolbar .media-toolbar{top:auto;bottom:-47px;height:auto;overflow:visible;border-top:1px solid #ddd}.media-toolbar-primary{float:left;height:100%;position:relative}.media-toolbar-secondary{float:right;height:100%}.media-toolbar-primary>.media-button,.media-toolbar-primary>.media-button-group{margin-right:10px;float:right;margin-top:15px}.media-toolbar-secondary>.media-button,.media-toolbar-secondary>.media-button-group{margin-left:10px;margin-top:15px}.media-sidebar{position:absolute;top:0;left:0;bottom:0;width:267px;padding:0 16px;z-index:75;background:#f3f3f3;border-right:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch}.media-sidebar::after{content:"";display:flex;clear:both;height:24px}.hide-toolbar .media-sidebar{bottom:0}.image-details h2,.media-sidebar h2{position:relative;font-weight:600;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}.attachment-details .setting,.media-sidebar .setting{display:block;float:right;width:100%;margin:0 0 10px}.media-sidebar .collection-settings .setting{margin:1px 0}.attachment-details .setting.has-description,.media-sidebar .setting.has-description{margin-bottom:5px}.media-sidebar .setting .link-to-custom{margin:3px 2px 0}.attachment-details .setting .name,.attachment-details .setting span,.media-sidebar .setting .name,.media-sidebar .setting .value,.media-sidebar .setting span{min-width:30%;margin-left:4%;font-size:12px;text-align:left;word-wrap:break-word}.media-sidebar .setting .name{max-width:80px}.media-sidebar .setting .value{text-align:right}.media-sidebar .setting select{max-width:65%}.attachment-details .field input[type=checkbox],.attachment-details .field input[type=radio],.attachment-details .setting input[type=checkbox],.attachment-details .setting input[type=radio],.media-sidebar .field input[type=checkbox],.media-sidebar .field input[type=radio],.media-sidebar .setting input[type=checkbox],.media-sidebar .setting input[type=radio]{float:none;margin:8px 3px 0;padding:0}.attachment-details .setting .name,.attachment-details .setting .value,.attachment-details .setting span,.compat-item label span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting .name,.media-sidebar .setting .value,.media-sidebar .setting span{float:right;min-height:22px;padding-top:8px;line-height:1.33333333;font-weight:400;color:#666}.media-sidebar .checkbox-label-inline{font-size:12px}.compat-item label span{text-align:left}.attachment-details .setting .value,.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting textarea,.attachment-details .setting+.description,.media-sidebar .setting .value,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting textarea{box-sizing:border-box;margin:1px;width:65%;float:left}.attachment-details .setting .value,.attachment-details .setting+.description,.media-sidebar .setting .value{margin:0 1px;text-align:right}.attachment-details .setting+.description{clear:both;font-size:12px;font-style:normal;margin-bottom:10px}.attachment-details .setting textarea,.compat-item .field textarea,.media-sidebar .setting textarea{height:62px;resize:vertical}.compat-item{float:right;width:100%;overflow:hidden}.compat-item table{width:100%;table-layout:fixed;border-spacing:0;border:0}.compat-item tr{padding:2px 0;display:block;overflow:hidden}.compat-item .field,.compat-item .label{display:block;margin:0;padding:0}.compat-item .label{min-width:30%;margin-left:4%;float:right;text-align:left}.compat-item .label span{display:block;width:100%}.compat-item .field{float:left;width:65%;margin:1px}.compat-item .field input[type=email],.compat-item .field input[type=number],.compat-item .field input[type=password],.compat-item .field input[type=search],.compat-item .field input[type=tel],.compat-item .field input[type=text],.compat-item .field input[type=url],.compat-item .field textarea{width:100%;margin:0;box-sizing:border-box}.sidebar-for-errors .attachment-details,.sidebar-for-errors .compat-item,.sidebar-for-errors .media-sidebar .media-progress-bar,.sidebar-for-errors .upload-details{display:none!important}.media-menu{position:absolute;top:0;right:0;left:0;bottom:0;margin:0;padding:50px 0 10px;background:#f3f3f3;border-left-width:1px;border-left-style:solid;border-left-color:#ccc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.media-menu .media-menu-item{display:block;box-sizing:border-box;width:100%;position:relative;border:0;margin:0;padding:8px 20px;font-size:14px;line-height:1.28571428;background:0 0;color:#0073aa;text-align:right;text-decoration:none;cursor:pointer}.media-menu .media-menu-item:hover{background:rgba(0,0,0,.04)}.media-menu .media-menu-item:active{color:#0073aa;outline:0}.media-menu .active,.media-menu .active:hover{color:#23282d;font-weight:600}.media-menu .media-menu-item:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-menu .separator{height:0;margin:12px 20px;padding:0;border-top:1px solid #ddd}.media-router{position:relative;padding:0 6px;margin:0;clear:both}.media-router .media-menu-item{position:relative;float:right;border:0;margin:0;padding:8px 10px 9px;height:18px;line-height:1.28571428;font-size:14px;text-decoration:none;background:0 0;cursor:pointer;transition:none}.media-router .media-menu-item:last-child{border-left:0}.media-router .media-menu-item:active,.media-router .media-menu-item:hover{color:#0073aa}.media-router .active,.media-router .active:hover{color:#23282d}.media-router .media-menu-item:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-router .active,.media-router .media-menu-item.active:last-child{margin:-1px -1px 0;background:#fff;border:1px solid #ddd;border-bottom:none}.media-router .active:after{display:none}.media-frame{overflow:hidden;position:absolute;top:0;right:0;left:0;bottom:0}.media-frame-menu{position:absolute;top:0;right:0;bottom:0;width:200px;z-index:150}.media-frame-title{position:absolute;top:0;right:200px;left:0;height:50px;z-index:200}.media-frame-router{position:absolute;top:50px;right:200px;left:0;height:36px;z-index:200}.media-frame-content{position:absolute;top:84px;right:200px;left:0;bottom:61px;height:auto;width:auto;margin:0;overflow:auto;background:#fff;border-top:1px solid #ddd}.media-frame-toolbar{position:absolute;right:200px;left:0;z-index:100;bottom:60px;height:auto}.media-frame.hide-menu .media-frame-content,.media-frame.hide-menu .media-frame-router,.media-frame.hide-menu .media-frame-title,.media-frame.hide-menu .media-frame-toolbar{right:0}.media-frame.hide-toolbar .media-frame-content{bottom:0}.media-frame.hide-router .media-frame-content{top:50px}.media-frame.hide-menu .media-frame-menu,.media-frame.hide-menu .media-frame-menu-heading,.media-frame.hide-router .media-frame-router,.media-frame.hide-toolbar .media-frame-toolbar{display:none}.media-frame-title h1{padding:0 16px;font-size:22px;line-height:2.27272727;margin:0}.media-attachments-filter-heading,.media-frame-menu-heading{position:absolute;right:20px;top:22px;margin:0;font-size:13px;line-height:1;z-index:151}.media-attachments-filter-heading{top:10px;right:16px}.mode-grid .media-attachments-filter-heading{top:0;right:-9999px}.mode-grid .media-frame-actions-heading{display:none}.wp-core-ui .button.media-frame-menu-toggle{display:none}.media-frame-title .suggested-dimensions{font-size:14px;float:left;margin-left:20px}.media-frame-content .crop-content{height:100%}.wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon{margin-left:300px}.media-frame-content .crop-content .crop-image{display:block;margin:auto;max-width:100%;max-height:100%}.media-frame-content .crop-content .upload-errors{position:absolute;width:300px;top:50%;right:50%;margin-right:-150px;margin-left:-150px;z-index:600000}.media-frame .media-iframe{overflow:hidden}.media-frame .media-iframe,.media-frame .media-iframe iframe{height:100%;width:100%;border:0}.media-frame select.attachment-filters{margin-top:11px;margin-left:2%;max-width:42%;max-width:calc(48% - 12px)}.media-frame select.attachment-filters:last-of-type{margin-left:0;width:auto;max-width:100%}.media-frame .search{margin:32px 0 0;padding:4px;font-size:13px;color:#444;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;-webkit-appearance:none}.media-toolbar-primary .search{max-width:100%}.media-frame .media-search-input-label{position:absolute;right:0;top:10px;margin:0;line-height:1}.wp-core-ui .attachments{margin:0;-webkit-overflow-scrolling:touch}.wp-core-ui .attachment{position:relative;float:right;padding:8px;margin:0;color:#444;cursor:pointer;list-style:none;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:25%;box-sizing:border-box}.wp-core-ui .attachment.details:focus,.wp-core-ui .attachment:focus,.wp-core-ui .selected.attachment:focus{box-shadow:inset 0 0 2px 3px #fff,inset 0 0 0 7px #5b9dd9;outline:2px solid transparent;outline-offset:-6px}.wp-core-ui .selected.attachment{box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #ccc}.wp-core-ui .attachment.details{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0073aa}.wp-core-ui .attachment-preview{position:relative;box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);background:#eee;cursor:pointer}.wp-core-ui .attachment-preview:before{content:"";display:block;padding-top:100%}.wp-core-ui .attachment .icon{margin:0 auto;overflow:hidden}.wp-core-ui .attachment .thumbnail{overflow:hidden;position:absolute;top:0;left:0;bottom:0;right:0;opacity:1;transition:opacity .1s}.wp-core-ui .attachment .portrait img{max-width:100%}.wp-core-ui .attachment .landscape img{max-height:100%}.wp-core-ui .attachment .thumbnail:after{content:"";display:block;position:absolute;top:0;right:0;left:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.wp-core-ui .attachment .thumbnail img{top:0;right:0}.wp-core-ui .attachment .thumbnail .centered{position:absolute;top:0;right:0;width:100%;height:100%;transform:translate(-50%,50%)}.wp-core-ui .attachment .thumbnail .centered img{transform:translate(50%,-50%)}.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon{transform:translate(50%,-70%)}.wp-core-ui .attachment .filename{position:absolute;right:0;left:0;bottom:0;overflow:hidden;max-height:100%;word-wrap:break-word;text-align:center;font-weight:600;background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.wp-core-ui .attachment .filename div{padding:5px 10px}.wp-core-ui .attachment .thumbnail img{position:absolute}.wp-core-ui .attachment-close{display:block;position:absolute;top:5px;left:5px;height:22px;width:22px;padding:0;background-color:#fff;background-position:-96px 4px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.3);transition:none}.wp-core-ui .attachment-close:focus,.wp-core-ui .attachment-close:hover{background-position:-36px 4px}.wp-core-ui .attachment .check{display:none;height:24px;width:24px;padding:0;border:0;position:absolute;z-index:10;top:0;left:0;outline:0;background:#eee;cursor:pointer;box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15)}.wp-core-ui .attachment .check .media-modal-icon{display:block;background-position:-1px 0;height:15px;width:15px;margin:5px}.wp-core-ui .attachment .check:hover .media-modal-icon{background-position:-40px 0}.wp-core-ui .attachment.selected .check{display:block}.wp-core-ui .attachment.details .check,.wp-core-ui .attachment.selected .check:focus,.wp-core-ui .media-frame.mode-grid .attachment.selected .check{background-color:#0073aa;box-shadow:0 0 0 1px #fff,0 0 0 2px #0073aa}.wp-core-ui .attachment.selected .check:focus{outline:2px solid transparent}.wp-core-ui .attachment.details .check .media-modal-icon,.wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon{background-position:-21px 0}.wp-core-ui .attachment.details .check:hover .media-modal-icon,.wp-core-ui .attachment.selected .check:focus .media-modal-icon,.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon{background-position:-60px 0}.wp-core-ui .media-frame .attachment .describe{position:relative;display:block;width:100%;margin:0;padding:0 8px;font-size:12px;border-radius:0}.media-frame .attachments-browser{position:relative;width:100%;height:100%;overflow:hidden}.attachments-browser .media-toolbar{left:300px;height:72px;background:#fff}.attachments-browser.hide-sidebar .media-toolbar{left:0}.attachments-browser .media-toolbar-primary>.media-button,.attachments-browser .media-toolbar-primary>.media-button-group,.attachments-browser .media-toolbar-secondary>.media-button,.attachments-browser .media-toolbar-secondary>.media-button-group{margin:10px 0}.attachments-browser .attachments{padding:2px 8px 8px}.attachments-browser .attachments,.attachments-browser .uploader-inline{position:absolute;top:72px;right:0;left:300px;bottom:0;overflow:auto;outline:0}.attachments-browser .uploader-inline.hidden{display:none}.attachments-browser .media-toolbar-primary{max-width:33%}.mode-grid .attachments-browser .media-toolbar-primary{display:flex;align-items:center}.mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary{display:none}.attachments-browser .media-toolbar-secondary{max-width:66%}.uploader-inline .close{background-color:transparent;border:0;cursor:pointer;height:48px;outline:0;padding:0;position:absolute;left:2px;text-align:center;top:2px;width:48px;z-index:1}.uploader-inline .close:before{font:normal 30px/1 dashicons!important;color:#555d66;display:inline-block;content:"\f335";font-weight:300;margin-top:1px}.uploader-inline .close:focus{outline:1px solid #5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.attachments-browser.hide-sidebar .attachments,.attachments-browser.hide-sidebar .uploader-inline{left:0;margin-left:0}.attachments-browser .instructions{display:inline-block;margin-top:16px;line-height:1.38461538;font-size:13px;color:#666}.attachments-browser .no-media{padding:2em 2em 0 0}.media-progress-bar{position:relative;height:10px;width:70%;margin:10px auto;border-radius:10px;background:#ddd;background:rgba(0,0,0,.1)}.media-progress-bar div{height:10px;min-width:20px;width:0;background:#0073aa;border-radius:10px;transition:width .3s}.media-uploader-status .media-progress-bar{display:none;width:100%}.uploading.media-uploader-status .media-progress-bar{display:block}.attachment-preview .media-progress-bar{position:absolute;top:50%;right:15%;width:70%;margin:-5px 0 0 0}.media-uploader-status{position:relative;margin:0 auto;padding-bottom:10px;max-width:400px}.uploader-inline .media-uploader-status h2{display:none}.media-uploader-status .upload-details{display:none;font-size:12px;color:#666}.uploading.media-uploader-status .upload-details{display:block}.media-uploader-status .upload-detail-separator{padding:0 4px}.media-uploader-status .upload-count{color:#444}.media-uploader-status .upload-dismiss-errors,.media-uploader-status .upload-errors{display:none}.errors.media-uploader-status .upload-dismiss-errors,.errors.media-uploader-status .upload-errors{display:block}.media-uploader-status .upload-dismiss-errors{position:absolute;top:-3px;left:-5px;padding:5px;border-radius:50%;transition:none;text-decoration:none}.uploader-inline .media-uploader-status .upload-dismiss-errors{top:2px;left:2px}.media-uploader-status .upload-dismiss-errors::before{content:"\f153";display:block;font:normal 16px/1 dashicons;color:#72777c}.uploader-inline .errors.media-uploader-status .upload-dismiss-errors::before{color:#606a73}.errors.media-uploader-status .upload-dismiss-errors:focus::before,.errors.media-uploader-status .upload-dismiss-errors:hover::before{color:#c00}.upload-errors .upload-error{padding:12px;margin-bottom:12px;background:#fff;border-right:4px solid #dc3232;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.uploader-inline .upload-errors .upload-error{padding:12px 30px;background-color:#fbeaea;box-shadow:none}.upload-errors .upload-error-filename{font-weight:600}.upload-errors .upload-error-message{display:block;padding-top:8px;word-wrap:break-word}.uploader-window,.wp-editor-wrap .uploader-editor{top:0;right:0;left:0;bottom:0;text-align:center;display:none}.uploader-window{position:fixed;z-index:250000;opacity:0;transition:opacity 250ms}.wp-editor-wrap .uploader-editor{position:absolute;z-index:99998;background:rgba(150,150,150,.9)}.uploader-window,.wp-editor-wrap .uploader-editor.droppable{background:rgba(0,86,132,.9)}.uploader-window-content,.wp-editor-wrap .uploader-editor-content{position:absolute;top:10px;right:10px;left:10px;bottom:10px;border:1px dashed #fff}.uploader-window .uploader-editor-title,.uploader-window h1,.wp-editor-wrap .uploader-editor .uploader-editor-title{position:absolute;top:50%;right:0;left:0;transform:translateY(-50%);font-size:3em;line-height:1.3;font-weight:600;color:#fff;margin:0;padding:0 10px}.wp-editor-wrap .uploader-editor .uploader-editor-title{display:none}.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title{display:block}.uploader-window .media-progress-bar{margin-top:20px;max-width:300px;background:0 0;border-color:#fff;display:none}.uploader-window .media-progress-bar div{background:#fff}.uploading .uploader-window .media-progress-bar{display:block}.media-frame .uploader-inline{margin-bottom:20px;padding:0;text-align:center}.uploader-inline-content{position:absolute;top:30%;right:0;left:0}.uploader-inline-content .upload-ui{margin:2em 0}.uploader-inline-content .post-upload-ui{margin-bottom:2em}.uploader-inline .has-upload-message .upload-ui{margin:0 0 4em}.uploader-inline h2{font-size:20px;line-height:1.4;font-weight:400;margin:0}.uploader-inline .has-upload-message .upload-instructions{font-size:14px;color:#444;font-weight:400}.uploader-inline .drop-instructions{display:none}.supports-drag-drop .uploader-inline .drop-instructions{display:block}.uploader-inline p{margin:.5em 0}.uploader-inline .media-progress-bar{display:none}.uploading.uploader-inline .media-progress-bar{display:block}.uploader-inline .browser{display:inline-block!important}.media-selection{position:absolute;top:0;right:0;left:350px;height:60px;padding:0 16px 0 0;overflow:hidden;white-space:nowrap}.media-selection .selection-info{display:inline-block;font-size:12px;height:60px;margin-left:10px;vertical-align:top}.media-selection.editing,.media-selection.empty{display:none}.media-selection.one .edit-selection{display:none}.media-selection .count{display:block;padding-top:12px;font-size:14px;line-height:1.42857142;font-weight:600}.media-selection .button-link{float:right;padding:1px 8px;margin:1px -8px 1px 8px;line-height:1.4;border-left:1px solid #ddd;color:#0073aa;text-decoration:none}.media-selection .button-link:focus,.media-selection .button-link:hover{color:#00a0d2}.media-selection .button-link:last-child{border-left:0;margin-left:0}.selection-info .clear-selection{color:#bc0b0b}.selection-info .clear-selection:focus,.selection-info .clear-selection:hover{color:#dc3232}.media-selection .selection-view{display:inline-block;vertical-align:top}.media-selection .attachments{display:inline-block;height:48px;margin:6px;padding:0;overflow:hidden;vertical-align:top}.media-selection .attachment{width:40px;padding:0;margin:4px}.media-selection .attachment .thumbnail{top:0;left:0;bottom:0;right:0}.media-selection .attachment .icon{width:50%}.media-selection .attachment-preview{box-shadow:none;background:0 0}.wp-core-ui .media-selection .attachment.details:focus,.wp-core-ui .media-selection .attachment:focus,.wp-core-ui .media-selection .selected.attachment:focus{box-shadow:0 0 0 1px #fff,0 0 2px 3px #5b9dd9;outline:2px solid transparent}.wp-core-ui .media-selection .selected.attachment{box-shadow:none}.wp-core-ui .media-selection .attachment.details{box-shadow:0 0 0 1px #fff,0 0 0 3px #0073aa}.media-selection:after{content:"";display:block;position:absolute;top:0;left:0;bottom:0;width:25px;background-image:linear-gradient(to right,rgba(255,255,255,1),rgba(255,255,255,0))}.media-selection .attachment .filename{display:none}.media-frame .spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;float:left;display:inline-block;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:0;vertical-align:middle}.media-frame.mode-grid .spinner{margin:0;float:none;vertical-align:middle}.media-modal .media-toolbar .spinner{float:none;vertical-align:bottom;margin:0 5px 5px 0}.media-frame .instructions+.spinner.is-active{vertical-align:middle}.media-frame .spinner.is-active{visibility:visible}.attachment-details{position:relative;overflow:auto}.attachment-details .settings-save-status{float:left;text-transform:none;font-weight:400}.attachment-details .settings-save-status .spinner{float:none;margin-right:5px}.attachment-details .settings-save-status .saved{display:none}.attachment-details.save-waiting .settings-save-status .spinner{visibility:visible}.attachment-details.save-complete .settings-save-status .saved{display:inline-block}.attachment-info{overflow:hidden;min-height:60px;margin-bottom:16px;line-height:1.5;color:#666;border-bottom:1px solid #ddd;padding-bottom:11px}.attachment-info .filename{font-weight:600;color:#444;word-wrap:break-word}.attachment-info .thumbnail{position:relative;float:right;max-width:120px;max-height:120px;margin-top:5px;margin-left:10px;margin-bottom:5px}.uploading .attachment-info .thumbnail{width:120px;height:80px;box-shadow:inset 0 0 15px rgba(0,0,0,.1)}.uploading .attachment-info .media-progress-bar{margin-top:35px}.attachment-info .thumbnail-image:after{content:"";display:block;position:absolute;top:0;right:0;left:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);overflow:hidden}.attachment-info .thumbnail img{display:block;max-width:120px;max-height:120px;margin:0 auto}.attachment-info .details{float:right;font-size:12px;max-width:100%}.attachment-info .delete-attachment,.attachment-info .edit-attachment,.attachment-info .trash-attachment,.attachment-info .untrash-attachment{display:block;text-decoration:none;white-space:nowrap}.attachment-details.needs-refresh .attachment-info .edit-attachment{display:none}.attachment-info .edit-attachment{display:block}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment{display:inline;padding:0;color:#bc0b0b}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover{color:#dc3232}.attachment-display-settings{width:100%;float:right;overflow:hidden}.collection-settings{overflow:hidden}.collection-settings .setting input[type=checkbox]{float:right;margin-left:8px}.collection-settings .setting .name,.collection-settings .setting span{min-width:inherit}.media-modal .imgedit-wrap{position:static}.media-modal .imgedit-wrap .imgedit-panel-content{padding:16px 16px 0 16px;position:absolute;top:0;left:282px;bottom:0;right:0;overflow:auto}.media-modal .imgedit-wrap .imgedit-submit{margin-bottom:16px}.media-modal .imgedit-wrap .imgedit-settings{background:#f3f3f3;border-right:1px solid #ddd;padding:20px 16px 0;position:absolute;top:0;left:0;bottom:0;width:250px;overflow:auto}.media-modal .imgedit-wrap .imgedit-save-target{margin:8px 0 24px}.media-modal .imgedit-group{background:0 0;border:none;border-bottom:1px solid #ddd;box-shadow:none;margin:0;margin-bottom:16px;padding:0;padding-bottom:16px;position:relative}.media-modal .imgedit-group:last-of-type{border:none;margin:0;padding:0}.media-modal .imgedit-group-top{margin:0}.media-modal .imgedit-group-top h2,.media-modal .imgedit-group-top h2 .button-link{display:inline-block;text-transform:uppercase;font-size:12px;color:#666;margin:0;margin-top:3px}.media-modal .imgedit-group-top h2 .button-link,.media-modal .imgedit-group-top h2 a{text-decoration:none;color:#666}.wp-core-ui.media-modal .image-editor .imgedit-help-toggle,.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active,.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover{border:1px solid transparent;margin:0;padding:0;background:0 0;color:#0074a2;font-size:20px;line-height:1;cursor:pointer;box-sizing:content-box;box-shadow:none}.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus{color:#0074a2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8);outline:2px solid transparent}.wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle{margin-top:-3px}.wp-core-ui.media-modal .image-editor h3 .imgedit-help-toggle{margin-top:-2px}.media-modal .imgedit-help-toggled span.dashicons:before{content:"\f142"}.media-modal .imgedit-thumbnail-preview{margin:10px 0 0 8px}.imgedit-thumbnail-preview-caption{display:block}.media-modal .imgedit-wrap div.updated{margin:0;margin-bottom:16px}.embed-url{display:block;position:relative;padding:16px;margin:0;z-index:250;background:#fff;font-size:18px}.media-frame .embed-url input{font-size:18px;line-height:1.22222222;padding:12px 14px 12px 40px;width:100%;min-width:200px;box-shadow:inset -2px 2px 4px -2px rgba(0,0,0,.1)}.media-frame .embed-url input::-ms-clear{display:none}.media-frame .embed-url .spinner{position:absolute;top:32px;left:26px}.media-frame .embed-loading .embed-url .spinner{visibility:visible}.embed-link-settings,.embed-media-settings{position:absolute;top:70px;right:0;left:0;bottom:0;padding:0 16px;overflow:auto}.embed-link-settings::after,.embed-media-settings::after{content:"";display:flex;clear:both;height:24px}.media-embed .embed-link-settings{overflow:visible}.embed-preview embed,.embed-preview iframe,.embed-preview img,.mejs-container video{max-width:100%;vertical-align:middle}.embed-preview a{display:inline-block}.embed-preview img{display:block;height:auto}.mejs-container:focus{outline:1px solid #5b9dd9;box-shadow:0 0 2px 1px rgba(30,140,190,.8)}.image-details .media-modal{right:140px;left:140px}.image-details .media-frame-content,.image-details .media-frame-router,.image-details .media-frame-title{right:0}.image-details .embed-media-settings{top:0;overflow:visible;padding:0}.image-details .embed-media-settings::after{content:none}.image-details .embed-media-settings,.image-details .embed-media-settings div{box-sizing:border-box}.image-details .column-settings{background:#f3f3f3;border-left:1px solid #ddd;min-height:100%;width:55%;position:absolute;top:0;right:0}.image-details .column-settings h2{margin:20px;padding-top:20px;border-top:1px solid #ddd;color:#23282d}.image-details .column-image{width:45%;position:absolute;right:55%;top:0}.image-details .image{margin:20px}.image-details .image img{max-width:100%;max-height:500px}.image-details .advanced-toggle{padding:0;color:#666;text-transform:uppercase;text-decoration:none}.image-details .advanced-toggle:active,.image-details .advanced-toggle:hover{color:#666}.image-details .advanced-toggle:after{font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f140";display:inline-block;margin-top:-2px}.image-details .advanced-visible .advanced-toggle:after{content:"\f142"}.image-details .custom-size .custom-size-setting,.image-details .custom-size label{display:block;float:right}.image-details .custom-size .custom-size-setting label{float:none}.image-details .custom-size input{width:5em}.image-details .custom-size .sep{float:right;margin:26px 6px 0 6px}.image-details .custom-size .description{margin-right:0}.media-embed .thumbnail{max-width:100%;max-height:200px;position:relative;float:right}.media-embed .thumbnail img{max-height:200px;display:block}.media-embed .thumbnail:after{content:"";display:block;position:absolute;top:0;right:0;left:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.media-embed .setting,.media-embed .setting-group{width:100%;margin:10px 0;float:right;display:block;clear:both}.media-embed .setting-group .setting:not(.checkbox-setting){margin:0}.media-embed .setting.has-description{margin-bottom:5px}.media-embed .description{clear:both;font-style:normal}.media-embed .content-track+.description{line-height:1.4;max-width:none!important}.media-embed .remove-track{margin-bottom:10px}.image-details .embed-media-settings .setting,.image-details .embed-media-settings .setting-group{float:none;width:auto}.image-details .actions{margin:10px 0}.image-details .hidden{display:none}.media-embed .setting input[type=text],.media-embed .setting textarea,.media-embed fieldset{display:block;width:100%;max-width:400px}.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{max-width:inherit;width:70%}.image-details .description,.image-details .embed-media-settings .custom-size,.image-details .embed-media-settings .link-target,.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting-group{margin-right:27%;width:70%}.image-details .description{font-style:normal;margin-top:0}.image-details .embed-media-settings .link-target{margin-top:16px}.audio-details .checkbox-label,.image-details .checkbox-label,.video-details .checkbox-label{vertical-align:baseline}.media-embed .setting input.hidden,.media-embed .setting textarea.hidden{display:none}.media-embed .setting .name,.media-embed .setting span,.media-embed .setting-group .name{display:inline-block;font-size:13px;line-height:1.84615384;color:#666}.media-embed .setting span{display:block;width:200px}.image-details .embed-media-settings .setting .name,.image-details .embed-media-settings .setting span{float:right;width:25%;text-align:left;margin:8px 1% 0 1%;line-height:1.1}.image-details .embed-media-settings .setting .button-group,.media-frame .setting-group .button-group{width:auto}.media-embed-sidebar{position:absolute;top:0;right:440px}.advanced-section,.link-settings{margin-top:10px}.media-frame .setting .button-group{display:flex;margin:0!important;max-width:none!important}.rtl .media-frame,.rtl .media-frame .search,.rtl .media-frame input[type=email],.rtl .media-frame input[type=number],.rtl .media-frame input[type=password],.rtl .media-frame input[type=search],.rtl .media-frame input[type=tel],.rtl .media-frame input[type=text],.rtl .media-frame input[type=url],.rtl .media-frame select,.rtl .media-frame textarea,.rtl .media-modal{font-family:Tahoma,sans-serif}:lang(he-il) .rtl .media-frame,:lang(he-il) .rtl .media-frame .search,:lang(he-il) .rtl .media-frame input[type=email],:lang(he-il) .rtl .media-frame input[type=number],:lang(he-il) .rtl .media-frame input[type=password],:lang(he-il) .rtl .media-frame input[type=search],:lang(he-il) .rtl .media-frame input[type=text],:lang(he-il) .rtl .media-frame input[type=url],:lang(he-il) .rtl .media-frame select,:lang(he-il) .rtl .media-frame textarea,:lang(he-il) .rtl .media-modal{font-family:Arial,sans-serif}@media only screen and (max-width:900px){.media-modal .media-frame-title{height:40px}.media-modal .media-frame-title h1{line-height:2.22222222;font-size:18px}.media-modal-close{width:42px;height:42px}.media-frame .media-frame-title{position:static;padding:0 44px;text-align:center}.media-frame:not(.hide-menu) .media-frame-content,.media-frame:not(.hide-menu) .media-frame-router,.media-frame:not(.hide-menu) .media-frame-toolbar{right:0}.media-frame:not(.hide-menu) .media-frame-router{top:80px}.media-frame:not(.hide-menu) .media-frame-content{top:114px}.media-frame.hide-router .media-frame-content{top:80px}.media-frame:not(.hide-menu) .media-frame-menu{position:static;width:0}.media-frame:not(.hide-menu) .media-menu{display:none;width:auto;max-width:80%;overflow:auto;z-index:2000;top:75px;right:50%;transform:translateX(50%);left:auto;bottom:auto;padding:5px 0;border:1px solid #ccc}.media-frame:not(.hide-menu) .media-menu.visible{display:block}.media-frame:not(.hide-menu) .media-menu>a{padding:12px 16px;font-size:16px}.media-frame:not(.hide-menu) .media-menu .separator{margin:5px 10px}.media-frame-menu-heading{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;width:1px;word-wrap:normal!important}.wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle{display:inline-flex;align-items:center;position:absolute;right:50%;transform:translateX(50%);margin:-6px 0 0;padding:0 12px 0 2px;font-size:.875rem;font-weight:600;text-decoration:none;background:0 0;height:.1%;min-height:40px}.wp-core-ui .button.media-frame-menu-toggle:active,.wp-core-ui .button.media-frame-menu-toggle:hover{background:0 0;transform:none}.wp-core-ui .button.media-frame-menu-toggle:focus{outline:1px solid transparent}.media-sidebar{width:230px}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{left:262px}.attachment-details .setting,.media-sidebar .setting{margin:6px 0}.attachment-details .setting .name,.attachment-details .setting input,.attachment-details .setting textarea,.compat-item label span,.media-sidebar .setting .name,.media-sidebar .setting input,.media-sidebar .setting textarea{float:none;display:inline-block}.attachment-details .setting span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting span{float:none}.media-sidebar .setting .select-label-inline{display:inline}.attachment-details .setting .name,.compat-item label span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting .name{text-align:inherit;min-height:16px;margin:0;padding:8px 2px 2px}.attachment-details .setting .value,.media-sidebar .setting .value{float:none;width:auto}.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting select,.attachment-details .setting textarea,.attachment-details .setting+.description,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting select,.media-sidebar .setting textarea{float:none;width:98%;max-width:none;height:auto}.media-frame .media-toolbar input[type=search]{line-height:2.25}.attachment-details .setting select.columns,.media-sidebar .setting select.columns{width:auto}.media-frame .search,.media-frame input,.media-frame textarea{padding:3px 6px}.wp-admin .media-frame select{min-height:40px;font-size:16px;line-height:1.625;padding:5px 8px 5px 24px}.image-details .column-image{width:30%;right:70%}.image-details .column-settings{width:70%}.image-details .media-modal{right:30px;left:30px}.image-details .embed-media-settings .setting,.image-details .embed-media-settings .setting-group{margin:20px}.image-details .embed-media-settings .setting .name,.image-details .embed-media-settings .setting span{float:none;text-align:right;width:100%;margin-bottom:4px;margin-right:0}.media-modal .legend-inline{position:static;transform:none;margin-right:0;margin-bottom:6px}.image-details .embed-media-settings .setting-group .setting{margin-bottom:0}.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{width:100%;margin-right:0}.image-details .embed-media-settings .setting.has-description{margin-bottom:5px}.image-details .description{width:auto;margin:0 20px}.image-details .embed-media-settings .custom-size{margin-right:20px}.collection-settings .setting input[type=checkbox]{float:none;margin-top:0}.media-selection{min-width:120px}.media-selection:after{background:0 0}.media-selection .attachments{display:none}.media-modal .attachments-browser .media-toolbar .search{max-width:100%;height:auto;float:left}.media-modal .attachments-browser .media-toolbar .attachment-filters{height:auto}.media-frame input[type=email],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=text],.media-frame input[type=url],.media-frame select,.media-frame textarea{font-size:16px}.media-frame .media-toolbar input[type=search]{line-height:2.3755}.media-modal .media-toolbar .spinner{margin-bottom:10px}}@media screen and (max-width:782px){.attachments-browser .media-toolbar{height:82px}.attachments-browser .attachments,.attachments-browser .uploader-inline{top:82px}.media-frame-toolbar .media-toolbar{bottom:-54px}}@media screen and (max-width:782px){.mode-grid .attachments-browser .media-toolbar-primary{display:block}}@media only screen and (max-width:640px),screen and (max-height:400px){.image-details .media-modal,.media-modal{position:fixed;top:0;right:0;left:0;bottom:0}.media-modal-backdrop{position:fixed}.media-sidebar{z-index:1900;max-width:70%;bottom:120%;box-sizing:border-box;padding-bottom:0}.media-sidebar.visible{bottom:0}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{left:0}.image-details .media-frame-title{display:block;top:0;font-size:14px}.image-details .column-image,.image-details .column-settings{width:100%;position:relative;right:0}.image-details .column-settings{padding:4px 0}.media-frame-content .media-toolbar .instructions{display:none}}@media only screen and (min-width:901px) and (max-height:400px){.media-frame:not(.hide-menu) .media-menu,.media-menu{top:0;padding-top:44px}}@media only screen and (max-width:480px){.wp-core-ui.wp-customizer .media-button{margin-top:13px}}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-core-ui .media-modal-icon{background-image:url(../images/uploader-icons-2x.png);background-size:134px 15px}.media-frame .spinner{background-image:url(../images/spinner-2x.gif)}}.media-frame-content[data-columns="1"] .attachment{width:100%}.media-frame-content[data-columns="2"] .attachment{width:50%}.media-frame-content[data-columns="3"] .attachment{width:33.33%}.media-frame-content[data-columns="4"] .attachment{width:25%}.media-frame-content[data-columns="5"] .attachment{width:20%}.media-frame-content[data-columns="6"] .attachment{width:16.66%}.media-frame-content[data-columns="7"] .attachment{width:14.28%}.media-frame-content[data-columns="8"] .attachment{width:12.5%}.media-frame-content[data-columns="9"] .attachment{width:11.11%}.media-frame-content[data-columns="10"] .attachment{width:10%}.media-frame-content[data-columns="11"] .attachment{width:9.09%}.media-frame-content[data-columns="12"] .attachment{width:8.33%} \ No newline at end of file diff --git a/wp-includes/css/media-views.css b/wp-includes/css/media-views.css index 4c47ee5fe3..d782905798 100644 --- a/wp-includes/css/media-views.css +++ b/wp-includes/css/media-views.css @@ -1526,11 +1526,6 @@ display: inline-block !important; } -div.moxie-shim.moxie-shim-html5, -div.moxie-shim.moxie-shim-html5 input[type="file"] { - display: none; -} - /** * Selection */ diff --git a/wp-includes/css/media-views.min.css b/wp-includes/css/media-views.min.css index c3ac737ae2..87b2f8e11e 100644 --- a/wp-includes/css/media-views.min.css +++ b/wp-includes/css/media-views.min.css @@ -6,4 +6,4 @@ * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - */.ui-draggable-handle,.ui-sortable-handle{touch-action:none}.media-modal{position:fixed;top:30px;left:30px;right:30px;bottom:30px;z-index:160000}.wp-customizer .media-modal{z-index:560000}.media-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:159900}.wp-customizer .media-modal-backdrop{z-index:559900}.media-modal-close{position:absolute;top:0;right:0;width:50px;height:50px;margin:0;padding:0;border:1px solid transparent;background:0 0;color:#666;z-index:1000;cursor:pointer;outline:0;transition:color .1s ease-in-out,background .1s ease-in-out}.media-modal-close:active,.media-modal-close:hover{color:#00a0d2}.media-modal-close:focus{color:#00a0d2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8);outline:2px solid transparent}.media-modal-close span.media-modal-icon{background-image:none}.media-modal-close .media-modal-icon:before{content:"\f158";font:normal 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.media-modal-content{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;min-height:300px;box-shadow:0 5px 15px rgba(0,0,0,.7);background:#fcfcfc;-webkit-font-smoothing:subpixel-antialiased}.media-modal-content .media-frame select.attachment-filters{margin-top:32px;margin-right:2%;width:42%;width:calc(48% - 12px)}.media-modal-content .attachments-browser .search{width:100%}.wp-core-ui .media-modal-icon{background-image:url(../images/uploader-icons.png);background-repeat:no-repeat}.media-toolbar{position:absolute;top:0;left:0;right:0;z-index:100;height:60px;padding:0 16px;border:0 solid #ddd;overflow:hidden}.media-frame-toolbar .media-toolbar{top:auto;bottom:-47px;height:auto;overflow:visible;border-top:1px solid #ddd}.media-toolbar-primary{float:right;height:100%;position:relative}.media-toolbar-secondary{float:left;height:100%}.media-toolbar-primary>.media-button,.media-toolbar-primary>.media-button-group{margin-left:10px;float:left;margin-top:15px}.media-toolbar-secondary>.media-button,.media-toolbar-secondary>.media-button-group{margin-right:10px;margin-top:15px}.media-sidebar{position:absolute;top:0;right:0;bottom:0;width:267px;padding:0 16px;z-index:75;background:#f3f3f3;border-left:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch}.media-sidebar::after{content:"";display:flex;clear:both;height:24px}.hide-toolbar .media-sidebar{bottom:0}.image-details h2,.media-sidebar h2{position:relative;font-weight:600;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}.attachment-details .setting,.media-sidebar .setting{display:block;float:left;width:100%;margin:0 0 10px}.media-sidebar .collection-settings .setting{margin:1px 0}.attachment-details .setting.has-description,.media-sidebar .setting.has-description{margin-bottom:5px}.media-sidebar .setting .link-to-custom{margin:3px 2px 0}.attachment-details .setting .name,.attachment-details .setting span,.media-sidebar .setting .name,.media-sidebar .setting .value,.media-sidebar .setting span{min-width:30%;margin-right:4%;font-size:12px;text-align:right;word-wrap:break-word}.media-sidebar .setting .name{max-width:80px}.media-sidebar .setting .value{text-align:left}.media-sidebar .setting select{max-width:65%}.attachment-details .field input[type=checkbox],.attachment-details .field input[type=radio],.attachment-details .setting input[type=checkbox],.attachment-details .setting input[type=radio],.media-sidebar .field input[type=checkbox],.media-sidebar .field input[type=radio],.media-sidebar .setting input[type=checkbox],.media-sidebar .setting input[type=radio]{float:none;margin:8px 3px 0;padding:0}.attachment-details .setting .name,.attachment-details .setting .value,.attachment-details .setting span,.compat-item label span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting .name,.media-sidebar .setting .value,.media-sidebar .setting span{float:left;min-height:22px;padding-top:8px;line-height:1.33333333;font-weight:400;color:#666}.media-sidebar .checkbox-label-inline{font-size:12px}.compat-item label span{text-align:right}.attachment-details .setting .value,.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting textarea,.attachment-details .setting+.description,.media-sidebar .setting .value,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting textarea{box-sizing:border-box;margin:1px;width:65%;float:right}.attachment-details .setting .value,.attachment-details .setting+.description,.media-sidebar .setting .value{margin:0 1px;text-align:left}.attachment-details .setting+.description{clear:both;font-size:12px;font-style:normal;margin-bottom:10px}.attachment-details .setting textarea,.compat-item .field textarea,.media-sidebar .setting textarea{height:62px;resize:vertical}.compat-item{float:left;width:100%;overflow:hidden}.compat-item table{width:100%;table-layout:fixed;border-spacing:0;border:0}.compat-item tr{padding:2px 0;display:block;overflow:hidden}.compat-item .field,.compat-item .label{display:block;margin:0;padding:0}.compat-item .label{min-width:30%;margin-right:4%;float:left;text-align:right}.compat-item .label span{display:block;width:100%}.compat-item .field{float:right;width:65%;margin:1px}.compat-item .field input[type=email],.compat-item .field input[type=number],.compat-item .field input[type=password],.compat-item .field input[type=search],.compat-item .field input[type=tel],.compat-item .field input[type=text],.compat-item .field input[type=url],.compat-item .field textarea{width:100%;margin:0;box-sizing:border-box}.sidebar-for-errors .attachment-details,.sidebar-for-errors .compat-item,.sidebar-for-errors .media-sidebar .media-progress-bar,.sidebar-for-errors .upload-details{display:none!important}.media-menu{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:50px 0 10px;background:#f3f3f3;border-right-width:1px;border-right-style:solid;border-right-color:#ccc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.media-menu .media-menu-item{display:block;box-sizing:border-box;width:100%;position:relative;border:0;margin:0;padding:8px 20px;font-size:14px;line-height:1.28571428;background:0 0;color:#0073aa;text-align:left;text-decoration:none;cursor:pointer}.media-menu .media-menu-item:hover{background:rgba(0,0,0,.04)}.media-menu .media-menu-item:active{color:#0073aa;outline:0}.media-menu .active,.media-menu .active:hover{color:#23282d;font-weight:600}.media-menu .media-menu-item:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-menu .separator{height:0;margin:12px 20px;padding:0;border-top:1px solid #ddd}.media-router{position:relative;padding:0 6px;margin:0;clear:both}.media-router .media-menu-item{position:relative;float:left;border:0;margin:0;padding:8px 10px 9px;height:18px;line-height:1.28571428;font-size:14px;text-decoration:none;background:0 0;cursor:pointer;transition:none}.media-router .media-menu-item:last-child{border-right:0}.media-router .media-menu-item:active,.media-router .media-menu-item:hover{color:#0073aa}.media-router .active,.media-router .active:hover{color:#23282d}.media-router .media-menu-item:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-router .active,.media-router .media-menu-item.active:last-child{margin:-1px -1px 0;background:#fff;border:1px solid #ddd;border-bottom:none}.media-router .active:after{display:none}.media-frame{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}.media-frame-menu{position:absolute;top:0;left:0;bottom:0;width:200px;z-index:150}.media-frame-title{position:absolute;top:0;left:200px;right:0;height:50px;z-index:200}.media-frame-router{position:absolute;top:50px;left:200px;right:0;height:36px;z-index:200}.media-frame-content{position:absolute;top:84px;left:200px;right:0;bottom:61px;height:auto;width:auto;margin:0;overflow:auto;background:#fff;border-top:1px solid #ddd}.media-frame-toolbar{position:absolute;left:200px;right:0;z-index:100;bottom:60px;height:auto}.media-frame.hide-menu .media-frame-content,.media-frame.hide-menu .media-frame-router,.media-frame.hide-menu .media-frame-title,.media-frame.hide-menu .media-frame-toolbar{left:0}.media-frame.hide-toolbar .media-frame-content{bottom:0}.media-frame.hide-router .media-frame-content{top:50px}.media-frame.hide-menu .media-frame-menu,.media-frame.hide-menu .media-frame-menu-heading,.media-frame.hide-router .media-frame-router,.media-frame.hide-toolbar .media-frame-toolbar{display:none}.media-frame-title h1{padding:0 16px;font-size:22px;line-height:2.27272727;margin:0}.media-attachments-filter-heading,.media-frame-menu-heading{position:absolute;left:20px;top:22px;margin:0;font-size:13px;line-height:1;z-index:151}.media-attachments-filter-heading{top:10px;left:16px}.mode-grid .media-attachments-filter-heading{top:0;left:-9999px}.mode-grid .media-frame-actions-heading{display:none}.wp-core-ui .button.media-frame-menu-toggle{display:none}.media-frame-title .suggested-dimensions{font-size:14px;float:right;margin-right:20px}.media-frame-content .crop-content{height:100%}.wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon{margin-right:300px}.media-frame-content .crop-content .crop-image{display:block;margin:auto;max-width:100%;max-height:100%}.media-frame-content .crop-content .upload-errors{position:absolute;width:300px;top:50%;left:50%;margin-left:-150px;margin-right:-150px;z-index:600000}.media-frame .media-iframe{overflow:hidden}.media-frame .media-iframe,.media-frame .media-iframe iframe{height:100%;width:100%;border:0}.media-frame select.attachment-filters{margin-top:11px;margin-right:2%;max-width:42%;max-width:calc(48% - 12px)}.media-frame select.attachment-filters:last-of-type{margin-right:0;width:auto;max-width:100%}.media-frame .search{margin:32px 0 0;padding:4px;font-size:13px;color:#444;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;-webkit-appearance:none}.media-toolbar-primary .search{max-width:100%}.media-frame .media-search-input-label{position:absolute;left:0;top:10px;margin:0;line-height:1}.wp-core-ui .attachments{margin:0;-webkit-overflow-scrolling:touch}.wp-core-ui .attachment{position:relative;float:left;padding:8px;margin:0;color:#444;cursor:pointer;list-style:none;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:25%;box-sizing:border-box}.wp-core-ui .attachment.details:focus,.wp-core-ui .attachment:focus,.wp-core-ui .selected.attachment:focus{box-shadow:inset 0 0 2px 3px #fff,inset 0 0 0 7px #5b9dd9;outline:2px solid transparent;outline-offset:-6px}.wp-core-ui .selected.attachment{box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #ccc}.wp-core-ui .attachment.details{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0073aa}.wp-core-ui .attachment-preview{position:relative;box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);background:#eee;cursor:pointer}.wp-core-ui .attachment-preview:before{content:"";display:block;padding-top:100%}.wp-core-ui .attachment .icon{margin:0 auto;overflow:hidden}.wp-core-ui .attachment .thumbnail{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;opacity:1;transition:opacity .1s}.wp-core-ui .attachment .portrait img{max-width:100%}.wp-core-ui .attachment .landscape img{max-height:100%}.wp-core-ui .attachment .thumbnail:after{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.wp-core-ui .attachment .thumbnail img{top:0;left:0}.wp-core-ui .attachment .thumbnail .centered{position:absolute;top:0;left:0;width:100%;height:100%;transform:translate(50%,50%)}.wp-core-ui .attachment .thumbnail .centered img{transform:translate(-50%,-50%)}.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon{transform:translate(-50%,-70%)}.wp-core-ui .attachment .filename{position:absolute;left:0;right:0;bottom:0;overflow:hidden;max-height:100%;word-wrap:break-word;text-align:center;font-weight:600;background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.wp-core-ui .attachment .filename div{padding:5px 10px}.wp-core-ui .attachment .thumbnail img{position:absolute}.wp-core-ui .attachment-close{display:block;position:absolute;top:5px;right:5px;height:22px;width:22px;padding:0;background-color:#fff;background-position:-96px 4px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.3);transition:none}.wp-core-ui .attachment-close:focus,.wp-core-ui .attachment-close:hover{background-position:-36px 4px}.wp-core-ui .attachment .check{display:none;height:24px;width:24px;padding:0;border:0;position:absolute;z-index:10;top:0;right:0;outline:0;background:#eee;cursor:pointer;box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15)}.wp-core-ui .attachment .check .media-modal-icon{display:block;background-position:-1px 0;height:15px;width:15px;margin:5px}.wp-core-ui .attachment .check:hover .media-modal-icon{background-position:-40px 0}.wp-core-ui .attachment.selected .check{display:block}.wp-core-ui .attachment.details .check,.wp-core-ui .attachment.selected .check:focus,.wp-core-ui .media-frame.mode-grid .attachment.selected .check{background-color:#0073aa;box-shadow:0 0 0 1px #fff,0 0 0 2px #0073aa}.wp-core-ui .attachment.selected .check:focus{outline:2px solid transparent}.wp-core-ui .attachment.details .check .media-modal-icon,.wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon{background-position:-21px 0}.wp-core-ui .attachment.details .check:hover .media-modal-icon,.wp-core-ui .attachment.selected .check:focus .media-modal-icon,.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon{background-position:-60px 0}.wp-core-ui .media-frame .attachment .describe{position:relative;display:block;width:100%;margin:0;padding:0 8px;font-size:12px;border-radius:0}.media-frame .attachments-browser{position:relative;width:100%;height:100%;overflow:hidden}.attachments-browser .media-toolbar{right:300px;height:72px;background:#fff}.attachments-browser.hide-sidebar .media-toolbar{right:0}.attachments-browser .media-toolbar-primary>.media-button,.attachments-browser .media-toolbar-primary>.media-button-group,.attachments-browser .media-toolbar-secondary>.media-button,.attachments-browser .media-toolbar-secondary>.media-button-group{margin:10px 0}.attachments-browser .attachments{padding:2px 8px 8px}.attachments-browser .attachments,.attachments-browser .uploader-inline{position:absolute;top:72px;left:0;right:300px;bottom:0;overflow:auto;outline:0}.attachments-browser .uploader-inline.hidden{display:none}.attachments-browser .media-toolbar-primary{max-width:33%}.mode-grid .attachments-browser .media-toolbar-primary{display:flex;align-items:center}.mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary{display:none}.attachments-browser .media-toolbar-secondary{max-width:66%}.uploader-inline .close{background-color:transparent;border:0;cursor:pointer;height:48px;outline:0;padding:0;position:absolute;right:2px;text-align:center;top:2px;width:48px;z-index:1}.uploader-inline .close:before{font:normal 30px/1 dashicons!important;color:#555d66;display:inline-block;content:"\f335";font-weight:300;margin-top:1px}.uploader-inline .close:focus{outline:1px solid #5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.attachments-browser.hide-sidebar .attachments,.attachments-browser.hide-sidebar .uploader-inline{right:0;margin-right:0}.attachments-browser .instructions{display:inline-block;margin-top:16px;line-height:1.38461538;font-size:13px;color:#666}.attachments-browser .no-media{padding:2em 0 0 2em}.media-progress-bar{position:relative;height:10px;width:70%;margin:10px auto;border-radius:10px;background:#ddd;background:rgba(0,0,0,.1)}.media-progress-bar div{height:10px;min-width:20px;width:0;background:#0073aa;border-radius:10px;transition:width .3s}.media-uploader-status .media-progress-bar{display:none;width:100%}.uploading.media-uploader-status .media-progress-bar{display:block}.attachment-preview .media-progress-bar{position:absolute;top:50%;left:15%;width:70%;margin:-5px 0 0 0}.media-uploader-status{position:relative;margin:0 auto;padding-bottom:10px;max-width:400px}.uploader-inline .media-uploader-status h2{display:none}.media-uploader-status .upload-details{display:none;font-size:12px;color:#666}.uploading.media-uploader-status .upload-details{display:block}.media-uploader-status .upload-detail-separator{padding:0 4px}.media-uploader-status .upload-count{color:#444}.media-uploader-status .upload-dismiss-errors,.media-uploader-status .upload-errors{display:none}.errors.media-uploader-status .upload-dismiss-errors,.errors.media-uploader-status .upload-errors{display:block}.media-uploader-status .upload-dismiss-errors{position:absolute;top:-3px;right:-5px;padding:5px;border-radius:50%;transition:none;text-decoration:none}.uploader-inline .media-uploader-status .upload-dismiss-errors{top:2px;right:2px}.media-uploader-status .upload-dismiss-errors::before{content:"\f153";display:block;font:normal 16px/1 dashicons;color:#72777c}.uploader-inline .errors.media-uploader-status .upload-dismiss-errors::before{color:#606a73}.errors.media-uploader-status .upload-dismiss-errors:focus::before,.errors.media-uploader-status .upload-dismiss-errors:hover::before{color:#c00}.upload-errors .upload-error{padding:12px;margin-bottom:12px;background:#fff;border-left:4px solid #dc3232;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.uploader-inline .upload-errors .upload-error{padding:12px 30px;background-color:#fbeaea;box-shadow:none}.upload-errors .upload-error-filename{font-weight:600}.upload-errors .upload-error-message{display:block;padding-top:8px;word-wrap:break-word}.uploader-window,.wp-editor-wrap .uploader-editor{top:0;left:0;right:0;bottom:0;text-align:center;display:none}.uploader-window{position:fixed;z-index:250000;opacity:0;transition:opacity 250ms}.wp-editor-wrap .uploader-editor{position:absolute;z-index:99998;background:rgba(150,150,150,.9)}.uploader-window,.wp-editor-wrap .uploader-editor.droppable{background:rgba(0,86,132,.9)}.uploader-window-content,.wp-editor-wrap .uploader-editor-content{position:absolute;top:10px;left:10px;right:10px;bottom:10px;border:1px dashed #fff}.uploader-window .uploader-editor-title,.uploader-window h1,.wp-editor-wrap .uploader-editor .uploader-editor-title{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);font-size:3em;line-height:1.3;font-weight:600;color:#fff;margin:0;padding:0 10px}.wp-editor-wrap .uploader-editor .uploader-editor-title{display:none}.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title{display:block}.uploader-window .media-progress-bar{margin-top:20px;max-width:300px;background:0 0;border-color:#fff;display:none}.uploader-window .media-progress-bar div{background:#fff}.uploading .uploader-window .media-progress-bar{display:block}.media-frame .uploader-inline{margin-bottom:20px;padding:0;text-align:center}.uploader-inline-content{position:absolute;top:30%;left:0;right:0}.uploader-inline-content .upload-ui{margin:2em 0}.uploader-inline-content .post-upload-ui{margin-bottom:2em}.uploader-inline .has-upload-message .upload-ui{margin:0 0 4em}.uploader-inline h2{font-size:20px;line-height:1.4;font-weight:400;margin:0}.uploader-inline .has-upload-message .upload-instructions{font-size:14px;color:#444;font-weight:400}.uploader-inline .drop-instructions{display:none}.supports-drag-drop .uploader-inline .drop-instructions{display:block}.uploader-inline p{margin:.5em 0}.uploader-inline .media-progress-bar{display:none}.uploading.uploader-inline .media-progress-bar{display:block}.uploader-inline .browser{display:inline-block!important}div.moxie-shim.moxie-shim-html5,div.moxie-shim.moxie-shim-html5 input[type=file]{display:none}.media-selection{position:absolute;top:0;left:0;right:350px;height:60px;padding:0 0 0 16px;overflow:hidden;white-space:nowrap}.media-selection .selection-info{display:inline-block;font-size:12px;height:60px;margin-right:10px;vertical-align:top}.media-selection.editing,.media-selection.empty{display:none}.media-selection.one .edit-selection{display:none}.media-selection .count{display:block;padding-top:12px;font-size:14px;line-height:1.42857142;font-weight:600}.media-selection .button-link{float:left;padding:1px 8px;margin:1px 8px 1px -8px;line-height:1.4;border-right:1px solid #ddd;color:#0073aa;text-decoration:none}.media-selection .button-link:focus,.media-selection .button-link:hover{color:#00a0d2}.media-selection .button-link:last-child{border-right:0;margin-right:0}.selection-info .clear-selection{color:#bc0b0b}.selection-info .clear-selection:focus,.selection-info .clear-selection:hover{color:#dc3232}.media-selection .selection-view{display:inline-block;vertical-align:top}.media-selection .attachments{display:inline-block;height:48px;margin:6px;padding:0;overflow:hidden;vertical-align:top}.media-selection .attachment{width:40px;padding:0;margin:4px}.media-selection .attachment .thumbnail{top:0;right:0;bottom:0;left:0}.media-selection .attachment .icon{width:50%}.media-selection .attachment-preview{box-shadow:none;background:0 0}.wp-core-ui .media-selection .attachment.details:focus,.wp-core-ui .media-selection .attachment:focus,.wp-core-ui .media-selection .selected.attachment:focus{box-shadow:0 0 0 1px #fff,0 0 2px 3px #5b9dd9;outline:2px solid transparent}.wp-core-ui .media-selection .selected.attachment{box-shadow:none}.wp-core-ui .media-selection .attachment.details{box-shadow:0 0 0 1px #fff,0 0 0 3px #0073aa}.media-selection:after{content:"";display:block;position:absolute;top:0;right:0;bottom:0;width:25px;background-image:linear-gradient(to left,rgba(255,255,255,1),rgba(255,255,255,0))}.media-selection .attachment .filename{display:none}.media-frame .spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;float:right;display:inline-block;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:0;vertical-align:middle}.media-frame.mode-grid .spinner{margin:0;float:none;vertical-align:middle}.media-modal .media-toolbar .spinner{float:none;vertical-align:bottom;margin:0 0 5px 5px}.media-frame .instructions+.spinner.is-active{vertical-align:middle}.media-frame .spinner.is-active{visibility:visible}.attachment-details{position:relative;overflow:auto}.attachment-details .settings-save-status{float:right;text-transform:none;font-weight:400}.attachment-details .settings-save-status .spinner{float:none;margin-left:5px}.attachment-details .settings-save-status .saved{display:none}.attachment-details.save-waiting .settings-save-status .spinner{visibility:visible}.attachment-details.save-complete .settings-save-status .saved{display:inline-block}.attachment-info{overflow:hidden;min-height:60px;margin-bottom:16px;line-height:1.5;color:#666;border-bottom:1px solid #ddd;padding-bottom:11px}.attachment-info .filename{font-weight:600;color:#444;word-wrap:break-word}.attachment-info .thumbnail{position:relative;float:left;max-width:120px;max-height:120px;margin-top:5px;margin-right:10px;margin-bottom:5px}.uploading .attachment-info .thumbnail{width:120px;height:80px;box-shadow:inset 0 0 15px rgba(0,0,0,.1)}.uploading .attachment-info .media-progress-bar{margin-top:35px}.attachment-info .thumbnail-image:after{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);overflow:hidden}.attachment-info .thumbnail img{display:block;max-width:120px;max-height:120px;margin:0 auto}.attachment-info .details{float:left;font-size:12px;max-width:100%}.attachment-info .delete-attachment,.attachment-info .edit-attachment,.attachment-info .trash-attachment,.attachment-info .untrash-attachment{display:block;text-decoration:none;white-space:nowrap}.attachment-details.needs-refresh .attachment-info .edit-attachment{display:none}.attachment-info .edit-attachment{display:block}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment{display:inline;padding:0;color:#bc0b0b}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover{color:#dc3232}.attachment-display-settings{width:100%;float:left;overflow:hidden}.collection-settings{overflow:hidden}.collection-settings .setting input[type=checkbox]{float:left;margin-right:8px}.collection-settings .setting .name,.collection-settings .setting span{min-width:inherit}.media-modal .imgedit-wrap{position:static}.media-modal .imgedit-wrap .imgedit-panel-content{padding:16px 16px 0 16px;position:absolute;top:0;right:282px;bottom:0;left:0;overflow:auto}.media-modal .imgedit-wrap .imgedit-submit{margin-bottom:16px}.media-modal .imgedit-wrap .imgedit-settings{background:#f3f3f3;border-left:1px solid #ddd;padding:20px 16px 0;position:absolute;top:0;right:0;bottom:0;width:250px;overflow:auto}.media-modal .imgedit-wrap .imgedit-save-target{margin:8px 0 24px}.media-modal .imgedit-group{background:0 0;border:none;border-bottom:1px solid #ddd;box-shadow:none;margin:0;margin-bottom:16px;padding:0;padding-bottom:16px;position:relative}.media-modal .imgedit-group:last-of-type{border:none;margin:0;padding:0}.media-modal .imgedit-group-top{margin:0}.media-modal .imgedit-group-top h2,.media-modal .imgedit-group-top h2 .button-link{display:inline-block;text-transform:uppercase;font-size:12px;color:#666;margin:0;margin-top:3px}.media-modal .imgedit-group-top h2 .button-link,.media-modal .imgedit-group-top h2 a{text-decoration:none;color:#666}.wp-core-ui.media-modal .image-editor .imgedit-help-toggle,.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active,.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover{border:1px solid transparent;margin:0;padding:0;background:0 0;color:#0074a2;font-size:20px;line-height:1;cursor:pointer;box-sizing:content-box;box-shadow:none}.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus{color:#0074a2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8);outline:2px solid transparent}.wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle{margin-top:-3px}.wp-core-ui.media-modal .image-editor h3 .imgedit-help-toggle{margin-top:-2px}.media-modal .imgedit-help-toggled span.dashicons:before{content:"\f142"}.media-modal .imgedit-thumbnail-preview{margin:10px 8px 0 0}.imgedit-thumbnail-preview-caption{display:block}.media-modal .imgedit-wrap div.updated{margin:0;margin-bottom:16px}.embed-url{display:block;position:relative;padding:16px;margin:0;z-index:250;background:#fff;font-size:18px}.media-frame .embed-url input{font-size:18px;line-height:1.22222222;padding:12px 40px 12px 14px;width:100%;min-width:200px;box-shadow:inset 2px 2px 4px -2px rgba(0,0,0,.1)}.media-frame .embed-url input::-ms-clear{display:none}.media-frame .embed-url .spinner{position:absolute;top:32px;right:26px}.media-frame .embed-loading .embed-url .spinner{visibility:visible}.embed-link-settings,.embed-media-settings{position:absolute;top:70px;left:0;right:0;bottom:0;padding:0 16px;overflow:auto}.embed-link-settings::after,.embed-media-settings::after{content:"";display:flex;clear:both;height:24px}.media-embed .embed-link-settings{overflow:visible}.embed-preview embed,.embed-preview iframe,.embed-preview img,.mejs-container video{max-width:100%;vertical-align:middle}.embed-preview a{display:inline-block}.embed-preview img{display:block;height:auto}.mejs-container:focus{outline:1px solid #5b9dd9;box-shadow:0 0 2px 1px rgba(30,140,190,.8)}.image-details .media-modal{left:140px;right:140px}.image-details .media-frame-content,.image-details .media-frame-router,.image-details .media-frame-title{left:0}.image-details .embed-media-settings{top:0;overflow:visible;padding:0}.image-details .embed-media-settings::after{content:none}.image-details .embed-media-settings,.image-details .embed-media-settings div{box-sizing:border-box}.image-details .column-settings{background:#f3f3f3;border-right:1px solid #ddd;min-height:100%;width:55%;position:absolute;top:0;left:0}.image-details .column-settings h2{margin:20px;padding-top:20px;border-top:1px solid #ddd;color:#23282d}.image-details .column-image{width:45%;position:absolute;left:55%;top:0}.image-details .image{margin:20px}.image-details .image img{max-width:100%;max-height:500px}.image-details .advanced-toggle{padding:0;color:#666;text-transform:uppercase;text-decoration:none}.image-details .advanced-toggle:active,.image-details .advanced-toggle:hover{color:#666}.image-details .advanced-toggle:after{font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f140";display:inline-block;margin-top:-2px}.image-details .advanced-visible .advanced-toggle:after{content:"\f142"}.image-details .custom-size .custom-size-setting,.image-details .custom-size label{display:block;float:left}.image-details .custom-size .custom-size-setting label{float:none}.image-details .custom-size input{width:5em}.image-details .custom-size .sep{float:left;margin:26px 6px 0 6px}.image-details .custom-size .description{margin-left:0}.media-embed .thumbnail{max-width:100%;max-height:200px;position:relative;float:left}.media-embed .thumbnail img{max-height:200px;display:block}.media-embed .thumbnail:after{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.media-embed .setting,.media-embed .setting-group{width:100%;margin:10px 0;float:left;display:block;clear:both}.media-embed .setting-group .setting:not(.checkbox-setting){margin:0}.media-embed .setting.has-description{margin-bottom:5px}.media-embed .description{clear:both;font-style:normal}.media-embed .content-track+.description{line-height:1.4;max-width:none!important}.media-embed .remove-track{margin-bottom:10px}.image-details .embed-media-settings .setting,.image-details .embed-media-settings .setting-group{float:none;width:auto}.image-details .actions{margin:10px 0}.image-details .hidden{display:none}.media-embed .setting input[type=text],.media-embed .setting textarea,.media-embed fieldset{display:block;width:100%;max-width:400px}.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{max-width:inherit;width:70%}.image-details .description,.image-details .embed-media-settings .custom-size,.image-details .embed-media-settings .link-target,.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting-group{margin-left:27%;width:70%}.image-details .description{font-style:normal;margin-top:0}.image-details .embed-media-settings .link-target{margin-top:16px}.audio-details .checkbox-label,.image-details .checkbox-label,.video-details .checkbox-label{vertical-align:baseline}.media-embed .setting input.hidden,.media-embed .setting textarea.hidden{display:none}.media-embed .setting .name,.media-embed .setting span,.media-embed .setting-group .name{display:inline-block;font-size:13px;line-height:1.84615384;color:#666}.media-embed .setting span{display:block;width:200px}.image-details .embed-media-settings .setting .name,.image-details .embed-media-settings .setting span{float:left;width:25%;text-align:right;margin:8px 1% 0 1%;line-height:1.1}.image-details .embed-media-settings .setting .button-group,.media-frame .setting-group .button-group{width:auto}.media-embed-sidebar{position:absolute;top:0;left:440px}.advanced-section,.link-settings{margin-top:10px}.media-frame .setting .button-group{display:flex;margin:0!important;max-width:none!important}.rtl .media-frame,.rtl .media-frame .search,.rtl .media-frame input[type=email],.rtl .media-frame input[type=number],.rtl .media-frame input[type=password],.rtl .media-frame input[type=search],.rtl .media-frame input[type=tel],.rtl .media-frame input[type=text],.rtl .media-frame input[type=url],.rtl .media-frame select,.rtl .media-frame textarea,.rtl .media-modal{font-family:Tahoma,sans-serif}:lang(he-il) .rtl .media-frame,:lang(he-il) .rtl .media-frame .search,:lang(he-il) .rtl .media-frame input[type=email],:lang(he-il) .rtl .media-frame input[type=number],:lang(he-il) .rtl .media-frame input[type=password],:lang(he-il) .rtl .media-frame input[type=search],:lang(he-il) .rtl .media-frame input[type=text],:lang(he-il) .rtl .media-frame input[type=url],:lang(he-il) .rtl .media-frame select,:lang(he-il) .rtl .media-frame textarea,:lang(he-il) .rtl .media-modal{font-family:Arial,sans-serif}@media only screen and (max-width:900px){.media-modal .media-frame-title{height:40px}.media-modal .media-frame-title h1{line-height:2.22222222;font-size:18px}.media-modal-close{width:42px;height:42px}.media-frame .media-frame-title{position:static;padding:0 44px;text-align:center}.media-frame:not(.hide-menu) .media-frame-content,.media-frame:not(.hide-menu) .media-frame-router,.media-frame:not(.hide-menu) .media-frame-toolbar{left:0}.media-frame:not(.hide-menu) .media-frame-router{top:80px}.media-frame:not(.hide-menu) .media-frame-content{top:114px}.media-frame.hide-router .media-frame-content{top:80px}.media-frame:not(.hide-menu) .media-frame-menu{position:static;width:0}.media-frame:not(.hide-menu) .media-menu{display:none;width:auto;max-width:80%;overflow:auto;z-index:2000;top:75px;left:50%;transform:translateX(-50%);right:auto;bottom:auto;padding:5px 0;border:1px solid #ccc}.media-frame:not(.hide-menu) .media-menu.visible{display:block}.media-frame:not(.hide-menu) .media-menu>a{padding:12px 16px;font-size:16px}.media-frame:not(.hide-menu) .media-menu .separator{margin:5px 10px}.media-frame-menu-heading{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;width:1px;word-wrap:normal!important}.wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle{display:inline-flex;align-items:center;position:absolute;left:50%;transform:translateX(-50%);margin:-6px 0 0;padding:0 2px 0 12px;font-size:.875rem;font-weight:600;text-decoration:none;background:0 0;height:.1%;min-height:40px}.wp-core-ui .button.media-frame-menu-toggle:active,.wp-core-ui .button.media-frame-menu-toggle:hover{background:0 0;transform:none}.wp-core-ui .button.media-frame-menu-toggle:focus{outline:1px solid transparent}.media-sidebar{width:230px}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{right:262px}.attachment-details .setting,.media-sidebar .setting{margin:6px 0}.attachment-details .setting .name,.attachment-details .setting input,.attachment-details .setting textarea,.compat-item label span,.media-sidebar .setting .name,.media-sidebar .setting input,.media-sidebar .setting textarea{float:none;display:inline-block}.attachment-details .setting span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting span{float:none}.media-sidebar .setting .select-label-inline{display:inline}.attachment-details .setting .name,.compat-item label span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting .name{text-align:inherit;min-height:16px;margin:0;padding:8px 2px 2px}.attachment-details .setting .value,.media-sidebar .setting .value{float:none;width:auto}.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting select,.attachment-details .setting textarea,.attachment-details .setting+.description,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting select,.media-sidebar .setting textarea{float:none;width:98%;max-width:none;height:auto}.media-frame .media-toolbar input[type=search]{line-height:2.25}.attachment-details .setting select.columns,.media-sidebar .setting select.columns{width:auto}.media-frame .search,.media-frame input,.media-frame textarea{padding:3px 6px}.wp-admin .media-frame select{min-height:40px;font-size:16px;line-height:1.625;padding:5px 24px 5px 8px}.image-details .column-image{width:30%;left:70%}.image-details .column-settings{width:70%}.image-details .media-modal{left:30px;right:30px}.image-details .embed-media-settings .setting,.image-details .embed-media-settings .setting-group{margin:20px}.image-details .embed-media-settings .setting .name,.image-details .embed-media-settings .setting span{float:none;text-align:left;width:100%;margin-bottom:4px;margin-left:0}.media-modal .legend-inline{position:static;transform:none;margin-left:0;margin-bottom:6px}.image-details .embed-media-settings .setting-group .setting{margin-bottom:0}.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{width:100%;margin-left:0}.image-details .embed-media-settings .setting.has-description{margin-bottom:5px}.image-details .description{width:auto;margin:0 20px}.image-details .embed-media-settings .custom-size{margin-left:20px}.collection-settings .setting input[type=checkbox]{float:none;margin-top:0}.media-selection{min-width:120px}.media-selection:after{background:0 0}.media-selection .attachments{display:none}.media-modal .attachments-browser .media-toolbar .search{max-width:100%;height:auto;float:right}.media-modal .attachments-browser .media-toolbar .attachment-filters{height:auto}.media-frame input[type=email],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=text],.media-frame input[type=url],.media-frame select,.media-frame textarea{font-size:16px}.media-frame .media-toolbar input[type=search]{line-height:2.3755}.media-modal .media-toolbar .spinner{margin-bottom:10px}}@media screen and (max-width:782px){.attachments-browser .media-toolbar{height:82px}.attachments-browser .attachments,.attachments-browser .uploader-inline{top:82px}.media-frame-toolbar .media-toolbar{bottom:-54px}}@media screen and (max-width:782px){.mode-grid .attachments-browser .media-toolbar-primary{display:block}}@media only screen and (max-width:640px),screen and (max-height:400px){.image-details .media-modal,.media-modal{position:fixed;top:0;left:0;right:0;bottom:0}.media-modal-backdrop{position:fixed}.media-sidebar{z-index:1900;max-width:70%;bottom:120%;box-sizing:border-box;padding-bottom:0}.media-sidebar.visible{bottom:0}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{right:0}.image-details .media-frame-title{display:block;top:0;font-size:14px}.image-details .column-image,.image-details .column-settings{width:100%;position:relative;left:0}.image-details .column-settings{padding:4px 0}.media-frame-content .media-toolbar .instructions{display:none}}@media only screen and (min-width:901px) and (max-height:400px){.media-frame:not(.hide-menu) .media-menu,.media-menu{top:0;padding-top:44px}}@media only screen and (max-width:480px){.wp-core-ui.wp-customizer .media-button{margin-top:13px}}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-core-ui .media-modal-icon{background-image:url(../images/uploader-icons-2x.png);background-size:134px 15px}.media-frame .spinner{background-image:url(../images/spinner-2x.gif)}}.media-frame-content[data-columns="1"] .attachment{width:100%}.media-frame-content[data-columns="2"] .attachment{width:50%}.media-frame-content[data-columns="3"] .attachment{width:33.33%}.media-frame-content[data-columns="4"] .attachment{width:25%}.media-frame-content[data-columns="5"] .attachment{width:20%}.media-frame-content[data-columns="6"] .attachment{width:16.66%}.media-frame-content[data-columns="7"] .attachment{width:14.28%}.media-frame-content[data-columns="8"] .attachment{width:12.5%}.media-frame-content[data-columns="9"] .attachment{width:11.11%}.media-frame-content[data-columns="10"] .attachment{width:10%}.media-frame-content[data-columns="11"] .attachment{width:9.09%}.media-frame-content[data-columns="12"] .attachment{width:8.33%} \ No newline at end of file + */.ui-draggable-handle,.ui-sortable-handle{touch-action:none}.media-modal{position:fixed;top:30px;left:30px;right:30px;bottom:30px;z-index:160000}.wp-customizer .media-modal{z-index:560000}.media-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:159900}.wp-customizer .media-modal-backdrop{z-index:559900}.media-modal-close{position:absolute;top:0;right:0;width:50px;height:50px;margin:0;padding:0;border:1px solid transparent;background:0 0;color:#666;z-index:1000;cursor:pointer;outline:0;transition:color .1s ease-in-out,background .1s ease-in-out}.media-modal-close:active,.media-modal-close:hover{color:#00a0d2}.media-modal-close:focus{color:#00a0d2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8);outline:2px solid transparent}.media-modal-close span.media-modal-icon{background-image:none}.media-modal-close .media-modal-icon:before{content:"\f158";font:normal 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.media-modal-content{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;min-height:300px;box-shadow:0 5px 15px rgba(0,0,0,.7);background:#fcfcfc;-webkit-font-smoothing:subpixel-antialiased}.media-modal-content .media-frame select.attachment-filters{margin-top:32px;margin-right:2%;width:42%;width:calc(48% - 12px)}.media-modal-content .attachments-browser .search{width:100%}.wp-core-ui .media-modal-icon{background-image:url(../images/uploader-icons.png);background-repeat:no-repeat}.media-toolbar{position:absolute;top:0;left:0;right:0;z-index:100;height:60px;padding:0 16px;border:0 solid #ddd;overflow:hidden}.media-frame-toolbar .media-toolbar{top:auto;bottom:-47px;height:auto;overflow:visible;border-top:1px solid #ddd}.media-toolbar-primary{float:right;height:100%;position:relative}.media-toolbar-secondary{float:left;height:100%}.media-toolbar-primary>.media-button,.media-toolbar-primary>.media-button-group{margin-left:10px;float:left;margin-top:15px}.media-toolbar-secondary>.media-button,.media-toolbar-secondary>.media-button-group{margin-right:10px;margin-top:15px}.media-sidebar{position:absolute;top:0;right:0;bottom:0;width:267px;padding:0 16px;z-index:75;background:#f3f3f3;border-left:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch}.media-sidebar::after{content:"";display:flex;clear:both;height:24px}.hide-toolbar .media-sidebar{bottom:0}.image-details h2,.media-sidebar h2{position:relative;font-weight:600;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}.attachment-details .setting,.media-sidebar .setting{display:block;float:left;width:100%;margin:0 0 10px}.media-sidebar .collection-settings .setting{margin:1px 0}.attachment-details .setting.has-description,.media-sidebar .setting.has-description{margin-bottom:5px}.media-sidebar .setting .link-to-custom{margin:3px 2px 0}.attachment-details .setting .name,.attachment-details .setting span,.media-sidebar .setting .name,.media-sidebar .setting .value,.media-sidebar .setting span{min-width:30%;margin-right:4%;font-size:12px;text-align:right;word-wrap:break-word}.media-sidebar .setting .name{max-width:80px}.media-sidebar .setting .value{text-align:left}.media-sidebar .setting select{max-width:65%}.attachment-details .field input[type=checkbox],.attachment-details .field input[type=radio],.attachment-details .setting input[type=checkbox],.attachment-details .setting input[type=radio],.media-sidebar .field input[type=checkbox],.media-sidebar .field input[type=radio],.media-sidebar .setting input[type=checkbox],.media-sidebar .setting input[type=radio]{float:none;margin:8px 3px 0;padding:0}.attachment-details .setting .name,.attachment-details .setting .value,.attachment-details .setting span,.compat-item label span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting .name,.media-sidebar .setting .value,.media-sidebar .setting span{float:left;min-height:22px;padding-top:8px;line-height:1.33333333;font-weight:400;color:#666}.media-sidebar .checkbox-label-inline{font-size:12px}.compat-item label span{text-align:right}.attachment-details .setting .value,.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting textarea,.attachment-details .setting+.description,.media-sidebar .setting .value,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting textarea{box-sizing:border-box;margin:1px;width:65%;float:right}.attachment-details .setting .value,.attachment-details .setting+.description,.media-sidebar .setting .value{margin:0 1px;text-align:left}.attachment-details .setting+.description{clear:both;font-size:12px;font-style:normal;margin-bottom:10px}.attachment-details .setting textarea,.compat-item .field textarea,.media-sidebar .setting textarea{height:62px;resize:vertical}.compat-item{float:left;width:100%;overflow:hidden}.compat-item table{width:100%;table-layout:fixed;border-spacing:0;border:0}.compat-item tr{padding:2px 0;display:block;overflow:hidden}.compat-item .field,.compat-item .label{display:block;margin:0;padding:0}.compat-item .label{min-width:30%;margin-right:4%;float:left;text-align:right}.compat-item .label span{display:block;width:100%}.compat-item .field{float:right;width:65%;margin:1px}.compat-item .field input[type=email],.compat-item .field input[type=number],.compat-item .field input[type=password],.compat-item .field input[type=search],.compat-item .field input[type=tel],.compat-item .field input[type=text],.compat-item .field input[type=url],.compat-item .field textarea{width:100%;margin:0;box-sizing:border-box}.sidebar-for-errors .attachment-details,.sidebar-for-errors .compat-item,.sidebar-for-errors .media-sidebar .media-progress-bar,.sidebar-for-errors .upload-details{display:none!important}.media-menu{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:50px 0 10px;background:#f3f3f3;border-right-width:1px;border-right-style:solid;border-right-color:#ccc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.media-menu .media-menu-item{display:block;box-sizing:border-box;width:100%;position:relative;border:0;margin:0;padding:8px 20px;font-size:14px;line-height:1.28571428;background:0 0;color:#0073aa;text-align:left;text-decoration:none;cursor:pointer}.media-menu .media-menu-item:hover{background:rgba(0,0,0,.04)}.media-menu .media-menu-item:active{color:#0073aa;outline:0}.media-menu .active,.media-menu .active:hover{color:#23282d;font-weight:600}.media-menu .media-menu-item:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-menu .separator{height:0;margin:12px 20px;padding:0;border-top:1px solid #ddd}.media-router{position:relative;padding:0 6px;margin:0;clear:both}.media-router .media-menu-item{position:relative;float:left;border:0;margin:0;padding:8px 10px 9px;height:18px;line-height:1.28571428;font-size:14px;text-decoration:none;background:0 0;cursor:pointer;transition:none}.media-router .media-menu-item:last-child{border-right:0}.media-router .media-menu-item:active,.media-router .media-menu-item:hover{color:#0073aa}.media-router .active,.media-router .active:hover{color:#23282d}.media-router .media-menu-item:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-router .active,.media-router .media-menu-item.active:last-child{margin:-1px -1px 0;background:#fff;border:1px solid #ddd;border-bottom:none}.media-router .active:after{display:none}.media-frame{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}.media-frame-menu{position:absolute;top:0;left:0;bottom:0;width:200px;z-index:150}.media-frame-title{position:absolute;top:0;left:200px;right:0;height:50px;z-index:200}.media-frame-router{position:absolute;top:50px;left:200px;right:0;height:36px;z-index:200}.media-frame-content{position:absolute;top:84px;left:200px;right:0;bottom:61px;height:auto;width:auto;margin:0;overflow:auto;background:#fff;border-top:1px solid #ddd}.media-frame-toolbar{position:absolute;left:200px;right:0;z-index:100;bottom:60px;height:auto}.media-frame.hide-menu .media-frame-content,.media-frame.hide-menu .media-frame-router,.media-frame.hide-menu .media-frame-title,.media-frame.hide-menu .media-frame-toolbar{left:0}.media-frame.hide-toolbar .media-frame-content{bottom:0}.media-frame.hide-router .media-frame-content{top:50px}.media-frame.hide-menu .media-frame-menu,.media-frame.hide-menu .media-frame-menu-heading,.media-frame.hide-router .media-frame-router,.media-frame.hide-toolbar .media-frame-toolbar{display:none}.media-frame-title h1{padding:0 16px;font-size:22px;line-height:2.27272727;margin:0}.media-attachments-filter-heading,.media-frame-menu-heading{position:absolute;left:20px;top:22px;margin:0;font-size:13px;line-height:1;z-index:151}.media-attachments-filter-heading{top:10px;left:16px}.mode-grid .media-attachments-filter-heading{top:0;left:-9999px}.mode-grid .media-frame-actions-heading{display:none}.wp-core-ui .button.media-frame-menu-toggle{display:none}.media-frame-title .suggested-dimensions{font-size:14px;float:right;margin-right:20px}.media-frame-content .crop-content{height:100%}.wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon{margin-right:300px}.media-frame-content .crop-content .crop-image{display:block;margin:auto;max-width:100%;max-height:100%}.media-frame-content .crop-content .upload-errors{position:absolute;width:300px;top:50%;left:50%;margin-left:-150px;margin-right:-150px;z-index:600000}.media-frame .media-iframe{overflow:hidden}.media-frame .media-iframe,.media-frame .media-iframe iframe{height:100%;width:100%;border:0}.media-frame select.attachment-filters{margin-top:11px;margin-right:2%;max-width:42%;max-width:calc(48% - 12px)}.media-frame select.attachment-filters:last-of-type{margin-right:0;width:auto;max-width:100%}.media-frame .search{margin:32px 0 0;padding:4px;font-size:13px;color:#444;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;-webkit-appearance:none}.media-toolbar-primary .search{max-width:100%}.media-frame .media-search-input-label{position:absolute;left:0;top:10px;margin:0;line-height:1}.wp-core-ui .attachments{margin:0;-webkit-overflow-scrolling:touch}.wp-core-ui .attachment{position:relative;float:left;padding:8px;margin:0;color:#444;cursor:pointer;list-style:none;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:25%;box-sizing:border-box}.wp-core-ui .attachment.details:focus,.wp-core-ui .attachment:focus,.wp-core-ui .selected.attachment:focus{box-shadow:inset 0 0 2px 3px #fff,inset 0 0 0 7px #5b9dd9;outline:2px solid transparent;outline-offset:-6px}.wp-core-ui .selected.attachment{box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #ccc}.wp-core-ui .attachment.details{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #0073aa}.wp-core-ui .attachment-preview{position:relative;box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);background:#eee;cursor:pointer}.wp-core-ui .attachment-preview:before{content:"";display:block;padding-top:100%}.wp-core-ui .attachment .icon{margin:0 auto;overflow:hidden}.wp-core-ui .attachment .thumbnail{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;opacity:1;transition:opacity .1s}.wp-core-ui .attachment .portrait img{max-width:100%}.wp-core-ui .attachment .landscape img{max-height:100%}.wp-core-ui .attachment .thumbnail:after{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.wp-core-ui .attachment .thumbnail img{top:0;left:0}.wp-core-ui .attachment .thumbnail .centered{position:absolute;top:0;left:0;width:100%;height:100%;transform:translate(50%,50%)}.wp-core-ui .attachment .thumbnail .centered img{transform:translate(-50%,-50%)}.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon{transform:translate(-50%,-70%)}.wp-core-ui .attachment .filename{position:absolute;left:0;right:0;bottom:0;overflow:hidden;max-height:100%;word-wrap:break-word;text-align:center;font-weight:600;background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.wp-core-ui .attachment .filename div{padding:5px 10px}.wp-core-ui .attachment .thumbnail img{position:absolute}.wp-core-ui .attachment-close{display:block;position:absolute;top:5px;right:5px;height:22px;width:22px;padding:0;background-color:#fff;background-position:-96px 4px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.3);transition:none}.wp-core-ui .attachment-close:focus,.wp-core-ui .attachment-close:hover{background-position:-36px 4px}.wp-core-ui .attachment .check{display:none;height:24px;width:24px;padding:0;border:0;position:absolute;z-index:10;top:0;right:0;outline:0;background:#eee;cursor:pointer;box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15)}.wp-core-ui .attachment .check .media-modal-icon{display:block;background-position:-1px 0;height:15px;width:15px;margin:5px}.wp-core-ui .attachment .check:hover .media-modal-icon{background-position:-40px 0}.wp-core-ui .attachment.selected .check{display:block}.wp-core-ui .attachment.details .check,.wp-core-ui .attachment.selected .check:focus,.wp-core-ui .media-frame.mode-grid .attachment.selected .check{background-color:#0073aa;box-shadow:0 0 0 1px #fff,0 0 0 2px #0073aa}.wp-core-ui .attachment.selected .check:focus{outline:2px solid transparent}.wp-core-ui .attachment.details .check .media-modal-icon,.wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon{background-position:-21px 0}.wp-core-ui .attachment.details .check:hover .media-modal-icon,.wp-core-ui .attachment.selected .check:focus .media-modal-icon,.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon{background-position:-60px 0}.wp-core-ui .media-frame .attachment .describe{position:relative;display:block;width:100%;margin:0;padding:0 8px;font-size:12px;border-radius:0}.media-frame .attachments-browser{position:relative;width:100%;height:100%;overflow:hidden}.attachments-browser .media-toolbar{right:300px;height:72px;background:#fff}.attachments-browser.hide-sidebar .media-toolbar{right:0}.attachments-browser .media-toolbar-primary>.media-button,.attachments-browser .media-toolbar-primary>.media-button-group,.attachments-browser .media-toolbar-secondary>.media-button,.attachments-browser .media-toolbar-secondary>.media-button-group{margin:10px 0}.attachments-browser .attachments{padding:2px 8px 8px}.attachments-browser .attachments,.attachments-browser .uploader-inline{position:absolute;top:72px;left:0;right:300px;bottom:0;overflow:auto;outline:0}.attachments-browser .uploader-inline.hidden{display:none}.attachments-browser .media-toolbar-primary{max-width:33%}.mode-grid .attachments-browser .media-toolbar-primary{display:flex;align-items:center}.mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary{display:none}.attachments-browser .media-toolbar-secondary{max-width:66%}.uploader-inline .close{background-color:transparent;border:0;cursor:pointer;height:48px;outline:0;padding:0;position:absolute;right:2px;text-align:center;top:2px;width:48px;z-index:1}.uploader-inline .close:before{font:normal 30px/1 dashicons!important;color:#555d66;display:inline-block;content:"\f335";font-weight:300;margin-top:1px}.uploader-inline .close:focus{outline:1px solid #5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.attachments-browser.hide-sidebar .attachments,.attachments-browser.hide-sidebar .uploader-inline{right:0;margin-right:0}.attachments-browser .instructions{display:inline-block;margin-top:16px;line-height:1.38461538;font-size:13px;color:#666}.attachments-browser .no-media{padding:2em 0 0 2em}.media-progress-bar{position:relative;height:10px;width:70%;margin:10px auto;border-radius:10px;background:#ddd;background:rgba(0,0,0,.1)}.media-progress-bar div{height:10px;min-width:20px;width:0;background:#0073aa;border-radius:10px;transition:width .3s}.media-uploader-status .media-progress-bar{display:none;width:100%}.uploading.media-uploader-status .media-progress-bar{display:block}.attachment-preview .media-progress-bar{position:absolute;top:50%;left:15%;width:70%;margin:-5px 0 0 0}.media-uploader-status{position:relative;margin:0 auto;padding-bottom:10px;max-width:400px}.uploader-inline .media-uploader-status h2{display:none}.media-uploader-status .upload-details{display:none;font-size:12px;color:#666}.uploading.media-uploader-status .upload-details{display:block}.media-uploader-status .upload-detail-separator{padding:0 4px}.media-uploader-status .upload-count{color:#444}.media-uploader-status .upload-dismiss-errors,.media-uploader-status .upload-errors{display:none}.errors.media-uploader-status .upload-dismiss-errors,.errors.media-uploader-status .upload-errors{display:block}.media-uploader-status .upload-dismiss-errors{position:absolute;top:-3px;right:-5px;padding:5px;border-radius:50%;transition:none;text-decoration:none}.uploader-inline .media-uploader-status .upload-dismiss-errors{top:2px;right:2px}.media-uploader-status .upload-dismiss-errors::before{content:"\f153";display:block;font:normal 16px/1 dashicons;color:#72777c}.uploader-inline .errors.media-uploader-status .upload-dismiss-errors::before{color:#606a73}.errors.media-uploader-status .upload-dismiss-errors:focus::before,.errors.media-uploader-status .upload-dismiss-errors:hover::before{color:#c00}.upload-errors .upload-error{padding:12px;margin-bottom:12px;background:#fff;border-left:4px solid #dc3232;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.uploader-inline .upload-errors .upload-error{padding:12px 30px;background-color:#fbeaea;box-shadow:none}.upload-errors .upload-error-filename{font-weight:600}.upload-errors .upload-error-message{display:block;padding-top:8px;word-wrap:break-word}.uploader-window,.wp-editor-wrap .uploader-editor{top:0;left:0;right:0;bottom:0;text-align:center;display:none}.uploader-window{position:fixed;z-index:250000;opacity:0;transition:opacity 250ms}.wp-editor-wrap .uploader-editor{position:absolute;z-index:99998;background:rgba(150,150,150,.9)}.uploader-window,.wp-editor-wrap .uploader-editor.droppable{background:rgba(0,86,132,.9)}.uploader-window-content,.wp-editor-wrap .uploader-editor-content{position:absolute;top:10px;left:10px;right:10px;bottom:10px;border:1px dashed #fff}.uploader-window .uploader-editor-title,.uploader-window h1,.wp-editor-wrap .uploader-editor .uploader-editor-title{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);font-size:3em;line-height:1.3;font-weight:600;color:#fff;margin:0;padding:0 10px}.wp-editor-wrap .uploader-editor .uploader-editor-title{display:none}.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title{display:block}.uploader-window .media-progress-bar{margin-top:20px;max-width:300px;background:0 0;border-color:#fff;display:none}.uploader-window .media-progress-bar div{background:#fff}.uploading .uploader-window .media-progress-bar{display:block}.media-frame .uploader-inline{margin-bottom:20px;padding:0;text-align:center}.uploader-inline-content{position:absolute;top:30%;left:0;right:0}.uploader-inline-content .upload-ui{margin:2em 0}.uploader-inline-content .post-upload-ui{margin-bottom:2em}.uploader-inline .has-upload-message .upload-ui{margin:0 0 4em}.uploader-inline h2{font-size:20px;line-height:1.4;font-weight:400;margin:0}.uploader-inline .has-upload-message .upload-instructions{font-size:14px;color:#444;font-weight:400}.uploader-inline .drop-instructions{display:none}.supports-drag-drop .uploader-inline .drop-instructions{display:block}.uploader-inline p{margin:.5em 0}.uploader-inline .media-progress-bar{display:none}.uploading.uploader-inline .media-progress-bar{display:block}.uploader-inline .browser{display:inline-block!important}.media-selection{position:absolute;top:0;left:0;right:350px;height:60px;padding:0 0 0 16px;overflow:hidden;white-space:nowrap}.media-selection .selection-info{display:inline-block;font-size:12px;height:60px;margin-right:10px;vertical-align:top}.media-selection.editing,.media-selection.empty{display:none}.media-selection.one .edit-selection{display:none}.media-selection .count{display:block;padding-top:12px;font-size:14px;line-height:1.42857142;font-weight:600}.media-selection .button-link{float:left;padding:1px 8px;margin:1px 8px 1px -8px;line-height:1.4;border-right:1px solid #ddd;color:#0073aa;text-decoration:none}.media-selection .button-link:focus,.media-selection .button-link:hover{color:#00a0d2}.media-selection .button-link:last-child{border-right:0;margin-right:0}.selection-info .clear-selection{color:#bc0b0b}.selection-info .clear-selection:focus,.selection-info .clear-selection:hover{color:#dc3232}.media-selection .selection-view{display:inline-block;vertical-align:top}.media-selection .attachments{display:inline-block;height:48px;margin:6px;padding:0;overflow:hidden;vertical-align:top}.media-selection .attachment{width:40px;padding:0;margin:4px}.media-selection .attachment .thumbnail{top:0;right:0;bottom:0;left:0}.media-selection .attachment .icon{width:50%}.media-selection .attachment-preview{box-shadow:none;background:0 0}.wp-core-ui .media-selection .attachment.details:focus,.wp-core-ui .media-selection .attachment:focus,.wp-core-ui .media-selection .selected.attachment:focus{box-shadow:0 0 0 1px #fff,0 0 2px 3px #5b9dd9;outline:2px solid transparent}.wp-core-ui .media-selection .selected.attachment{box-shadow:none}.wp-core-ui .media-selection .attachment.details{box-shadow:0 0 0 1px #fff,0 0 0 3px #0073aa}.media-selection:after{content:"";display:block;position:absolute;top:0;right:0;bottom:0;width:25px;background-image:linear-gradient(to left,rgba(255,255,255,1),rgba(255,255,255,0))}.media-selection .attachment .filename{display:none}.media-frame .spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;float:right;display:inline-block;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:0;vertical-align:middle}.media-frame.mode-grid .spinner{margin:0;float:none;vertical-align:middle}.media-modal .media-toolbar .spinner{float:none;vertical-align:bottom;margin:0 0 5px 5px}.media-frame .instructions+.spinner.is-active{vertical-align:middle}.media-frame .spinner.is-active{visibility:visible}.attachment-details{position:relative;overflow:auto}.attachment-details .settings-save-status{float:right;text-transform:none;font-weight:400}.attachment-details .settings-save-status .spinner{float:none;margin-left:5px}.attachment-details .settings-save-status .saved{display:none}.attachment-details.save-waiting .settings-save-status .spinner{visibility:visible}.attachment-details.save-complete .settings-save-status .saved{display:inline-block}.attachment-info{overflow:hidden;min-height:60px;margin-bottom:16px;line-height:1.5;color:#666;border-bottom:1px solid #ddd;padding-bottom:11px}.attachment-info .filename{font-weight:600;color:#444;word-wrap:break-word}.attachment-info .thumbnail{position:relative;float:left;max-width:120px;max-height:120px;margin-top:5px;margin-right:10px;margin-bottom:5px}.uploading .attachment-info .thumbnail{width:120px;height:80px;box-shadow:inset 0 0 15px rgba(0,0,0,.1)}.uploading .attachment-info .media-progress-bar{margin-top:35px}.attachment-info .thumbnail-image:after{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);overflow:hidden}.attachment-info .thumbnail img{display:block;max-width:120px;max-height:120px;margin:0 auto}.attachment-info .details{float:left;font-size:12px;max-width:100%}.attachment-info .delete-attachment,.attachment-info .edit-attachment,.attachment-info .trash-attachment,.attachment-info .untrash-attachment{display:block;text-decoration:none;white-space:nowrap}.attachment-details.needs-refresh .attachment-info .edit-attachment{display:none}.attachment-info .edit-attachment{display:block}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment{display:inline;padding:0;color:#bc0b0b}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover{color:#dc3232}.attachment-display-settings{width:100%;float:left;overflow:hidden}.collection-settings{overflow:hidden}.collection-settings .setting input[type=checkbox]{float:left;margin-right:8px}.collection-settings .setting .name,.collection-settings .setting span{min-width:inherit}.media-modal .imgedit-wrap{position:static}.media-modal .imgedit-wrap .imgedit-panel-content{padding:16px 16px 0 16px;position:absolute;top:0;right:282px;bottom:0;left:0;overflow:auto}.media-modal .imgedit-wrap .imgedit-submit{margin-bottom:16px}.media-modal .imgedit-wrap .imgedit-settings{background:#f3f3f3;border-left:1px solid #ddd;padding:20px 16px 0;position:absolute;top:0;right:0;bottom:0;width:250px;overflow:auto}.media-modal .imgedit-wrap .imgedit-save-target{margin:8px 0 24px}.media-modal .imgedit-group{background:0 0;border:none;border-bottom:1px solid #ddd;box-shadow:none;margin:0;margin-bottom:16px;padding:0;padding-bottom:16px;position:relative}.media-modal .imgedit-group:last-of-type{border:none;margin:0;padding:0}.media-modal .imgedit-group-top{margin:0}.media-modal .imgedit-group-top h2,.media-modal .imgedit-group-top h2 .button-link{display:inline-block;text-transform:uppercase;font-size:12px;color:#666;margin:0;margin-top:3px}.media-modal .imgedit-group-top h2 .button-link,.media-modal .imgedit-group-top h2 a{text-decoration:none;color:#666}.wp-core-ui.media-modal .image-editor .imgedit-help-toggle,.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active,.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover{border:1px solid transparent;margin:0;padding:0;background:0 0;color:#0074a2;font-size:20px;line-height:1;cursor:pointer;box-sizing:content-box;box-shadow:none}.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus{color:#0074a2;border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8);outline:2px solid transparent}.wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle{margin-top:-3px}.wp-core-ui.media-modal .image-editor h3 .imgedit-help-toggle{margin-top:-2px}.media-modal .imgedit-help-toggled span.dashicons:before{content:"\f142"}.media-modal .imgedit-thumbnail-preview{margin:10px 8px 0 0}.imgedit-thumbnail-preview-caption{display:block}.media-modal .imgedit-wrap div.updated{margin:0;margin-bottom:16px}.embed-url{display:block;position:relative;padding:16px;margin:0;z-index:250;background:#fff;font-size:18px}.media-frame .embed-url input{font-size:18px;line-height:1.22222222;padding:12px 40px 12px 14px;width:100%;min-width:200px;box-shadow:inset 2px 2px 4px -2px rgba(0,0,0,.1)}.media-frame .embed-url input::-ms-clear{display:none}.media-frame .embed-url .spinner{position:absolute;top:32px;right:26px}.media-frame .embed-loading .embed-url .spinner{visibility:visible}.embed-link-settings,.embed-media-settings{position:absolute;top:70px;left:0;right:0;bottom:0;padding:0 16px;overflow:auto}.embed-link-settings::after,.embed-media-settings::after{content:"";display:flex;clear:both;height:24px}.media-embed .embed-link-settings{overflow:visible}.embed-preview embed,.embed-preview iframe,.embed-preview img,.mejs-container video{max-width:100%;vertical-align:middle}.embed-preview a{display:inline-block}.embed-preview img{display:block;height:auto}.mejs-container:focus{outline:1px solid #5b9dd9;box-shadow:0 0 2px 1px rgba(30,140,190,.8)}.image-details .media-modal{left:140px;right:140px}.image-details .media-frame-content,.image-details .media-frame-router,.image-details .media-frame-title{left:0}.image-details .embed-media-settings{top:0;overflow:visible;padding:0}.image-details .embed-media-settings::after{content:none}.image-details .embed-media-settings,.image-details .embed-media-settings div{box-sizing:border-box}.image-details .column-settings{background:#f3f3f3;border-right:1px solid #ddd;min-height:100%;width:55%;position:absolute;top:0;left:0}.image-details .column-settings h2{margin:20px;padding-top:20px;border-top:1px solid #ddd;color:#23282d}.image-details .column-image{width:45%;position:absolute;left:55%;top:0}.image-details .image{margin:20px}.image-details .image img{max-width:100%;max-height:500px}.image-details .advanced-toggle{padding:0;color:#666;text-transform:uppercase;text-decoration:none}.image-details .advanced-toggle:active,.image-details .advanced-toggle:hover{color:#666}.image-details .advanced-toggle:after{font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f140";display:inline-block;margin-top:-2px}.image-details .advanced-visible .advanced-toggle:after{content:"\f142"}.image-details .custom-size .custom-size-setting,.image-details .custom-size label{display:block;float:left}.image-details .custom-size .custom-size-setting label{float:none}.image-details .custom-size input{width:5em}.image-details .custom-size .sep{float:left;margin:26px 6px 0 6px}.image-details .custom-size .description{margin-left:0}.media-embed .thumbnail{max-width:100%;max-height:200px;position:relative;float:left}.media-embed .thumbnail img{max-height:200px;display:block}.media-embed .thumbnail:after{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden}.media-embed .setting,.media-embed .setting-group{width:100%;margin:10px 0;float:left;display:block;clear:both}.media-embed .setting-group .setting:not(.checkbox-setting){margin:0}.media-embed .setting.has-description{margin-bottom:5px}.media-embed .description{clear:both;font-style:normal}.media-embed .content-track+.description{line-height:1.4;max-width:none!important}.media-embed .remove-track{margin-bottom:10px}.image-details .embed-media-settings .setting,.image-details .embed-media-settings .setting-group{float:none;width:auto}.image-details .actions{margin:10px 0}.image-details .hidden{display:none}.media-embed .setting input[type=text],.media-embed .setting textarea,.media-embed fieldset{display:block;width:100%;max-width:400px}.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{max-width:inherit;width:70%}.image-details .description,.image-details .embed-media-settings .custom-size,.image-details .embed-media-settings .link-target,.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting-group{margin-left:27%;width:70%}.image-details .description{font-style:normal;margin-top:0}.image-details .embed-media-settings .link-target{margin-top:16px}.audio-details .checkbox-label,.image-details .checkbox-label,.video-details .checkbox-label{vertical-align:baseline}.media-embed .setting input.hidden,.media-embed .setting textarea.hidden{display:none}.media-embed .setting .name,.media-embed .setting span,.media-embed .setting-group .name{display:inline-block;font-size:13px;line-height:1.84615384;color:#666}.media-embed .setting span{display:block;width:200px}.image-details .embed-media-settings .setting .name,.image-details .embed-media-settings .setting span{float:left;width:25%;text-align:right;margin:8px 1% 0 1%;line-height:1.1}.image-details .embed-media-settings .setting .button-group,.media-frame .setting-group .button-group{width:auto}.media-embed-sidebar{position:absolute;top:0;left:440px}.advanced-section,.link-settings{margin-top:10px}.media-frame .setting .button-group{display:flex;margin:0!important;max-width:none!important}.rtl .media-frame,.rtl .media-frame .search,.rtl .media-frame input[type=email],.rtl .media-frame input[type=number],.rtl .media-frame input[type=password],.rtl .media-frame input[type=search],.rtl .media-frame input[type=tel],.rtl .media-frame input[type=text],.rtl .media-frame input[type=url],.rtl .media-frame select,.rtl .media-frame textarea,.rtl .media-modal{font-family:Tahoma,sans-serif}:lang(he-il) .rtl .media-frame,:lang(he-il) .rtl .media-frame .search,:lang(he-il) .rtl .media-frame input[type=email],:lang(he-il) .rtl .media-frame input[type=number],:lang(he-il) .rtl .media-frame input[type=password],:lang(he-il) .rtl .media-frame input[type=search],:lang(he-il) .rtl .media-frame input[type=text],:lang(he-il) .rtl .media-frame input[type=url],:lang(he-il) .rtl .media-frame select,:lang(he-il) .rtl .media-frame textarea,:lang(he-il) .rtl .media-modal{font-family:Arial,sans-serif}@media only screen and (max-width:900px){.media-modal .media-frame-title{height:40px}.media-modal .media-frame-title h1{line-height:2.22222222;font-size:18px}.media-modal-close{width:42px;height:42px}.media-frame .media-frame-title{position:static;padding:0 44px;text-align:center}.media-frame:not(.hide-menu) .media-frame-content,.media-frame:not(.hide-menu) .media-frame-router,.media-frame:not(.hide-menu) .media-frame-toolbar{left:0}.media-frame:not(.hide-menu) .media-frame-router{top:80px}.media-frame:not(.hide-menu) .media-frame-content{top:114px}.media-frame.hide-router .media-frame-content{top:80px}.media-frame:not(.hide-menu) .media-frame-menu{position:static;width:0}.media-frame:not(.hide-menu) .media-menu{display:none;width:auto;max-width:80%;overflow:auto;z-index:2000;top:75px;left:50%;transform:translateX(-50%);right:auto;bottom:auto;padding:5px 0;border:1px solid #ccc}.media-frame:not(.hide-menu) .media-menu.visible{display:block}.media-frame:not(.hide-menu) .media-menu>a{padding:12px 16px;font-size:16px}.media-frame:not(.hide-menu) .media-menu .separator{margin:5px 10px}.media-frame-menu-heading{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;width:1px;word-wrap:normal!important}.wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle{display:inline-flex;align-items:center;position:absolute;left:50%;transform:translateX(-50%);margin:-6px 0 0;padding:0 2px 0 12px;font-size:.875rem;font-weight:600;text-decoration:none;background:0 0;height:.1%;min-height:40px}.wp-core-ui .button.media-frame-menu-toggle:active,.wp-core-ui .button.media-frame-menu-toggle:hover{background:0 0;transform:none}.wp-core-ui .button.media-frame-menu-toggle:focus{outline:1px solid transparent}.media-sidebar{width:230px}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{right:262px}.attachment-details .setting,.media-sidebar .setting{margin:6px 0}.attachment-details .setting .name,.attachment-details .setting input,.attachment-details .setting textarea,.compat-item label span,.media-sidebar .setting .name,.media-sidebar .setting input,.media-sidebar .setting textarea{float:none;display:inline-block}.attachment-details .setting span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting span{float:none}.media-sidebar .setting .select-label-inline{display:inline}.attachment-details .setting .name,.compat-item label span,.media-sidebar .checkbox-label-inline,.media-sidebar .setting .name{text-align:inherit;min-height:16px;margin:0;padding:8px 2px 2px}.attachment-details .setting .value,.media-sidebar .setting .value{float:none;width:auto}.attachment-details .setting input[type=email],.attachment-details .setting input[type=number],.attachment-details .setting input[type=password],.attachment-details .setting input[type=search],.attachment-details .setting input[type=tel],.attachment-details .setting input[type=text],.attachment-details .setting input[type=url],.attachment-details .setting select,.attachment-details .setting textarea,.attachment-details .setting+.description,.media-sidebar .setting input[type=email],.media-sidebar .setting input[type=number],.media-sidebar .setting input[type=password],.media-sidebar .setting input[type=search],.media-sidebar .setting input[type=tel],.media-sidebar .setting input[type=text],.media-sidebar .setting input[type=url],.media-sidebar .setting select,.media-sidebar .setting textarea{float:none;width:98%;max-width:none;height:auto}.media-frame .media-toolbar input[type=search]{line-height:2.25}.attachment-details .setting select.columns,.media-sidebar .setting select.columns{width:auto}.media-frame .search,.media-frame input,.media-frame textarea{padding:3px 6px}.wp-admin .media-frame select{min-height:40px;font-size:16px;line-height:1.625;padding:5px 24px 5px 8px}.image-details .column-image{width:30%;left:70%}.image-details .column-settings{width:70%}.image-details .media-modal{left:30px;right:30px}.image-details .embed-media-settings .setting,.image-details .embed-media-settings .setting-group{margin:20px}.image-details .embed-media-settings .setting .name,.image-details .embed-media-settings .setting span{float:none;text-align:left;width:100%;margin-bottom:4px;margin-left:0}.media-modal .legend-inline{position:static;transform:none;margin-left:0;margin-bottom:6px}.image-details .embed-media-settings .setting-group .setting{margin-bottom:0}.image-details .embed-media-settings .setting input.link-to-custom,.image-details .embed-media-settings .setting input[type=text],.image-details .embed-media-settings .setting textarea{width:100%;margin-left:0}.image-details .embed-media-settings .setting.has-description{margin-bottom:5px}.image-details .description{width:auto;margin:0 20px}.image-details .embed-media-settings .custom-size{margin-left:20px}.collection-settings .setting input[type=checkbox]{float:none;margin-top:0}.media-selection{min-width:120px}.media-selection:after{background:0 0}.media-selection .attachments{display:none}.media-modal .attachments-browser .media-toolbar .search{max-width:100%;height:auto;float:right}.media-modal .attachments-browser .media-toolbar .attachment-filters{height:auto}.media-frame input[type=email],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=text],.media-frame input[type=url],.media-frame select,.media-frame textarea{font-size:16px}.media-frame .media-toolbar input[type=search]{line-height:2.3755}.media-modal .media-toolbar .spinner{margin-bottom:10px}}@media screen and (max-width:782px){.attachments-browser .media-toolbar{height:82px}.attachments-browser .attachments,.attachments-browser .uploader-inline{top:82px}.media-frame-toolbar .media-toolbar{bottom:-54px}}@media screen and (max-width:782px){.mode-grid .attachments-browser .media-toolbar-primary{display:block}}@media only screen and (max-width:640px),screen and (max-height:400px){.image-details .media-modal,.media-modal{position:fixed;top:0;left:0;right:0;bottom:0}.media-modal-backdrop{position:fixed}.media-sidebar{z-index:1900;max-width:70%;bottom:120%;box-sizing:border-box;padding-bottom:0}.media-sidebar.visible{bottom:0}.attachments-browser .attachments,.attachments-browser .media-toolbar,.attachments-browser .uploader-inline{right:0}.image-details .media-frame-title{display:block;top:0;font-size:14px}.image-details .column-image,.image-details .column-settings{width:100%;position:relative;left:0}.image-details .column-settings{padding:4px 0}.media-frame-content .media-toolbar .instructions{display:none}}@media only screen and (min-width:901px) and (max-height:400px){.media-frame:not(.hide-menu) .media-menu,.media-menu{top:0;padding-top:44px}}@media only screen and (max-width:480px){.wp-core-ui.wp-customizer .media-button{margin-top:13px}}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-core-ui .media-modal-icon{background-image:url(../images/uploader-icons-2x.png);background-size:134px 15px}.media-frame .spinner{background-image:url(../images/spinner-2x.gif)}}.media-frame-content[data-columns="1"] .attachment{width:100%}.media-frame-content[data-columns="2"] .attachment{width:50%}.media-frame-content[data-columns="3"] .attachment{width:33.33%}.media-frame-content[data-columns="4"] .attachment{width:25%}.media-frame-content[data-columns="5"] .attachment{width:20%}.media-frame-content[data-columns="6"] .attachment{width:16.66%}.media-frame-content[data-columns="7"] .attachment{width:14.28%}.media-frame-content[data-columns="8"] .attachment{width:12.5%}.media-frame-content[data-columns="9"] .attachment{width:11.11%}.media-frame-content[data-columns="10"] .attachment{width:10%}.media-frame-content[data-columns="11"] .attachment{width:9.09%}.media-frame-content[data-columns="12"] .attachment{width:8.33%} \ No newline at end of file diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 7804c8efcb..0bbbba6158 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -3950,3 +3950,18 @@ function wp_ajax_press_this_add_category() { wp_send_json_error( array( 'errorMessage' => __( 'The Press This plugin is required.' ) ) ); } } + +/** + * Return the user request object for the specified request ID. + * + * @since 4.9.6 + * @deprecated 5.4.0 Use wp_get_user_request() + * @see wp_get_user_request() + * + * @param int $request_id The ID of the user request. + * @return WP_User_Request|false + */ +function wp_get_user_request_data( $request_id ) { + _deprecated_function( __FUNCTION__, '5.4.0', 'wp_get_user_request()' ); + return wp_get_user_request( $request_id ); +} \ No newline at end of file diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 5dca162788..16cb1bd0c4 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -2005,6 +2005,24 @@ function remove_accents( $string ) { function sanitize_file_name( $filename ) { $filename_raw = $filename; $special_chars = array( '?', '[', ']', '/', '\\', '=', '<', '>', ':', ';', ',', "'", '"', '&', '$', '#', '*', '(', ')', '|', '~', '`', '!', '{', '}', '%', '+', chr( 0 ) ); + + // Check for support for utf8 in the installed PCRE library once and store the result in a static. + static $utf8_pcre = null; + if ( ! isset( $utf8_pcre ) ) { + // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + $utf8_pcre = @preg_match( '/^./u', 'a' ); + } + + if ( ! seems_utf8( $filename ) ) { + $_ext = pathinfo( $filename, PATHINFO_EXTENSION ); + $_name = pathinfo( $filename, PATHINFO_FILENAME ); + $filename = sanitize_title_with_dashes( $_name ) . '.' . $_ext; + } + + if ( $utf8_pcre ) { + $filename = preg_replace( "#\x{00a0}#siu", ' ', $filename ); + } + /** * Filters the list of characters to remove from a filename. * @@ -2014,7 +2032,6 @@ function sanitize_file_name( $filename ) { * @param string $filename_raw The original filename to be sanitized. */ $special_chars = apply_filters( 'sanitize_file_name_chars', $special_chars, $filename_raw ); - $filename = preg_replace( "#\x{00a0}#siu", ' ', $filename ); $filename = str_replace( $special_chars, '', $filename ); $filename = str_replace( array( '%20', '+' ), '-', $filename ); $filename = preg_replace( '/[\r\n\t -]+/', '-', $filename ); diff --git a/wp-includes/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js index 6d17dd778a..3dc565be54 100644 --- a/wp-includes/js/dist/block-editor.js +++ b/wp-includes/js/dist/block-editor.js @@ -14577,7 +14577,7 @@ function useMultiSelection(ref) { startContainer = _selection$getRangeAt.startContainer, endContainer = _selection$getRangeAt.endContainer; - if (!blockNode.contains(startContainer) || !blockNode.contains(endContainer)) { + if (!!blockNode && (!blockNode.contains(startContainer) || !blockNode.contains(endContainer))) { _selection.removeAllRanges(); } } @@ -14683,15 +14683,6 @@ function useMultiSelection(ref) { startClientId.current = clientId; anchorElement.current = document.activeElement; - - if (anchorElement.current) { - var blockInspector = document.querySelector('.block-editor-block-inspector'); - - if (blockInspector && blockInspector.contains(anchorElement.current)) { - return; - } - } - startMultiSelect(); // `onSelectionStart` is called after `mousedown` and `mouseleave` // (from a block). The selection ends when `mouseup` happens anywhere // in the window. @@ -25355,20 +25346,23 @@ function MultiSelectScrollIntoView() { var selector = function selector(select) { var _select = select('core/block-editor'), getBlockSelectionEnd = _select.getBlockSelectionEnd, + hasMultiSelection = _select.hasMultiSelection, isMultiSelecting = _select.isMultiSelecting; return { selectionEnd: getBlockSelectionEnd(), + isMultiSelection: hasMultiSelection(), isMultiSelecting: isMultiSelecting() }; }; var _useSelect = Object(external_this_wp_data_["useSelect"])(selector, []), + isMultiSelection = _useSelect.isMultiSelection, selectionEnd = _useSelect.selectionEnd, isMultiSelecting = _useSelect.isMultiSelecting; Object(external_this_wp_element_["useEffect"])(function () { - if (!selectionEnd || isMultiSelecting) { + if (!selectionEnd || isMultiSelecting || !isMultiSelection) { return; } @@ -25388,7 +25382,7 @@ function MultiSelectScrollIntoView() { lib_default()(extentNode, scrollContainer, { onlyScrollIfNeeded: true }); - }, [selectionEnd, isMultiSelecting]); + }, [isMultiSelection, selectionEnd, isMultiSelecting]); return null; } @@ -25434,6 +25428,7 @@ function isKeyDownEligibleForStartTyping(event) { function ObserveTyping(_ref) { var children = _ref.children, setSafeTimeout = _ref.setTimeout; + var typingContainer = Object(external_this_wp_element_["useRef"])(); var lastMouseMove = Object(external_this_wp_element_["useRef"])(); var isTyping = Object(external_this_wp_data_["useSelect"])(function (select) { return select('core/block-editor').isTyping(); @@ -25525,9 +25520,9 @@ function ObserveTyping(_ref) { var type = event.type, target = event.target; // Abort early if already typing, or key press is incurred outside a // text field (e.g. arrow-ing through toolbar buttons). - // Ignore typing in a block toolbar + // Ignore typing if outside the current DOM container - if (isTyping || !Object(external_this_wp_dom_["isTextField"])(target) || target.closest('.block-editor-block-toolbar')) { + if (isTyping || !Object(external_this_wp_dom_["isTextField"])(target) || !typingContainer.current.contains(target)) { return; } // Special-case keydown because certain keys do not emit a keypress // event. Conversely avoid keydown as the canonical event since there @@ -25564,6 +25559,7 @@ function ObserveTyping(_ref) { return Object(external_this_wp_element_["createElement"])("div", { + ref: typingContainer, onFocus: stopTypingOnNonTextField, onKeyPress: startTypingInTextField, onKeyDown: Object(external_this_lodash_["over"])([startTypingInTextField, stopTypingOnEscapeKey]) diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index bd4679d14d..5a799dd0ec 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -4,7 +4,7 @@ this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(r){if(t[ Copyright (c) 2017 Jed Watson. 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",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(163);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i127?N+="x":N+=P[L];if(!N.match(b)){var R=B.slice(0,C),D=B.slice(C+1),M=P.match(p);M&&(R.push(M[1]),D.unshift(M[2])),D.length&&(O="/"+D.join(".")+O),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+F,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(C=0,T=u.length;C0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.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(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=_.slice(-1)[0],w=(n.host||e.host||_.length>1)&&("."===S||".."===S)||""===S,C=0,I=_.length;I>=0;I--)"."===(S=_[I])?_.splice(I,1):".."===S?(_.splice(I,1),C++):C&&(_.splice(I,1),C--);if(!k&&!y)for(;C--;C)_.unshift("..");!k||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),w&&"/"!==_.join("/").substr(-1)&&_.push("");var x,B=""===_[0]||_[0]&&"/"===_[0].charAt(0);E&&(n.hostname=n.host=B?"":_.length?_.shift():"",(x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.shift()));return(k=k||n.host&&_.length)&&!B&&_.unshift(""),_.length?n.pathname=_.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},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},118:function(e,t,n){"use strict";var r=n(119);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},119:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},12:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t0?!0===c?r.scrollTop(t,O.top+j.top):!1===c?r.scrollTop(t,O.top+k.top):j.top<0?r.scrollTop(t,O.top+j.top):r.scrollTop(t,O.top+k.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+j.top):r.scrollTop(t,O.top+k.top)),o&&(j.left<0||k.left>0?!0===a?r.scrollLeft(t,O.left+j.left):!1===a?r.scrollLeft(t,O.left+k.left):j.left<0?r.scrollLeft(t,O.left+j.left):r.scrollLeft(t,O.left+k.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+j.left):r.scrollLeft(t,O.left+k.left)))}},151:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(163);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i127?N+="x":N+=P[L];if(!N.match(b)){var R=B.slice(0,C),M=B.slice(C+1),D=P.match(p);D&&(R.push(D[1]),M.unshift(D[2])),M.length&&(O="/"+M.join(".")+O),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+F,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(C=0,T=u.length;C0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.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(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=_.slice(-1)[0],w=(n.host||e.host||_.length>1)&&("."===S||".."===S)||""===S,C=0,I=_.length;I>=0;I--)"."===(S=_[I])?_.splice(I,1):".."===S?(_.splice(I,1),C++):C&&(_.splice(I,1),C--);if(!k&&!y)for(;C--;C)_.unshift("..");!k||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),w&&"/"!==_.join("/").substr(-1)&&_.push("");var x,B=""===_[0]||_[0]&&"/"===_[0].charAt(0);E&&(n.hostname=n.host=B?"":_.length?_.shift():"",(x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.shift()));return(k=k||n.host&&_.length)&&!B&&_.unshift(""),_.length?n.pathname=_.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},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},118:function(e,t,n){"use strict";var r=n(119);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},119:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},12:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t0?!0===c?r.scrollTop(t,O.top+j.top):!1===c?r.scrollTop(t,O.top+k.top):j.top<0?r.scrollTop(t,O.top+j.top):r.scrollTop(t,O.top+k.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+j.top):r.scrollTop(t,O.top+k.top)),o&&(j.left<0||k.left>0?!0===a?r.scrollLeft(t,O.left+j.left):!1===a?r.scrollLeft(t,O.left+k.left):j.left<0?r.scrollLeft(t,O.left+j.left):r.scrollLeft(t,O.left+k.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+j.left):r.scrollLeft(t,O.left+k.left)))}},151:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;te.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var f=t[c-1];return c>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[c-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var c=this;function a(e){return i?(setTimeout((function(){i(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,s=e.length,u=1,d=l+s,f=[{newPos:-1,components:[]}],b=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&b+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],b=f[n+1],p=(b?b.newPos:0)-n;d&&(f[n-1]=void 0);var h=d&&d.newPos+1=l&&p+1>=s)return a(r(c,i.components,t,e,c.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var h=p();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,c=e.newPos,a=c-r,l=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,d=0,f=0,b=void 0,p=void 0;function h(e,t){for(var n=0;n0?o[0]:" ",c=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,c)&&++s>u)return!1;t++}}return!0}for(var m=0;m0?C[0]:" ",x=C.length>0?C.substr(1):C,B=E.linedelimiters[w];if(" "===I)S++;else if("-"===I)r.splice(S,1),i.splice(S,1);else if("+"===I)r.splice(S,0,x),i.splice(S,0,B),S++;else if("\\"===I){var T=E.lines[w-1]?E.lines[w-1][0]:null;"+"===T?b=!0:"-"===T&&(p=!0)}}}if(b)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var P=0;P1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function c(){var e={};for(o.push(e);i0?u(a.lines.slice(-l.context)):[],f-=p.length,b-=p.length)}(c=p).push.apply(c,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(f)if(r.length<=2*l.context&&e=s.length-2&&r.length<=l.context){var k=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||k?k&&y||p.push("\\ No newline at end of file"):p.splice(j.oldLines,0,"\\ No newline at end of file")}d.push(j),f=0,b=0,p=[]}h+=r.length,m+=r.length}},v=0;ve.length)return!1;for(var n=0;n"):r.removed&&t.push(""),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),r.added?t.push(""):r.removed&&t.push("")}var o;return t.join("")}}])},e.exports=r()},263:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var f=n?i(d):d,b={},p=!0,h={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(p=!1)},delete:function(e){delete h.parent.node[h.key],e&&(p=!1)},remove:function(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(p=!1)},keys:null,before:function(e){b.before=e},after:function(e){b.after=e},pre:function(e){b.pre=e},post:function(e){b.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return h;function m(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=c(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,i=$().clientId,c=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,c=t.getSettings,a=r(i);return{gradient:a[n],customGradient:a[o],gradients:c().gradients}}),[i,n,o]),a=c.gradients,l=c.gradient,u=c.customGradient,f=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,b=Object(d.useCallback)((function(e){var t,r,c=function(e,t){var n=Q(e,t);return n&&n.slug}(a,e);c?f(i,(r={},Object(s.a)(r,n,c),Object(s.a)(r,o,void 0),r)):f(i,(t={},Object(s.a)(t,n,void 0),Object(s.a)(t,o,e),t))}),[a,i,f]);return{gradientClass:J(l),gradientValue:l?function(e,t){var n=Object(p.find)(e,["slug",t]);return n&&n.gradient}(a,l):u,setGradient:b}}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ne=Object(U.__)("(Color: %s)"),re=Object(U.__)("(Gradient: %s)"),oe=["colors","disableCustomColors","gradients","disableCustomGradients"];function ie(e){var t,n,r=e.colors,o=e.gradients,i=e.label,c=e.currentTab,a=e.colorValue,l=e.gradientValue;if("color"===c){if(a){var s=k(r,t=a),u=s&&s.name;n=Object(U.sprintf)(ne,u||t)}}else if("gradient"===c&&l){var f=Q(o,t=l),b=f&&f.name;n=Object(U.sprintf)(re,b||t)}return Object(d.createElement)(d.Fragment,null,i,!!t&&Object(d.createElement)(z.ColorIndicator,{colorValue:t,"aria-label":n}))}function ce(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,i=e.className,c=e.label,a=e.onColorChange,l=e.onGradientChange,s=e.colorValue,f=e.gradientValue,h=a&&(!Object(p.isEmpty)(t)||!r),m=l&&(!Object(p.isEmpty)(n)||!o),g=Object(d.useState)(f?"gradient":!!h&&"color"),v=Object(M.a)(g,2),O=v[0],j=v[1];return h||m?Object(d.createElement)(z.BaseControl,{className:b()("block-editor-color-gradient-control",i)},Object(d.createElement)("fieldset",null,Object(d.createElement)("legend",null,Object(d.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(d.createElement)(z.BaseControl.VisualLabel,null,Object(d.createElement)(ie,{currentTab:O,label:c,colorValue:s,gradientValue:f})))),h&&m&&Object(d.createElement)(z.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(d.createElement)(z.Button,{isSmall:!0,isPrimary:"color"===O,isSecondary:"color"!==O,onClick:function(){return j("color")}},Object(U.__)("Solid")),Object(d.createElement)(z.Button,{isSmall:!0,isPrimary:"gradient"===O,isSecondary:"gradient"!==O,onClick:function(){return j("gradient")}},Object(U.__)("Gradient"))),("color"===O||!m)&&Object(d.createElement)(z.ColorPalette,Object(u.a)({value:s,onChange:m?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),("gradient"===O||!h)&&Object(d.createElement)(z.__experimentalGradientPicker,Object(u.a)({value:f,onChange:h?function(e){l(e),a()}:l},{gradients:n,disableCustomGradients:o})))):null}function ae(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,oe)}));return Object(d.createElement)(ce,function(e){for(var t=1;t=24?"large":"small"})?null:Object(d.createElement)(ke,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},_e=Object(z.createSlotFill)("InspectorControls"),Ee=_e.Fill,Se=_e.Slot,we=X(Ee);we.Slot=Se;var Ce=we;function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(U.__)("Color settings")},n=t.panelTitle,r=void 0===n?Object(U.__)("Color settings"):n,o=t.colorPanelProps,i=t.contrastCheckers,c=t.panelChildren,a=t.colorDetector,l=(a=void 0===a?{}:a).targetRef,u=a.backgroundColorTargetRef,f=void 0===u?l:u,h=a.textColorTargetRef,m=void 0===h?l:h,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],O=$().clientId,j=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(O),settingsColors:r&&!0!==r?r:Ne}}),[O]),k=j.attributes,y=j.settingsColors,_=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,E=Object(d.useCallback)((function(e){return _(O,e)}),[_,O]),S=Object(d.useMemo)((function(){return H()((function(e,t,n,r,o,i){return function(c){var a=c.children,l=c.className,u=void 0===l?"":l,f=c.style,h=void 0===f?{}:f;return(d.Children.map(a,(function(c){var a,l={};return r?l=Object(s.a)({},t,o):i&&(l=Object(s.a)({},t,i)),Object(d.cloneElement)(c,{className:b()(u,c.props.className,(a={},Object(s.a)(a,"has-".concat(Object(p.kebabCase)(r),"-").concat(Object(p.kebabCase)(t)),r),Object(s.a)(a,n||"has-".concat(Object(p.kebabCase)(e)),r||i),a)),style:xe({},l,{},h,{},c.props.style||{})})})))}}),{maxSize:e.length})}),[e.length]),w=Object(d.useMemo)((function(){return H()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));E(Object(s.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),E(Object(s.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[E,e.length]),C=Object(d.useState)(),I=Object(M.a)(C,2),x=I[0],B=I[1],T=Object(d.useState)(),P=Object(M.a)(T,2),N=P[0],L=P[1];return Object(d.useEffect)((function(){if(i){var e=!1,t=!1,n=!0,r=!1,o=void 0;try{for(var c,a=Object(p.castArray)(i)[Symbol.iterator]();!(n=(c=a.next()).done);n=!0){var l=c.value,s=l.backgroundColor,u=l.textColor;if(e||(e=!0===s),t||(t=!0===u),e&&t)break}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}if(t&&L(Te(m.current).color),e){for(var d=f.current,b=Te(d).backgroundColor;"rgba(0, 0, 0, 0)"===b&&d.parentNode&&d.parentNode.nodeType===Pe.ELEMENT_NODE;)d=d.parentNode,b=Te(d).backgroundColor;B(b)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(k[t.name]," | ").concat(k[Object(p.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(D.a)(v))),Object(d.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=xe({},n,{color:k[n.name]}),o=r.name,i=r.property,c=void 0===i?o:i,a=r.className,l=r.panelLabel,s=void 0===l?n.label||Le[o]||Object(p.startCase)(o):l,u=r.componentName,d=void 0===u?Object(p.startCase)(o).replace(/\s/g,""):u,f=r.color,b=void 0===f?n.color:f,h=r.colors,m=void 0===h?y:h,g=k[Object(p.camelCase)("custom ".concat(o))],v=g?void 0:m.find((function(e){return e.slug===b}));return e[d]=S(o,c,a,b,v&&v.color,g),e[d].displayName=d,e[d].color=g||v&&v.color,e[d].slug=b,e[d].setColor=w(o,m),t[d]={value:v?v.color:k[Object(p.camelCase)("custom ".concat(o))],onChange:e[d].setColor,label:s,colors:m},m||delete t[d].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:i,detectedBackgroundColor:x,detectedColor:N,panelChildren:c};return xe({},n,{ColorPanel:Object(d.createElement)(Re,a),InspectorControlsColorPanel:Object(d.createElement)(De,a)})}),[k,E,N,x].concat(Object(D.a)(v)))}var Fe=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function Ve(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var He=Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(z.FontSizePicker);function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:1,o=Object(D.a)(e);return o.splice(t,r),Tt(o,e.slice(t,t+r),n)}function Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=Object(s.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,At(o,r))})),n}function Rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(s.a)({},n.clientId,t),Rt(n.innerBlocks,n.clientId))}),{})}function Dt(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(D.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(F.a)(o,["innerBlocks"]);r.push.apply(r,Object(D.a)(i)),n[c.clientId]=t(c)}return n}function Mt(e){return Dt(e,(function(e){return Object(p.omit)(e,"attributes")}))}function Ft(e){return Dt(e,(function(e){return e.attributes}))}function Vt(e,t){return e===t?Lt({},e):t}function Ht(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(p.isEqual)(Object(p.keys)(n),Object(p.keys)(r)));var n,r}var Ut=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var zt=Object(p.flow)(g.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Lt({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Lt({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(p.mapValues)(Dt(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(Dt(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Lt({},r.cache,{},Ut(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Lt({},r.cache,{},Ut(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=Ut(o(n.replacedClientIds));r.cache=Lt({},Object(p.omit)(r.cache,n.replacedClientIds),{},Object(p.omit)(c,n.replacedClientIds),{},Ut(Object(p.keys)(Dt(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Lt({},Object(p.omit)(r.cache,n.removedClientIds),{},Ut(Object(p.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var a=[n.clientId];n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Lt({},r.cache,{},Ut(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Lt({},r.cache,{},Ut(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Lt({},r.cache,{},Ut(o(s)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.reduce)(t[n],(function(n,r){return[].concat(Object(D.a)(n),[r],Object(D.a)(e(t,r)))}),[])}(t.order);return Lt({},t,{byClientId:Lt({},Object(p.omit)(t.byClientId,r),{},Mt(n.blocks)),attributes:Lt({},Object(p.omit)(t.attributes,r),{},Ft(n.blocks)),order:Lt({},Object(p.omit)(t.order,r),{},At(n.blocks)),parents:Lt({},Object(p.omit)(t.parents,r),{},Rt(n.blocks)),cache:Lt({},Object(p.omit)(t.cache,r),{},Object(p.mapValues)(Dt(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var i=e(r,o),c="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===i&&!c){n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var a=Object(p.get)(r,["isPersistentChange"],!0);return r.isPersistentChange===a?r:Lt({},i,{isPersistentChange:a})}return i=Lt({},i,{isPersistentChange:c?!n:!Ht(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,i}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({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 Mt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Lt({},e,{},Mt(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(p.omit)(t.updates,"attributes");return Object(p.isEmpty)(n)?e:Lt({},e,Object(s.a)({},t.clientId,Lt({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Lt({},Object(p.omit)(e,t.replacedClientIds),{},Mt(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}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 Ft(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Lt({},e,{},Ft(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Lt({},e,Object(s.a)({},t.clientId,Lt({},e[t.clientId],{},t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(p.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=Vt(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Lt({},e,Object(s.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Lt({},Object(p.omit)(e,t.replacedClientIds),{},Ft(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}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 At(t.blocks);case"RECEIVE_BLOCKS":return Lt({},e,{},Object(p.omit)(At(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=At(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Lt({},e,{},i,Object(s.a)({},r,Tt(o,i[r],a)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootClientId,d=void 0===u?"":u,f=t.toRootClientId,b=void 0===f?"":f,h=t.clientId,m=t.index,g=void 0===m?e[b].length:m;if(d===b){var v=e[b],O=v.indexOf(h);return Lt({},e,Object(s.a)({},b,Pt(e[b],O,g)))}return Lt({},e,(l={},Object(s.a)(l,d,Object(p.without)(e[d],h)),Object(s.a)(l,b,Tt(e[b],h,g)),l));case"MOVE_BLOCKS_UP":var j=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,_=Object(p.first)(j),E=e[y];if(!E.length||_===Object(p.first)(E))return e;var S=E.indexOf(_);return Lt({},e,Object(s.a)({},y,Pt(E,S,S-1,j.length)));case"MOVE_BLOCKS_DOWN":var w=t.clientIds,C=t.rootClientId,I=void 0===C?"":C,x=Object(p.first)(w),B=Object(p.last)(w),T=e[I];if(!T.length||B===Object(p.last)(T))return e;var P=T.indexOf(x);return Lt({},e,Object(s.a)({},I,Pt(T,P,P+1,w.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var L=At(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Lt({},e,{},Object(p.omit)(L,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===N[0]?[].concat(Object(D.a)(e),Object(D.a)(L[""])):(-1===N.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(D.a)(t.removedClientIds)))}))}])(e)}return e},parents: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 Rt(t.blocks);case"RECEIVE_BLOCKS":return Lt({},e,{},Rt(t.blocks));case"INSERT_BLOCKS":return Lt({},e,{},Rt(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Lt({},e,Object(s.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Lt({},Object(p.omit)(e,t.replacedClientIds),{},Rt(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e}});function Gt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.clientId?e:{clientId:r.clientId}:{}}return e}var Kt=Object(g.combineReducers)({blocks:zt,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},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":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},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return Gt(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return Gt(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type?e:void 0},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 Lt({},e,Object(s.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(p.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(p.isEqual)(e[n],t.settings)?e:Lt({},e,Object(s.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(p.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 Lt({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Lt({},e,{},t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xt,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 r=n.name,o={name:n.name};return Object(i.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Lt({},e,{insertUsage:Lt({},e.insertUsage,Object(s.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(s.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(s.a)({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}}}),Wt=n(89),qt=n.n(Wt),$t=n(261),Yt=n.n($t),Xt=n(34),Zt=n(23),Jt=n.n(Zt);function Qt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function yn(e){var t;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Qt("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,kn(t,-1);case 6:case"end":return n.stop()}}),on)}function _n(e){var t;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Qt("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,kn(t);case 6:case"end":return n.stop()}}),cn)}function En(){return{type:"START_MULTI_SELECT"}}function Sn(){return{type:"STOP_MULTI_SELECT"}}function wn(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function Cn(){return{type:"CLEAR_SELECTED_BLOCK"}}function In(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function xn(e,t){var n=Object(p.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(p.get)(e,["attributes","className"]);if(Object(p.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,c=n[t];return nn({},e,{attributes:nn({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function Bn(e,t,n){var r,o,i;return Jt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=xn,c.t1=Object(p.castArray)(t),c.next=5,Qt("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,Qt("core/block-editor","getBlockRootClientId",Object(p.first)(e));case 9:r=c.sent,o=0;case 11:if(!(o1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,l.next=5,Qt("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,Qt("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,Qt("core/block-editor","canInsertBlockType",c,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),ln)}function Rn(e,t,n){return Dn([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function Dn(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return Jt.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=!(d.length>3&&void 0!==d[3])||d[3],f.t0=xn,f.t1=Object(p.castArray)(e),f.next=5,Qt("core/block-editor","getSettings");case 5:f.t2=f.sent,e=(0,f.t0)(f.t1,f.t2),o=[],i=!0,c=!1,a=void 0,f.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){f.next=22;break}return u=s.value,f.next=17,Qt("core/block-editor","canInsertBlockType",u.name,n);case 17:f.sent&&o.push(u);case 19:i=!0,f.next=13;break;case 22:f.next=28;break;case 24:f.prev=24,f.t3=f.catch(11),c=!0,a=f.t3;case 28:f.prev=28,f.prev=29,i||null==l.return||l.return();case 31:if(f.prev=31,!c){f.next=34;break}throw a;case 34:return f.finish(31);case 35:return f.finish(28);case 36:if(!o.length){f.next=38;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return f.stop()}}),sn,null,[[11,24,28,36],[29,,31,35]])}function Mn(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Fn(){return{type:"HIDE_INSERTION_POINT"}}function Vn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Hn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Un(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function zn(e){var t,n,r=arguments;return Jt.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(r.length>1&&void 0!==r[1])||r[1],e&&e.length){o.next=3;break}return o.abrupt("return");case 3:return e=Object(p.castArray)(e),o.next=6,Qt("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,Qt("core/block-editor","getTemplateLock",n);case 9:if(!o.sent){o.next=12;break}return o.abrupt("return");case 12:if(!t){o.next=15;break}return o.next=15,yn(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(hn(),"t0",18);case 18:case"end":return o.stop()}}),un)}function Gn(e,t){return zn([e],t)}function Kn(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function Wn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function qn(){return{type:"START_TYPING"}}function $n(){return{type:"STOP_TYPING"}}function Yn(){return{type:"START_DRAGGING_BLOCKS"}}function Xn(){return{type:"STOP_DRAGGING_BLOCKS"}}function Zn(){return{type:"ENTER_FORMATTED_TEXT"}}function Jn(){return{type:"EXIT_FORMATTED_TEXT"}}function Qn(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function er(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Rn(Object(i.createBlock)(r,e),n,t)}function tr(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function nr(e){return{type:"UPDATE_SETTINGS",settings:e}}function rr(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function or(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function ir(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function cr(){return{type:"MARK_AUTOMATIC_CHANGE"}}function ar(){var e,t=arguments;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(je.speak)(Object(U.__)("You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.")):Object(je.speak)(Object(U.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),dn)}function lr(e){var t,n,r,o,c;return Jt.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e||e.length){a.next=2;break}return a.abrupt("return");case 2:return a.next=4,Qt("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,Qt("core/block-editor","getBlockRootClientId",e[0]);case 7:if(n=a.sent,!Object(p.some)(t,(function(e){return!e}))){a.next=10;break}return a.abrupt("return");case 10:if(r=t.map((function(e){return e.name})),!Object(p.some)(r,(function(e){return!Object(i.hasBlockSupport)(e,"multiple",!0)}))){a.next=13;break}return a.abrupt("return");case 13:return a.next=15,Qt("core/block-editor","getBlockIndex",Object(p.last)(Object(p.castArray)(e)),n);case 15:return o=a.sent,c=t.map((function(e){return Object(i.cloneBlock)(e)})),a.next=19,Dn(c,o+1,n);case 19:if(!(c.length>1)){a.next=22;break}return a.next=22,wn(Object(p.first)(c).clientId,Object(p.last)(c).clientId);case 22:case"end":return a.stop()}}),fn)}function sr(e){var t,n;return Jt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Qt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Qt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Qt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,er({},t,n);case 15:case"end":return r.stop()}}),bn)}function ur(e){var t,n;return Jt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Qt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Qt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Qt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,er({},t,n+1);case 15:case"end":return r.stop()}}),pn)}var dr=n(40);function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function br(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]})),Hr=Object(dr.a)((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Vr(e,t,r);return Object(p.map)(Object(p.filter)(Object(p.map)(o,(function(t){return{id:t,name:jr(e,t)}})),{name:n}),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function Ur(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function zr(e,t){for(var n,r=Dr(e),o=[].concat(Object(D.a)(Vr(e,t)),[t]),i=[].concat(Object(D.a)(Vr(e,r)),[r]),c=Math.min(o.length,i.length),a=0;a2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Dr(e)),void 0===t&&(t=n<0?Zr(e):Jr(e)),!t)return null;var r=Fr(e,t);if(null===r)return null;var o=e.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function Kr(e,t){return Gr(e,t,-1)}function Wr(e,t){return Gr(e,t,1)}function qr(e){return e.initialPosition}var $r=Object(dr.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return Or;if(t.clientId===n.clientId)return[t.clientId];var r=Fr(e,t.clientId);if(null===r)return Or;var o=oo(e,r),i=o.indexOf(t.clientId),c=o.indexOf(n.clientId);return i>c?o.slice(c,i+1):o.slice(i,c+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function Yr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?Or:$r(e)}var Xr=Object(dr.a)((function(e){var t=Yr(e);return t.length?t.map((function(t){return _r(e,t)})):Or}),(function(e){return[].concat(Object(D.a)($r.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Zr(e){return Object(p.first)(Yr(e))||null}function Jr(e){return Object(p.last)(Yr(e))||null}function Qr(e,t){return Zr(e)===t}function eo(e,t){return-1!==Yr(e).indexOf(t)}var to=Object(dr.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=eo(e,n=Fr(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function no(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function ro(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function oo(e,t){return e.blocks.order[t||""]||Or}function io(e,t,n){return oo(e,n).indexOf(t)}function co(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function ao(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(oo(e,t),(function(t){return co(e,t)||eo(e,t)||n&&ao(e,t,n)}))}function lo(e,t){if(!t)return!1;var n=Yr(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(p.isBoolean)(e)?e:Object(p.isArray)(e)?!(!Object(p.includes)(e,"core/post-content")||null!==t)||Object(p.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;var c=Bo(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!ko(e,n);if(s)return!1;var u=xo(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=jr(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},_o=Object(dr.a)(yo,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function Eo(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var So=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&yo(e,t.name,n)},wo=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?pr:t>0?hr:"common"===e?mr:gr},r=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}},o=function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(p.some)(xr(e,Cr(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=Eo(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return{id:o,name:t.name,initialAttributes:{},title:t.title,description:t.description,icon:t.icon,category:t.category,keywords:t.keywords,variations:f,example:t.example,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=No(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=Eo(e,c)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=n("reusable",d,!1),b=r(s,d);return{id:c,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:vr,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return So(e,n,t)})).map(o),l=yo(e,"core/block",t)?Ro(e).map(c):[];return Object(p.orderBy)([].concat(Object(D.a)(a),Object(D.a)(l)),["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,Ro(e),Object(i.getBlockTypes)()]})),Co=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(p.some)(Object(i.getBlockTypes)(),(function(n){return So(e,n,t)}));if(n)return!0;var r=yo(e,"core/block",t)&&Ro(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Ro(e),Object(i.getBlockTypes)()]})),Io=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(p.filter)(Object(i.getBlockTypes)(),(function(n){return So(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function xo(e,t){return e.blockListSettings[t]}function Bo(e){return e.settings}function To(e){return e.blocks.isPersistentChange}var Po=Object(dr.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),No=Object(dr.a)((function(e,t){var n=Object(p.find)(Ro(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[Ro(e)]}));function Lo(e){return e.blocks.isIgnoredChange}function Ao(e){return e.lastBlockAttributesChange}function Ro(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],Or)}function Do(e){return e.isNavigationMode}function Mo(e){return!!e.automaticChangeStatus}function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vo(e){for(var t=1;t0&&Object(d.createElement)("div",{className:"block-editor-warning__actions"},d.Children.map(n,(function(e,t){return Object(d.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})))),o&&Object(d.createElement)(z.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(z.Button,{icon:Zo.a,label:Object(U.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(d.createElement)(z.MenuGroup,null,o.map((function(e,t){return Object(d.createElement)(z.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},Qo=n(262),ei=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(d.createElement)("div",{className:c},Object(d.createElement)("div",{className:"block-editor-block-compare__content"},Object(d.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(d.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(d.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(d.createElement)("div",{className:"block-editor-block-compare__action"},Object(d.createElement)(z.Button,{isSecondary:!0,tabIndex:"0",onClick:o},i)))},ti=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(w.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(E.a)(t,[{key:"getDifference",value:function(e,t){return Object(Qo.diffChars)(e,t).map((function(e,t){var n=b()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(d.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(p.castArray)(e),n=t.map((function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(o(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(d.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(d.createElement)(ei,{title:Object(U.__)("Current"),className:"block-editor-block-compare__current",action:n,actionText:Object(U.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(d.createElement)(ei,{title:Object(U.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(d.Component),ni=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(C.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(C.a)(n)),n}return Object(I.a)(t,e),Object(E.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,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(U.__)("Convert to Classic Block"),onClick:r},{title:Object(U.__)("Attempt Block Recovery"),onClick:o}];return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Jo,{actions:[Object(d.createElement)(z.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(U._x)("Resolve","imperative verb")),a&&Object(d.createElement)(z.Button,{key:"edit",onClick:t,isPrimary:!0},Object(U.__)("Convert to HTML"))],secondaryActions:s},Object(U.__)("This block contains unexpected or invalid content.")),l&&Object(d.createElement)(z.Modal,{title:Object(U.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(d.createElement)(ti,{block:c,onKeep:t,onConvert:n,convertor:ri,convertButtonText:Object(U.__)("Convert to Blocks")})))}}]),t}(d.Component),ri=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},oi=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(g.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,ri(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,o,c)))}}}))])(ni),ii=Object(d.createElement)(Jo,{className:"block-editor-block-list__block-crash-warning"},Object(U.__)("This block has encountered an error and cannot be previewed.")),ci=function(){return ii},ai=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(I.a)(t,e),Object(E.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}(d.Component),li=n(72),si=n.n(li);var ui=function(e){var t=e.clientId,n=Object(d.useState)(""),r=Object(M.a)(n,2),o=r[0],c=r[1],a=Object(g.useSelect)((function(e){return{block:e("core/block-editor").getBlock(t)}}),[t]).block,l=Object(g.useDispatch)("core/block-editor").updateBlock;return Object(d.useEffect)((function(){c(Object(i.getBlockContent)(a))}),[a]),Object(d.createElement)(si.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(i.getBlockType)(a.name),n=Object(i.getBlockAttributes)(e,o,a.attributes),r=o||Object(i.getSaveContent)(e,n),s=!o||Object(i.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})};function di(e){return document.getElementById("block-"+e)}function fi(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}function bi(e){e.nodeType!==e.ELEMENT_NODE&&(e=e.parentElement);var t=e.closest(".wp-block");if(t)return t.id.slice("block-".length)}var pi=function(e){return e+1},hi=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var mi=function(e,t,n,r,o){var i=Object(h.useReducedMotion)()||!r,c=Object(d.useReducer)(pi,0),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useReducer)(pi,0),f=Object(M.a)(u,2),b=f[0],p=f[1],m=Object(d.useState)({x:0,y:0,scrollTop:0}),g=Object(M.a)(m,2),v=g[0],O=g[1],j=e.current?hi(e.current):null,k=Object(d.useMemo)((function(){return!!n&&Object(Xo.getScrollContainer)(e.current)}),[n]);Object(d.useLayoutEffect)((function(){l&&p()}),[l]),Object(d.useLayoutEffect)((function(){if(i){if(n&&k){e.current.style.transform="none";var t=hi(e.current);k.scrollTop=k.scrollTop-j.top+t.top}}else{e.current.style.transform="none";var r=hi(e.current),o={x:j?j.left-r.left:0,y:j?j.top-r.top:0,scrollTop:j&&k?k.scrollTop-j.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),s(),O(o)}}),[o]);var y=Object(Yo.useSpring)({from:{x:v.x,y:v.y},to:{x:0,y:0},reset:l!==b,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&k&&!i&&e.y&&(k.scrollTop=v.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(Yo.interpolate)([y.x,y.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object(Yo.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}};function gi(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}function vi(e){var t=e("core/block-editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlockClientIds,i=t.hasMultiSelection,c=t.getBlockParents,a=t.getSelectedBlockClientId;return{isSelectionEnabled:n(),isMultiSelecting:r(),multiSelectedBlockClientIds:o(),hasMultiSelection:i(),getBlockParents:c,selectedBlockClientId:a()}}function Oi(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var ji=Object(d.forwardRef)((function(e,t){var n=e.selectedClientId,r=e.isReverse,o=e.containerRef,i=e.noCapture,c=e.hasMultiSelection,a=e.multiSelectionContainer,l=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),s=Object(g.useDispatch)("core/block-editor").setNavigationMode;return Object(d.createElement)("div",{ref:t,tabIndex:l?void 0:"0",onFocus:function(){if(i.current)i.current=null;else if(n){var e=di(n);if(r){var t=Xo.focus.tabbable.find(e);(Object(p.last)(t)||e).focus()}else e.focus()}else{if(c)return void a.current.focus();s(!0);var l=Xo.focus.tabbable.find(o.current);l.length&&(r?Object(p.last)(l).focus():Object(p.first)(l).focus())}},style:{position:"fixed"}})})),ki=window,yi=ki.getSelection,_i=ki.getComputedStyle,Ei=Object(p.overEvery)([Xo.isTextField,Xo.focus.tabbable.isTabbableIndex]);function Si(e,t,n){var r=Xo.focus.focusable.find(n);return t&&(r=Object(p.reverse)(r)),r=r.slice(r.indexOf(e)+1),Object(p.find)(r,(function t(n,r,o){if(!Xo.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Xo.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=o[r+c])&&n.contains(i);c++)if(t(i,r+c,o))return!1;return!0}))}function wi(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=t.isNavigationMode,f=t.isSelectionEnabled,b=t.getBlockSelectionStart,p=t.isMultiSelecting,h=n(),m=r(),g=o();return{selectedBlockClientId:h,selectionStartClientId:m,selectionBeforeEndClientId:i(g||h),selectionAfterEndClientId:c(g||h),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),blocks:u(),isNavigationMode:d(),isSelectionEnabled:f(),blockSelectionStart:b(),isMultiSelecting:p()}}function Ci(e){var t=e.children,n=Object(d.useRef)(),r=Object(d.useRef)(),o=Object(d.useRef)(),i=Object(d.useRef)(),c=Object(d.useRef)(),a=Object(d.useRef)(),l=Object(d.useRef)(),s=Object(g.useSelect)(wi,[]),u=s.selectedBlockClientId,f=s.selectionStartClientId,h=s.selectionBeforeEndClientId,m=s.selectionAfterEndClientId,v=s.selectedFirstClientId,O=s.selectedLastClientId,j=s.hasMultiSelection,k=s.blocks,y=s.isNavigationMode,_=s.isSelectionEnabled,E=s.blockSelectionStart,S=s.isMultiSelecting,w=Object(g.useDispatch)("core/block-editor"),C=w.multiSelect,I=w.selectBlock,x=w.clearSelectedBlock,B=w.setNavigationMode;Object(d.useEffect)((function(){j&&!S&&i.current.focus()}),[j,S]);var T=b()("block-editor-writing-flow",{"is-navigate-mode":y});return Object(d.createElement)("div",{className:T},Object(d.createElement)(ji,{ref:r,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:i}),Object(d.createElement)("div",{ref:n,onKeyDown:function(e){var t=e.keyCode,s=e.target,d=t===Ct.UP,b=t===Ct.DOWN,g=t===Ct.LEFT,_=t===Ct.RIGHT,E=t===Ct.TAB,S=t===Ct.ESCAPE,w=d||g,T=g||_,P=d||b,N=T||P,L=e.shiftKey,A=L||e.ctrlKey||e.altKey||e.metaKey,R=P?Xo.isVerticalEdge:Xo.isHorizontalEdge;if(y){var D=E&&L||d,M=E&&!L||b,F=D?h:m;if(M||D)if(F)e.preventDefault(),I(F);else if(E&&u){var V,H=di(u);(V=M?Xo.focus.tabbable.findNext(H):Xo.focus.tabbable.findPrevious(H))&&(e.preventDefault(),V.focus(),x())}}else{if(u)if(E){var U=di(u);if(L){if(s===U)return a.current=!0,void r.current.focus()}else{var z=Xo.focus.tabbable.find(U);if(s===(Object(p.last)(z)||U))return a.current=!0,void o.current.focus()}}else S&&B(!0);else if(j&&E&&s===i.current)return a.current=!0,void(L?r.current.focus():o.current.focus());if(P?l.current||(l.current=Object(Xo.computeCaretRect)()):l.current=null,!N)return Ct.isKeyboardEvent.primary(e)&&(c.current=Object(Xo.isEntirelySelected)(s)),void(Ct.isKeyboardEvent.primary(e,"a")&&((s.isContentEditable?c.current:Object(Xo.isEntirelySelected)(s))&&(C(Object(p.first)(k),Object(p.last)(k)),e.preventDefault()),c.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Ct.UP||t===Ct.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(s,t,A)){var G="rtl"===_i(s).direction?!w:w;if(L)(w&&h||!w&&m)&&(j||function(e,t){var r,o,i=Si(e,t,n.current);return!(i&&(r=e,o=i,r.closest(".block-editor-block-list__block")===o.closest(".block-editor-block-list__block")))}(s,w)&&R(s,w))&&(!function(e){var t=e?h:m;t&&C(f||u,t)}(w),e.preventDefault());else if(j)!function(e){var t=e?v:O;t&&I(t)}(w),e.preventDefault();else if(P&&Object(Xo.isVerticalEdge)(s,w)){var K=Si(s,w,n.current);K&&(Object(Xo.placeCaretAtVerticalEdge)(K,w,l.current),e.preventDefault())}else if(T&&yi().isCollapsed&&Object(Xo.isHorizontalEdge)(s,G)){var W=Si(s,G,n.current);Object(Xo.placeCaretAtHorizontalEdge)(W,G),e.preventDefault()}}}},onMouseDown:function(e){if(l.current=null,y&&u&&fi(di(u),e.target)&&B(!1),_&&0===e.button){var t=bi(e.target);t&&(e.shiftKey?E!==t&&(C(E,t),e.preventDefault()):j&&I(t))}}},Object(d.createElement)("div",{ref:i,tabIndex:j?"0":void 0,"aria-label":j?Object(U.__)("Multiple selected blocks"):void 0,style:{position:"fixed"}}),t),Object(d.createElement)(ji,{ref:o,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:i,isReverse:!0}),Object(d.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:function(){var e=Xo.focus.focusable.find(n.current),t=Object(p.findLast)(e,Ei);t&&Object(Xo.placeCaretAtHorizontalEdge)(t,!0)},className:"block-editor-writing-flow__click-redirect"}))}function Ii(e){var t=e.clientId;return Object(g.useSelect)((function(e){var n=e("core/block-editor"),r=n.getBlockIndex,o=n.getBlockInsertionPoint,i=n.isBlockInsertionPointVisible,c=(0,n.getBlockRootClientId)(t),a=r(t,c),l=o();return i()&&l.index===a&&l.rootClientId===c}),[t])?Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}):null}function xi(e){var t=e.className,n=e.isMultiSelecting,r=e.hasMultiSelection,o=e.selectedBlockClientId,i=e.children,c=e.containerRef,a=Object(d.useState)(!1),l=Object(M.a)(a,2),s=l[0],u=l[1],f=Object(d.useState)(!1),p=Object(M.a)(f,2),h=p[0],m=p[1],v=Object(d.useState)(null),O=Object(M.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(M.a)(y,2),E=_[0],S=_[1],w=Object(d.useRef)(),C=Object(g.useSelect)((function(e){return{multiSelectedBlockClientIds:(0,e("core/block-editor").getMultiSelectedBlockClientIds)()}})).multiSelectedBlockClientIds;var I=r?C.includes(E):E===o;return Object(d.createElement)(d.Fragment,null,!n&&(s||h)&&Object(d.createElement)(z.Popover,{noArrow:!0,animate:!1,anchorRef:j,position:"top right left",focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:"block-toolbar",__unstableFixedPosition:!1},Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point",style:{width:j.offsetWidth}},Object(d.createElement)(Ii,{clientId:E}),Object(d.createElement)("div",{ref:w,onFocus:function(){return m(!0)},onBlur:function(){return m(!1)},onClick:function(e){var t=e.clientX,n=e.clientY,r=e.target;if(r===w.current){var o=r.getBoundingClientRect(),i=nr}));if(o){var i=o.id.slice("block-".length);if(i){var c=o.getBoundingClientRect();e.clientX>c.right||e.clientXe}));if(!n)return;var r=n.id.slice("block-".length);if(!r)return;a(r)}}),[_]),_)return c}({element:j,rootClientId:n}),y=n?{}:{hasPopover:a.hasPopover};return Object(d.createElement)(O,Object(u.a)({ref:j,className:b()("block-editor-block-list__layout",t)},y),s.map((function(e,t){var o=m?h.includes(e):p===e;return Object(d.createElement)(g.AsyncModeProvider,{key:e,value:!o},Object(d.createElement)(Wi,{rootClientId:n,clientId:e,isDraggable:r,isMultiSelecting:f,animateOnChange:t,enableAnimation:v,hasSelectedUI:a.hasSelectedUI,className:e===k?"is-drop-target":void 0}))})),Object(d.createElement)(Xi,{rootClientId:n,renderAppender:o,className:null===k?"is-drop-target":void 0}),Object(d.createElement)(ec.Slot,null))},function(e){return Object(d.createElement)(g.AsyncModeProvider,{value:!1},Object(d.createElement)(rc,e))});function ic(e){var t=e.blocks,n=e.viewportWidth,r=e.padding,o=void 0===r?0:r,i=Object(d.useRef)(null),c=Object(d.useState)(!1),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(1),f=Object(M.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)({x:0,y:0}),g=Object(M.a)(m,2),v=g[0],O=v.x,j=v.y,k=g[1];if(Object(d.useLayoutEffect)((function(){var e=setTimeout((function(){var e=i.current;if(e){if(1===t.length){var r=function(e){var t=di(e);if(t)return t.firstChild||t}(t[0].clientId);if(!r)return;var c=e.getBoundingClientRect();c={width:c.width-2*o,height:c.height-2*o,left:c.left,top:c.top};var a=r.getBoundingClientRect(),l=c.width/a.width||1,u=-(a.left-c.left)*l+o,d=c.height>a.height*l?(c.height-a.height*l)/2+o:0;h(l),k({x:u,y:d}),r.style.marginTop="0"}else{var f=e.getBoundingClientRect();h(f.width/n)}s(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var y={transform:"scale(".concat(p,")"),visibility:l?"visible":"hidden",left:O,top:j,width:n};return Object(d.createElement)("div",{ref:i,className:b()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":l}),"aria-hidden":!0},Object(d.createElement)(z.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(d.createElement)(oc,null)))}var cc=Object(g.withSelect)((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,c=Object(d.useMemo)((function(){return Object(p.castArray)(t)}),[t]),a=Object(d.useReducer)((function(e){return e+1}),0),l=Object(M.a)(a,2),s=l[0],u=l[1];return Object(d.useLayoutEffect)(u,[t]),Object(d.createElement)($o,{value:c,settings:i},Object(d.createElement)(ic,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var ac=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(F.a)(e,["icon","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(d.createElement)("li",{className:"block-editor-block-types-list__list-item"},Object(d.createElement)(z.Button,Object(u.a)({className:b()("block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},c),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:a},Object(d.createElement)(yt,{icon:t,showColors:!0})),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};function lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sc(e){for(var t=1;t0})),Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=Object(F.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(d.createElement)("div",{className:"block-editor-inserter__child-blocks"},(t||n)&&Object(d.createElement)("div",{className:"block-editor-inserter__parent-block-header"},Object(d.createElement)(yt,{icon:t,showColors:!0}),n&&Object(d.createElement)("h2",null,n)),Object(d.createElement)(uc,Object(u.a)({items:r},o)))})),bc=Object(z.createSlotFill)("__experimentalInserterMenuExtension"),pc=bc.Fill,hc=bc.Slot;pc.Slot=hc;var mc=pc;function gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var vc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase(),Object(p.words)(e)},Oc=function(e,t){return Object(p.differenceWith)(e,vc(t),(function(e,t){return t.includes(e)}))},jc=function(e,t,n,r){var o=vc(r);return 0===o.length?e:e.filter((function(e){var r=e.name,i=e.title,c=e.category,a=e.keywords,l=void 0===a?[]:a,s=e.variations,u=void 0===s?[]:s,d=Oc(o,i);if(0===d.length)return!0;if(0===(d=Oc(d,l.join(" "))).length)return!0;d=Oc(d,Object(p.get)(Object(p.find)(t,{slug:c}),["title"]));var f=n[r.split("/")[0]];return f&&(d=Oc(d,f.title)),0===d.length||0===(d=Oc(d,u.map((function(e){return e.title})).join(" "))).length})).map((function(e){if(Object(p.isEmpty)(e.variations))return e;var t=e.variations.filter((function(e){return Object(p.intersectionWith)(o,vc(e.title),(function(e,t){return t.includes(e)})).length>0}));return Object(p.isEmpty)(t)?e:function(e){for(var t=1;t0&&i.push("reusable"),r.length>0&&(i=i.concat(Object.keys(t),Object.keys(n))),i}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.categories,r=t.collections,o=t.debouncedSpeak,i=t.items,c=t.rootChildBlocks,a=jc(i,n,r,e),l=Object(p.filter)(a,(function(e){var t=e.name;return Object(p.includes)(c,t)})),s=[];if(!e){var u=this.props.maxSuggestedItems||9;s=Object(p.filter)(i,(function(e){return e.utility>0})).slice(0,u)}var d=Object(p.filter)(a,{category:"reusable"}),f=function(e){return Object(p.findIndex)(n,(function(t){return t.slug===e.category}))},b=Object(p.flow)((function(e){return Object(p.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(p.sortBy)(e,f)}),(function(e){return Object(p.groupBy)(e,"category")}))(a),h=yc({},r);Object.keys(r).forEach((function(e){h[e]=a.filter((function(t){return Ec(t)===e})),0===h[e].length&&delete h[e]})),this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:s,reusableItems:d,itemsPerCategory:b,itemsPerCollection:h,openPanels:this.filterOpenPanels(e,b,h,a,d)});var m=Object.keys(b).reduce((function(e,t){return e+b[t].length}),0),g=Object(U.sprintf)(Object(U._n)("%d result found.","%d results found.",m),m);o(g)}},{key:"onKeyDown",value:function(e){Object(p.includes)([Ct.LEFT,Ct.DOWN,Ct.RIGHT,Ct.UP,Ct.BACKSPACE,Ct.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.categories,r=t.collections,o=t.instanceId,c=t.onSelect,a=t.rootClientId,l=t.showInserterHelpPanel,s=this.state,u=s.childItems,f=s.hoveredItem,h=s.itemsPerCategory,m=s.itemsPerCollection,g=s.openPanels,v=s.reusableItems,O=s.suggestedItems,j=s.filterValue,k=function(e){return-1!==g.indexOf(e)},y=!(Object(p.isEmpty)(O)&&Object(p.isEmpty)(v)&&Object(p.isEmpty)(h)&&Object(p.isEmpty)(m)),_=f?Object(i.getBlockType)(f.name):null,E=y&&l;return Object(d.createElement)("div",{className:b()("block-editor-inserter__menu",{"has-help-panel":E}),onKeyPress:_c,onKeyDown:this.onKeyDown},Object(d.createElement)("div",{className:"block-editor-inserter__main-area"},Object(d.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(o),className:"screen-reader-text"},Object(U.__)("Search for a block")),Object(d.createElement)("input",{id:"block-editor-inserter__search-".concat(o),type:"search",placeholder:Object(U.__)("Search for a block"),className:"block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(d.createElement)("div",{className:"block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(U.__)("Available block types")},Object(d.createElement)(fc,{rootClientId:a,items:u,onSelect:c,onHover:this.onHover}),!!O.length&&Object(d.createElement)(z.PanelBody,{title:Object(U._x)("Most used","blocks"),opened:k("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(d.createElement)(uc,{items:O,onSelect:c,onHover:this.onHover})),Object(p.map)(n,(function(t){var n=h[t.slug];return n&&n.length?Object(d.createElement)(z.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:k(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(d.createElement)(uc,{items:n,onSelect:c,onHover:e.onHover})):null})),Object(p.map)(r,(function(t,n){var r=m[n];return r&&r.length?Object(d.createElement)(z.PanelBody,{key:n,title:t.title,icon:t.icon,opened:k(n),onToggle:e.onTogglePanel(n),ref:e.bindPanel(n)},Object(d.createElement)(uc,{items:r,onSelect:c,onHover:e.onHover})):null})),!!v.length&&Object(d.createElement)(z.PanelBody,{className:"block-editor-inserter__reusable-blocks-panel",title:Object(U.__)("Reusable"),opened:k("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(d.createElement)(uc,{items:v,onSelect:c,onHover:this.onHover}),Object(d.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(It.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(U.__)("Manage all reusable blocks"))),Object(d.createElement)(mc.Slot,{fillProps:{onSelect:c,onHover:this.onHover,filterValue:j,hasItems:y}},(function(e){return e.length?e:y?null:Object(d.createElement)("p",{className:"block-editor-inserter__no-results"},Object(U.__)("No blocks found."))})))),E&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},f&&Object(d.createElement)(d.Fragment,null,!Object(i.isReusableBlock)(f)&&Object(d.createElement)(dc,{blockType:f}),Object(d.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(f)||_.example?Object(d.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(d.createElement)(cc,{padding:10,viewportWidth:500,blocks:_.example?Object(i.getBlockFromExample)(f.name,{attributes:yc({},_.example.attributes,{},f.initialAttributes),innerBlocks:_.example.innerBlocks}):Object(i.createBlock)(f.name,f.initialAttributes)})):Object(d.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(U.__)("No Preview Available.")))),!f&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},Object(U.__)("Content blocks")),Object(d.createElement)("p",null,Object(U.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(d.createElement)("p",null,Object(U.__)("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(d.createElement)("p",null,Object(U.__)("Browse through the library to learn more about what each block does."))),Object(d.createElement)(z.Tip,null,Object(d.__experimentalCreateInterpolateElement)(Object(U.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(d.createElement)("kbd",null)})))))}}]),t}(d.Component),wc=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,c=e("core/block-editor"),a=c.getInserterItems,l=c.getBlockName,s=c.getBlockRootClientId,u=c.getBlockSelectionEnd,d=c.getSettings,f=e("core/blocks"),b=f.getCategories,p=f.getCollections,h=f.getChildBlockNames,m=o;if(!m&&!n&&!r){var g=u();g&&(m=s(g)||void 0)}var v=l(m),O=d(),j=O.showInserterHelpPanel,k=O.__experimentalFetchReusableBlocks;return{categories:b(),collections:p(),rootChildBlocks:h(v),items:a(m),showInserterHelpPanel:i&&j,destinationRootClientId:m,fetchReusableBlocks:k}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.showInsertionPoint;function a(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=o();return!l&&s?n(s,a)+1:i(a).length}return{showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:o.hideInsertionPoint,onSelect:function(n){var o=e("core/block-editor"),c=o.replaceBlocks,l=o.insertBlock,s=r("core/block-editor").getSelectedBlock,u=t.isAppender,d=t.onSelect,f=t.__experimentalSelectBlockOnInsert,b=n.name,h=n.title,m=n.initialAttributes,g=n.innerBlocks,v=s(),O=Object(i.createBlock)(b,m,function e(t){return Object(p.map)(t,(function(t){var n=Object(M.a)(t,3),r=n[0],o=n[1],c=n[2],a=void 0===c?[]:c;return Object(i.createBlock)(r,o,e(a))}))}(g));if(!u&&v&&Object(i.isUnmodifiedDefaultBlock)(v))c(v.clientId,O);else if(l(O,a(),t.destinationRootClientId,f),!f){var j=Object(U.sprintf)(Object(U.__)("%s block added"),h);Object(je.speak)(j)}return d(),O}}})),z.withSpokenMessages,h.withInstanceId,h.withSafeTimeout)(Sc),Cc=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=e.blockTitle,c=e.hasSingleBlockType;return t=c?Object(U.sprintf)(Object(U._x)("Add %s","directly add the only allowed block"),i):Object(U._x)("Add block","Generic label for block inserter button"),Object(d.createElement)(z.Button,{icon:Et.a,label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},Ic=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(C.a)(e)),e.renderToggle=e.renderToggle.bind(Object(C.a)(e)),e.renderContent=e.renderContent.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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,r=this.props,o=r.disabled,i=r.blockTitle,c=r.hasSingleBlockType,a=r.renderToggle,l=void 0===a?Cc:a;return l({onToggle:t,isOpen:n,disabled:o,blockTitle:i,hasSingleBlockType:c})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,c=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return Object(d.createElement)(wc,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:c,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock;return n?this.renderToggle({onToggle:r}):Object(d.createElement)(z.Dropdown,{className:"block-editor-inserter",contentClassName:"block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(U.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(d.Component),xc=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockRootClientId,c=o.hasInserterItems,a=o.__experimentalGetAllowedBlocks,l=e("core/blocks").getBlockVariations,s=a(r=r||i(n)||void 0),u=1===Object(p.size)(s)&&0===Object(p.size)(l(s[0].name,"inserter")),d=!1;return u&&(d=s[0]),{hasItems:c(r),hasSingleBlockType:u,blockTitle:d?d.title:"",allowedBlockType:d,rootClientId:r}})),Object(g.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(i.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(U.sprintf)(Object(U.__)("%s block added"),l.title);Object(je.speak)(u)}}}})),Object(h.ifCondition)((function(e){return e.hasItems}))])(Ic);var Bc=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(d.createElement)(xc,{rootClientId:t,__experimentalSelectBlockOnInsert:r,renderToggle:function(e){var t,r=e.onToggle,o=e.disabled,i=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType;t=a?Object(U.sprintf)(Object(U._x)("Add %s","directly add the only allowed block"),c):Object(U._x)("Add block","Generic label for block inserter button");var l=!a;return Object(d.createElement)(z.Tooltip,{text:t},Object(d.createElement)(z.Button,{className:b()(n,"block-editor-button-block-appender"),onClick:r,"aria-haspopup":l?"true":void 0,"aria-expanded":l?i:void 0,disabled:o,label:t},Object(d.createElement)("span",{className:"screen-reader-text"},t),Object(d.createElement)(_t.a,{icon:Et.a})))},isAppender:!0})};function Tc(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,c=e.showNestedBlocks,a=e.parentBlockClientId,l=o&&!!a;return Object(d.createElement)("ul",{className:"block-editor-block-navigation__list",role:"list"},Object(p.map)(Object(p.omitBy)(t,p.isNil),(function(e){var t=Object(i.getBlockType)(e.name),a=e.clientId===n;return Object(d.createElement)("li",{key:e.clientId},Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(z.Button,{className:b()("block-editor-block-navigation__item-button",{"is-selected":a}),onClick:function(){return r(e.clientId)}},Object(d.createElement)(yt,{icon:t.icon,showColors:!0}),Object(i.__experimentalGetBlockLabel)(t,e.attributes),a&&Object(d.createElement)("span",{className:"screen-reader-text"},Object(U.__)("(selected block)")))),c&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(d.createElement)(Tc,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),l&&Object(d.createElement)("li",null,Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(Bc,{rootClientId:a,__experimentalSelectBlockOnInsert:!1}))))}var Pc=Object(h.compose)(Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}})),Object(g.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?p.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(d.createElement)(z.NavigableMenu,{role:"presentation",className:"block-editor-block-navigation__container"},Object(d.createElement)("p",{className:"block-editor-block-navigation__label"},Object(U.__)("Block navigation")),i&&Object(d.createElement)(Tc,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(d.createElement)(Tc,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),Nc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(d.createElement)(z.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));function Lc(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen;Object(l.useShortcut)("core/edit-post/toggle-block-navigation",Object(d.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var o=Object(g.useSelect)((function(e){return e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(d.createElement)(z.Button,{icon:Nc,"aria-expanded":r,onClick:t?n:void 0,label:Object(U.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:o,"aria-disabled":!t})}var Ac=function(e){var t=e.isDisabled,n=Object(g.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!t;return Object(d.createElement)(z.Dropdown,{contentClassName:"block-editor-block-navigation__popover",renderToggle:function(e){return Object(d.createElement)(Lc,Object(u.a)({},e,{isEnabled:n}))},renderContent:function(e){var t=e.onClose;return Object(d.createElement)(Pc,{onSelect:t})}})};var Rc=function(e){var t=e.icon,n=void 0===t?"layout":t,r=e.label,o=void 0===r?Object(U.__)("Choose variation"):r,i=e.instructions,c=void 0===i?Object(U.__)("Select a variation to start with."):i,a=e.variations,l=e.onSelect,s=e.allowSkip,u=b()("block-editor-block-variation-picker",{"has-many-variations":a.length>4});return Object(d.createElement)(z.Placeholder,{icon:n,label:o,instructions:c,className:u},Object(d.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list"},a.map((function(e){return Object(d.createElement)("li",{key:e.name},Object(d.createElement)(z.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return l(e)},className:"block-editor-block-variation-picker__variation",label:e.title}))}))),s&&Object(d.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(d.createElement)(z.Button,{isLink:!0,onClick:function(){return l()}},Object(U.__)("Skip"))))},Dc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Mc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}));function Fc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Vc={top:{icon:Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(U._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Mc,title:Object(U._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Dc,title:Object(U._x)("Vertically Align Bottom","Block vertical alignment setting")}},Hc=["top","center","bottom"],Uc="top";var zc=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Hc:r,i=e.isCollapsed,c=void 0===i||i,a=Vc[t],l=Vc[Uc];return Object(d.createElement)(z.Toolbar,{isCollapsed:c,icon:a?a.icon:l.icon,label:Object(U._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.onChange({width:t,height:n})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.imageWidth,r=t.imageHeight,o=t.imageSizeOptions,i=void 0===o?[]:o,c=t.isResizable,a=void 0===c||c,l=t.slug,s=t.width,u=t.height,f=t.onChange,b=t.onChangeImage,h=void 0===b?p.noop:b;return Object(d.createElement)(d.Fragment,null,!Object(p.isEmpty)(i)&&Object(d.createElement)(z.SelectControl,{label:Object(U.__)("Image size"),value:l,options:i,onChange:h}),a&&Object(d.createElement)("div",{className:"block-editor-image-size-control"},Object(d.createElement)("p",{className:"block-editor-image-size-control__row"},Object(U.__)("Image dimensions")),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(z.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(U.__)("Width"),value:s||n||"",min:1,onChange:function(e){return f({width:parseInt(e,10)})}}),Object(d.createElement)(z.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(U.__)("Height"),value:u||r||"",min:1,onChange:function(e){return f({height:parseInt(e,10)})}})),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(z.ButtonGroup,{"aria-label":Object(U.__)("Image Size")},[25,50,75,100].map((function(t){var o=Math.round(n*(t/100)),i=Math.round(r*(t/100)),c=s===o&&u===i;return Object(d.createElement)(z.Button,{key:t,isSmall:!0,isPrimary:c,isPressed:c,onClick:e.updateDimensions(o,i)},t,"%")}))),Object(d.createElement)(z.Button,{isSmall:!0,onClick:this.updateDimensions()},Object(U.__)("Reset")))))}}]),t}(d.Component),Qc=n(51),ea=n.n(Qc),ta=Object(h.createHigherOrderComponent)((function(e){return Y((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),na=ta((function(e){var t=e.clientId,n=e.showSeparator;return Object(d.createElement)(Bc,{rootClientId:t,showSeparator:n})})),ra=Object(h.compose)([ta,Object(g.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(p.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(d.createElement)($i,{rootClientId:t,lastBlockClientId:n})})),oa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.block,n=e.templateLock,r=e.__experimentalBlocks,o=e.replaceInnerBlocks,i=e.__unstableMarkNextChangeAsNotPersistent;0!==t.innerBlocks.length&&"all"!==n||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1}),r&&(i(),o(r))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.block,r=t.templateLock,o=t.template,i=t.isLastBlockChangePersistent,c=t.onInput,a=t.onChange,l=n.innerBlocks;(this.updateNestedSettings(),0===l.length||"all"===r)&&(!Object(p.isEqual)(o,e.template)&&this.synchronizeBlocksWithTemplate());if(e.block.innerBlocks!==l){var s=i?a:c;s&&s(l)}}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,c=Object(i.synchronizeBlocksWithTemplate)(o,t);Object(p.isEqual)(c,o)||r(c)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,c={allowedBlocks:n,templateLock:void 0===o?i:o,__experimentalCaptureToolbars:e.__experimentalCaptureToolbars||!1,__experimentalMoverDirection:e.__experimentalMoverDirection,__experimentalUIParts:e.__experimentalUIParts};ea()(t,c)||r(c)}},{key:"render",value:function(){var e=this.props,t=e.enableClickThrough,n=e.clientId,r=e.hasOverlay,o=e.__experimentalCaptureToolbars,i=Object(F.a)(e,["enableClickThrough","clientId","hasOverlay","__experimentalCaptureToolbars"]),c=this.state.templateInProcess,a=b()("block-editor-inner-blocks",{"has-overlay":t&&r,"is-capturing-toolbar":o});return Object(d.createElement)("div",{className:a},!c&&Object(d.createElement)(oc,Object(u.a)({rootClientId:n},i)))}}]),t}(d.Component);(oa=Object(h.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),Y((function(e){return Object(p.pick)(e,["clientId"])})),Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,c=n.getBlockListSettings,a=n.getBlockRootClientId,l=n.getTemplateLock,s=n.isNavigationMode,u=n.isLastBlockChangePersistent,d=t.clientId,f=t.isSmallScreen,b=i(d),p=a(d);return{block:b,blockListSettings:c(d),hasOverlay:"core/template"!==b.name&&!r(d)&&!o(d,!0),parentLock:l(p),enableClickThrough:s()||f,isLastBlockChangePersistent:u()}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.__unstableMarkNextChangeAsNotPersistent,i=n.updateBlockListSettings,c=t.block,a=t.clientId,l=t.templateInsertUpdatesSelection,s=void 0===l||l;return{replaceInnerBlocks:function(e){r(a,e,0===c.innerBlocks.length&&s&&0!==e.length)},__unstableMarkNextChangeAsNotPersistent:o,updateNestedSettings:function(t){e(i(a,t))}}}))])(oa)).DefaultBlockAppender=ra,oa.ButtonBlockAppender=na,oa.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(d.createElement)(t,null)}));var ia=oa,ca=Object(z.createSlotFill)("InspectorAdvancedControls"),aa=ca.Fill,la=ca.Slot,sa=X(aa);sa.slotName="InspectorAdvancedControls",sa.Slot=la;var ua=sa,da=n(49);function fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ba=[{id:"opensInNewTab",title:Object(U.__)("Open in new tab")}],pa=function(e){var t=e.value,n=e.onChange,r=void 0===n?p.noop:n,o=e.settings,i=void 0===o?ba:o;if(!i||!i.length)return null;var c=function(e){return function(n){r(function(e){for(var t=1;t-1&&e.stopPropagation()}(e)},onKeyPress:ma,placeholder:Object(U.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:c}),Object(d.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(d.createElement)(z.Button,{type:"submit",label:Object(U.__)("Submit"),icon:"editor-break",className:"block-editor-link-control__search-submit"})))};function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oa(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"";O(e)},onSelect:function(e){i(Oa({},n,{},e)),x()},renderSuggestions:function(e){var t=e.suggestionsListProps,r=e.buildSuggestionItemProps,o=e.suggestions,c=e.selectedSuggestion,a=e.isLoading,l=e.isInitialSuggestions,f=b()("block-editor-link-control__search-results",{"is-loading":a}),p=["url","mailto","tel","internal"],h=l?"block-editor-link-control-search-results-label-".concat(s):void 0,m=l?Object(U.__)("Recently updated"):Object(U.sprintf)(Object(U.__)("Search results for %s"),v),g=l?void 0:m,O=Object(d.createElement)("span",{className:"block-editor-link-control__search-results-label",id:h,"aria-label":g},m);return Object(d.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},l?O:Object(d.createElement)(z.VisuallyHidden,null,O),Object(d.createElement)("div",Object(u.a)({},t,{className:f,"aria-labelledby":h}),o.map((function(e,t){return Object(d.createElement)(ha,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,onClick:function(){i(Oa({},n,{},e)),x()},isSelected:t===c,isURL:p.includes(e.type.toLowerCase()),searchTerm:v})}))))},fetchSuggestions:B,showInitialSuggestions:c}):Object(d.createElement)(d.Fragment,null,Object(d.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(s)},Object(U.__)("Currently selected"),":"),Object(d.createElement)("div",{"aria-labelledby":"current-link-label-".concat(s),"aria-selected":"true",className:b()("block-editor-link-control__search-item",{"is-current":!0})},Object(d.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(d.createElement)(z.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n&&n.title||w),n&&n.title&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-info"},w)),Object(d.createElement)(z.Button,{isSecondary:!0,onClick:function(){return _(!0)},className:"block-editor-link-control__search-item-action"},Object(U.__)("Edit")))),Object(d.createElement)(pa,{value:n,settings:r,onChange:i}))},ka=n(287),ya=n(159),_a=Object(z.withFilters)("editor.MediaUpload")((function(){return null}));var Ea=Object(g.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),Sa=n(192),wa=function(e){return e.stopPropagation()},Ca=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).onChange=n.onChange.bind(Object(C.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(C.a)(n)),n.selectLink=n.selectLink.bind(Object(C.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(C.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(C.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(d.createRef)(),n.inputRef=Object(d.createRef)(),n.updateSuggestions=Object(p.throttle)(n.updateSuggestions.bind(Object(C.a)(n)),200),n.suggestionNodes=[],n.isUpdatingSuggestions=!1,n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(I.a)(t,e),Object(E.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,wt()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100)),this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentDidMount",value:function(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"shouldShowInitialSuggestions",value:function(){var e=this.state.suggestions,t=this.props,n=t.__experimentalShowInitialSuggestions,r=void 0!==n&&n,o=t.value;return!this.isUpdatingSuggestions&&r&&!(o&&o.length)&&!(e&&e.length)}},{key:"updateSuggestions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var i=!(t&&t.length);if(i||!(t.length<2||!o&&Object(It.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var c=r(t,{isInitialSuggestions:i});c.then((function(t){e.suggestionsRequest===c&&(e.setState({suggestions:t,loading:!1}),t.length?e.props.debouncedSpeak(Object(U.sprintf)(Object(U._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(U.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===c&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=c}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Ct.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case Ct.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case Ct.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(U.__)("Link selected.")));break;case Ct.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Ct.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Ct.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.label,r=t.instanceId,o=t.className,i=t.isFullWidth,c=t.hasBorder,a=t.__experimentalRenderSuggestions,l=t.placeholder,s=void 0===l?Object(U.__)("Paste URL or type to search"):l,f=t.value,h=void 0===f?"":f,m=t.autoFocus,g=void 0===m||m,v=t.__experimentalShowInitialSuggestions,O=void 0!==v&&v,j=this.state,k=j.showSuggestions,y=j.suggestions,_=j.selectedSuggestion,E=j.loading,S="url-input-control-".concat(r),w="block-editor-url-input-suggestions-".concat(r),C="block-editor-url-input-suggestion-".concat(r),I={id:w,ref:this.autocompleteRef,role:"listbox"},x=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(C,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(d.createElement)(z.BaseControl,{label:n,id:S,className:b()("block-editor-url-input",o,{"is-full-width":i,"has-border":c})},Object(d.createElement)("input",{autoFocus:g,type:"text","aria-label":Object(U.__)("URL"),required:!0,value:h,onChange:this.onChange,onInput:wa,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":k,"aria-autocomplete":"list","aria-owns":w,"aria-activedescendant":null!==_?"".concat(C,"-").concat(_):void 0,ref:this.inputRef}),E&&Object(d.createElement)(z.Spinner,null),Object(p.isFunction)(a)&&k&&!!y.length&&a({suggestions:y,selectedSuggestion:_,suggestionsListProps:I,buildSuggestionItemProps:x,isLoading:E,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:O&&!(h&&h.length)}),!Object(p.isFunction)(a)&&k&&!!y.length&&Object(d.createElement)(z.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(d.createElement)("div",Object(u.a)({},I,{className:b()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),y.map((function(t,n){return Object(d.createElement)(z.Button,Object(u.a)({},x(0,n),{key:t.id,className:b()("block-editor-url-input__suggestion",{"is-selected":n===_}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=e.__experimentalShowInitialSuggestions,i=void 0!==o&&o,c=t.showSuggestions,a=n&&n.length;return i||a||(c=!1),!0===r&&(c=!1),{showSuggestions:c}}}]),t}(d.Component),Ia=Object(h.compose)(h.withSafeTimeout,z.withSpokenMessages,h.withInstanceId,Object(g.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(Ca);function xa(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(F.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(d.createElement)("form",Object(u.a)({className:b()("block-editor-url-popover__link-editor",n)},i),Object(d.createElement)(Ia,{value:o,onChange:r,autocompleteRef:t}),Object(d.createElement)(z.Button,{icon:Sa.a,label:Object(U.__)("Apply"),type:"submit"}))}var Ba=n(286);function Ta(e){var t=e.url,n=e.urlLabel,r=e.className,o=b()(r,"block-editor-url-popover__link-viewer-url");return t?Object(d.createElement)(z.ExternalLink,{className:o,href:t},n||Object(It.filterURLForDisplay)(Object(It.safeDecodeURI)(t))):Object(d.createElement)("span",{className:o})}function Pa(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(F.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(d.createElement)("div",Object(u.a)({className:b()("block-editor-url-popover__link-viewer",t)},c),Object(d.createElement)(Ta,{url:o,urlLabel:i,className:n}),r&&Object(d.createElement)(z.Button,{icon:Ba.a,label:Object(U.__)("Edit"),onClick:r}))}var Na=Object(h.compose)(z.withNotices)((function(e){var t,n=e.mediaURL,r=e.mediaId,o=e.allowedTypes,i=e.accept,c=e.onSelect,a=e.onSelectURL,l=e.onError,s=e.name,u=void 0===s?Object(U.__)("Replace"):s,f=Object(d.useState)(!1),b=Object(M.a)(f,2),p=b[0],h=b[1],m=Object(d.useState)(!1),v=Object(M.a)(m,2),O=v[0],j=v[1],k=Object(d.useState)(n),y=Object(M.a)(k,2),_=y[0],E=y[1],S=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),w=Object(d.createRef)(),C=function(e){c(e),E(e.url),Object(je.speak)(Object(U.__)("The media file has been replaced"))},I=function(e){e.keyCode===Ct.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=O?Object(d.createElement)(xa,{onKeyDown:function(e){[Ct.LEFT,Ct.DOWN,Ct.RIGHT,Ct.UP,Ct.BACKSPACE,Ct.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:_,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return E(e)},onSubmit:function(e){e.preventDefault(),a(_),j(!1),w.current.focus()}}):Object(d.createElement)(Pa,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:_,onEditLinkClick:function(){return j(!O)}}),Object(d.createElement)(z.Dropdown,{contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(z.ToolbarGroup,{className:"media-replace-flow"},Object(d.createElement)(z.Button,{ref:w,"aria-expanded":t,onClick:n,onKeyDown:I},u,Object(d.createElement)("span",{className:"block-editor-media-replace-flow__indicator"})))},renderContent:function(e){var n=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.NavigableMenu,null,Object(d.createElement)(_a,{value:r,onSelect:function(e){return C(e)},allowedTypes:o,render:function(e){var t=e.open;return Object(d.createElement)(z.MenuItem,{icon:"admin-media",onClick:t},Object(U.__)("Open Media Library"))}}),Object(d.createElement)(Ea,null,Object(d.createElement)(z.FormFileUpload,{onChange:function(e){!function(e,t){var n=e.target.files;S({allowedTypes:o,filesList:n,onFileChange:function(e){var n=Object(M.a)(e,1)[0];C(n),t()},onError:l})}(e,n)},accept:i,render:function(e){var t=e.openFileDialog;return Object(d.createElement)(z.MenuItem,{icon:ka.a,onClick:function(){t()}},Object(U.__)("Upload"))}})),a&&Object(d.createElement)(z.MenuItem,{icon:ya.a,onClick:function(){return h(!p)},"aria-expanded":p},Object(d.createElement)("div",null," ",Object(U.__)("Insert from URL")," "))),p&&Object(d.createElement)("div",{className:"block-editor-media-flow__url-input"},t))}})})),La=n(37),Aa=n.n(La),Ra=n(288),Da=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(C.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,c=e.focusOnMount,a=void 0===c?"firstElement":c,l=Object(F.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),s=this.state.isSettingsExpanded,f=!!r&&s;return Object(d.createElement)(z.Popover,Object(u.a)({className:"block-editor-url-popover",focusOnMount:a,position:i},l),Object(d.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(d.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(d.createElement)(z.Button,{className:"block-editor-url-popover__settings-toggle",icon:Ra.a,label:Object(U.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),f&&Object(d.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!f&&Object(d.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(d.Component);Da.LinkEditor=xa,Da.LinkViewer=Pa;var Ma=Da,Fa=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(d.createElement)(Ma,{onClose:o},Object(d.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(d.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(U.__)("URL"),placeholder:Object(U.__)("Paste or type URL"),onChange:n,value:t}),Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:Sa.a,label:Object(U.__)("Apply"),type:"submit"})))},Va=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(C.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(C.a)(e)),e.onUpload=e.onUpload.bind(Object(C.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(C.a)(e)),e.openURLInput=e.openURLInput.bind(Object(C.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(p.every)(e,(function(e){return"image"===e||Object(p.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(p.get)(e.value,["src"],"")!==Object(p.get)(this.props.value,["src"],"")&&this.setState({src:Object(p.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,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,c=n.multiple,a=n.onError,l=n.onSelect,s=n.value;if(c)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=Object(M.a)(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:a})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,c=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,u=n.onDoubleClick,f=n.mediaPreview,p=n.notices,h=n.onSelectURL,m=n.mediaUpload,g=n.children,v=s.instructions,O=s.title;if(m||h||(v=Object(U.__)("To edit this block, you need permission to upload media.")),void 0===v||void 0===O){var j=1===o.length,k=j&&"audio"===o[0],y=j&&"image"===o[0],_=j&&"video"===o[0];void 0===v&&m&&(v=Object(U.__)("Upload a media file or pick one from your media library."),k?v=Object(U.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?v=Object(U.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=Object(U.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(U.__)("Media"),k?O=Object(U.__)("Audio"):y?O=Object(U.__)("Image"):_&&(O=Object(U.__)("Video")))}var E=b()("block-editor-media-placeholder",i,{"is-appender":a});return Object(d.createElement)(z.Placeholder,{icon:c,label:O,instructions:v,className:E,notices:p,onClick:t,onDoubleClick:u,preview:f},e,g)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?p.noop:n;return t?null:Object(d.createElement)(z.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(U.__)("Cancel"),isLink:!0,onClick:e},Object(U.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(d.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isSecondary:!0},Object(U.__)("Insert from URL")),t&&Object(d.createElement)(Fa,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,c=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,u=t.onSelect,f=t.value,h=void 0===f?{}:f,m=Object(d.createElement)(_a,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:u,allowedTypes:i,value:Object(p.isArray)(h)?h.map((function(e){return e.id})):h.id,render:function(e){var t=e.open;return Object(d.createElement)(z.Button,{isSecondary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(U.__)("Media Library"))}});if(a&&c)return Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(z.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.Button,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(U.__)("Upload")),m,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var g=Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(z.FormFileUpload,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(U.__)("Upload")),m,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(g)}return this.renderPlaceholder(m)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&Aa()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(d.createElement)(Ea,null,this.renderDropZone())):Object(d.createElement)(Ea,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(d.Component),Ha=Object(g.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Ua=Object(h.compose)(Ha,Object(z.withFilters)("editor.MediaPlaceholder"))(Va),za=Object(d.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(F.a)(e,["onChange","className"]);return Object(d.createElement)(si.a,Object(u.a)({ref:t,className:b()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));function Ga(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(h.useInstanceId)(Ga),i=r||Object(U.sprintf)(Object(U._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(d.createElement)(d.Fragment,null,Object(d.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(d.createElement)("span",{className:"screen-reader-text",id:"rbc-desc-".concat(o)},i))}var Ka=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,i=e.renderDefaultControl,c=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,u=void 0===s?{id:"all",label:Object(U.__)("All")}:s,f=e.viewports,p=void 0===f?[{id:"small",label:Object(U.__)("Small screens")},{id:"medium",label:Object(U.__)("Medium screens")},{id:"large",label:Object(U.__)("Large screens")}]:f;if(!t||!n||!i)return null;var h=r||Object(U.sprintf)(Object(U.__)("Use the same %s on all screensizes."),n),m=Object(U.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),g=i(Object(d.createElement)(Ga,{property:n,viewport:u}),u);return Object(d.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(d.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(d.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(d.createElement)(z.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:h,checked:!l,onChange:o,help:m}),Object(d.createElement)("div",{className:b()("block-editor-responsive-block-control__group",{"is-responsive":l})},!l&&g,l&&(c?c(p):p.map((function(e){return Object(d.createElement)(d.Fragment,{key:e.id},i(Object(d.createElement)(Ga,{property:n,viewport:e}),e))}))))))},Wa=[Ct.rawShortcut.primary("z"),Ct.rawShortcut.primaryShift("z"),Ct.rawShortcut.primary("y")],qa=Object(d.createElement)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Wa.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),$a=function(){return qa},Ya=n(41);function Xa(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Za={position:"bottom left"},Ja=function(){return Object(d.createElement)("div",{className:"block-editor-format-toolbar"},Object(d.createElement)(z.Toolbar,null,["bold","italic","link","text-color"].map((function(e){return Object(d.createElement)(z.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(d.createElement)(z.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(d.createElement)(z.DropdownMenu,{icon:!1,label:Object(U.__)("More rich text controls"),controls:Object(p.orderBy)(e.map((function(e){return Object(M.a)(e,1)[0].props})),"title"),popoverProps:Za})}))))},Qa=function(e){var t=e.inline,n=e.anchorRef;return t?Object(d.createElement)(z.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(d.createElement)(Ja,null)):Object(d.createElement)(kt,null,Object(d.createElement)(Ja,null))},el=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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(d.createElement)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(s.a)({},Ct.rawShortcut[n](t),this.onUse)})}}]),t}(d.Component);function tl(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(F.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=Ct.displayShortcut[r](o)),Object(d.createElement)(z.Fill,{name:c},Object(d.createElement)(z.ToolbarButton,Object(u.a)({},i,{shortcut:t})))}var nl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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}(d.Component);function rl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ol="block-editor-rich-text",il="block-editor-rich-text__editable";function cl(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var al=Object(d.forwardRef)((function e(t,n){var r=t.children,o=t.tagName,a=t.value,l=t.onChange,f=t.isSelected,p=t.multiline,m=t.inlineToolbar,v=t.wrapperClassName,O=t.className,j=t.autocompleters,k=t.onReplace,y=t.placeholder,_=t.keepPlaceholderOnFocus,E=t.allowedFormats,S=t.formattingControls,w=t.withoutInteractiveFormatting,C=t.onRemove,I=t.onMerge,x=t.onSplit,B=t.__unstableOnSplitMiddle,T=t.identifier,P=t.start,N=t.reversed,L=t.style,A=t.preserveWhiteSpace,R=t.__unstableEmbedURLOnPaste,V=Object(F.a)(t,["children","tagName","value","onChange","isSelected","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","placeholder","keepPlaceholderOnFocus","allowedFormats","formattingControls","withoutInteractiveFormatting","onRemove","onMerge","onSplit","__unstableOnSplitMiddle","identifier","start","reversed","style","preserveWhiteSpace","__unstableEmbedURLOnPaste"]),H=Object(h.useInstanceId)(e);T=T||H;var U=Object(d.useRef)(),z=n||U,G=$(),K=G.clientId,W=G.onCaretVerticalPositionChange,q=G.isSelected,Y=Object(g.useSelect)((function(e){var t,n=e("core/block-editor"),r=n.isCaretWithinFormattedText,o=n.getSelectionStart,c=n.getSelectionEnd,a=n.getSettings,l=n.didAutomaticChange,u=n.__unstableGetBlockWithoutInnerBlocks,b=n.isMultiSelecting,p=n.hasMultiSelection,h=o(),m=c(),g=a(),v=g.__experimentalCanUserUseUnfilteredHTML,O=g.__experimentalUndo;void 0===f?t=h.clientId===K&&h.attributeKey===T:f&&(t=h.clientId===K);var j={};if("native"===d.Platform.OS){var k=K&&u(K);j={shouldBlurOnUnmount:k&&t&&Object(i.isUnmodifiedDefaultBlock)(k)}}return function(e){for(var t=1;t0,pe=a,he=l;Array.isArray(a)&&(pe=i.children.toHTML(a),he=function(e){return l(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var me=Object(d.useCallback)((function(e,t){se(K,T,e,t)}),[K,T]),ge=Object(d.useCallback)((function(e){var t=e.value,n=e.isReverse;I&&I(!n),C&&Object(c.isEmpty)(t)&&n&&C(!n)}),[I,C]),ve=Object(d.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(k&&x){var n=[],r=Object(c.split)(e),o=Object(M.a)(r,2),i=o[0],a=o[1],l=t.length>0;l&&Object(c.isEmpty)(i)||n.push(x(Object(c.toHTMLString)({value:i,multilineTag:de}))),l?n.push.apply(n,Object(D.a)(t)):B&&n.push(B()),!l&&B&&Object(c.isEmpty)(a)||n.push(x(Object(c.toHTMLString)({value:a,multilineTag:de})));var s=l?n.length-1:1;k(n,s)}}),[k,x,de,B]),Oe=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=k&&x;if(k){var a=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),l=Object(i.findTransform)(a,(function(e){return e.regExp.test(t.text)}));l&&(k([l.transform({content:t.text})]),ue())}p?r?n(Object(c.insert)(t,"\n")):o&&Object(c.__unstableIsEmptyLine)(t)?ve(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!o?n(Object(c.insert)(t,"\n")):ve(t)}),[k,x,ue,p,ve]),je=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,a=e.plainText,l=e.files,s=e.activeFormats;if(l&&l.length&&!r){var u=Object(i.pasteHandler)({HTML:Xa(l),mode:"BLOCKS",tagName:o});return window.console.log("Received items:\n\n",l),void(k&&Object(c.isEmpty)(t)?k(u):ve(t,u))}var d=k&&x?"AUTO":"INLINE";R&&Object(c.isEmpty)(t)&&Object(It.isURL)(a.trim())&&(d="BLOCKS");var f=Object(i.pasteHandler)({HTML:r,plainText:a,mode:d,tagName:o,canUserUseUnfilteredHTML:X});if("string"==typeof f){var b=Object(c.create)({html:f});if(s.length)for(var h=b.formats.length;h--;)b.formats[h]=[].concat(Object(D.a)(s),Object(D.a)(b.formats[h]||[]));p&&(b=Object(c.replace)(b,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,b))}else f.length>0&&(k&&Object(c.isEmpty)(t)?k(f):ve(t,f))}),[o,k,x,ve,R,X,p]),ke=Object(d.useCallback)((function(e,t){if(k){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),a=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),l=Object(i.findTransform)(a,(function(e){var t=e.prefix;return o===t}));if(l){var s=t(Object(c.slice)(e,n,r.length)),u=l.transform(s);k([u]),ue()}}}}),[k,ue]),ye=Object(d.createElement)(c.__experimentalRichText,Object(u.a)({},V,{clientId:K,identifier:T,ref:z,value:pe,onChange:he,selectionStart:J,selectionEnd:Q,onSelectionChange:me,tagName:o,className:b()(il,O,{"keep-placeholder-on-focus":_}),placeholder:y,allowedFormats:fe,withoutInteractiveFormatting:w,onEnter:Oe,onDelete:ge,onPaste:je,__unstableIsSelected:ee,__unstableInputRule:ke,__unstableMultilineTag:de,__unstableIsCaretWithinFormattedText:Z,__unstableOnEnterFormattedText:ae,__unstableOnExitFormattedText:le,__unstableOnCreateUndoLevel:ce,__unstableMarkAutomaticChange:ue,__unstableDidAutomaticChange:te,__unstableUndo:re,style:L,preserveWhiteSpace:A,disabled:ne,start:P,reversed:N,onCaretVerticalPositionChange:W,blockIsSelected:void 0!==f?f:q,shouldBlurOnUnmount:oe}),(function(e){var t=e.isSelected,n=e.value,o=e.onChange,i=e.onFocus,c=e.Editable;return Object(d.createElement)(d.Fragment,null,r&&r({value:n,onChange:o,onFocus:i}),t&&be&&Object(d.createElement)(Qa,{inline:m,anchorRef:z.current}),t&&Object(d.createElement)($a,null),Object(d.createElement)(Ze,{onReplace:k,completers:j,record:n,onChange:o,isSelected:t},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(d.createElement)(c,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:P,reversed:N,onKeyDown:r})})))}));return v?(Aa()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(d.createElement)("div",{className:b()(ol,v)},ye)):ye}));al.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(F.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=cl(r);!t&&c&&(t="<".concat(c,">"));var a=Object(d.createElement)(d.RawHTML,null,t);return n?Object(d.createElement)(n,Object(p.omit)(o,["format"]),a):a},al.isEmpty=function(e){return!e||0===e.length},al.Content.defaultProps={format:"string",value:""};var ll=al,sl=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"})),ul=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var dl=function(){var e=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),t=Object(g.useDispatch)("core/block-editor").setNavigationMode;if(!Object(h.useViewportMatch)("medium"))return null;var n=function(e){t("edit"!==e)};return Object(d.createElement)(z.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(d.createElement)(z.Button,{icon:e?ul:sl,"aria-expanded":n,onClick:r,label:Object(U.__)("Tools")})},renderContent:function(){return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.NavigableMenu,{role:"menu","aria-label":Object(U.__)("Tools")},Object(d.createElement)(z.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(d.createElement)(d.Fragment,null,sl,Object(U.__)("Edit"))},{value:"select",label:Object(d.createElement)(d.Fragment,null,ul,Object(U.__)("Select"))}]})),Object(d.createElement)("div",{className:"block-editor-tool-selector__help"},Object(U.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})},fl=Object(d.createElement)(Je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Je.Path,{d:"M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z"})),bl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(C.a)(e)),e.submitLink=e.submitLink.bind(Object(C.a)(e)),e.state={expanded:!1},e}return Object(I.a)(t,e),Object(E.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,r=this.state.expanded,o=t?Object(U.__)("Edit link"):Object(U.__)("Insert link");return Object(d.createElement)("div",{className:"block-editor-url-input__button"},Object(d.createElement)(z.Button,{icon:ya.a,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(d.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(d.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(d.createElement)(z.Button,{className:"block-editor-url-input__back",icon:fl,label:Object(U.__)("Close"),onClick:this.toggle}),Object(d.createElement)(Ia,{value:t||"",onChange:n}),Object(d.createElement)(z.Button,{icon:Sa.a,label:Object(U.__)("Submit"),type:"submit"}))))}}]),t}(d.Component),pl=n(120),hl=["noreferrer","noopener"],ml=Object(d.createElement)(z.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(d.createElement)(z.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(d.createElement)(z.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),gl=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,i=void 0===o?"image":o,c=e.mediaUrl,a=e.mediaLink,l=e.linkTarget,s=e.linkClass,u=e.rel,f=Object(d.useState)(!1),b=Object(M.a)(f,2),h=b[0],m=b[1],g=Object(d.useCallback)((function(){m(!0)})),v=Object(d.useState)(!1),O=Object(M.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(M.a)(y,2),E=_[0],S=_[1],w=Object(d.useRef)(null),C=function(e){e.stopPropagation()},I=function(e){[Ct.LEFT,Ct.DOWN,Ct.RIGHT,Ct.UP,Ct.BACKSPACE,Ct.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},x=Object(d.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),k(!0)})),B=Object(d.useCallback)((function(){k(!1)})),T=Object(d.useCallback)((function(){S(null),B(),m(!1)})),P=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(hl,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(p.isEmpty)(t)&&(t=void 0)),t},N=Object(d.useCallback)((function(){return function(e){var t=w.current;t&&t.contains(e.target)||(m(!1),S(null),B())}})),L=Object(d.useCallback)((function(){return function(e){E&&n({href:E}),B(),S(null),e.preventDefault()}})),A=Object(d.useCallback)((function(){n({linkDestination:"none",href:""})})),R=function(){return[{linkDestination:"media",title:Object(U.__)("Media File"),url:"image"===i?c:void 0,icon:ml},{linkDestination:"attachment",title:Object(U.__)("Attachment Page"),url:"image"===i?a:void 0,icon:Object(d.createElement)(z.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(d.createElement)(z.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}]},D=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.ToggleControl,{label:Object(U.__)("Open in new tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||u?P(u):void 0}}(e);n(t)},checked:"_blank"===l}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link Rel"),value:P(u)||"",onChange:function(e){n({rel:e})},onKeyPress:C,onKeyDown:I}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link CSS Class"),value:s||"",onKeyPress:C,onKeyDown:I,onChange:function(e){n({linkClass:e})}})),F=null!==E?E:r,V=(Object(p.find)(R(),["linkDestination",t])||{}).title;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.Button,{icon:ya.a,className:"components-toolbar__control",label:r?Object(U.__)("Edit link"):Object(U.__)("Insert link"),"aria-expanded":h,onClick:g}),h&&Object(d.createElement)(Ma,{onFocusOutside:N(),onClose:T,renderSettings:function(){return D},additionalControls:!F&&Object(d.createElement)(z.NavigableMenu,null,Object(p.map)(R(),(function(e){return Object(d.createElement)(z.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=R(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),B()}},e.title)})))},(!r||j)&&Object(d.createElement)(Ma.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:F,onChangeInputValue:S,onKeyDown:I,onKeyPress:C,onSubmit:L(),autocompleteRef:w}),r&&!j&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Ma.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:C,url:r,onEditLinkClick:x,urlLabel:V}),Object(d.createElement)(z.Button,{icon:pl.a,label:Object(U.__)("Remove link"),onClick:A}))))},vl=Object(z.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Ol=vl.Fill,jl=vl.Slot;Ol.Slot=jl;var kl=Ol,yl=Object(z.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),_l=yl.Fill,El=yl.Slot;_l.Slot=El;var Sl=_l,wl=function(e){var t=e.icon,n=e.label,r=e.onPress;return Object(d.createElement)(z.Button,{onClick:r},t," ",n)},Cl=function(e){var t=e.children;return Object(d.createElement)(ec,null,t)};function Il(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var xl=[{name:"About",icon:"👋",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

This is sample content, included with the template to illustrate its features. Remove or replace it with your own words and media.

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center","level":3} --\x3e\n\t\t\t

What People Say

\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

The way to get started is to quit talking and begin doing.

Walt Disney
\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

It is our choices, Harry, that show what we truly are, far more than our abilities.

J. K. Rowling
\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

Don\'t cry because it\'s over, smile because it happened.

Dr. Seuss
\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t
\n\t\t\t\x3c!-- /wp:separator --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center"} --\x3e\n\t\t\t

Let’s build something together.

\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"center","textColor":"primary"} --\x3e\n\t\t\t

Get in touch!

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t
\n\t\t\t\x3c!-- /wp:separator --\x3e\n\t\t'},{name:"Contact",icon:"✉️",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"left"} --\x3e\n\t\t\t

Get in Touch

\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

10 Street Road

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

City, 10100

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

USA

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

mail@example.com

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

(555) 555 1234

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\t\t'}],Bl=H()((function(){return xl.map((function(e){return function(e){for(var t=1;t0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a,s=Object(z.__experimentalUseSlot)(ua.slotName),u=Boolean(s.fills&&s.fills.length);if(n>1)return Object(d.createElement)(zl,null);var f=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!f?Object(d.createElement)("div",{className:"block-editor-block-inspector"},Object(d.createElement)(dc,{blockType:t}),r&&Object(d.createElement)("div",null,Object(d.createElement)(z.PanelBody,{title:Object(U.__)("Styles"),initialOpen:!1},Object(d.createElement)(Hl,{clientId:o}),Object(d.createElement)(Gl,{blockName:t.name}))),Object(d.createElement)(Ce.Slot,{bubblesVirtually:!0}),Object(d.createElement)("div",null,u&&Object(d.createElement)(z.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(U.__)("Advanced"),initialOpen:!1},Object(d.createElement)(ua.Slot,{bubblesVirtually:!0}))),Object(d.createElement)(Al,{key:"back"})):l?Object(d.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(U.__)("No block selected.")):null}));function Wl(e,t,n,r,o,i,c,a){var l=n+1,s=function(e){return"up"===e?"horizontal"===c?a?"right":"left":"up":"down"===e?"horizontal"===c?a?"left":"right":"down":null};if(e>1)return function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(U.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(U.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(U.sprintf)(Object(U._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(o>0&&!r)return Object(U.sprintf)(Object(U._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,r,o,i);if(r&&o)return Object(U.sprintf)(Object(U.__)("Block %s is the only block, and cannot be moved"),t);if(i>0&&!o){var u=s("down");if("down"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d down to position %3$d"),t,l,l+1);if("left"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l+1);if("right"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l+1)}if(i>0&&o){var d=s("down");if("down"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(i<0&&!r){var f=s("up");if("up"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d up to position %3$d"),t,l,l-1);if("left"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l-1);if("right"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l-1)}if(i<0&&r){var b=s("up");if("up"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var ql=Object(d.createElement)(z.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),$l=Object(d.createElement)(z.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z"})),Yl=Object(d.createElement)(z.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(z.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"})),Xl=n(289),Zl=function(e){var t=e.children,n=e.clientIds,r=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getBlockRootClientId,i=t.getTemplateLock,c=Object(p.castArray)(n),a=1===c.length?o(c[0]):null,l=a?i(a):null;return{index:r(c[0],a),srcRootClientId:a,isDraggable:1===c.length&&"all"!==l}}),[n]),o=r.srcRootClientId,i=r.index,c=r.isDraggable,a=Object(d.useRef)(!1),l=Object(g.useDispatch)("core/block-editor"),s=l.startDraggingBlocks,u=l.stopDraggingBlocks;if(Object(d.useEffect)((function(){return function(){a.current&&u()}}),[]),!c)return null;var f=Object(p.castArray)(n),b="block-".concat(f[0]),h={type:"block",srcIndex:i,srcClientId:f[0],srcRootClientId:o};return Object(d.createElement)(z.Draggable,{elementId:b,transferData:h,onDragStart:function(){s(),a.current=!0},onDragEnd:function(){u(),a.current=!1}},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))},Jl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(C.a)(e)),e.onBlur=e.onBlur.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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,r=e.__experimentalOrientation,o=e.isRTL,i=e.isFirst,c=e.isLast,a=e.clientIds,l=e.blockType,s=e.firstIndex,u=e.isLocked,f=e.instanceId,h=e.isHidden,m=e.rootClientId,g=e.hideDragHandle,v=this.state.isFocused,O=Object(p.castArray)(a).length;if(u||i&&c&&!m)return null;var j=function(e){return"up"===e?"horizontal"===r?o?$l:ql:Xl.a:"down"===e?"horizontal"===r?o?ql:$l:Ra.a:null},k=function(e){return"up"===e?"horizontal"===r?o?Object(U.__)("Move right"):Object(U.__)("Move left"):Object(U.__)("Move up"):"down"===e?"horizontal"===r?o?Object(U.__)("Move left"):Object(U.__)("Move right"):Object(U.__)("Move down"):null};return Object(d.createElement)(z.ToolbarGroup,{className:b()("block-editor-block-mover",{"is-visible":v||!h,"is-horizontal":"horizontal"===r})},Object(d.createElement)(z.Button,{className:"block-editor-block-mover__control",onClick:i?null:t,icon:j("up"),label:k("up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(f),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),!g&&Object(d.createElement)(Zl,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(d.createElement)(z.Button,{icon:Yl,className:"block-editor-block-mover__control-drag-handle block-editor-block-mover__control","aria-hidden":"true",tabIndex:"-1",onDragStart:t,onDragEnd:n,draggable:!0})})),Object(d.createElement)(z.Button,{className:"block-editor-block-mover__control",onClick:c?null:n,icon:j("down"),label:k("down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(f),"aria-disabled":c,onFocus:this.onFocus,onBlur:this.onBlur}),Object(d.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(f),className:"block-editor-block-mover__description"},Wl(O,l&&l.title,s,i,c,-1,r,o)),Object(d.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(f),className:"block-editor-block-mover__description"},Wl(O,l&&l.title,s,i,c,1,r,o)))}}]),t}(d.Component),Ql=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,l=r.getBlockRootClientId,s=r.getBlockOrder,u=Object(p.castArray)(n),d=Object(p.first)(u),f=o(d),b=l(Object(p.first)(u)),h=s(b),m=c(d,b),g=c(Object(p.last)(u),b),v=(0,e("core/block-editor").getSettings)().isRTL;return{blockType:f?Object(i.getBlockType)(f.name):null,isLocked:"all"===a(b),rootClientId:b,firstIndex:m,isRTL:v,isFirst:0===m,isLast:g===h.length-1}})),Object(g.withDispatch)((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(p.partial)(i,n,r),onMoveUp:Object(p.partial)(c,n,r)}})),h.withInstanceId)(Jl),es=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(C.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(d.createElement)("div",Object(u.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(p.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(d.Component),ts=Object(h.compose)([Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(g.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(es),ns=Object(d.createElement)(Je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Je.Path,{d:"M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z"}));var rs=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,c=n.getBlocksByClientId,a=n.getTemplateLock,l=e("core/blocks").getDefaultBlockName,s=c(t.clientIds),u=o(t.clientIds[0]);return{blocks:s,canDuplicate:Object(p.every)(s,(function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,u)})),canInsertDefaultBlock:r(l(),u),extraProps:t,isLocked:!!a(u),rootClientId:u}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=t.clientIds,c=t.blocks,a=e("core/block-editor"),l=a.removeBlocks,s=a.replaceBlocks,u=a.duplicateBlocks,d=a.insertAfterBlock,f=a.insertBeforeBlock;return{onDuplicate:function(){return u(o)},onRemove:function(){l(o)},onInsertBefore:function(){f(Object(p.first)(Object(p.castArray)(o)))},onInsertAfter:function(){d(Object(p.last)(Object(p.castArray)(o)))},onGroup:function(){if(c.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Object(i.switchToBlockType)(c,e);t&&s(o,t)}},onUngroup:function(){if(c.length){var e=c[0].innerBlocks;e.length&&s(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})}));var os=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(g.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?p.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(i.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(U.__)("Edit as HTML"):Object(U.__)("Edit visually");return Object(d.createElement)(z.MenuItem,{onClick:r,icon:"html"},!c&&s)}));function is(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(U.__)("Convert to Blocks");return Object(d.createElement)(z.MenuItem,{onClick:n,icon:"screenoptions"},!r&&o)}var cs=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(g.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)}))}}})))(is),as=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}})),Object(g.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)}))}}})))(is),ls={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var ss=function(e){var t=e.clientIds,n=Object(p.castArray)(t),r=n.length,o=n[0],i=Object(g.useSelect)((function(e){var t=e("core/keyboard-shortcuts").getShortcutRepresentation;return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}}),[]);return Object(d.createElement)(rs,{clientIds:t},(function(e){var n=e.canDuplicate,c=e.canInsertDefaultBlock,a=e.isLocked,l=e.onDuplicate,s=e.onInsertAfter,u=e.onInsertBefore,f=e.onRemove;return Object(d.createElement)(z.Toolbar,null,Object(d.createElement)(z.DropdownMenu,{icon:Zo.a,label:Object(U.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:ls},(function(e){var b=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.MenuGroup,null,Object(d.createElement)(kl.Slot,{fillProps:{onClose:b}}),1===r&&Object(d.createElement)(as,{clientId:o}),1===r&&Object(d.createElement)(cs,{clientId:o}),n&&Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,l),icon:"admin-page",shortcut:i.duplicate},Object(U.__)("Duplicate")),c&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,u),icon:"insert-before",shortcut:i.insertBefore},Object(U.__)("Insert Before")),Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,s),icon:"insert-after",shortcut:i.insertAfter},Object(U.__)("Insert After"))),1===r&&Object(d.createElement)(os,{clientId:o,onToggle:b}),Object(d.createElement)(Sl.Slot,{fillProps:{clientIds:t,onClose:b}})),Object(d.createElement)(z.MenuGroup,null,!a&&Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,f),icon:ns,shortcut:i.remove},Object(U._n)("Remove Block","Remove Blocks",r))))})))}))};function us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ds(e){for(var t=1;t0}})),Object(g.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(fs);var ps=Object(g.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(d.createElement)(bs,{key:"switcher",clientIds:n}):null}));function hs(e){var t=e.hideDragHandle,n=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=t.getBlockRootClientId,c=t.getBlockListSettings,a=r(),l=i(a[0]),s=c(l)||{},u=s.__experimentalMoverDirection,d=s.__experimentalUIParts,f=void 0===d?{}:d;return{blockClientIds:a,rootClientId:l,isValid:1===a.length?o(a[0]):null,mode:1===a.length?n(a[0]):null,moverDirection:u,hasMovers:f.hasMovers}}),[]),r=n.blockClientIds,o=n.isValid,i=n.mode,c=n.moverDirection,a=n.hasMovers,l=void 0===a||a;return 0===r.length?null:r.length>1?Object(d.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(d.createElement)(Ql,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),Object(d.createElement)(ps,null),Object(d.createElement)(ss,{clientIds:r})):Object(d.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(d.createElement)(Ql,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),"visual"===i&&o&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(bs,{clientIds:r}),Object(d.createElement)(mt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(d.createElement)(kt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(d.createElement)(ss,{clientIds:r}))}var ms=Object(h.compose)([Object(g.withDispatch)((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,c=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=e("core/block-editor"),u=s.removeBlocks,d=s.replaceBlocks,f=l().__experimentalCanUserUseUnfilteredHTML;return{handler:function(e){var t=c();if(0!==t.length&&(a()||!Object(Xo.documentHasSelection)())){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){var n=o(t),r=Object(i.serialize)(n);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",r)}if("cut"===e.type)u(t);else if("paste"===e.type){var l=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(p.isNil)(n)?[]:n,r=Object(p.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(e){try{i=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,i=t.size;Object(p.find)(r,{name:n,type:o,size:i})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!i&&(i=r.map((function(e){return'')})).join(""),o=""),{html:i,plainText:o}}(e),s=l.plainText,b=l.html,h=Object(i.pasteHandler)({HTML:b,plainText:s,mode:"BLOCKS",canUserUseUnfilteredHTML:f});d(t,h)}}}}}))])((function(e){var t=e.children,n=e.handler;return Object(d.createElement)("div",{onCopy:n,onCut:n,onPaste:n},t)}));function gs(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder;return{clientIds:n(),rootBlocksClientIds:r()}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=Object(g.useDispatch)("core/block-editor"),o=r.duplicateBlocks,i=r.removeBlocks,c=r.insertAfterBlock,a=r.insertBeforeBlock,s=r.multiSelect,u=r.clearSelectedBlock;return Object(l.useShortcut)("core/block-editor/duplicate",Object(d.useCallback)((function(e){e.preventDefault(),o(t)}),[t,o]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/remove",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-after",Object(d.useCallback)((function(e){e.preventDefault(),c(Object(p.last)(t))}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-before",Object(d.useCallback)((function(e){e.preventDefault(),a(Object(p.first)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/delete-multi-selection",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<1}),Object(l.useShortcut)("core/block-editor/select-all",Object(d.useCallback)((function(e){e.preventDefault(),s(Object(p.first)(n),Object(p.last)(n))}),[n,s])),Object(l.useShortcut)("core/block-editor/unselect",Object(d.useCallback)((function(e){e.preventDefault(),u(),window.getSelection().removeAllRanges()}),[t,u]),{isDisabled:t.length<2}),null}gs.Register=function(){var e=Object(g.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(d.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(U.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(U.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(U.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:Object(U.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:Object(U.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(U.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:Object(U.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(U.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}})}),[e]),null};var vs=gs;function Os(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelecting:r()}}),[]),t=e.selectionEnd,n=e.isMultiSelecting;return Object(d.useEffect)((function(){if(t&&!n){var e=di(t);if(e){var r=Object(Xo.getScrollContainer)(e);r&&wt()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var js=[Ct.UP,Ct.RIGHT,Ct.DOWN,Ct.LEFT,Ct.ENTER,Ct.BACKSPACE];var ks=Object(h.withSafeTimeout)((function(e){var t=e.children,n=e.setTimeout,r=Object(d.useRef)(),o=Object(g.useSelect)((function(e){return e("core/block-editor").isTyping()})),i=Object(g.useDispatch)("core/block-editor"),c=i.startTyping,a=i.stopTyping;function l(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",u),document[t]("mousemove",s)}function s(e){var t=e.clientX,n=e.clientY;if(r.current){var o=r.current,i=o.clientX,c=o.clientY;i===t&&c===n||a()}r.current={clientX:t,clientY:n}}function u(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||a()}function f(e){var t=e.type,n=e.target;o||!Object(Xo.isTextField)(n)||n.closest(".block-editor-block-toolbar")||("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(js,t)}(e))&&c()}return Object(d.useEffect)((function(){return l(o),function(){return l(!1)}}),[o]),Object(d.createElement)("div",{onFocus:function(e){var t=e.target;n((function(){o&&!Object(Xo.isTextField)(t)&&a()}))},onKeyPress:f,onKeyDown:Object(p.over)([f,function(e){o&&e.keyCode===Ct.ESCAPE&&a()}])},t)}));function ys(){return Aa()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var _s=-1!==window.navigator.userAgent.indexOf("Trident"),Es=new Set([Ct.UP,Ct.DOWN,Ct.LEFT,Ct.RIGHT]),Ss=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).ref=Object(d.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(C.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(C.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(C.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(C.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(C.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(C.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(Xo.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(Xo.computeCaretRect)();if(n)if(this.caretRect)if(Es.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(Xo.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?Is:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(xs)):t}var Ts=Object(d.createContext)({}),Ps=Ts.Provider,Ns=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=Object(d.useContext)(Ts).isEmbedButton,r=t.name,o=n?[]:Bs(Object(i.getBlockSupport)(r,"align"),Object(i.hasBlockSupport)(r,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(d.createElement)(mt,{key:"align-controls"},Object(d.createElement)(st,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(p.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(d.createElement)(e,Object(u.a)({key:"edit"},t))]}}),"withToolbarControls"),Ls=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(g.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(d.createElement)(e,t);var c=Bs(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return Object(p.includes)(c,r)&&(a=function(e){for(var t=1;t");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(m.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(p.assign)(e.attributes,{className:{type:"string"}})),e})),Object(m.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",Ds),Object(m.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=b()(e.className,n.className)),e})),Object(m.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(p.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=Ms(o),a=Ms(n),l=Object(p.difference)(a,c);l.length?e.className=l.join(" "):o&&delete e.className}return e})),Object(m.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(p.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(D.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var Fs=n(263),Vs=n.n(Fs),Hs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Us=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function l(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;a.push(i)}function s(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){var t,n=[];for(b(),p(n);e.length&&"}"!==e.charAt(0)&&(t=S()||w());)!1!==t&&(n.push(t),p(n));return n}function f(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){f(/^\s*/)}function p(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var c=e.slice(2,n-2);return r+=2,o(c),e=e.slice(n),r+=2,t({type:"comment",comment:c})}}function m(){var e=f(/^([^{]+)/);if(e)return zs(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function g(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=zs(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Hs,""),value:n?zs(n[0]).replace(Hs,""):""});return f(/^[;\s]*/),r}}function v(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function O(){for(var e,t=[],n=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var j,k=E("import"),y=E("charset"),_=E("namespace");function E(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=f(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function S(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var c=p();r=O();)c.push(r),c=c.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var n=zs(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:zs(t[1]),media:zs(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=zs(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||k()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=zs(t[1]),r=zs(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=m()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=g();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=g();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function w(){var e=i(),t=m();return t?(p(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type;var o=r?t:n;for(var i in t){var c=t[i];Array.isArray(c)?c.forEach((function(t){e(t,o)})):c&&"object"===Object(Xt.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((j=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:j,parsingErrors:a}}))};function zs(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Gs=n(144),Ks=n.n(Gs),Ws=qs;function qs(e){this.options=e||{}}qs.prototype.emit=function(e){return e},qs.prototype.visit=function(e){return this[e.type](e)},qs.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?au({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(lu)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},uu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(su(t)),r&&o.push(iu(r)),o.length?Qs(n,Object(h.compose)(o)):n}))};n.d(t,"__experimentalAlignmentHookSettingsProvider",(function(){return Ps})),n.d(t,"AlignmentToolbar",(function(){return Xe})),n.d(t,"Autocomplete",(function(){return Ze})),n.d(t,"BlockAlignmentToolbar",(function(){return st})),n.d(t,"BlockBreadcrumb",(function(){return dt})),n.d(t,"BlockControls",(function(){return mt})),n.d(t,"BlockEdit",(function(){return Z})),n.d(t,"useBlockEditContext",(function(){return $})),n.d(t,"BlockFormatControls",(function(){return kt})),n.d(t,"BlockIcon",(function(){return yt})),n.d(t,"BlockNavigationDropdown",(function(){return Ac})),n.d(t,"__experimentalBlockNavigationList",(function(){return Tc})),n.d(t,"__experimentalBlockVariationPicker",(function(){return Rc})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return zc})),n.d(t,"ButtonBlockerAppender",(function(){return Bc})),n.d(t,"ColorPalette",(function(){return Kc})),n.d(t,"ColorPaletteControl",(function(){return Wc})),n.d(t,"ContrastChecker",(function(){return ye})),n.d(t,"__experimentalEditorSkeleton",(function(){return qc})),n.d(t,"__experimentalGradientPicker",(function(){return Yc})),n.d(t,"__experimentalGradientPickerControl",(function(){return Xc})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Zc})),n.d(t,"__experimentalColorGradientControl",(function(){return le})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return ge})),n.d(t,"__experimentalImageSizeControl",(function(){return Jc})),n.d(t,"InnerBlocks",(function(){return ia})),n.d(t,"InspectorAdvancedControls",(function(){return ua})),n.d(t,"InspectorControls",(function(){return Ce})),n.d(t,"__experimentalLinkControl",(function(){return ja})),n.d(t,"MediaReplaceFlow",(function(){return Na})),n.d(t,"MediaPlaceholder",(function(){return Ua})),n.d(t,"MediaUpload",(function(){return _a})),n.d(t,"MediaUploadCheck",(function(){return Ea})),n.d(t,"PanelColorSettings",(function(){return Oe})),n.d(t,"PlainText",(function(){return za})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Ka})),n.d(t,"RichText",(function(){return ll})),n.d(t,"RichTextShortcut",(function(){return el})),n.d(t,"RichTextToolbarButton",(function(){return tl})),n.d(t,"__unstableRichTextInputEvent",(function(){return nl})),n.d(t,"ToolSelector",(function(){return dl})),n.d(t,"URLInput",(function(){return Ia})),n.d(t,"URLInputButton",(function(){return bl})),n.d(t,"URLPopover",(function(){return Ma})),n.d(t,"__experimentalImageURLInputUI",(function(){return gl})),n.d(t,"withColorContext",(function(){return Gc})),n.d(t,"__experimentalBlockListFooter",(function(){return ec})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return kl})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return Sl})),n.d(t,"__experimentalInserterMenuExtension",(function(){return mc})),n.d(t,"__experimentalPageTemplatePicker",(function(){return Pl})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return Ll})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return Nl})),n.d(t,"BlockInspector",(function(){return Kl})),n.d(t,"BlockList",(function(){return oc})),n.d(t,"BlockMover",(function(){return Ql})),n.d(t,"BlockPreview",(function(){return cc})),n.d(t,"BlockSelectionClearer",(function(){return ts})),n.d(t,"BlockSettingsMenu",(function(){return ss})),n.d(t,"BlockTitle",(function(){return ut})),n.d(t,"BlockToolbar",(function(){return hs})),n.d(t,"CopyHandler",(function(){return ms})),n.d(t,"DefaultBlockAppender",(function(){return $i})),n.d(t,"Inserter",(function(){return xc})),n.d(t,"MultiBlocksSwitcher",(function(){return ps})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return vs})),n.d(t,"MultiSelectScrollIntoView",(function(){return Os})),n.d(t,"NavigableToolbar",(function(){return Ti})),n.d(t,"ObserveTyping",(function(){return ks})),n.d(t,"PreserveScrollInReorder",(function(){return ys})),n.d(t,"SkipToSelectedBlock",(function(){return Al})),n.d(t,"Typewriter",(function(){return ws})),n.d(t,"Warning",(function(){return Jo})),n.d(t,"WritingFlow",(function(){return Ci})),n.d(t,"BlockEditorProvider",(function(){return $o})),n.d(t,"getColorClassName",(function(){return y})),n.d(t,"getColorObjectByAttributeValues",(function(){return j})),n.d(t,"getColorObjectByColorValue",(function(){return k})),n.d(t,"createCustomColorsHOC",(function(){return A})),n.d(t,"withColors",(function(){return R})),n.d(t,"__experimentalUseColors",(function(){return Me})),n.d(t,"__experimentalGetGradientClass",(function(){return J})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Q})),n.d(t,"__experimentalUseGradient",(function(){return ee})),n.d(t,"getFontSize",(function(){return Fe})),n.d(t,"getFontSizeClass",(function(){return Ve})),n.d(t,"FontSizePicker",(function(){return He})),n.d(t,"withFontSizes",(function(){return Ge})),n.d(t,"transformStyles",(function(){return uu})),n.d(t,"storeConfig",(function(){return Go})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Bt}))},43:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},46:function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,c,a=n,l=arguments.length;e:for(;a;){if(a.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)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=c(l,a,e+1/3),o=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var b,p,h;return n=P(n),{ok:d,format:e.format||f,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=a++}function b(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)r=o=0;else{var l=i-c;switch(o=a>.5?l/(2-i-c):l/(i+c),i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function x(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,c=[],a=1/t;t--;)c.push(f({h:r,s:o,v:i})),i=(i+a)%1;return c}f.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=P(e),this._roundA=l(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=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=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(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 h(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 i=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16)),R(M(r))];if(o&&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: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*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(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 f(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(k,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,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(E,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(w,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.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=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,c,a=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sl&&(l=r,a=f(t[s]));return f.isReadable(e,a,{level:i,size:c})||!o?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var B=f.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"},T=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function P(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),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return s(1,u(0,e))}function A(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function M(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return A(e)/255}var V,H,U,z=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",U="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+H),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 G(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},56:function(e,t){!function(){e.exports=this.wp.viewport}()},58:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},7:function(e,t,n){"use strict";function r(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 r}))},72:function(e,t,n){"use strict";t.__esModule=!0;var r=n(152);t.default=r.default},73: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},77:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(156)),i=r(n(157)),c=n(21),a=r(c),l=r(n(127)),s=r(n(158)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=c.useState(!1)[1];return c.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function b(e){return u.und(e)?[]:u.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var c=i,a=!1,l=0;l=b.startTime+s.duration;else if(s.decay)m=p+O/(1-.998)*(1-Math.exp(-(1-.998)*(t-b.startTime))),(u=Math.abs(b.lastPosition-m)<.1)&&(h=m);else{d=void 0!==b.lastTime?b.lastTime:t,O=void 0!==b.lastVelocity?b.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var j=Math.floor(t-d),k=0;kh:m=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,c,a,l){var s=l?l(e):e;if(sn){if("identity"===a)return s;"clamp"===a&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,c,a,r.map)}}var V=function(e){function t(n,r,o,i){var c;return(c=e.call(this)||this).calc=void 0,c.payload=n instanceof O&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],c.calc=F(r,o,i),c}l(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=F(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(O);var H=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}l(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new V(this,e,t,n)},t}(v),U=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}l(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new V(this,e,t)},t}(O),z=0,G=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,c=t.to,a=i(t,["delay","to"]);if(u.arr(c)||u.fun(c))this.queue.push(o({},a,{delay:r,to:c}));else if(c){var l={};Object.entries(c).forEach((function(e){var t,n=e[0],i=e[1],c=o({to:(t={},t[n]=i,t),delay:p(r,n)},a),s=l[c.delay]&&l[c.delay].to;l[c.delay]=o({},l[c.delay],c,{to:o({},s,c.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,c=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(c)&&(n.merged=o({},n.merged,c))}));var r=this.local=++this.guid,c=this.localQueue=this.queue;this.queue=[],c.forEach((function(t,o){var a=t.delay,l=i(t,["delay"]),s=function(t){o===c.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(l.to)||u.fun(l.to);a?setTimeout((function(){r===n.guid&&(d?n.runAsync(l,s):n.diff(l).start(s))}),a):d?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,D.has(t)||D.add(t),R||(R=!0,E(T||M));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,D.has(t)&&D.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),c=this.local,a=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),a=a.then((function(){if(c===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s=r.length)return"break";c=r[i++]}else{if((i=r.next()).done)return"break";c=i.value}var n=c.key,a=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var c;if("break"===n())break}e.current.forceUpdate()}var Q=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof v||(t=m.transform(t)),n.payload=t,n}return l(t,e),t}(j),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function be(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=fe(o,r,e+1/3),c=fe(o,r,e),a=fe(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*c)<<16|Math.round(255*a)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function he(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ge(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ve(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|255)>>>0:(n=ie.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|me(n[4]))>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=se.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ce.exec(t))?(255|be(he(n[1]),ge(n[2]),ge(n[3])))>>>0:(n=ae.exec(t))?(be(he(n[1]),ge(n[2]),ge(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var Oe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,je=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ke=new RegExp("("+Object.keys(ee).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_e=["Webkit","Ms","Moz","O"];function Ee(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return _e.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var Se={};N((function(e){return new Q(e)})),x("div"),w((function(e){var t=e.output.map((function(e){return e.replace(je,ve)})).map((function(e){return e.replace(ke,ve)})),n=t[0].match(Oe).map((function(){return[]}));t.forEach((function(e){e.match(Oe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Oe).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Oe,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),y(ee),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,c=t.scrollLeft,a=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==c&&(e.scrollLeft=c),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=Ee(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var f in a){var b=l?f:Se[f]||(Se[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(b)&&e.setAttribute(b,a[f])}}),(function(e){return e}));var we,Ce,Ie=(we=function(e){return c.forwardRef((function(t,n){var r=d(),l=c.useRef(!0),s=c.useRef(null),f=c.useRef(null),b=c.useCallback((function(e){var t=s.current;s.current=new A(e,(function(){var e=!1;f.current&&(e=m.fn(f.current,s.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);c.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),c.useImperativeHandle(n,(function(){return P(f,l,r)})),b(t);var p,h=s.current.getValue(),g=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),v=(p=e,!u.fun(p)||p.prototype instanceof a.Component?function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return a.createElement(e,o({},g,{ref:v}))}))},void 0===(Ce=!1)&&(Ce=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ce?t[0].toLowerCase()+t.substring(1):t;return e[n]=we(n),e}),we)}),xe=Ie(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ie,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=M,t.animated=xe,t.a=xe,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=L,t.useSpring=function(e){var t=u.fun(e),n=K(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=c.useRef(!1),r=u.fun(t),i=p(t),a=c.useRef(),l=K(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},i,{config:p(i.config,e),attach:e>0&&function(){return a.current[e-1]}})})),s=l[0],d=l[1],f=l[2],b=c.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,c=a.current[r];return o({},e,{config:p(e.config||i.config,t),attach:c&&function(){return c}})}))}}),[e,i.reverse]);return c.useEffect((function(){n.current&&!r&&b(t)})),c.useEffect((function(){n.current=!0}),[]),r?[s,b,f]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),a=Z(r),l=a.lazy,s=void 0!==l&&l,u=(a.unique,a.reset),f=void 0!==u&&u,b=(a.enter,a.leave,a.update,a.onDestroyed),h=(a.keys,a.items,a.onFrame),m=a.onRest,g=a.onStart,v=a.ref,O=i(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),j=d(),k=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:j});return c.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(y.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(y.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(y.current.instances).map((function(e){return e[1]}))}}})),y.current=function(e,t){var n=e.first,r=e.prevProps,c=i(e,["first","prevProps"]),a=Z(t),l=a.items,s=a.keys,u=a.initial,d=a.from,f=a.enter,b=a.leave,h=a.update,m=a.trail,g=void 0===m?0:m,v=a.unique,O=a.config,j=a.order,k=void 0===j?[q,$,Y]:j,y=Z(r),_=y.keys,E=y.items,S=o({},c.current),w=[].concat(c.deleted),C=Object.keys(S),I=new Set(C),x=new Set(s),B=s.filter((function(e){return!I.has(e)})),T=c.transitions.filter((function(e){return!e.destroyed&&!x.has(e.originalKey)})).map((function(e){return e.originalKey})),P=s.filter((function(e){return I.has(e)})),N=-g;for(;k.length;){switch(k.shift()){case q:B.forEach((function(e,t){v&&w.find((function(t){return t.originalKey===e}))&&(w=w.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":q;S[e]={slot:i,originalKey:e,key:v?String(e):W++,item:o,trail:N+=g,config:p(O,o,i),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case $:T.forEach((function(e){var t=_.indexOf(e),n=E[t],r=$;w.unshift(o({},S[e],{slot:r,destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:N+=g,config:p(O,n,r),to:p(b,n)})),delete S[e]}));break;case Y:P.forEach((function(e){var t=s.indexOf(e),n=l[t],r=Y;S[e]=o({},S[e],{item:n,slot:r,trail:N+=g,config:p(O,n,r),to:p(h,n)})}))}}var L=s.map((function(e){return S[e]}));return w.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=L.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),L=[].concat(L.slice(0,t),[r],L.slice(t))})),o({},c,{changed:B.length||T.length||P.length,first:n&&0===B.length,transitions:L,current:S,deleted:w,prevProps:t})}(y.current,r),y.current.changed&&y.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,c=e.trail,a=e.key,l=e.item;y.current.instances.has(a)||y.current.instances.set(a,new G);var u=y.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:v,onRest:function(n){y.current.mounted&&(e.destroyed&&(v||s||J(y,a),b&&b(l)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(v||s)&&y.current.deleted.length>0&&J(y),m&&m(l,t,n))},onStart:g&&function(){return g(l,t)},onFrame:h&&function(e){return h(l,t,e)},delay:c,reset:f&&t===q});u.update(d),y.current.paused||u.start()})),c.useEffect((function(){return y.current.mounted=k.current=!0,function(){y.current.mounted=k.current=!1,Array.from(y.current.instances).map((function(e){return e[1].destroy()})),y.current.instances.clear()}}),[]),y.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:y.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=c.useRef();c.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var c=i.controllers;if(c.length){var a=n*t[r];c.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=K},8:function(e,t){!function(){e.exports=this.wp.compose}()},84:function(e,t,n){"use strict";e.exports=n(150)},89:function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;re.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var f=t[c-1];return c>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[c-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var c=this;function a(e){return i?(setTimeout((function(){i(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,s=e.length,u=1,d=l+s,f=[{newPos:-1,components:[]}],b=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&b+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],b=f[n+1],p=(b?b.newPos:0)-n;d&&(f[n-1]=void 0);var h=d&&d.newPos+1=l&&p+1>=s)return a(r(c,i.components,t,e,c.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var h=p();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,c=e.newPos,a=c-r,l=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,d=0,f=0,b=void 0,p=void 0;function h(e,t){for(var n=0;n0?o[0]:" ",c=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,c)&&++s>u)return!1;t++}}return!0}for(var m=0;m0?C[0]:" ",x=C.length>0?C.substr(1):C,B=E.linedelimiters[w];if(" "===I)S++;else if("-"===I)r.splice(S,1),i.splice(S,1);else if("+"===I)r.splice(S,0,x),i.splice(S,0,B),S++;else if("\\"===I){var T=E.lines[w-1]?E.lines[w-1][0]:null;"+"===T?b=!0:"-"===T&&(p=!0)}}}if(b)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var P=0;P1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function c(){var e={};for(o.push(e);i0?u(a.lines.slice(-l.context)):[],f-=p.length,b-=p.length)}(c=p).push.apply(c,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(f)if(r.length<=2*l.context&&e=s.length-2&&r.length<=l.context){var k=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||k?k&&y||p.push("\\ No newline at end of file"):p.splice(j.oldLines,0,"\\ No newline at end of file")}d.push(j),f=0,b=0,p=[]}h+=r.length,m+=r.length}},v=0;ve.length)return!1;for(var n=0;n"):r.removed&&t.push(""),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),r.added?t.push(""):r.removed&&t.push("")}var o;return t.join("")}}])},e.exports=r()},263:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var f=n?i(d):d,b={},p=!0,h={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(p=!1)},delete:function(e){delete h.parent.node[h.key],e&&(p=!1)},remove:function(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(p=!1)},keys:null,before:function(e){b.before=e},after:function(e){b.after=e},pre:function(e){b.pre=e},post:function(e){b.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return h;function m(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=c(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,i=$().clientId,c=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,c=t.getSettings,a=r(i);return{gradient:a[n],customGradient:a[o],gradients:c().gradients}}),[i,n,o]),a=c.gradients,l=c.gradient,u=c.customGradient,f=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,b=Object(d.useCallback)((function(e){var t,r,c=function(e,t){var n=Q(e,t);return n&&n.slug}(a,e);c?f(i,(r={},Object(s.a)(r,n,c),Object(s.a)(r,o,void 0),r)):f(i,(t={},Object(s.a)(t,n,void 0),Object(s.a)(t,o,e),t))}),[a,i,f]);return{gradientClass:J(l),gradientValue:l?function(e,t){var n=Object(p.find)(e,["slug",t]);return n&&n.gradient}(a,l):u,setGradient:b}}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ne=Object(U.__)("(Color: %s)"),re=Object(U.__)("(Gradient: %s)"),oe=["colors","disableCustomColors","gradients","disableCustomGradients"];function ie(e){var t,n,r=e.colors,o=e.gradients,i=e.label,c=e.currentTab,a=e.colorValue,l=e.gradientValue;if("color"===c){if(a){var s=k(r,t=a),u=s&&s.name;n=Object(U.sprintf)(ne,u||t)}}else if("gradient"===c&&l){var f=Q(o,t=l),b=f&&f.name;n=Object(U.sprintf)(re,b||t)}return Object(d.createElement)(d.Fragment,null,i,!!t&&Object(d.createElement)(z.ColorIndicator,{colorValue:t,"aria-label":n}))}function ce(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,i=e.className,c=e.label,a=e.onColorChange,l=e.onGradientChange,s=e.colorValue,f=e.gradientValue,h=a&&(!Object(p.isEmpty)(t)||!r),m=l&&(!Object(p.isEmpty)(n)||!o),g=Object(d.useState)(f?"gradient":!!h&&"color"),v=Object(D.a)(g,2),O=v[0],j=v[1];return h||m?Object(d.createElement)(z.BaseControl,{className:b()("block-editor-color-gradient-control",i)},Object(d.createElement)("fieldset",null,Object(d.createElement)("legend",null,Object(d.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(d.createElement)(z.BaseControl.VisualLabel,null,Object(d.createElement)(ie,{currentTab:O,label:c,colorValue:s,gradientValue:f})))),h&&m&&Object(d.createElement)(z.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(d.createElement)(z.Button,{isSmall:!0,isPrimary:"color"===O,isSecondary:"color"!==O,onClick:function(){return j("color")}},Object(U.__)("Solid")),Object(d.createElement)(z.Button,{isSmall:!0,isPrimary:"gradient"===O,isSecondary:"gradient"!==O,onClick:function(){return j("gradient")}},Object(U.__)("Gradient"))),("color"===O||!m)&&Object(d.createElement)(z.ColorPalette,Object(u.a)({value:s,onChange:m?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),("gradient"===O||!h)&&Object(d.createElement)(z.__experimentalGradientPicker,Object(u.a)({value:f,onChange:h?function(e){l(e),a()}:l},{gradients:n,disableCustomGradients:o})))):null}function ae(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,oe)}));return Object(d.createElement)(ce,function(e){for(var t=1;t=24?"large":"small"})?null:Object(d.createElement)(ke,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},_e=Object(z.createSlotFill)("InspectorControls"),Ee=_e.Fill,Se=_e.Slot,we=X(Ee);we.Slot=Se;var Ce=we;function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(U.__)("Color settings")},n=t.panelTitle,r=void 0===n?Object(U.__)("Color settings"):n,o=t.colorPanelProps,i=t.contrastCheckers,c=t.panelChildren,a=t.colorDetector,l=(a=void 0===a?{}:a).targetRef,u=a.backgroundColorTargetRef,f=void 0===u?l:u,h=a.textColorTargetRef,m=void 0===h?l:h,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],O=$().clientId,j=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(O),settingsColors:r&&!0!==r?r:Ne}}),[O]),k=j.attributes,y=j.settingsColors,_=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,E=Object(d.useCallback)((function(e){return _(O,e)}),[_,O]),S=Object(d.useMemo)((function(){return H()((function(e,t,n,r,o,i){return function(c){var a=c.children,l=c.className,u=void 0===l?"":l,f=c.style,h=void 0===f?{}:f;return(d.Children.map(a,(function(c){var a,l={};return r?l=Object(s.a)({},t,o):i&&(l=Object(s.a)({},t,i)),Object(d.cloneElement)(c,{className:b()(u,c.props.className,(a={},Object(s.a)(a,"has-".concat(Object(p.kebabCase)(r),"-").concat(Object(p.kebabCase)(t)),r),Object(s.a)(a,n||"has-".concat(Object(p.kebabCase)(e)),r||i),a)),style:xe({},l,{},h,{},c.props.style||{})})})))}}),{maxSize:e.length})}),[e.length]),w=Object(d.useMemo)((function(){return H()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));E(Object(s.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),E(Object(s.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[E,e.length]),C=Object(d.useState)(),I=Object(D.a)(C,2),x=I[0],B=I[1],T=Object(d.useState)(),P=Object(D.a)(T,2),N=P[0],L=P[1];return Object(d.useEffect)((function(){if(i){var e=!1,t=!1,n=!0,r=!1,o=void 0;try{for(var c,a=Object(p.castArray)(i)[Symbol.iterator]();!(n=(c=a.next()).done);n=!0){var l=c.value,s=l.backgroundColor,u=l.textColor;if(e||(e=!0===s),t||(t=!0===u),e&&t)break}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}if(t&&L(Te(m.current).color),e){for(var d=f.current,b=Te(d).backgroundColor;"rgba(0, 0, 0, 0)"===b&&d.parentNode&&d.parentNode.nodeType===Pe.ELEMENT_NODE;)d=d.parentNode,b=Te(d).backgroundColor;B(b)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(k[t.name]," | ").concat(k[Object(p.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(M.a)(v))),Object(d.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=xe({},n,{color:k[n.name]}),o=r.name,i=r.property,c=void 0===i?o:i,a=r.className,l=r.panelLabel,s=void 0===l?n.label||Le[o]||Object(p.startCase)(o):l,u=r.componentName,d=void 0===u?Object(p.startCase)(o).replace(/\s/g,""):u,f=r.color,b=void 0===f?n.color:f,h=r.colors,m=void 0===h?y:h,g=k[Object(p.camelCase)("custom ".concat(o))],v=g?void 0:m.find((function(e){return e.slug===b}));return e[d]=S(o,c,a,b,v&&v.color,g),e[d].displayName=d,e[d].color=g||v&&v.color,e[d].slug=b,e[d].setColor=w(o,m),t[d]={value:v?v.color:k[Object(p.camelCase)("custom ".concat(o))],onChange:e[d].setColor,label:s,colors:m},m||delete t[d].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:i,detectedBackgroundColor:x,detectedColor:N,panelChildren:c};return xe({},n,{ColorPanel:Object(d.createElement)(Re,a),InspectorControlsColorPanel:Object(d.createElement)(Me,a)})}),[k,E,N,x].concat(Object(M.a)(v)))}var Fe=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function Ve(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var He=Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(z.FontSizePicker);function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:1,o=Object(M.a)(e);return o.splice(t,r),Tt(o,e.slice(t,t+r),n)}function Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=Object(s.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,At(o,r))})),n}function Rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(s.a)({},n.clientId,t),Rt(n.innerBlocks,n.clientId))}),{})}function Mt(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(M.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(F.a)(o,["innerBlocks"]);r.push.apply(r,Object(M.a)(i)),n[c.clientId]=t(c)}return n}function Dt(e){return Mt(e,(function(e){return Object(p.omit)(e,"attributes")}))}function Ft(e){return Mt(e,(function(e){return e.attributes}))}function Vt(e,t){return e===t?Lt({},e):t}function Ht(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(p.isEqual)(Object(p.keys)(n),Object(p.keys)(r)));var n,r}var Ut=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var zt=Object(p.flow)(g.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Lt({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Lt({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(p.mapValues)(Mt(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(Mt(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Lt({},r.cache,{},Ut(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Lt({},r.cache,{},Ut(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=Ut(o(n.replacedClientIds));r.cache=Lt({},Object(p.omit)(r.cache,n.replacedClientIds),{},Object(p.omit)(c,n.replacedClientIds),{},Ut(Object(p.keys)(Mt(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Lt({},Object(p.omit)(r.cache,n.removedClientIds),{},Ut(Object(p.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var a=[n.clientId];n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Lt({},r.cache,{},Ut(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Lt({},r.cache,{},Ut(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Lt({},r.cache,{},Ut(o(s)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.reduce)(t[n],(function(n,r){return[].concat(Object(M.a)(n),[r],Object(M.a)(e(t,r)))}),[])}(t.order);return Lt({},t,{byClientId:Lt({},Object(p.omit)(t.byClientId,r),{},Dt(n.blocks)),attributes:Lt({},Object(p.omit)(t.attributes,r),{},Ft(n.blocks)),order:Lt({},Object(p.omit)(t.order,r),{},At(n.blocks)),parents:Lt({},Object(p.omit)(t.parents,r),{},Rt(n.blocks)),cache:Lt({},Object(p.omit)(t.cache,r),{},Object(p.mapValues)(Mt(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var i=e(r,o),c="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===i&&!c){n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var a=Object(p.get)(r,["isPersistentChange"],!0);return r.isPersistentChange===a?r:Lt({},i,{isPersistentChange:a})}return i=Lt({},i,{isPersistentChange:c?!n:!Ht(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,i}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({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 Dt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Lt({},e,{},Dt(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(p.omit)(t.updates,"attributes");return Object(p.isEmpty)(n)?e:Lt({},e,Object(s.a)({},t.clientId,Lt({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Lt({},Object(p.omit)(e,t.replacedClientIds),{},Dt(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}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 Ft(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Lt({},e,{},Ft(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Lt({},e,Object(s.a)({},t.clientId,Lt({},e[t.clientId],{},t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(p.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=Vt(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Lt({},e,Object(s.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Lt({},Object(p.omit)(e,t.replacedClientIds),{},Ft(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}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 At(t.blocks);case"RECEIVE_BLOCKS":return Lt({},e,{},Object(p.omit)(At(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=At(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Lt({},e,{},i,Object(s.a)({},r,Tt(o,i[r],a)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootClientId,d=void 0===u?"":u,f=t.toRootClientId,b=void 0===f?"":f,h=t.clientId,m=t.index,g=void 0===m?e[b].length:m;if(d===b){var v=e[b],O=v.indexOf(h);return Lt({},e,Object(s.a)({},b,Pt(e[b],O,g)))}return Lt({},e,(l={},Object(s.a)(l,d,Object(p.without)(e[d],h)),Object(s.a)(l,b,Tt(e[b],h,g)),l));case"MOVE_BLOCKS_UP":var j=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,_=Object(p.first)(j),E=e[y];if(!E.length||_===Object(p.first)(E))return e;var S=E.indexOf(_);return Lt({},e,Object(s.a)({},y,Pt(E,S,S-1,j.length)));case"MOVE_BLOCKS_DOWN":var w=t.clientIds,C=t.rootClientId,I=void 0===C?"":C,x=Object(p.first)(w),B=Object(p.last)(w),T=e[I];if(!T.length||B===Object(p.last)(T))return e;var P=T.indexOf(x);return Lt({},e,Object(s.a)({},I,Pt(T,P,P+1,w.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var L=At(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Lt({},e,{},Object(p.omit)(L,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===N[0]?[].concat(Object(M.a)(e),Object(M.a)(L[""])):(-1===N.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(M.a)(t.removedClientIds)))}))}])(e)}return e},parents: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 Rt(t.blocks);case"RECEIVE_BLOCKS":return Lt({},e,{},Rt(t.blocks));case"INSERT_BLOCKS":return Lt({},e,{},Rt(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Lt({},e,Object(s.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Lt({},Object(p.omit)(e,t.replacedClientIds),{},Rt(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e}});function Gt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.clientId?e:{clientId:r.clientId}:{}}return e}var Kt=Object(g.combineReducers)({blocks:zt,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},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":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},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return Gt(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return Gt(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type?e:void 0},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 Lt({},e,Object(s.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(p.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(p.isEqual)(e[n],t.settings)?e:Lt({},e,Object(s.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(p.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 Lt({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Lt({},e,{},t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xt,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 r=n.name,o={name:n.name};return Object(i.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Lt({},e,{insertUsage:Lt({},e.insertUsage,Object(s.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(s.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(s.a)({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}}}),Wt=n(89),qt=n.n(Wt),$t=n(261),Yt=n.n($t),Xt=n(34),Zt=n(23),Jt=n.n(Zt);function Qt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function yn(e){var t;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Qt("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,kn(t,-1);case 6:case"end":return n.stop()}}),on)}function _n(e){var t;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Qt("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,kn(t);case 6:case"end":return n.stop()}}),cn)}function En(){return{type:"START_MULTI_SELECT"}}function Sn(){return{type:"STOP_MULTI_SELECT"}}function wn(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function Cn(){return{type:"CLEAR_SELECTED_BLOCK"}}function In(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function xn(e,t){var n=Object(p.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(p.get)(e,["attributes","className"]);if(Object(p.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,c=n[t];return nn({},e,{attributes:nn({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function Bn(e,t,n){var r,o,i;return Jt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=xn,c.t1=Object(p.castArray)(t),c.next=5,Qt("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,Qt("core/block-editor","getBlockRootClientId",Object(p.first)(e));case 9:r=c.sent,o=0;case 11:if(!(o1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,l.next=5,Qt("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,Qt("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,Qt("core/block-editor","canInsertBlockType",c,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),ln)}function Rn(e,t,n){return Mn([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function Mn(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return Jt.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=!(d.length>3&&void 0!==d[3])||d[3],f.t0=xn,f.t1=Object(p.castArray)(e),f.next=5,Qt("core/block-editor","getSettings");case 5:f.t2=f.sent,e=(0,f.t0)(f.t1,f.t2),o=[],i=!0,c=!1,a=void 0,f.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){f.next=22;break}return u=s.value,f.next=17,Qt("core/block-editor","canInsertBlockType",u.name,n);case 17:f.sent&&o.push(u);case 19:i=!0,f.next=13;break;case 22:f.next=28;break;case 24:f.prev=24,f.t3=f.catch(11),c=!0,a=f.t3;case 28:f.prev=28,f.prev=29,i||null==l.return||l.return();case 31:if(f.prev=31,!c){f.next=34;break}throw a;case 34:return f.finish(31);case 35:return f.finish(28);case 36:if(!o.length){f.next=38;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return f.stop()}}),sn,null,[[11,24,28,36],[29,,31,35]])}function Dn(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Fn(){return{type:"HIDE_INSERTION_POINT"}}function Vn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Hn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Un(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function zn(e){var t,n,r=arguments;return Jt.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(r.length>1&&void 0!==r[1])||r[1],e&&e.length){o.next=3;break}return o.abrupt("return");case 3:return e=Object(p.castArray)(e),o.next=6,Qt("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,Qt("core/block-editor","getTemplateLock",n);case 9:if(!o.sent){o.next=12;break}return o.abrupt("return");case 12:if(!t){o.next=15;break}return o.next=15,yn(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(hn(),"t0",18);case 18:case"end":return o.stop()}}),un)}function Gn(e,t){return zn([e],t)}function Kn(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function Wn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function qn(){return{type:"START_TYPING"}}function $n(){return{type:"STOP_TYPING"}}function Yn(){return{type:"START_DRAGGING_BLOCKS"}}function Xn(){return{type:"STOP_DRAGGING_BLOCKS"}}function Zn(){return{type:"ENTER_FORMATTED_TEXT"}}function Jn(){return{type:"EXIT_FORMATTED_TEXT"}}function Qn(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function er(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Rn(Object(i.createBlock)(r,e),n,t)}function tr(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function nr(e){return{type:"UPDATE_SETTINGS",settings:e}}function rr(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function or(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function ir(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function cr(){return{type:"MARK_AUTOMATIC_CHANGE"}}function ar(){var e,t=arguments;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(je.speak)(Object(U.__)("You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.")):Object(je.speak)(Object(U.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),dn)}function lr(e){var t,n,r,o,c;return Jt.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e||e.length){a.next=2;break}return a.abrupt("return");case 2:return a.next=4,Qt("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,Qt("core/block-editor","getBlockRootClientId",e[0]);case 7:if(n=a.sent,!Object(p.some)(t,(function(e){return!e}))){a.next=10;break}return a.abrupt("return");case 10:if(r=t.map((function(e){return e.name})),!Object(p.some)(r,(function(e){return!Object(i.hasBlockSupport)(e,"multiple",!0)}))){a.next=13;break}return a.abrupt("return");case 13:return a.next=15,Qt("core/block-editor","getBlockIndex",Object(p.last)(Object(p.castArray)(e)),n);case 15:return o=a.sent,c=t.map((function(e){return Object(i.cloneBlock)(e)})),a.next=19,Mn(c,o+1,n);case 19:if(!(c.length>1)){a.next=22;break}return a.next=22,wn(Object(p.first)(c).clientId,Object(p.last)(c).clientId);case 22:case"end":return a.stop()}}),fn)}function sr(e){var t,n;return Jt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Qt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Qt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Qt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,er({},t,n);case 15:case"end":return r.stop()}}),bn)}function ur(e){var t,n;return Jt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Qt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Qt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Qt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,er({},t,n+1);case 15:case"end":return r.stop()}}),pn)}var dr=n(40);function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function br(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]})),Hr=Object(dr.a)((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Vr(e,t,r);return Object(p.map)(Object(p.filter)(Object(p.map)(o,(function(t){return{id:t,name:jr(e,t)}})),{name:n}),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function Ur(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function zr(e,t){for(var n,r=Mr(e),o=[].concat(Object(M.a)(Vr(e,t)),[t]),i=[].concat(Object(M.a)(Vr(e,r)),[r]),c=Math.min(o.length,i.length),a=0;a2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Mr(e)),void 0===t&&(t=n<0?Zr(e):Jr(e)),!t)return null;var r=Fr(e,t);if(null===r)return null;var o=e.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function Kr(e,t){return Gr(e,t,-1)}function Wr(e,t){return Gr(e,t,1)}function qr(e){return e.initialPosition}var $r=Object(dr.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return Or;if(t.clientId===n.clientId)return[t.clientId];var r=Fr(e,t.clientId);if(null===r)return Or;var o=oo(e,r),i=o.indexOf(t.clientId),c=o.indexOf(n.clientId);return i>c?o.slice(c,i+1):o.slice(i,c+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function Yr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?Or:$r(e)}var Xr=Object(dr.a)((function(e){var t=Yr(e);return t.length?t.map((function(t){return _r(e,t)})):Or}),(function(e){return[].concat(Object(M.a)($r.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Zr(e){return Object(p.first)(Yr(e))||null}function Jr(e){return Object(p.last)(Yr(e))||null}function Qr(e,t){return Zr(e)===t}function eo(e,t){return-1!==Yr(e).indexOf(t)}var to=Object(dr.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=eo(e,n=Fr(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function no(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function ro(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function oo(e,t){return e.blocks.order[t||""]||Or}function io(e,t,n){return oo(e,n).indexOf(t)}function co(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function ao(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(oo(e,t),(function(t){return co(e,t)||eo(e,t)||n&&ao(e,t,n)}))}function lo(e,t){if(!t)return!1;var n=Yr(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(p.isBoolean)(e)?e:Object(p.isArray)(e)?!(!Object(p.includes)(e,"core/post-content")||null!==t)||Object(p.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;var c=Bo(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!ko(e,n);if(s)return!1;var u=xo(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=jr(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},_o=Object(dr.a)(yo,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function Eo(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var So=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&yo(e,t.name,n)},wo=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?pr:t>0?hr:"common"===e?mr:gr},r=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}},o=function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(p.some)(xr(e,Cr(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=Eo(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return{id:o,name:t.name,initialAttributes:{},title:t.title,description:t.description,icon:t.icon,category:t.category,keywords:t.keywords,variations:f,example:t.example,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=No(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=Eo(e,c)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=n("reusable",d,!1),b=r(s,d);return{id:c,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:vr,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return So(e,n,t)})).map(o),l=yo(e,"core/block",t)?Ro(e).map(c):[];return Object(p.orderBy)([].concat(Object(M.a)(a),Object(M.a)(l)),["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,Ro(e),Object(i.getBlockTypes)()]})),Co=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(p.some)(Object(i.getBlockTypes)(),(function(n){return So(e,n,t)}));if(n)return!0;var r=yo(e,"core/block",t)&&Ro(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Ro(e),Object(i.getBlockTypes)()]})),Io=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(p.filter)(Object(i.getBlockTypes)(),(function(n){return So(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function xo(e,t){return e.blockListSettings[t]}function Bo(e){return e.settings}function To(e){return e.blocks.isPersistentChange}var Po=Object(dr.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),No=Object(dr.a)((function(e,t){var n=Object(p.find)(Ro(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[Ro(e)]}));function Lo(e){return e.blocks.isIgnoredChange}function Ao(e){return e.lastBlockAttributesChange}function Ro(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],Or)}function Mo(e){return e.isNavigationMode}function Do(e){return!!e.automaticChangeStatus}function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vo(e){for(var t=1;t0&&Object(d.createElement)("div",{className:"block-editor-warning__actions"},d.Children.map(n,(function(e,t){return Object(d.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})))),o&&Object(d.createElement)(z.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(z.Button,{icon:Zo.a,label:Object(U.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(d.createElement)(z.MenuGroup,null,o.map((function(e,t){return Object(d.createElement)(z.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},Qo=n(262),ei=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(d.createElement)("div",{className:c},Object(d.createElement)("div",{className:"block-editor-block-compare__content"},Object(d.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(d.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(d.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(d.createElement)("div",{className:"block-editor-block-compare__action"},Object(d.createElement)(z.Button,{isSecondary:!0,tabIndex:"0",onClick:o},i)))},ti=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(w.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(E.a)(t,[{key:"getDifference",value:function(e,t){return Object(Qo.diffChars)(e,t).map((function(e,t){var n=b()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(d.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(p.castArray)(e),n=t.map((function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(o(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(d.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(d.createElement)(ei,{title:Object(U.__)("Current"),className:"block-editor-block-compare__current",action:n,actionText:Object(U.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(d.createElement)(ei,{title:Object(U.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(d.Component),ni=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(C.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(C.a)(n)),n}return Object(I.a)(t,e),Object(E.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,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(U.__)("Convert to Classic Block"),onClick:r},{title:Object(U.__)("Attempt Block Recovery"),onClick:o}];return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Jo,{actions:[Object(d.createElement)(z.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(U._x)("Resolve","imperative verb")),a&&Object(d.createElement)(z.Button,{key:"edit",onClick:t,isPrimary:!0},Object(U.__)("Convert to HTML"))],secondaryActions:s},Object(U.__)("This block contains unexpected or invalid content.")),l&&Object(d.createElement)(z.Modal,{title:Object(U.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(d.createElement)(ti,{block:c,onKeep:t,onConvert:n,convertor:ri,convertButtonText:Object(U.__)("Convert to Blocks")})))}}]),t}(d.Component),ri=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},oi=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(g.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,ri(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,o,c)))}}}))])(ni),ii=Object(d.createElement)(Jo,{className:"block-editor-block-list__block-crash-warning"},Object(U.__)("This block has encountered an error and cannot be previewed.")),ci=function(){return ii},ai=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(I.a)(t,e),Object(E.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}(d.Component),li=n(72),si=n.n(li);var ui=function(e){var t=e.clientId,n=Object(d.useState)(""),r=Object(D.a)(n,2),o=r[0],c=r[1],a=Object(g.useSelect)((function(e){return{block:e("core/block-editor").getBlock(t)}}),[t]).block,l=Object(g.useDispatch)("core/block-editor").updateBlock;return Object(d.useEffect)((function(){c(Object(i.getBlockContent)(a))}),[a]),Object(d.createElement)(si.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(i.getBlockType)(a.name),n=Object(i.getBlockAttributes)(e,o,a.attributes),r=o||Object(i.getSaveContent)(e,n),s=!o||Object(i.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})};function di(e){return document.getElementById("block-"+e)}function fi(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}function bi(e){e.nodeType!==e.ELEMENT_NODE&&(e=e.parentElement);var t=e.closest(".wp-block");if(t)return t.id.slice("block-".length)}var pi=function(e){return e+1},hi=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var mi=function(e,t,n,r,o){var i=Object(h.useReducedMotion)()||!r,c=Object(d.useReducer)(pi,0),a=Object(D.a)(c,2),l=a[0],s=a[1],u=Object(d.useReducer)(pi,0),f=Object(D.a)(u,2),b=f[0],p=f[1],m=Object(d.useState)({x:0,y:0,scrollTop:0}),g=Object(D.a)(m,2),v=g[0],O=g[1],j=e.current?hi(e.current):null,k=Object(d.useMemo)((function(){return!!n&&Object(Xo.getScrollContainer)(e.current)}),[n]);Object(d.useLayoutEffect)((function(){l&&p()}),[l]),Object(d.useLayoutEffect)((function(){if(i){if(n&&k){e.current.style.transform="none";var t=hi(e.current);k.scrollTop=k.scrollTop-j.top+t.top}}else{e.current.style.transform="none";var r=hi(e.current),o={x:j?j.left-r.left:0,y:j?j.top-r.top:0,scrollTop:j&&k?k.scrollTop-j.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),s(),O(o)}}),[o]);var y=Object(Yo.useSpring)({from:{x:v.x,y:v.y},to:{x:0,y:0},reset:l!==b,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&k&&!i&&e.y&&(k.scrollTop=v.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(Yo.interpolate)([y.x,y.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object(Yo.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}};function gi(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}function vi(e){var t=e("core/block-editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlockClientIds,i=t.hasMultiSelection,c=t.getBlockParents,a=t.getSelectedBlockClientId;return{isSelectionEnabled:n(),isMultiSelecting:r(),multiSelectedBlockClientIds:o(),hasMultiSelection:i(),getBlockParents:c,selectedBlockClientId:a()}}function Oi(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var ji=Object(d.forwardRef)((function(e,t){var n=e.selectedClientId,r=e.isReverse,o=e.containerRef,i=e.noCapture,c=e.hasMultiSelection,a=e.multiSelectionContainer,l=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),s=Object(g.useDispatch)("core/block-editor").setNavigationMode;return Object(d.createElement)("div",{ref:t,tabIndex:l?void 0:"0",onFocus:function(){if(i.current)i.current=null;else if(n){var e=di(n);if(r){var t=Xo.focus.tabbable.find(e);(Object(p.last)(t)||e).focus()}else e.focus()}else{if(c)return void a.current.focus();s(!0);var l=Xo.focus.tabbable.find(o.current);l.length&&(r?Object(p.last)(l).focus():Object(p.first)(l).focus())}},style:{position:"fixed"}})})),ki=window,yi=ki.getSelection,_i=ki.getComputedStyle,Ei=Object(p.overEvery)([Xo.isTextField,Xo.focus.tabbable.isTabbableIndex]);function Si(e,t,n){var r=Xo.focus.focusable.find(n);return t&&(r=Object(p.reverse)(r)),r=r.slice(r.indexOf(e)+1),Object(p.find)(r,(function t(n,r,o){if(!Xo.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Xo.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=o[r+c])&&n.contains(i);c++)if(t(i,r+c,o))return!1;return!0}))}function wi(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=t.isNavigationMode,f=t.isSelectionEnabled,b=t.getBlockSelectionStart,p=t.isMultiSelecting,h=n(),m=r(),g=o();return{selectedBlockClientId:h,selectionStartClientId:m,selectionBeforeEndClientId:i(g||h),selectionAfterEndClientId:c(g||h),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),blocks:u(),isNavigationMode:d(),isSelectionEnabled:f(),blockSelectionStart:b(),isMultiSelecting:p()}}function Ci(e){var t=e.children,n=Object(d.useRef)(),r=Object(d.useRef)(),o=Object(d.useRef)(),i=Object(d.useRef)(),c=Object(d.useRef)(),a=Object(d.useRef)(),l=Object(d.useRef)(),s=Object(g.useSelect)(wi,[]),u=s.selectedBlockClientId,f=s.selectionStartClientId,h=s.selectionBeforeEndClientId,m=s.selectionAfterEndClientId,v=s.selectedFirstClientId,O=s.selectedLastClientId,j=s.hasMultiSelection,k=s.blocks,y=s.isNavigationMode,_=s.isSelectionEnabled,E=s.blockSelectionStart,S=s.isMultiSelecting,w=Object(g.useDispatch)("core/block-editor"),C=w.multiSelect,I=w.selectBlock,x=w.clearSelectedBlock,B=w.setNavigationMode;Object(d.useEffect)((function(){j&&!S&&i.current.focus()}),[j,S]);var T=b()("block-editor-writing-flow",{"is-navigate-mode":y});return Object(d.createElement)("div",{className:T},Object(d.createElement)(ji,{ref:r,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:i}),Object(d.createElement)("div",{ref:n,onKeyDown:function(e){var t=e.keyCode,s=e.target,d=t===Ct.UP,b=t===Ct.DOWN,g=t===Ct.LEFT,_=t===Ct.RIGHT,E=t===Ct.TAB,S=t===Ct.ESCAPE,w=d||g,T=g||_,P=d||b,N=T||P,L=e.shiftKey,A=L||e.ctrlKey||e.altKey||e.metaKey,R=P?Xo.isVerticalEdge:Xo.isHorizontalEdge;if(y){var M=E&&L||d,D=E&&!L||b,F=M?h:m;if(D||M)if(F)e.preventDefault(),I(F);else if(E&&u){var V,H=di(u);(V=D?Xo.focus.tabbable.findNext(H):Xo.focus.tabbable.findPrevious(H))&&(e.preventDefault(),V.focus(),x())}}else{if(u)if(E){var U=di(u);if(L){if(s===U)return a.current=!0,void r.current.focus()}else{var z=Xo.focus.tabbable.find(U);if(s===(Object(p.last)(z)||U))return a.current=!0,void o.current.focus()}}else S&&B(!0);else if(j&&E&&s===i.current)return a.current=!0,void(L?r.current.focus():o.current.focus());if(P?l.current||(l.current=Object(Xo.computeCaretRect)()):l.current=null,!N)return Ct.isKeyboardEvent.primary(e)&&(c.current=Object(Xo.isEntirelySelected)(s)),void(Ct.isKeyboardEvent.primary(e,"a")&&((s.isContentEditable?c.current:Object(Xo.isEntirelySelected)(s))&&(C(Object(p.first)(k),Object(p.last)(k)),e.preventDefault()),c.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Ct.UP||t===Ct.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(s,t,A)){var G="rtl"===_i(s).direction?!w:w;if(L)(w&&h||!w&&m)&&(j||function(e,t){var r,o,i=Si(e,t,n.current);return!(i&&(r=e,o=i,r.closest(".block-editor-block-list__block")===o.closest(".block-editor-block-list__block")))}(s,w)&&R(s,w))&&(!function(e){var t=e?h:m;t&&C(f||u,t)}(w),e.preventDefault());else if(j)!function(e){var t=e?v:O;t&&I(t)}(w),e.preventDefault();else if(P&&Object(Xo.isVerticalEdge)(s,w)){var K=Si(s,w,n.current);K&&(Object(Xo.placeCaretAtVerticalEdge)(K,w,l.current),e.preventDefault())}else if(T&&yi().isCollapsed&&Object(Xo.isHorizontalEdge)(s,G)){var W=Si(s,G,n.current);Object(Xo.placeCaretAtHorizontalEdge)(W,G),e.preventDefault()}}}},onMouseDown:function(e){if(l.current=null,y&&u&&fi(di(u),e.target)&&B(!1),_&&0===e.button){var t=bi(e.target);t&&(e.shiftKey?E!==t&&(C(E,t),e.preventDefault()):j&&I(t))}}},Object(d.createElement)("div",{ref:i,tabIndex:j?"0":void 0,"aria-label":j?Object(U.__)("Multiple selected blocks"):void 0,style:{position:"fixed"}}),t),Object(d.createElement)(ji,{ref:o,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:i,isReverse:!0}),Object(d.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:function(){var e=Xo.focus.focusable.find(n.current),t=Object(p.findLast)(e,Ei);t&&Object(Xo.placeCaretAtHorizontalEdge)(t,!0)},className:"block-editor-writing-flow__click-redirect"}))}function Ii(e){var t=e.clientId;return Object(g.useSelect)((function(e){var n=e("core/block-editor"),r=n.getBlockIndex,o=n.getBlockInsertionPoint,i=n.isBlockInsertionPointVisible,c=(0,n.getBlockRootClientId)(t),a=r(t,c),l=o();return i()&&l.index===a&&l.rootClientId===c}),[t])?Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}):null}function xi(e){var t=e.className,n=e.isMultiSelecting,r=e.hasMultiSelection,o=e.selectedBlockClientId,i=e.children,c=e.containerRef,a=Object(d.useState)(!1),l=Object(D.a)(a,2),s=l[0],u=l[1],f=Object(d.useState)(!1),p=Object(D.a)(f,2),h=p[0],m=p[1],v=Object(d.useState)(null),O=Object(D.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(D.a)(y,2),E=_[0],S=_[1],w=Object(d.useRef)(),C=Object(g.useSelect)((function(e){return{multiSelectedBlockClientIds:(0,e("core/block-editor").getMultiSelectedBlockClientIds)()}})).multiSelectedBlockClientIds;var I=r?C.includes(E):E===o;return Object(d.createElement)(d.Fragment,null,!n&&(s||h)&&Object(d.createElement)(z.Popover,{noArrow:!0,animate:!1,anchorRef:j,position:"top right left",focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:"block-toolbar",__unstableFixedPosition:!1},Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point",style:{width:j.offsetWidth}},Object(d.createElement)(Ii,{clientId:E}),Object(d.createElement)("div",{ref:w,onFocus:function(){return m(!0)},onBlur:function(){return m(!1)},onClick:function(e){var t=e.clientX,n=e.clientY,r=e.target;if(r===w.current){var o=r.getBoundingClientRect(),i=nr}));if(o){var i=o.id.slice("block-".length);if(i){var c=o.getBoundingClientRect();e.clientX>c.right||e.clientXe}));if(!n)return;var r=n.id.slice("block-".length);if(!r)return;a(r)}}),[_]),_)return c}({element:j,rootClientId:n}),y=n?{}:{hasPopover:a.hasPopover};return Object(d.createElement)(O,Object(u.a)({ref:j,className:b()("block-editor-block-list__layout",t)},y),s.map((function(e,t){var o=m?h.includes(e):p===e;return Object(d.createElement)(g.AsyncModeProvider,{key:e,value:!o},Object(d.createElement)(Wi,{rootClientId:n,clientId:e,isDraggable:r,isMultiSelecting:f,animateOnChange:t,enableAnimation:v,hasSelectedUI:a.hasSelectedUI,className:e===k?"is-drop-target":void 0}))})),Object(d.createElement)(Xi,{rootClientId:n,renderAppender:o,className:null===k?"is-drop-target":void 0}),Object(d.createElement)(ec.Slot,null))},function(e){return Object(d.createElement)(g.AsyncModeProvider,{value:!1},Object(d.createElement)(rc,e))});function ic(e){var t=e.blocks,n=e.viewportWidth,r=e.padding,o=void 0===r?0:r,i=Object(d.useRef)(null),c=Object(d.useState)(!1),a=Object(D.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(1),f=Object(D.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)({x:0,y:0}),g=Object(D.a)(m,2),v=g[0],O=v.x,j=v.y,k=g[1];if(Object(d.useLayoutEffect)((function(){var e=setTimeout((function(){var e=i.current;if(e){if(1===t.length){var r=function(e){var t=di(e);if(t)return t.firstChild||t}(t[0].clientId);if(!r)return;var c=e.getBoundingClientRect();c={width:c.width-2*o,height:c.height-2*o,left:c.left,top:c.top};var a=r.getBoundingClientRect(),l=c.width/a.width||1,u=-(a.left-c.left)*l+o,d=c.height>a.height*l?(c.height-a.height*l)/2+o:0;h(l),k({x:u,y:d}),r.style.marginTop="0"}else{var f=e.getBoundingClientRect();h(f.width/n)}s(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var y={transform:"scale(".concat(p,")"),visibility:l?"visible":"hidden",left:O,top:j,width:n};return Object(d.createElement)("div",{ref:i,className:b()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":l}),"aria-hidden":!0},Object(d.createElement)(z.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(d.createElement)(oc,null)))}var cc=Object(g.withSelect)((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,c=Object(d.useMemo)((function(){return Object(p.castArray)(t)}),[t]),a=Object(d.useReducer)((function(e){return e+1}),0),l=Object(D.a)(a,2),s=l[0],u=l[1];return Object(d.useLayoutEffect)(u,[t]),Object(d.createElement)($o,{value:c,settings:i},Object(d.createElement)(ic,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var ac=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(F.a)(e,["icon","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(d.createElement)("li",{className:"block-editor-block-types-list__list-item"},Object(d.createElement)(z.Button,Object(u.a)({className:b()("block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},c),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:a},Object(d.createElement)(yt,{icon:t,showColors:!0})),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};function lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sc(e){for(var t=1;t0})),Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=Object(F.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(d.createElement)("div",{className:"block-editor-inserter__child-blocks"},(t||n)&&Object(d.createElement)("div",{className:"block-editor-inserter__parent-block-header"},Object(d.createElement)(yt,{icon:t,showColors:!0}),n&&Object(d.createElement)("h2",null,n)),Object(d.createElement)(uc,Object(u.a)({items:r},o)))})),bc=Object(z.createSlotFill)("__experimentalInserterMenuExtension"),pc=bc.Fill,hc=bc.Slot;pc.Slot=hc;var mc=pc;function gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var vc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase(),Object(p.words)(e)},Oc=function(e,t){return Object(p.differenceWith)(e,vc(t),(function(e,t){return t.includes(e)}))},jc=function(e,t,n,r){var o=vc(r);return 0===o.length?e:e.filter((function(e){var r=e.name,i=e.title,c=e.category,a=e.keywords,l=void 0===a?[]:a,s=e.variations,u=void 0===s?[]:s,d=Oc(o,i);if(0===d.length)return!0;if(0===(d=Oc(d,l.join(" "))).length)return!0;d=Oc(d,Object(p.get)(Object(p.find)(t,{slug:c}),["title"]));var f=n[r.split("/")[0]];return f&&(d=Oc(d,f.title)),0===d.length||0===(d=Oc(d,u.map((function(e){return e.title})).join(" "))).length})).map((function(e){if(Object(p.isEmpty)(e.variations))return e;var t=e.variations.filter((function(e){return Object(p.intersectionWith)(o,vc(e.title),(function(e,t){return t.includes(e)})).length>0}));return Object(p.isEmpty)(t)?e:function(e){for(var t=1;t0&&i.push("reusable"),r.length>0&&(i=i.concat(Object.keys(t),Object.keys(n))),i}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.categories,r=t.collections,o=t.debouncedSpeak,i=t.items,c=t.rootChildBlocks,a=jc(i,n,r,e),l=Object(p.filter)(a,(function(e){var t=e.name;return Object(p.includes)(c,t)})),s=[];if(!e){var u=this.props.maxSuggestedItems||9;s=Object(p.filter)(i,(function(e){return e.utility>0})).slice(0,u)}var d=Object(p.filter)(a,{category:"reusable"}),f=function(e){return Object(p.findIndex)(n,(function(t){return t.slug===e.category}))},b=Object(p.flow)((function(e){return Object(p.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(p.sortBy)(e,f)}),(function(e){return Object(p.groupBy)(e,"category")}))(a),h=yc({},r);Object.keys(r).forEach((function(e){h[e]=a.filter((function(t){return Ec(t)===e})),0===h[e].length&&delete h[e]})),this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:s,reusableItems:d,itemsPerCategory:b,itemsPerCollection:h,openPanels:this.filterOpenPanels(e,b,h,a,d)});var m=Object.keys(b).reduce((function(e,t){return e+b[t].length}),0),g=Object(U.sprintf)(Object(U._n)("%d result found.","%d results found.",m),m);o(g)}},{key:"onKeyDown",value:function(e){Object(p.includes)([Ct.LEFT,Ct.DOWN,Ct.RIGHT,Ct.UP,Ct.BACKSPACE,Ct.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.categories,r=t.collections,o=t.instanceId,c=t.onSelect,a=t.rootClientId,l=t.showInserterHelpPanel,s=this.state,u=s.childItems,f=s.hoveredItem,h=s.itemsPerCategory,m=s.itemsPerCollection,g=s.openPanels,v=s.reusableItems,O=s.suggestedItems,j=s.filterValue,k=function(e){return-1!==g.indexOf(e)},y=!(Object(p.isEmpty)(O)&&Object(p.isEmpty)(v)&&Object(p.isEmpty)(h)&&Object(p.isEmpty)(m)),_=f?Object(i.getBlockType)(f.name):null,E=y&&l;return Object(d.createElement)("div",{className:b()("block-editor-inserter__menu",{"has-help-panel":E}),onKeyPress:_c,onKeyDown:this.onKeyDown},Object(d.createElement)("div",{className:"block-editor-inserter__main-area"},Object(d.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(o),className:"screen-reader-text"},Object(U.__)("Search for a block")),Object(d.createElement)("input",{id:"block-editor-inserter__search-".concat(o),type:"search",placeholder:Object(U.__)("Search for a block"),className:"block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(d.createElement)("div",{className:"block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(U.__)("Available block types")},Object(d.createElement)(fc,{rootClientId:a,items:u,onSelect:c,onHover:this.onHover}),!!O.length&&Object(d.createElement)(z.PanelBody,{title:Object(U._x)("Most used","blocks"),opened:k("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(d.createElement)(uc,{items:O,onSelect:c,onHover:this.onHover})),Object(p.map)(n,(function(t){var n=h[t.slug];return n&&n.length?Object(d.createElement)(z.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:k(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(d.createElement)(uc,{items:n,onSelect:c,onHover:e.onHover})):null})),Object(p.map)(r,(function(t,n){var r=m[n];return r&&r.length?Object(d.createElement)(z.PanelBody,{key:n,title:t.title,icon:t.icon,opened:k(n),onToggle:e.onTogglePanel(n),ref:e.bindPanel(n)},Object(d.createElement)(uc,{items:r,onSelect:c,onHover:e.onHover})):null})),!!v.length&&Object(d.createElement)(z.PanelBody,{className:"block-editor-inserter__reusable-blocks-panel",title:Object(U.__)("Reusable"),opened:k("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(d.createElement)(uc,{items:v,onSelect:c,onHover:this.onHover}),Object(d.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(It.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(U.__)("Manage all reusable blocks"))),Object(d.createElement)(mc.Slot,{fillProps:{onSelect:c,onHover:this.onHover,filterValue:j,hasItems:y}},(function(e){return e.length?e:y?null:Object(d.createElement)("p",{className:"block-editor-inserter__no-results"},Object(U.__)("No blocks found."))})))),E&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},f&&Object(d.createElement)(d.Fragment,null,!Object(i.isReusableBlock)(f)&&Object(d.createElement)(dc,{blockType:f}),Object(d.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(f)||_.example?Object(d.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(d.createElement)(cc,{padding:10,viewportWidth:500,blocks:_.example?Object(i.getBlockFromExample)(f.name,{attributes:yc({},_.example.attributes,{},f.initialAttributes),innerBlocks:_.example.innerBlocks}):Object(i.createBlock)(f.name,f.initialAttributes)})):Object(d.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(U.__)("No Preview Available.")))),!f&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},Object(U.__)("Content blocks")),Object(d.createElement)("p",null,Object(U.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(d.createElement)("p",null,Object(U.__)("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(d.createElement)("p",null,Object(U.__)("Browse through the library to learn more about what each block does."))),Object(d.createElement)(z.Tip,null,Object(d.__experimentalCreateInterpolateElement)(Object(U.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(d.createElement)("kbd",null)})))))}}]),t}(d.Component),wc=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,c=e("core/block-editor"),a=c.getInserterItems,l=c.getBlockName,s=c.getBlockRootClientId,u=c.getBlockSelectionEnd,d=c.getSettings,f=e("core/blocks"),b=f.getCategories,p=f.getCollections,h=f.getChildBlockNames,m=o;if(!m&&!n&&!r){var g=u();g&&(m=s(g)||void 0)}var v=l(m),O=d(),j=O.showInserterHelpPanel,k=O.__experimentalFetchReusableBlocks;return{categories:b(),collections:p(),rootChildBlocks:h(v),items:a(m),showInserterHelpPanel:i&&j,destinationRootClientId:m,fetchReusableBlocks:k}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.showInsertionPoint;function a(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=o();return!l&&s?n(s,a)+1:i(a).length}return{showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:o.hideInsertionPoint,onSelect:function(n){var o=e("core/block-editor"),c=o.replaceBlocks,l=o.insertBlock,s=r("core/block-editor").getSelectedBlock,u=t.isAppender,d=t.onSelect,f=t.__experimentalSelectBlockOnInsert,b=n.name,h=n.title,m=n.initialAttributes,g=n.innerBlocks,v=s(),O=Object(i.createBlock)(b,m,function e(t){return Object(p.map)(t,(function(t){var n=Object(D.a)(t,3),r=n[0],o=n[1],c=n[2],a=void 0===c?[]:c;return Object(i.createBlock)(r,o,e(a))}))}(g));if(!u&&v&&Object(i.isUnmodifiedDefaultBlock)(v))c(v.clientId,O);else if(l(O,a(),t.destinationRootClientId,f),!f){var j=Object(U.sprintf)(Object(U.__)("%s block added"),h);Object(je.speak)(j)}return d(),O}}})),z.withSpokenMessages,h.withInstanceId,h.withSafeTimeout)(Sc),Cc=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=e.blockTitle,c=e.hasSingleBlockType;return t=c?Object(U.sprintf)(Object(U._x)("Add %s","directly add the only allowed block"),i):Object(U._x)("Add block","Generic label for block inserter button"),Object(d.createElement)(z.Button,{icon:Et.a,label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},Ic=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(C.a)(e)),e.renderToggle=e.renderToggle.bind(Object(C.a)(e)),e.renderContent=e.renderContent.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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,r=this.props,o=r.disabled,i=r.blockTitle,c=r.hasSingleBlockType,a=r.renderToggle,l=void 0===a?Cc:a;return l({onToggle:t,isOpen:n,disabled:o,blockTitle:i,hasSingleBlockType:c})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,c=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return Object(d.createElement)(wc,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:c,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock;return n?this.renderToggle({onToggle:r}):Object(d.createElement)(z.Dropdown,{className:"block-editor-inserter",contentClassName:"block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(U.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(d.Component),xc=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockRootClientId,c=o.hasInserterItems,a=o.__experimentalGetAllowedBlocks,l=e("core/blocks").getBlockVariations,s=a(r=r||i(n)||void 0),u=1===Object(p.size)(s)&&0===Object(p.size)(l(s[0].name,"inserter")),d=!1;return u&&(d=s[0]),{hasItems:c(r),hasSingleBlockType:u,blockTitle:d?d.title:"",allowedBlockType:d,rootClientId:r}})),Object(g.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(i.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(U.sprintf)(Object(U.__)("%s block added"),l.title);Object(je.speak)(u)}}}})),Object(h.ifCondition)((function(e){return e.hasItems}))])(Ic);var Bc=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(d.createElement)(xc,{rootClientId:t,__experimentalSelectBlockOnInsert:r,renderToggle:function(e){var t,r=e.onToggle,o=e.disabled,i=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType;t=a?Object(U.sprintf)(Object(U._x)("Add %s","directly add the only allowed block"),c):Object(U._x)("Add block","Generic label for block inserter button");var l=!a;return Object(d.createElement)(z.Tooltip,{text:t},Object(d.createElement)(z.Button,{className:b()(n,"block-editor-button-block-appender"),onClick:r,"aria-haspopup":l?"true":void 0,"aria-expanded":l?i:void 0,disabled:o,label:t},Object(d.createElement)("span",{className:"screen-reader-text"},t),Object(d.createElement)(_t.a,{icon:Et.a})))},isAppender:!0})};function Tc(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,c=e.showNestedBlocks,a=e.parentBlockClientId,l=o&&!!a;return Object(d.createElement)("ul",{className:"block-editor-block-navigation__list",role:"list"},Object(p.map)(Object(p.omitBy)(t,p.isNil),(function(e){var t=Object(i.getBlockType)(e.name),a=e.clientId===n;return Object(d.createElement)("li",{key:e.clientId},Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(z.Button,{className:b()("block-editor-block-navigation__item-button",{"is-selected":a}),onClick:function(){return r(e.clientId)}},Object(d.createElement)(yt,{icon:t.icon,showColors:!0}),Object(i.__experimentalGetBlockLabel)(t,e.attributes),a&&Object(d.createElement)("span",{className:"screen-reader-text"},Object(U.__)("(selected block)")))),c&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(d.createElement)(Tc,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),l&&Object(d.createElement)("li",null,Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(Bc,{rootClientId:a,__experimentalSelectBlockOnInsert:!1}))))}var Pc=Object(h.compose)(Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}})),Object(g.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?p.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(d.createElement)(z.NavigableMenu,{role:"presentation",className:"block-editor-block-navigation__container"},Object(d.createElement)("p",{className:"block-editor-block-navigation__label"},Object(U.__)("Block navigation")),i&&Object(d.createElement)(Tc,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(d.createElement)(Tc,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),Nc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(d.createElement)(z.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));function Lc(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen;Object(l.useShortcut)("core/edit-post/toggle-block-navigation",Object(d.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var o=Object(g.useSelect)((function(e){return e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(d.createElement)(z.Button,{icon:Nc,"aria-expanded":r,onClick:t?n:void 0,label:Object(U.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:o,"aria-disabled":!t})}var Ac=function(e){var t=e.isDisabled,n=Object(g.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!t;return Object(d.createElement)(z.Dropdown,{contentClassName:"block-editor-block-navigation__popover",renderToggle:function(e){return Object(d.createElement)(Lc,Object(u.a)({},e,{isEnabled:n}))},renderContent:function(e){var t=e.onClose;return Object(d.createElement)(Pc,{onSelect:t})}})};var Rc=function(e){var t=e.icon,n=void 0===t?"layout":t,r=e.label,o=void 0===r?Object(U.__)("Choose variation"):r,i=e.instructions,c=void 0===i?Object(U.__)("Select a variation to start with."):i,a=e.variations,l=e.onSelect,s=e.allowSkip,u=b()("block-editor-block-variation-picker",{"has-many-variations":a.length>4});return Object(d.createElement)(z.Placeholder,{icon:n,label:o,instructions:c,className:u},Object(d.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list"},a.map((function(e){return Object(d.createElement)("li",{key:e.name},Object(d.createElement)(z.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return l(e)},className:"block-editor-block-variation-picker__variation",label:e.title}))}))),s&&Object(d.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(d.createElement)(z.Button,{isLink:!0,onClick:function(){return l()}},Object(U.__)("Skip"))))},Mc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Dc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}));function Fc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Vc={top:{icon:Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(U._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Dc,title:Object(U._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Mc,title:Object(U._x)("Vertically Align Bottom","Block vertical alignment setting")}},Hc=["top","center","bottom"],Uc="top";var zc=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Hc:r,i=e.isCollapsed,c=void 0===i||i,a=Vc[t],l=Vc[Uc];return Object(d.createElement)(z.Toolbar,{isCollapsed:c,icon:a?a.icon:l.icon,label:Object(U._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.onChange({width:t,height:n})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.imageWidth,r=t.imageHeight,o=t.imageSizeOptions,i=void 0===o?[]:o,c=t.isResizable,a=void 0===c||c,l=t.slug,s=t.width,u=t.height,f=t.onChange,b=t.onChangeImage,h=void 0===b?p.noop:b;return Object(d.createElement)(d.Fragment,null,!Object(p.isEmpty)(i)&&Object(d.createElement)(z.SelectControl,{label:Object(U.__)("Image size"),value:l,options:i,onChange:h}),a&&Object(d.createElement)("div",{className:"block-editor-image-size-control"},Object(d.createElement)("p",{className:"block-editor-image-size-control__row"},Object(U.__)("Image dimensions")),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(z.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(U.__)("Width"),value:s||n||"",min:1,onChange:function(e){return f({width:parseInt(e,10)})}}),Object(d.createElement)(z.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(U.__)("Height"),value:u||r||"",min:1,onChange:function(e){return f({height:parseInt(e,10)})}})),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(z.ButtonGroup,{"aria-label":Object(U.__)("Image Size")},[25,50,75,100].map((function(t){var o=Math.round(n*(t/100)),i=Math.round(r*(t/100)),c=s===o&&u===i;return Object(d.createElement)(z.Button,{key:t,isSmall:!0,isPrimary:c,isPressed:c,onClick:e.updateDimensions(o,i)},t,"%")}))),Object(d.createElement)(z.Button,{isSmall:!0,onClick:this.updateDimensions()},Object(U.__)("Reset")))))}}]),t}(d.Component),Qc=n(51),ea=n.n(Qc),ta=Object(h.createHigherOrderComponent)((function(e){return Y((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),na=ta((function(e){var t=e.clientId,n=e.showSeparator;return Object(d.createElement)(Bc,{rootClientId:t,showSeparator:n})})),ra=Object(h.compose)([ta,Object(g.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(p.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(d.createElement)($i,{rootClientId:t,lastBlockClientId:n})})),oa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.block,n=e.templateLock,r=e.__experimentalBlocks,o=e.replaceInnerBlocks,i=e.__unstableMarkNextChangeAsNotPersistent;0!==t.innerBlocks.length&&"all"!==n||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1}),r&&(i(),o(r))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.block,r=t.templateLock,o=t.template,i=t.isLastBlockChangePersistent,c=t.onInput,a=t.onChange,l=n.innerBlocks;(this.updateNestedSettings(),0===l.length||"all"===r)&&(!Object(p.isEqual)(o,e.template)&&this.synchronizeBlocksWithTemplate());if(e.block.innerBlocks!==l){var s=i?a:c;s&&s(l)}}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,c=Object(i.synchronizeBlocksWithTemplate)(o,t);Object(p.isEqual)(c,o)||r(c)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,c={allowedBlocks:n,templateLock:void 0===o?i:o,__experimentalCaptureToolbars:e.__experimentalCaptureToolbars||!1,__experimentalMoverDirection:e.__experimentalMoverDirection,__experimentalUIParts:e.__experimentalUIParts};ea()(t,c)||r(c)}},{key:"render",value:function(){var e=this.props,t=e.enableClickThrough,n=e.clientId,r=e.hasOverlay,o=e.__experimentalCaptureToolbars,i=Object(F.a)(e,["enableClickThrough","clientId","hasOverlay","__experimentalCaptureToolbars"]),c=this.state.templateInProcess,a=b()("block-editor-inner-blocks",{"has-overlay":t&&r,"is-capturing-toolbar":o});return Object(d.createElement)("div",{className:a},!c&&Object(d.createElement)(oc,Object(u.a)({rootClientId:n},i)))}}]),t}(d.Component);(oa=Object(h.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),Y((function(e){return Object(p.pick)(e,["clientId"])})),Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,c=n.getBlockListSettings,a=n.getBlockRootClientId,l=n.getTemplateLock,s=n.isNavigationMode,u=n.isLastBlockChangePersistent,d=t.clientId,f=t.isSmallScreen,b=i(d),p=a(d);return{block:b,blockListSettings:c(d),hasOverlay:"core/template"!==b.name&&!r(d)&&!o(d,!0),parentLock:l(p),enableClickThrough:s()||f,isLastBlockChangePersistent:u()}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.__unstableMarkNextChangeAsNotPersistent,i=n.updateBlockListSettings,c=t.block,a=t.clientId,l=t.templateInsertUpdatesSelection,s=void 0===l||l;return{replaceInnerBlocks:function(e){r(a,e,0===c.innerBlocks.length&&s&&0!==e.length)},__unstableMarkNextChangeAsNotPersistent:o,updateNestedSettings:function(t){e(i(a,t))}}}))])(oa)).DefaultBlockAppender=ra,oa.ButtonBlockAppender=na,oa.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(d.createElement)(t,null)}));var ia=oa,ca=Object(z.createSlotFill)("InspectorAdvancedControls"),aa=ca.Fill,la=ca.Slot,sa=X(aa);sa.slotName="InspectorAdvancedControls",sa.Slot=la;var ua=sa,da=n(49);function fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ba=[{id:"opensInNewTab",title:Object(U.__)("Open in new tab")}],pa=function(e){var t=e.value,n=e.onChange,r=void 0===n?p.noop:n,o=e.settings,i=void 0===o?ba:o;if(!i||!i.length)return null;var c=function(e){return function(n){r(function(e){for(var t=1;t-1&&e.stopPropagation()}(e)},onKeyPress:ma,placeholder:Object(U.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:c}),Object(d.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(d.createElement)(z.Button,{type:"submit",label:Object(U.__)("Submit"),icon:"editor-break",className:"block-editor-link-control__search-submit"})))};function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oa(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"";O(e)},onSelect:function(e){i(Oa({},n,{},e)),x()},renderSuggestions:function(e){var t=e.suggestionsListProps,r=e.buildSuggestionItemProps,o=e.suggestions,c=e.selectedSuggestion,a=e.isLoading,l=e.isInitialSuggestions,f=b()("block-editor-link-control__search-results",{"is-loading":a}),p=["url","mailto","tel","internal"],h=l?"block-editor-link-control-search-results-label-".concat(s):void 0,m=l?Object(U.__)("Recently updated"):Object(U.sprintf)(Object(U.__)("Search results for %s"),v),g=l?void 0:m,O=Object(d.createElement)("span",{className:"block-editor-link-control__search-results-label",id:h,"aria-label":g},m);return Object(d.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},l?O:Object(d.createElement)(z.VisuallyHidden,null,O),Object(d.createElement)("div",Object(u.a)({},t,{className:f,"aria-labelledby":h}),o.map((function(e,t){return Object(d.createElement)(ha,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,onClick:function(){i(Oa({},n,{},e)),x()},isSelected:t===c,isURL:p.includes(e.type.toLowerCase()),searchTerm:v})}))))},fetchSuggestions:B,showInitialSuggestions:c}):Object(d.createElement)(d.Fragment,null,Object(d.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(s)},Object(U.__)("Currently selected"),":"),Object(d.createElement)("div",{"aria-labelledby":"current-link-label-".concat(s),"aria-selected":"true",className:b()("block-editor-link-control__search-item",{"is-current":!0})},Object(d.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(d.createElement)(z.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n&&n.title||w),n&&n.title&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-info"},w)),Object(d.createElement)(z.Button,{isSecondary:!0,onClick:function(){return _(!0)},className:"block-editor-link-control__search-item-action"},Object(U.__)("Edit")))),Object(d.createElement)(pa,{value:n,settings:r,onChange:i}))},ka=n(287),ya=n(159),_a=Object(z.withFilters)("editor.MediaUpload")((function(){return null}));var Ea=Object(g.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),Sa=n(192),wa=function(e){return e.stopPropagation()},Ca=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).onChange=n.onChange.bind(Object(C.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(C.a)(n)),n.selectLink=n.selectLink.bind(Object(C.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(C.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(C.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(d.createRef)(),n.inputRef=Object(d.createRef)(),n.updateSuggestions=Object(p.throttle)(n.updateSuggestions.bind(Object(C.a)(n)),200),n.suggestionNodes=[],n.isUpdatingSuggestions=!1,n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(I.a)(t,e),Object(E.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,wt()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100)),this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentDidMount",value:function(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"shouldShowInitialSuggestions",value:function(){var e=this.state.suggestions,t=this.props,n=t.__experimentalShowInitialSuggestions,r=void 0!==n&&n,o=t.value;return!this.isUpdatingSuggestions&&r&&!(o&&o.length)&&!(e&&e.length)}},{key:"updateSuggestions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var i=!(t&&t.length);if(i||!(t.length<2||!o&&Object(It.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var c=r(t,{isInitialSuggestions:i});c.then((function(t){e.suggestionsRequest===c&&(e.setState({suggestions:t,loading:!1}),t.length?e.props.debouncedSpeak(Object(U.sprintf)(Object(U._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(U.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===c&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=c}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Ct.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case Ct.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case Ct.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(U.__)("Link selected.")));break;case Ct.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Ct.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Ct.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.label,r=t.instanceId,o=t.className,i=t.isFullWidth,c=t.hasBorder,a=t.__experimentalRenderSuggestions,l=t.placeholder,s=void 0===l?Object(U.__)("Paste URL or type to search"):l,f=t.value,h=void 0===f?"":f,m=t.autoFocus,g=void 0===m||m,v=t.__experimentalShowInitialSuggestions,O=void 0!==v&&v,j=this.state,k=j.showSuggestions,y=j.suggestions,_=j.selectedSuggestion,E=j.loading,S="url-input-control-".concat(r),w="block-editor-url-input-suggestions-".concat(r),C="block-editor-url-input-suggestion-".concat(r),I={id:w,ref:this.autocompleteRef,role:"listbox"},x=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(C,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(d.createElement)(z.BaseControl,{label:n,id:S,className:b()("block-editor-url-input",o,{"is-full-width":i,"has-border":c})},Object(d.createElement)("input",{autoFocus:g,type:"text","aria-label":Object(U.__)("URL"),required:!0,value:h,onChange:this.onChange,onInput:wa,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":k,"aria-autocomplete":"list","aria-owns":w,"aria-activedescendant":null!==_?"".concat(C,"-").concat(_):void 0,ref:this.inputRef}),E&&Object(d.createElement)(z.Spinner,null),Object(p.isFunction)(a)&&k&&!!y.length&&a({suggestions:y,selectedSuggestion:_,suggestionsListProps:I,buildSuggestionItemProps:x,isLoading:E,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:O&&!(h&&h.length)}),!Object(p.isFunction)(a)&&k&&!!y.length&&Object(d.createElement)(z.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(d.createElement)("div",Object(u.a)({},I,{className:b()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),y.map((function(t,n){return Object(d.createElement)(z.Button,Object(u.a)({},x(0,n),{key:t.id,className:b()("block-editor-url-input__suggestion",{"is-selected":n===_}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=e.__experimentalShowInitialSuggestions,i=void 0!==o&&o,c=t.showSuggestions,a=n&&n.length;return i||a||(c=!1),!0===r&&(c=!1),{showSuggestions:c}}}]),t}(d.Component),Ia=Object(h.compose)(h.withSafeTimeout,z.withSpokenMessages,h.withInstanceId,Object(g.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(Ca);function xa(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(F.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(d.createElement)("form",Object(u.a)({className:b()("block-editor-url-popover__link-editor",n)},i),Object(d.createElement)(Ia,{value:o,onChange:r,autocompleteRef:t}),Object(d.createElement)(z.Button,{icon:Sa.a,label:Object(U.__)("Apply"),type:"submit"}))}var Ba=n(286);function Ta(e){var t=e.url,n=e.urlLabel,r=e.className,o=b()(r,"block-editor-url-popover__link-viewer-url");return t?Object(d.createElement)(z.ExternalLink,{className:o,href:t},n||Object(It.filterURLForDisplay)(Object(It.safeDecodeURI)(t))):Object(d.createElement)("span",{className:o})}function Pa(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(F.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(d.createElement)("div",Object(u.a)({className:b()("block-editor-url-popover__link-viewer",t)},c),Object(d.createElement)(Ta,{url:o,urlLabel:i,className:n}),r&&Object(d.createElement)(z.Button,{icon:Ba.a,label:Object(U.__)("Edit"),onClick:r}))}var Na=Object(h.compose)(z.withNotices)((function(e){var t,n=e.mediaURL,r=e.mediaId,o=e.allowedTypes,i=e.accept,c=e.onSelect,a=e.onSelectURL,l=e.onError,s=e.name,u=void 0===s?Object(U.__)("Replace"):s,f=Object(d.useState)(!1),b=Object(D.a)(f,2),p=b[0],h=b[1],m=Object(d.useState)(!1),v=Object(D.a)(m,2),O=v[0],j=v[1],k=Object(d.useState)(n),y=Object(D.a)(k,2),_=y[0],E=y[1],S=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),w=Object(d.createRef)(),C=function(e){c(e),E(e.url),Object(je.speak)(Object(U.__)("The media file has been replaced"))},I=function(e){e.keyCode===Ct.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=O?Object(d.createElement)(xa,{onKeyDown:function(e){[Ct.LEFT,Ct.DOWN,Ct.RIGHT,Ct.UP,Ct.BACKSPACE,Ct.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:_,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return E(e)},onSubmit:function(e){e.preventDefault(),a(_),j(!1),w.current.focus()}}):Object(d.createElement)(Pa,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:_,onEditLinkClick:function(){return j(!O)}}),Object(d.createElement)(z.Dropdown,{contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(z.ToolbarGroup,{className:"media-replace-flow"},Object(d.createElement)(z.Button,{ref:w,"aria-expanded":t,onClick:n,onKeyDown:I},u,Object(d.createElement)("span",{className:"block-editor-media-replace-flow__indicator"})))},renderContent:function(e){var n=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.NavigableMenu,null,Object(d.createElement)(_a,{value:r,onSelect:function(e){return C(e)},allowedTypes:o,render:function(e){var t=e.open;return Object(d.createElement)(z.MenuItem,{icon:"admin-media",onClick:t},Object(U.__)("Open Media Library"))}}),Object(d.createElement)(Ea,null,Object(d.createElement)(z.FormFileUpload,{onChange:function(e){!function(e,t){var n=e.target.files;S({allowedTypes:o,filesList:n,onFileChange:function(e){var n=Object(D.a)(e,1)[0];C(n),t()},onError:l})}(e,n)},accept:i,render:function(e){var t=e.openFileDialog;return Object(d.createElement)(z.MenuItem,{icon:ka.a,onClick:function(){t()}},Object(U.__)("Upload"))}})),a&&Object(d.createElement)(z.MenuItem,{icon:ya.a,onClick:function(){return h(!p)},"aria-expanded":p},Object(d.createElement)("div",null," ",Object(U.__)("Insert from URL")," "))),p&&Object(d.createElement)("div",{className:"block-editor-media-flow__url-input"},t))}})})),La=n(37),Aa=n.n(La),Ra=n(288),Ma=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(C.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,c=e.focusOnMount,a=void 0===c?"firstElement":c,l=Object(F.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),s=this.state.isSettingsExpanded,f=!!r&&s;return Object(d.createElement)(z.Popover,Object(u.a)({className:"block-editor-url-popover",focusOnMount:a,position:i},l),Object(d.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(d.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(d.createElement)(z.Button,{className:"block-editor-url-popover__settings-toggle",icon:Ra.a,label:Object(U.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),f&&Object(d.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!f&&Object(d.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(d.Component);Ma.LinkEditor=xa,Ma.LinkViewer=Pa;var Da=Ma,Fa=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(d.createElement)(Da,{onClose:o},Object(d.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(d.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(U.__)("URL"),placeholder:Object(U.__)("Paste or type URL"),onChange:n,value:t}),Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:Sa.a,label:Object(U.__)("Apply"),type:"submit"})))},Va=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(C.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(C.a)(e)),e.onUpload=e.onUpload.bind(Object(C.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(C.a)(e)),e.openURLInput=e.openURLInput.bind(Object(C.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(p.every)(e,(function(e){return"image"===e||Object(p.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(p.get)(e.value,["src"],"")!==Object(p.get)(this.props.value,["src"],"")&&this.setState({src:Object(p.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,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,c=n.multiple,a=n.onError,l=n.onSelect,s=n.value;if(c)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=Object(D.a)(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:a})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,c=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,u=n.onDoubleClick,f=n.mediaPreview,p=n.notices,h=n.onSelectURL,m=n.mediaUpload,g=n.children,v=s.instructions,O=s.title;if(m||h||(v=Object(U.__)("To edit this block, you need permission to upload media.")),void 0===v||void 0===O){var j=1===o.length,k=j&&"audio"===o[0],y=j&&"image"===o[0],_=j&&"video"===o[0];void 0===v&&m&&(v=Object(U.__)("Upload a media file or pick one from your media library."),k?v=Object(U.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?v=Object(U.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=Object(U.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(U.__)("Media"),k?O=Object(U.__)("Audio"):y?O=Object(U.__)("Image"):_&&(O=Object(U.__)("Video")))}var E=b()("block-editor-media-placeholder",i,{"is-appender":a});return Object(d.createElement)(z.Placeholder,{icon:c,label:O,instructions:v,className:E,notices:p,onClick:t,onDoubleClick:u,preview:f},e,g)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?p.noop:n;return t?null:Object(d.createElement)(z.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(U.__)("Cancel"),isLink:!0,onClick:e},Object(U.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(d.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isSecondary:!0},Object(U.__)("Insert from URL")),t&&Object(d.createElement)(Fa,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,c=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,u=t.onSelect,f=t.value,h=void 0===f?{}:f,m=Object(d.createElement)(_a,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:u,allowedTypes:i,value:Object(p.isArray)(h)?h.map((function(e){return e.id})):h.id,render:function(e){var t=e.open;return Object(d.createElement)(z.Button,{isSecondary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(U.__)("Media Library"))}});if(a&&c)return Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(z.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.Button,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(U.__)("Upload")),m,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var g=Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(z.FormFileUpload,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(U.__)("Upload")),m,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(g)}return this.renderPlaceholder(m)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&Aa()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(d.createElement)(Ea,null,this.renderDropZone())):Object(d.createElement)(Ea,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(d.Component),Ha=Object(g.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Ua=Object(h.compose)(Ha,Object(z.withFilters)("editor.MediaPlaceholder"))(Va),za=Object(d.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(F.a)(e,["onChange","className"]);return Object(d.createElement)(si.a,Object(u.a)({ref:t,className:b()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));function Ga(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(h.useInstanceId)(Ga),i=r||Object(U.sprintf)(Object(U._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(d.createElement)(d.Fragment,null,Object(d.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(d.createElement)("span",{className:"screen-reader-text",id:"rbc-desc-".concat(o)},i))}var Ka=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,i=e.renderDefaultControl,c=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,u=void 0===s?{id:"all",label:Object(U.__)("All")}:s,f=e.viewports,p=void 0===f?[{id:"small",label:Object(U.__)("Small screens")},{id:"medium",label:Object(U.__)("Medium screens")},{id:"large",label:Object(U.__)("Large screens")}]:f;if(!t||!n||!i)return null;var h=r||Object(U.sprintf)(Object(U.__)("Use the same %s on all screensizes."),n),m=Object(U.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),g=i(Object(d.createElement)(Ga,{property:n,viewport:u}),u);return Object(d.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(d.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(d.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(d.createElement)(z.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:h,checked:!l,onChange:o,help:m}),Object(d.createElement)("div",{className:b()("block-editor-responsive-block-control__group",{"is-responsive":l})},!l&&g,l&&(c?c(p):p.map((function(e){return Object(d.createElement)(d.Fragment,{key:e.id},i(Object(d.createElement)(Ga,{property:n,viewport:e}),e))}))))))},Wa=[Ct.rawShortcut.primary("z"),Ct.rawShortcut.primaryShift("z"),Ct.rawShortcut.primary("y")],qa=Object(d.createElement)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Wa.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),$a=function(){return qa},Ya=n(41);function Xa(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Za={position:"bottom left"},Ja=function(){return Object(d.createElement)("div",{className:"block-editor-format-toolbar"},Object(d.createElement)(z.Toolbar,null,["bold","italic","link","text-color"].map((function(e){return Object(d.createElement)(z.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(d.createElement)(z.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(d.createElement)(z.DropdownMenu,{icon:!1,label:Object(U.__)("More rich text controls"),controls:Object(p.orderBy)(e.map((function(e){return Object(D.a)(e,1)[0].props})),"title"),popoverProps:Za})}))))},Qa=function(e){var t=e.inline,n=e.anchorRef;return t?Object(d.createElement)(z.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(d.createElement)(Ja,null)):Object(d.createElement)(kt,null,Object(d.createElement)(Ja,null))},el=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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(d.createElement)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(s.a)({},Ct.rawShortcut[n](t),this.onUse)})}}]),t}(d.Component);function tl(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(F.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=Ct.displayShortcut[r](o)),Object(d.createElement)(z.Fill,{name:c},Object(d.createElement)(z.ToolbarButton,Object(u.a)({},i,{shortcut:t})))}var nl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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}(d.Component);function rl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ol="block-editor-rich-text",il="block-editor-rich-text__editable";function cl(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var al=Object(d.forwardRef)((function e(t,n){var r=t.children,o=t.tagName,a=t.value,l=t.onChange,f=t.isSelected,p=t.multiline,m=t.inlineToolbar,v=t.wrapperClassName,O=t.className,j=t.autocompleters,k=t.onReplace,y=t.placeholder,_=t.keepPlaceholderOnFocus,E=t.allowedFormats,S=t.formattingControls,w=t.withoutInteractiveFormatting,C=t.onRemove,I=t.onMerge,x=t.onSplit,B=t.__unstableOnSplitMiddle,T=t.identifier,P=t.start,N=t.reversed,L=t.style,A=t.preserveWhiteSpace,R=t.__unstableEmbedURLOnPaste,V=Object(F.a)(t,["children","tagName","value","onChange","isSelected","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","placeholder","keepPlaceholderOnFocus","allowedFormats","formattingControls","withoutInteractiveFormatting","onRemove","onMerge","onSplit","__unstableOnSplitMiddle","identifier","start","reversed","style","preserveWhiteSpace","__unstableEmbedURLOnPaste"]),H=Object(h.useInstanceId)(e);T=T||H;var U=Object(d.useRef)(),z=n||U,G=$(),K=G.clientId,W=G.onCaretVerticalPositionChange,q=G.isSelected,Y=Object(g.useSelect)((function(e){var t,n=e("core/block-editor"),r=n.isCaretWithinFormattedText,o=n.getSelectionStart,c=n.getSelectionEnd,a=n.getSettings,l=n.didAutomaticChange,u=n.__unstableGetBlockWithoutInnerBlocks,b=n.isMultiSelecting,p=n.hasMultiSelection,h=o(),m=c(),g=a(),v=g.__experimentalCanUserUseUnfilteredHTML,O=g.__experimentalUndo;void 0===f?t=h.clientId===K&&h.attributeKey===T:f&&(t=h.clientId===K);var j={};if("native"===d.Platform.OS){var k=K&&u(K);j={shouldBlurOnUnmount:k&&t&&Object(i.isUnmodifiedDefaultBlock)(k)}}return function(e){for(var t=1;t0,pe=a,he=l;Array.isArray(a)&&(pe=i.children.toHTML(a),he=function(e){return l(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var me=Object(d.useCallback)((function(e,t){se(K,T,e,t)}),[K,T]),ge=Object(d.useCallback)((function(e){var t=e.value,n=e.isReverse;I&&I(!n),C&&Object(c.isEmpty)(t)&&n&&C(!n)}),[I,C]),ve=Object(d.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(k&&x){var n=[],r=Object(c.split)(e),o=Object(D.a)(r,2),i=o[0],a=o[1],l=t.length>0;l&&Object(c.isEmpty)(i)||n.push(x(Object(c.toHTMLString)({value:i,multilineTag:de}))),l?n.push.apply(n,Object(M.a)(t)):B&&n.push(B()),!l&&B&&Object(c.isEmpty)(a)||n.push(x(Object(c.toHTMLString)({value:a,multilineTag:de})));var s=l?n.length-1:1;k(n,s)}}),[k,x,de,B]),Oe=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=k&&x;if(k){var a=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),l=Object(i.findTransform)(a,(function(e){return e.regExp.test(t.text)}));l&&(k([l.transform({content:t.text})]),ue())}p?r?n(Object(c.insert)(t,"\n")):o&&Object(c.__unstableIsEmptyLine)(t)?ve(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!o?n(Object(c.insert)(t,"\n")):ve(t)}),[k,x,ue,p,ve]),je=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,a=e.plainText,l=e.files,s=e.activeFormats;if(l&&l.length&&!r){var u=Object(i.pasteHandler)({HTML:Xa(l),mode:"BLOCKS",tagName:o});return window.console.log("Received items:\n\n",l),void(k&&Object(c.isEmpty)(t)?k(u):ve(t,u))}var d=k&&x?"AUTO":"INLINE";R&&Object(c.isEmpty)(t)&&Object(It.isURL)(a.trim())&&(d="BLOCKS");var f=Object(i.pasteHandler)({HTML:r,plainText:a,mode:d,tagName:o,canUserUseUnfilteredHTML:X});if("string"==typeof f){var b=Object(c.create)({html:f});if(s.length)for(var h=b.formats.length;h--;)b.formats[h]=[].concat(Object(M.a)(s),Object(M.a)(b.formats[h]||[]));p&&(b=Object(c.replace)(b,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,b))}else f.length>0&&(k&&Object(c.isEmpty)(t)?k(f):ve(t,f))}),[o,k,x,ve,R,X,p]),ke=Object(d.useCallback)((function(e,t){if(k){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),a=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),l=Object(i.findTransform)(a,(function(e){var t=e.prefix;return o===t}));if(l){var s=t(Object(c.slice)(e,n,r.length)),u=l.transform(s);k([u]),ue()}}}}),[k,ue]),ye=Object(d.createElement)(c.__experimentalRichText,Object(u.a)({},V,{clientId:K,identifier:T,ref:z,value:pe,onChange:he,selectionStart:J,selectionEnd:Q,onSelectionChange:me,tagName:o,className:b()(il,O,{"keep-placeholder-on-focus":_}),placeholder:y,allowedFormats:fe,withoutInteractiveFormatting:w,onEnter:Oe,onDelete:ge,onPaste:je,__unstableIsSelected:ee,__unstableInputRule:ke,__unstableMultilineTag:de,__unstableIsCaretWithinFormattedText:Z,__unstableOnEnterFormattedText:ae,__unstableOnExitFormattedText:le,__unstableOnCreateUndoLevel:ce,__unstableMarkAutomaticChange:ue,__unstableDidAutomaticChange:te,__unstableUndo:re,style:L,preserveWhiteSpace:A,disabled:ne,start:P,reversed:N,onCaretVerticalPositionChange:W,blockIsSelected:void 0!==f?f:q,shouldBlurOnUnmount:oe}),(function(e){var t=e.isSelected,n=e.value,o=e.onChange,i=e.onFocus,c=e.Editable;return Object(d.createElement)(d.Fragment,null,r&&r({value:n,onChange:o,onFocus:i}),t&&be&&Object(d.createElement)(Qa,{inline:m,anchorRef:z.current}),t&&Object(d.createElement)($a,null),Object(d.createElement)(Ze,{onReplace:k,completers:j,record:n,onChange:o,isSelected:t},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(d.createElement)(c,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:P,reversed:N,onKeyDown:r})})))}));return v?(Aa()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(d.createElement)("div",{className:b()(ol,v)},ye)):ye}));al.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(F.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=cl(r);!t&&c&&(t="<".concat(c,">"));var a=Object(d.createElement)(d.RawHTML,null,t);return n?Object(d.createElement)(n,Object(p.omit)(o,["format"]),a):a},al.isEmpty=function(e){return!e||0===e.length},al.Content.defaultProps={format:"string",value:""};var ll=al,sl=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"})),ul=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var dl=function(){var e=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),t=Object(g.useDispatch)("core/block-editor").setNavigationMode;if(!Object(h.useViewportMatch)("medium"))return null;var n=function(e){t("edit"!==e)};return Object(d.createElement)(z.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(d.createElement)(z.Button,{icon:e?ul:sl,"aria-expanded":n,onClick:r,label:Object(U.__)("Tools")})},renderContent:function(){return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.NavigableMenu,{role:"menu","aria-label":Object(U.__)("Tools")},Object(d.createElement)(z.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(d.createElement)(d.Fragment,null,sl,Object(U.__)("Edit"))},{value:"select",label:Object(d.createElement)(d.Fragment,null,ul,Object(U.__)("Select"))}]})),Object(d.createElement)("div",{className:"block-editor-tool-selector__help"},Object(U.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})},fl=Object(d.createElement)(Je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Je.Path,{d:"M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z"})),bl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(C.a)(e)),e.submitLink=e.submitLink.bind(Object(C.a)(e)),e.state={expanded:!1},e}return Object(I.a)(t,e),Object(E.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,r=this.state.expanded,o=t?Object(U.__)("Edit link"):Object(U.__)("Insert link");return Object(d.createElement)("div",{className:"block-editor-url-input__button"},Object(d.createElement)(z.Button,{icon:ya.a,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(d.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(d.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(d.createElement)(z.Button,{className:"block-editor-url-input__back",icon:fl,label:Object(U.__)("Close"),onClick:this.toggle}),Object(d.createElement)(Ia,{value:t||"",onChange:n}),Object(d.createElement)(z.Button,{icon:Sa.a,label:Object(U.__)("Submit"),type:"submit"}))))}}]),t}(d.Component),pl=n(120),hl=["noreferrer","noopener"],ml=Object(d.createElement)(z.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(d.createElement)(z.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(d.createElement)(z.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),gl=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,i=void 0===o?"image":o,c=e.mediaUrl,a=e.mediaLink,l=e.linkTarget,s=e.linkClass,u=e.rel,f=Object(d.useState)(!1),b=Object(D.a)(f,2),h=b[0],m=b[1],g=Object(d.useCallback)((function(){m(!0)})),v=Object(d.useState)(!1),O=Object(D.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(D.a)(y,2),E=_[0],S=_[1],w=Object(d.useRef)(null),C=function(e){e.stopPropagation()},I=function(e){[Ct.LEFT,Ct.DOWN,Ct.RIGHT,Ct.UP,Ct.BACKSPACE,Ct.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},x=Object(d.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),k(!0)})),B=Object(d.useCallback)((function(){k(!1)})),T=Object(d.useCallback)((function(){S(null),B(),m(!1)})),P=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(hl,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(p.isEmpty)(t)&&(t=void 0)),t},N=Object(d.useCallback)((function(){return function(e){var t=w.current;t&&t.contains(e.target)||(m(!1),S(null),B())}})),L=Object(d.useCallback)((function(){return function(e){E&&n({href:E}),B(),S(null),e.preventDefault()}})),A=Object(d.useCallback)((function(){n({linkDestination:"none",href:""})})),R=function(){return[{linkDestination:"media",title:Object(U.__)("Media File"),url:"image"===i?c:void 0,icon:ml},{linkDestination:"attachment",title:Object(U.__)("Attachment Page"),url:"image"===i?a:void 0,icon:Object(d.createElement)(z.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(d.createElement)(z.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}]},M=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.ToggleControl,{label:Object(U.__)("Open in new tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||u?P(u):void 0}}(e);n(t)},checked:"_blank"===l}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link Rel"),value:P(u)||"",onChange:function(e){n({rel:e})},onKeyPress:C,onKeyDown:I}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link CSS Class"),value:s||"",onKeyPress:C,onKeyDown:I,onChange:function(e){n({linkClass:e})}})),F=null!==E?E:r,V=(Object(p.find)(R(),["linkDestination",t])||{}).title;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.Button,{icon:ya.a,className:"components-toolbar__control",label:r?Object(U.__)("Edit link"):Object(U.__)("Insert link"),"aria-expanded":h,onClick:g}),h&&Object(d.createElement)(Da,{onFocusOutside:N(),onClose:T,renderSettings:function(){return M},additionalControls:!F&&Object(d.createElement)(z.NavigableMenu,null,Object(p.map)(R(),(function(e){return Object(d.createElement)(z.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=R(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),B()}},e.title)})))},(!r||j)&&Object(d.createElement)(Da.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:F,onChangeInputValue:S,onKeyDown:I,onKeyPress:C,onSubmit:L(),autocompleteRef:w}),r&&!j&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Da.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:C,url:r,onEditLinkClick:x,urlLabel:V}),Object(d.createElement)(z.Button,{icon:pl.a,label:Object(U.__)("Remove link"),onClick:A}))))},vl=Object(z.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Ol=vl.Fill,jl=vl.Slot;Ol.Slot=jl;var kl=Ol,yl=Object(z.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),_l=yl.Fill,El=yl.Slot;_l.Slot=El;var Sl=_l,wl=function(e){var t=e.icon,n=e.label,r=e.onPress;return Object(d.createElement)(z.Button,{onClick:r},t," ",n)},Cl=function(e){var t=e.children;return Object(d.createElement)(ec,null,t)};function Il(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var xl=[{name:"About",icon:"👋",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

This is sample content, included with the template to illustrate its features. Remove or replace it with your own words and media.

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center","level":3} --\x3e\n\t\t\t

What People Say

\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

The way to get started is to quit talking and begin doing.

Walt Disney
\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

It is our choices, Harry, that show what we truly are, far more than our abilities.

J. K. Rowling
\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

Don\'t cry because it\'s over, smile because it happened.

Dr. Seuss
\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t
\n\t\t\t\x3c!-- /wp:separator --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center"} --\x3e\n\t\t\t

Let’s build something together.

\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"center","textColor":"primary"} --\x3e\n\t\t\t

Get in touch!

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t
\n\t\t\t\x3c!-- /wp:separator --\x3e\n\t\t'},{name:"Contact",icon:"✉️",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"left"} --\x3e\n\t\t\t

Get in Touch

\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

10 Street Road

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

City, 10100

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

USA

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

mail@example.com

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

(555) 555 1234

\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\t\t'}],Bl=H()((function(){return xl.map((function(e){return function(e){for(var t=1;t0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a,s=Object(z.__experimentalUseSlot)(ua.slotName),u=Boolean(s.fills&&s.fills.length);if(n>1)return Object(d.createElement)(zl,null);var f=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!f?Object(d.createElement)("div",{className:"block-editor-block-inspector"},Object(d.createElement)(dc,{blockType:t}),r&&Object(d.createElement)("div",null,Object(d.createElement)(z.PanelBody,{title:Object(U.__)("Styles"),initialOpen:!1},Object(d.createElement)(Hl,{clientId:o}),Object(d.createElement)(Gl,{blockName:t.name}))),Object(d.createElement)(Ce.Slot,{bubblesVirtually:!0}),Object(d.createElement)("div",null,u&&Object(d.createElement)(z.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(U.__)("Advanced"),initialOpen:!1},Object(d.createElement)(ua.Slot,{bubblesVirtually:!0}))),Object(d.createElement)(Al,{key:"back"})):l?Object(d.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(U.__)("No block selected.")):null}));function Wl(e,t,n,r,o,i,c,a){var l=n+1,s=function(e){return"up"===e?"horizontal"===c?a?"right":"left":"up":"down"===e?"horizontal"===c?a?"left":"right":"down":null};if(e>1)return function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(U.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(U.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(U.sprintf)(Object(U._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(o>0&&!r)return Object(U.sprintf)(Object(U._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,r,o,i);if(r&&o)return Object(U.sprintf)(Object(U.__)("Block %s is the only block, and cannot be moved"),t);if(i>0&&!o){var u=s("down");if("down"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d down to position %3$d"),t,l,l+1);if("left"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l+1);if("right"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l+1)}if(i>0&&o){var d=s("down");if("down"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(i<0&&!r){var f=s("up");if("up"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d up to position %3$d"),t,l,l-1);if("left"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l-1);if("right"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l-1)}if(i<0&&r){var b=s("up");if("up"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var ql=Object(d.createElement)(z.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),$l=Object(d.createElement)(z.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z"})),Yl=Object(d.createElement)(z.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(z.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"})),Xl=n(289),Zl=function(e){var t=e.children,n=e.clientIds,r=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getBlockRootClientId,i=t.getTemplateLock,c=Object(p.castArray)(n),a=1===c.length?o(c[0]):null,l=a?i(a):null;return{index:r(c[0],a),srcRootClientId:a,isDraggable:1===c.length&&"all"!==l}}),[n]),o=r.srcRootClientId,i=r.index,c=r.isDraggable,a=Object(d.useRef)(!1),l=Object(g.useDispatch)("core/block-editor"),s=l.startDraggingBlocks,u=l.stopDraggingBlocks;if(Object(d.useEffect)((function(){return function(){a.current&&u()}}),[]),!c)return null;var f=Object(p.castArray)(n),b="block-".concat(f[0]),h={type:"block",srcIndex:i,srcClientId:f[0],srcRootClientId:o};return Object(d.createElement)(z.Draggable,{elementId:b,transferData:h,onDragStart:function(){s(),a.current=!0},onDragEnd:function(){u(),a.current=!1}},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))},Jl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(C.a)(e)),e.onBlur=e.onBlur.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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,r=e.__experimentalOrientation,o=e.isRTL,i=e.isFirst,c=e.isLast,a=e.clientIds,l=e.blockType,s=e.firstIndex,u=e.isLocked,f=e.instanceId,h=e.isHidden,m=e.rootClientId,g=e.hideDragHandle,v=this.state.isFocused,O=Object(p.castArray)(a).length;if(u||i&&c&&!m)return null;var j=function(e){return"up"===e?"horizontal"===r?o?$l:ql:Xl.a:"down"===e?"horizontal"===r?o?ql:$l:Ra.a:null},k=function(e){return"up"===e?"horizontal"===r?o?Object(U.__)("Move right"):Object(U.__)("Move left"):Object(U.__)("Move up"):"down"===e?"horizontal"===r?o?Object(U.__)("Move left"):Object(U.__)("Move right"):Object(U.__)("Move down"):null};return Object(d.createElement)(z.ToolbarGroup,{className:b()("block-editor-block-mover",{"is-visible":v||!h,"is-horizontal":"horizontal"===r})},Object(d.createElement)(z.Button,{className:"block-editor-block-mover__control",onClick:i?null:t,icon:j("up"),label:k("up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(f),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),!g&&Object(d.createElement)(Zl,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(d.createElement)(z.Button,{icon:Yl,className:"block-editor-block-mover__control-drag-handle block-editor-block-mover__control","aria-hidden":"true",tabIndex:"-1",onDragStart:t,onDragEnd:n,draggable:!0})})),Object(d.createElement)(z.Button,{className:"block-editor-block-mover__control",onClick:c?null:n,icon:j("down"),label:k("down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(f),"aria-disabled":c,onFocus:this.onFocus,onBlur:this.onBlur}),Object(d.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(f),className:"block-editor-block-mover__description"},Wl(O,l&&l.title,s,i,c,-1,r,o)),Object(d.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(f),className:"block-editor-block-mover__description"},Wl(O,l&&l.title,s,i,c,1,r,o)))}}]),t}(d.Component),Ql=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,l=r.getBlockRootClientId,s=r.getBlockOrder,u=Object(p.castArray)(n),d=Object(p.first)(u),f=o(d),b=l(Object(p.first)(u)),h=s(b),m=c(d,b),g=c(Object(p.last)(u),b),v=(0,e("core/block-editor").getSettings)().isRTL;return{blockType:f?Object(i.getBlockType)(f.name):null,isLocked:"all"===a(b),rootClientId:b,firstIndex:m,isRTL:v,isFirst:0===m,isLast:g===h.length-1}})),Object(g.withDispatch)((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(p.partial)(i,n,r),onMoveUp:Object(p.partial)(c,n,r)}})),h.withInstanceId)(Jl),es=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(C.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(d.createElement)("div",Object(u.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(p.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(d.Component),ts=Object(h.compose)([Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(g.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(es),ns=Object(d.createElement)(Je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Je.Path,{d:"M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z"}));var rs=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,c=n.getBlocksByClientId,a=n.getTemplateLock,l=e("core/blocks").getDefaultBlockName,s=c(t.clientIds),u=o(t.clientIds[0]);return{blocks:s,canDuplicate:Object(p.every)(s,(function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,u)})),canInsertDefaultBlock:r(l(),u),extraProps:t,isLocked:!!a(u),rootClientId:u}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=t.clientIds,c=t.blocks,a=e("core/block-editor"),l=a.removeBlocks,s=a.replaceBlocks,u=a.duplicateBlocks,d=a.insertAfterBlock,f=a.insertBeforeBlock;return{onDuplicate:function(){return u(o)},onRemove:function(){l(o)},onInsertBefore:function(){f(Object(p.first)(Object(p.castArray)(o)))},onInsertAfter:function(){d(Object(p.last)(Object(p.castArray)(o)))},onGroup:function(){if(c.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Object(i.switchToBlockType)(c,e);t&&s(o,t)}},onUngroup:function(){if(c.length){var e=c[0].innerBlocks;e.length&&s(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})}));var os=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(g.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?p.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(i.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(U.__)("Edit as HTML"):Object(U.__)("Edit visually");return Object(d.createElement)(z.MenuItem,{onClick:r,icon:"html"},!c&&s)}));function is(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(U.__)("Convert to Blocks");return Object(d.createElement)(z.MenuItem,{onClick:n,icon:"screenoptions"},!r&&o)}var cs=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(g.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)}))}}})))(is),as=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}})),Object(g.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)}))}}})))(is),ls={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var ss=function(e){var t=e.clientIds,n=Object(p.castArray)(t),r=n.length,o=n[0],i=Object(g.useSelect)((function(e){var t=e("core/keyboard-shortcuts").getShortcutRepresentation;return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}}),[]);return Object(d.createElement)(rs,{clientIds:t},(function(e){var n=e.canDuplicate,c=e.canInsertDefaultBlock,a=e.isLocked,l=e.onDuplicate,s=e.onInsertAfter,u=e.onInsertBefore,f=e.onRemove;return Object(d.createElement)(z.Toolbar,null,Object(d.createElement)(z.DropdownMenu,{icon:Zo.a,label:Object(U.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:ls},(function(e){var b=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.MenuGroup,null,Object(d.createElement)(kl.Slot,{fillProps:{onClose:b}}),1===r&&Object(d.createElement)(as,{clientId:o}),1===r&&Object(d.createElement)(cs,{clientId:o}),n&&Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,l),icon:"admin-page",shortcut:i.duplicate},Object(U.__)("Duplicate")),c&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,u),icon:"insert-before",shortcut:i.insertBefore},Object(U.__)("Insert Before")),Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,s),icon:"insert-after",shortcut:i.insertAfter},Object(U.__)("Insert After"))),1===r&&Object(d.createElement)(os,{clientId:o,onToggle:b}),Object(d.createElement)(Sl.Slot,{fillProps:{clientIds:t,onClose:b}})),Object(d.createElement)(z.MenuGroup,null,!a&&Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,f),icon:ns,shortcut:i.remove},Object(U._n)("Remove Block","Remove Blocks",r))))})))}))};function us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ds(e){for(var t=1;t0}})),Object(g.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(fs);var ps=Object(g.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(d.createElement)(bs,{key:"switcher",clientIds:n}):null}));function hs(e){var t=e.hideDragHandle,n=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=t.getBlockRootClientId,c=t.getBlockListSettings,a=r(),l=i(a[0]),s=c(l)||{},u=s.__experimentalMoverDirection,d=s.__experimentalUIParts,f=void 0===d?{}:d;return{blockClientIds:a,rootClientId:l,isValid:1===a.length?o(a[0]):null,mode:1===a.length?n(a[0]):null,moverDirection:u,hasMovers:f.hasMovers}}),[]),r=n.blockClientIds,o=n.isValid,i=n.mode,c=n.moverDirection,a=n.hasMovers,l=void 0===a||a;return 0===r.length?null:r.length>1?Object(d.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(d.createElement)(Ql,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),Object(d.createElement)(ps,null),Object(d.createElement)(ss,{clientIds:r})):Object(d.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(d.createElement)(Ql,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),"visual"===i&&o&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(bs,{clientIds:r}),Object(d.createElement)(mt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(d.createElement)(kt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(d.createElement)(ss,{clientIds:r}))}var ms=Object(h.compose)([Object(g.withDispatch)((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,c=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=e("core/block-editor"),u=s.removeBlocks,d=s.replaceBlocks,f=l().__experimentalCanUserUseUnfilteredHTML;return{handler:function(e){var t=c();if(0!==t.length&&(a()||!Object(Xo.documentHasSelection)())){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){var n=o(t),r=Object(i.serialize)(n);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",r)}if("cut"===e.type)u(t);else if("paste"===e.type){var l=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(p.isNil)(n)?[]:n,r=Object(p.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(e){try{i=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,i=t.size;Object(p.find)(r,{name:n,type:o,size:i})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!i&&(i=r.map((function(e){return'')})).join(""),o=""),{html:i,plainText:o}}(e),s=l.plainText,b=l.html,h=Object(i.pasteHandler)({HTML:b,plainText:s,mode:"BLOCKS",canUserUseUnfilteredHTML:f});d(t,h)}}}}}))])((function(e){var t=e.children,n=e.handler;return Object(d.createElement)("div",{onCopy:n,onCut:n,onPaste:n},t)}));function gs(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder;return{clientIds:n(),rootBlocksClientIds:r()}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=Object(g.useDispatch)("core/block-editor"),o=r.duplicateBlocks,i=r.removeBlocks,c=r.insertAfterBlock,a=r.insertBeforeBlock,s=r.multiSelect,u=r.clearSelectedBlock;return Object(l.useShortcut)("core/block-editor/duplicate",Object(d.useCallback)((function(e){e.preventDefault(),o(t)}),[t,o]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/remove",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-after",Object(d.useCallback)((function(e){e.preventDefault(),c(Object(p.last)(t))}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-before",Object(d.useCallback)((function(e){e.preventDefault(),a(Object(p.first)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/delete-multi-selection",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<1}),Object(l.useShortcut)("core/block-editor/select-all",Object(d.useCallback)((function(e){e.preventDefault(),s(Object(p.first)(n),Object(p.last)(n))}),[n,s])),Object(l.useShortcut)("core/block-editor/unselect",Object(d.useCallback)((function(e){e.preventDefault(),u(),window.getSelection().removeAllRanges()}),[t,u]),{isDisabled:t.length<2}),null}gs.Register=function(){var e=Object(g.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(d.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(U.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(U.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(U.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:Object(U.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:Object(U.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(U.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:Object(U.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(U.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}})}),[e]),null};var vs=gs;function Os(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.hasMultiSelection,o=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelection:r(),isMultiSelecting:o()}}),[]),t=e.isMultiSelection,n=e.selectionEnd,r=e.isMultiSelecting;return Object(d.useEffect)((function(){if(n&&!r&&t){var e=di(n);if(e){var o=Object(Xo.getScrollContainer)(e);o&&wt()(e,o,{onlyScrollIfNeeded:!0})}}}),[t,n,r]),null}var js=[Ct.UP,Ct.RIGHT,Ct.DOWN,Ct.LEFT,Ct.ENTER,Ct.BACKSPACE];var ks=Object(h.withSafeTimeout)((function(e){var t=e.children,n=e.setTimeout,r=Object(d.useRef)(),o=Object(d.useRef)(),i=Object(g.useSelect)((function(e){return e("core/block-editor").isTyping()})),c=Object(g.useDispatch)("core/block-editor"),a=c.startTyping,l=c.stopTyping;function s(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",f),document[t]("mousemove",u)}function u(e){var t=e.clientX,n=e.clientY;if(o.current){var r=o.current,i=r.clientX,c=r.clientY;i===t&&c===n||l()}o.current={clientX:t,clientY:n}}function f(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||l()}function b(e){var t=e.type,n=e.target;!i&&Object(Xo.isTextField)(n)&&r.current.contains(n)&&("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(js,t)}(e))&&a()}return Object(d.useEffect)((function(){return s(i),function(){return s(!1)}}),[i]),Object(d.createElement)("div",{ref:r,onFocus:function(e){var t=e.target;n((function(){i&&!Object(Xo.isTextField)(t)&&l()}))},onKeyPress:b,onKeyDown:Object(p.over)([b,function(e){i&&e.keyCode===Ct.ESCAPE&&l()}])},t)}));function ys(){return Aa()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var _s=-1!==window.navigator.userAgent.indexOf("Trident"),Es=new Set([Ct.UP,Ct.DOWN,Ct.LEFT,Ct.RIGHT]),Ss=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).ref=Object(d.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(C.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(C.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(C.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(C.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(C.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(C.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(Xo.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(Xo.computeCaretRect)();if(n)if(this.caretRect)if(Es.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(Xo.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?Is:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(xs)):t}var Ts=Object(d.createContext)({}),Ps=Ts.Provider,Ns=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=Object(d.useContext)(Ts).isEmbedButton,r=t.name,o=n?[]:Bs(Object(i.getBlockSupport)(r,"align"),Object(i.hasBlockSupport)(r,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(d.createElement)(mt,{key:"align-controls"},Object(d.createElement)(st,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(p.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:o})),Object(d.createElement)(e,Object(u.a)({key:"edit"},t))]}}),"withToolbarControls"),Ls=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(g.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(d.createElement)(e,t);var c=Bs(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return Object(p.includes)(c,r)&&(a=function(e){for(var t=1;t");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(m.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(p.assign)(e.attributes,{className:{type:"string"}})),e})),Object(m.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",Ms),Object(m.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=b()(e.className,n.className)),e})),Object(m.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(p.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=Ds(o),a=Ds(n),l=Object(p.difference)(a,c);l.length?e.className=l.join(" "):o&&delete e.className}return e})),Object(m.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(p.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(M.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var Fs=n(263),Vs=n.n(Fs),Hs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Us=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function l(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;a.push(i)}function s(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){var t,n=[];for(b(),p(n);e.length&&"}"!==e.charAt(0)&&(t=S()||w());)!1!==t&&(n.push(t),p(n));return n}function f(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){f(/^\s*/)}function p(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var c=e.slice(2,n-2);return r+=2,o(c),e=e.slice(n),r+=2,t({type:"comment",comment:c})}}function m(){var e=f(/^([^{]+)/);if(e)return zs(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function g(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=zs(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Hs,""),value:n?zs(n[0]).replace(Hs,""):""});return f(/^[;\s]*/),r}}function v(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function O(){for(var e,t=[],n=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var j,k=E("import"),y=E("charset"),_=E("namespace");function E(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=f(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function S(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var c=p();r=O();)c.push(r),c=c.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var n=zs(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:zs(t[1]),media:zs(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=zs(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||k()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=zs(t[1]),r=zs(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=m()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=g();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=g();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function w(){var e=i(),t=m();return t?(p(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type;var o=r?t:n;for(var i in t){var c=t[i];Array.isArray(c)?c.forEach((function(t){e(t,o)})):c&&"object"===Object(Xt.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((j=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:j,parsingErrors:a}}))};function zs(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Gs=n(144),Ks=n.n(Gs),Ws=qs;function qs(e){this.options=e||{}}qs.prototype.emit=function(e){return e},qs.prototype.visit=function(e){return this[e.type](e)},qs.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?au({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(lu)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},uu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(su(t)),r&&o.push(iu(r)),o.length?Qs(n,Object(h.compose)(o)):n}))};n.d(t,"__experimentalAlignmentHookSettingsProvider",(function(){return Ps})),n.d(t,"AlignmentToolbar",(function(){return Xe})),n.d(t,"Autocomplete",(function(){return Ze})),n.d(t,"BlockAlignmentToolbar",(function(){return st})),n.d(t,"BlockBreadcrumb",(function(){return dt})),n.d(t,"BlockControls",(function(){return mt})),n.d(t,"BlockEdit",(function(){return Z})),n.d(t,"useBlockEditContext",(function(){return $})),n.d(t,"BlockFormatControls",(function(){return kt})),n.d(t,"BlockIcon",(function(){return yt})),n.d(t,"BlockNavigationDropdown",(function(){return Ac})),n.d(t,"__experimentalBlockNavigationList",(function(){return Tc})),n.d(t,"__experimentalBlockVariationPicker",(function(){return Rc})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return zc})),n.d(t,"ButtonBlockerAppender",(function(){return Bc})),n.d(t,"ColorPalette",(function(){return Kc})),n.d(t,"ColorPaletteControl",(function(){return Wc})),n.d(t,"ContrastChecker",(function(){return ye})),n.d(t,"__experimentalEditorSkeleton",(function(){return qc})),n.d(t,"__experimentalGradientPicker",(function(){return Yc})),n.d(t,"__experimentalGradientPickerControl",(function(){return Xc})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Zc})),n.d(t,"__experimentalColorGradientControl",(function(){return le})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return ge})),n.d(t,"__experimentalImageSizeControl",(function(){return Jc})),n.d(t,"InnerBlocks",(function(){return ia})),n.d(t,"InspectorAdvancedControls",(function(){return ua})),n.d(t,"InspectorControls",(function(){return Ce})),n.d(t,"__experimentalLinkControl",(function(){return ja})),n.d(t,"MediaReplaceFlow",(function(){return Na})),n.d(t,"MediaPlaceholder",(function(){return Ua})),n.d(t,"MediaUpload",(function(){return _a})),n.d(t,"MediaUploadCheck",(function(){return Ea})),n.d(t,"PanelColorSettings",(function(){return Oe})),n.d(t,"PlainText",(function(){return za})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Ka})),n.d(t,"RichText",(function(){return ll})),n.d(t,"RichTextShortcut",(function(){return el})),n.d(t,"RichTextToolbarButton",(function(){return tl})),n.d(t,"__unstableRichTextInputEvent",(function(){return nl})),n.d(t,"ToolSelector",(function(){return dl})),n.d(t,"URLInput",(function(){return Ia})),n.d(t,"URLInputButton",(function(){return bl})),n.d(t,"URLPopover",(function(){return Da})),n.d(t,"__experimentalImageURLInputUI",(function(){return gl})),n.d(t,"withColorContext",(function(){return Gc})),n.d(t,"__experimentalBlockListFooter",(function(){return ec})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return kl})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return Sl})),n.d(t,"__experimentalInserterMenuExtension",(function(){return mc})),n.d(t,"__experimentalPageTemplatePicker",(function(){return Pl})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return Ll})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return Nl})),n.d(t,"BlockInspector",(function(){return Kl})),n.d(t,"BlockList",(function(){return oc})),n.d(t,"BlockMover",(function(){return Ql})),n.d(t,"BlockPreview",(function(){return cc})),n.d(t,"BlockSelectionClearer",(function(){return ts})),n.d(t,"BlockSettingsMenu",(function(){return ss})),n.d(t,"BlockTitle",(function(){return ut})),n.d(t,"BlockToolbar",(function(){return hs})),n.d(t,"CopyHandler",(function(){return ms})),n.d(t,"DefaultBlockAppender",(function(){return $i})),n.d(t,"Inserter",(function(){return xc})),n.d(t,"MultiBlocksSwitcher",(function(){return ps})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return vs})),n.d(t,"MultiSelectScrollIntoView",(function(){return Os})),n.d(t,"NavigableToolbar",(function(){return Ti})),n.d(t,"ObserveTyping",(function(){return ks})),n.d(t,"PreserveScrollInReorder",(function(){return ys})),n.d(t,"SkipToSelectedBlock",(function(){return Al})),n.d(t,"Typewriter",(function(){return ws})),n.d(t,"Warning",(function(){return Jo})),n.d(t,"WritingFlow",(function(){return Ci})),n.d(t,"BlockEditorProvider",(function(){return $o})),n.d(t,"getColorClassName",(function(){return y})),n.d(t,"getColorObjectByAttributeValues",(function(){return j})),n.d(t,"getColorObjectByColorValue",(function(){return k})),n.d(t,"createCustomColorsHOC",(function(){return A})),n.d(t,"withColors",(function(){return R})),n.d(t,"__experimentalUseColors",(function(){return De})),n.d(t,"__experimentalGetGradientClass",(function(){return J})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Q})),n.d(t,"__experimentalUseGradient",(function(){return ee})),n.d(t,"getFontSize",(function(){return Fe})),n.d(t,"getFontSizeClass",(function(){return Ve})),n.d(t,"FontSizePicker",(function(){return He})),n.d(t,"withFontSizes",(function(){return Ge})),n.d(t,"transformStyles",(function(){return uu})),n.d(t,"storeConfig",(function(){return Go})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Bt}))},43:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},46:function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,c,a=n,l=arguments.length;e:for(;a;){if(a.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)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=c(l,a,e+1/3),o=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var b,p,h;return n=P(n),{ok:d,format:e.format||f,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=a++}function b(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)r=o=0;else{var l=i-c;switch(o=a>.5?l/(2-i-c):l/(i+c),i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function x(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,c=[],a=1/t;t--;)c.push(f({h:r,s:o,v:i})),i=(i+a)%1;return c}f.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=P(e),this._roundA=l(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=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=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(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 h(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 i=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16)),R(D(r))];if(o&&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: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*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(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 f(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(k,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,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(E,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(w,arguments)}},f.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 f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.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=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,c,a=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sl&&(l=r,a=f(t[s]));return f.isReadable(e,a,{level:i,size:c})||!o?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var B=f.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"},T=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function P(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),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return s(1,u(0,e))}function A(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return A(e)/255}var V,H,U,z=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",U="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+H),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 G(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},56:function(e,t){!function(){e.exports=this.wp.viewport}()},58:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},7:function(e,t,n){"use strict";function r(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 r}))},72:function(e,t,n){"use strict";t.__esModule=!0;var r=n(152);t.default=r.default},73: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},77:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(156)),i=r(n(157)),c=n(21),a=r(c),l=r(n(127)),s=r(n(158)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=c.useState(!1)[1];return c.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function b(e){return u.und(e)?[]:u.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var c=i,a=!1,l=0;l=b.startTime+s.duration;else if(s.decay)m=p+O/(1-.998)*(1-Math.exp(-(1-.998)*(t-b.startTime))),(u=Math.abs(b.lastPosition-m)<.1)&&(h=m);else{d=void 0!==b.lastTime?b.lastTime:t,O=void 0!==b.lastVelocity?b.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var j=Math.floor(t-d),k=0;kh:m=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,c,a,l){var s=l?l(e):e;if(sn){if("identity"===a)return s;"clamp"===a&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,c,a,r.map)}}var V=function(e){function t(n,r,o,i){var c;return(c=e.call(this)||this).calc=void 0,c.payload=n instanceof O&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],c.calc=F(r,o,i),c}l(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=F(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(O);var H=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}l(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new V(this,e,t,n)},t}(v),U=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}l(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new V(this,e,t)},t}(O),z=0,G=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,c=t.to,a=i(t,["delay","to"]);if(u.arr(c)||u.fun(c))this.queue.push(o({},a,{delay:r,to:c}));else if(c){var l={};Object.entries(c).forEach((function(e){var t,n=e[0],i=e[1],c=o({to:(t={},t[n]=i,t),delay:p(r,n)},a),s=l[c.delay]&&l[c.delay].to;l[c.delay]=o({},l[c.delay],c,{to:o({},s,c.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,c=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(c)&&(n.merged=o({},n.merged,c))}));var r=this.local=++this.guid,c=this.localQueue=this.queue;this.queue=[],c.forEach((function(t,o){var a=t.delay,l=i(t,["delay"]),s=function(t){o===c.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(l.to)||u.fun(l.to);a?setTimeout((function(){r===n.guid&&(d?n.runAsync(l,s):n.diff(l).start(s))}),a):d?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,M.has(t)||M.add(t),R||(R=!0,E(T||D));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,M.has(t)&&M.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),c=this.local,a=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),a=a.then((function(){if(c===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s=r.length)return"break";c=r[i++]}else{if((i=r.next()).done)return"break";c=i.value}var n=c.key,a=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var c;if("break"===n())break}e.current.forceUpdate()}var Q=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof v||(t=m.transform(t)),n.payload=t,n}return l(t,e),t}(j),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function be(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=fe(o,r,e+1/3),c=fe(o,r,e),a=fe(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*c)<<16|Math.round(255*a)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function he(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ge(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ve(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|255)>>>0:(n=ie.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|me(n[4]))>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=se.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ce.exec(t))?(255|be(he(n[1]),ge(n[2]),ge(n[3])))>>>0:(n=ae.exec(t))?(be(he(n[1]),ge(n[2]),ge(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var Oe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,je=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ke=new RegExp("("+Object.keys(ee).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_e=["Webkit","Ms","Moz","O"];function Ee(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return _e.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var Se={};N((function(e){return new Q(e)})),x("div"),w((function(e){var t=e.output.map((function(e){return e.replace(je,ve)})).map((function(e){return e.replace(ke,ve)})),n=t[0].match(Oe).map((function(){return[]}));t.forEach((function(e){e.match(Oe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Oe).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Oe,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),y(ee),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,c=t.scrollLeft,a=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==c&&(e.scrollLeft=c),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=Ee(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var f in a){var b=l?f:Se[f]||(Se[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(b)&&e.setAttribute(b,a[f])}}),(function(e){return e}));var we,Ce,Ie=(we=function(e){return c.forwardRef((function(t,n){var r=d(),l=c.useRef(!0),s=c.useRef(null),f=c.useRef(null),b=c.useCallback((function(e){var t=s.current;s.current=new A(e,(function(){var e=!1;f.current&&(e=m.fn(f.current,s.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);c.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),c.useImperativeHandle(n,(function(){return P(f,l,r)})),b(t);var p,h=s.current.getValue(),g=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),v=(p=e,!u.fun(p)||p.prototype instanceof a.Component?function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return a.createElement(e,o({},g,{ref:v}))}))},void 0===(Ce=!1)&&(Ce=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ce?t[0].toLowerCase()+t.substring(1):t;return e[n]=we(n),e}),we)}),xe=Ie(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ie,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=D,t.animated=xe,t.a=xe,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=L,t.useSpring=function(e){var t=u.fun(e),n=K(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=c.useRef(!1),r=u.fun(t),i=p(t),a=c.useRef(),l=K(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},i,{config:p(i.config,e),attach:e>0&&function(){return a.current[e-1]}})})),s=l[0],d=l[1],f=l[2],b=c.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,c=a.current[r];return o({},e,{config:p(e.config||i.config,t),attach:c&&function(){return c}})}))}}),[e,i.reverse]);return c.useEffect((function(){n.current&&!r&&b(t)})),c.useEffect((function(){n.current=!0}),[]),r?[s,b,f]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),a=Z(r),l=a.lazy,s=void 0!==l&&l,u=(a.unique,a.reset),f=void 0!==u&&u,b=(a.enter,a.leave,a.update,a.onDestroyed),h=(a.keys,a.items,a.onFrame),m=a.onRest,g=a.onStart,v=a.ref,O=i(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),j=d(),k=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:j});return c.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(y.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(y.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(y.current.instances).map((function(e){return e[1]}))}}})),y.current=function(e,t){var n=e.first,r=e.prevProps,c=i(e,["first","prevProps"]),a=Z(t),l=a.items,s=a.keys,u=a.initial,d=a.from,f=a.enter,b=a.leave,h=a.update,m=a.trail,g=void 0===m?0:m,v=a.unique,O=a.config,j=a.order,k=void 0===j?[q,$,Y]:j,y=Z(r),_=y.keys,E=y.items,S=o({},c.current),w=[].concat(c.deleted),C=Object.keys(S),I=new Set(C),x=new Set(s),B=s.filter((function(e){return!I.has(e)})),T=c.transitions.filter((function(e){return!e.destroyed&&!x.has(e.originalKey)})).map((function(e){return e.originalKey})),P=s.filter((function(e){return I.has(e)})),N=-g;for(;k.length;){switch(k.shift()){case q:B.forEach((function(e,t){v&&w.find((function(t){return t.originalKey===e}))&&(w=w.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":q;S[e]={slot:i,originalKey:e,key:v?String(e):W++,item:o,trail:N+=g,config:p(O,o,i),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case $:T.forEach((function(e){var t=_.indexOf(e),n=E[t],r=$;w.unshift(o({},S[e],{slot:r,destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:N+=g,config:p(O,n,r),to:p(b,n)})),delete S[e]}));break;case Y:P.forEach((function(e){var t=s.indexOf(e),n=l[t],r=Y;S[e]=o({},S[e],{item:n,slot:r,trail:N+=g,config:p(O,n,r),to:p(h,n)})}))}}var L=s.map((function(e){return S[e]}));return w.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=L.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),L=[].concat(L.slice(0,t),[r],L.slice(t))})),o({},c,{changed:B.length||T.length||P.length,first:n&&0===B.length,transitions:L,current:S,deleted:w,prevProps:t})}(y.current,r),y.current.changed&&y.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,c=e.trail,a=e.key,l=e.item;y.current.instances.has(a)||y.current.instances.set(a,new G);var u=y.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:v,onRest:function(n){y.current.mounted&&(e.destroyed&&(v||s||J(y,a),b&&b(l)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(v||s)&&y.current.deleted.length>0&&J(y),m&&m(l,t,n))},onStart:g&&function(){return g(l,t)},onFrame:h&&function(e){return h(l,t,e)},delay:c,reset:f&&t===q});u.update(d),y.current.paused||u.start()})),c.useEffect((function(){return y.current.mounted=k.current=!0,function(){y.current.mounted=k.current=!1,Array.from(y.current.instances).map((function(e){return e[1].destroy()})),y.current.instances.clear()}}),[]),y.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:y.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=c.useRef();c.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var c=i.controllers;if(c.length){var a=n*t[r];c.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=K},8:function(e,t){!function(){e.exports=this.wp.compose}()},84:function(e,t,n){"use strict";e.exports=n(150)},89:function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={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=r(163);function v(e,t,r){if(e&&o.isObject(e)&&e instanceof c)return e;var n=new c;return n.parse(e,t,r),n}c.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var c=e.indexOf("?"),i=-1!==c&&c127?A+="x":A+=B[R];if(!A.match(d)){var z=T.slice(0,x),I=T.slice(x+1),L=B.match(p);L&&(z.push(L[1]),I.unshift(L[2])),I.length&&(v="/"+I.join(".")+v),this.hostname=z.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var H=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!h[w])for(x=0,N=u.length;x0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!k.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var C=k.slice(-1)[0],E=(r.host||e.host||k.length>1)&&("."===C||".."===C)||""===C,x=0,S=k.length;S>=0;S--)"."===(C=k[S])?k.splice(S,1):".."===C?(k.splice(S,1),x++):x&&(k.splice(S,1),x--);if(!y&&!w)for(;x--;x)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),E&&"/"!==k.join("/").substr(-1)&&k.push("");var P,T=""===k[0]||k[0]&&"/"===k[0].charAt(0);_&&(r.hostname=r.host=T?"":k.length?k.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(y=y||r.host&&k.length)&&!T&&k.unshift(""),k.length?r.pathname=k.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},c.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)}},12:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,w=Math.floor,k=String.fromCharCode;function _(e){throw RangeError(j[e])}function C(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function E(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+C((e=e.replace(v,".")).split("."),t).join(".")}function x(e){for(var t,r,n=[],o=0,c=e.length;o=55296&&t<=56319&&o65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)})).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function T(e,t,r){var n=0;for(e=r?w(e/d):e>>1,e+=w(e/t);e>y*b>>1;n+=s)e=w(e/y);return w(n+(y+1)*e/(e+m))}function N(e){var t,r,n,o,c,a,i,m,d,f,O,v=[],j=e.length,y=0,k=h,C=p;for((r=e.lastIndexOf(g))<0&&(r=0),n=0;n=128&&_("not-basic"),v.push(e.charCodeAt(n));for(o=r>0?r+1:0;o=j&&_("invalid-input"),((m=(O=e.charCodeAt(o++))-48<10?O-22:O-65<26?O-65:O-97<26?O-97:s)>=s||m>w((l-y)/a))&&_("overflow"),y+=m*a,!(m<(d=i<=C?u:i>=C+b?b:i-C));i+=s)a>w(l/(f=s-d))&&_("overflow"),a*=f;C=T(y-c,t=v.length+1,0==c),w(y/t)>l-k&&_("overflow"),k+=w(y/t),y%=t,v.splice(y++,0,k)}return S(v)}function B(e){var t,r,n,o,c,a,i,m,d,f,O,v,j,y,C,E=[];for(v=(e=x(e)).length,t=h,r=0,c=p,a=0;a=t&&Ow((l-r)/(j=n+1))&&_("overflow"),r+=(i-t)*j,t=i,a=0;al&&_("overflow"),O==t){for(m=r,d=s;!(m<(f=d<=c?u:d>=c+b?b:d-c));d+=s)C=m-f,y=s-f,E.push(k(P(f+C%y,0))),m=w(C/y);E.push(k(P(m,0))),c=T(r,j,n==o),r=0,++n}++r,++t}return E.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:S},decode:N,encode:B,toASCII:function(e){return E(e,(function(e){return O.test(e)?"xn--"+B(e):e}))},toUnicode:function(e){return E(e,(function(e){return f.test(e)?N(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return i}.call(t,r,t,e))||(e.exports=o)}()}).call(this,r(161)(e),r(73))},161: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}},162:function(e,t,r){"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}}},163:function(e,t,r){"use strict";t.decode=t.parse=r(164),t.encode=t.stringify=r(165)},164:function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,c){t=t||"&",r=r||"=";var a={};if("string"!=typeof e||0===e.length)return a;var i=/\+/g;e=e.split(t);var l=1e3;c&&"number"==typeof c.maxKeys&&(l=c.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=h.substr(0,g),m=h.substr(g+1)):(b=h,m=""),d=decodeURIComponent(b),p=decodeURIComponent(m),n(a,d)?o(a[d])?a[d].push(p):a[d]=[a[d],p]:a[d]=p}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},165:function(e,t,r){"use strict";var n=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,r,i){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?c(a(e),(function(a){var i=encodeURIComponent(n(a))+r;return o(e[a])?c(e[a],(function(e){return i+encodeURIComponent(n(e))})).join(t):i+encodeURIComponent(n(e[a]))})).join(t):i?encodeURIComponent(n(i))+r+encodeURIComponent(n(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function c(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},192:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"}));t.a=c},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t,r){"use strict";var n=r(38);var o=r(27),c=r(39);function a(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw c}}return r}}(e,t)||Object(o.a)(e,t)||Object(c.a)()}r.d(t,"a",(function(){return a}))},22:function(e,t){!function(){e.exports=this.wp.keycodes}()},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);ra?(r=c/a,i=100,l=Math.round(i/r)):(r=a/c,l=100,i=Math.round(l/r)),(i>c||l>a||i<10||l<10)&&(i=c,l=a),{srcLeft:n,srcTop:o,srcWidth:c,srcHeight:a,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,r){for(var n=0,o=0,c=0,a=0,i=0,l=0;ln?-1:r===n?0:1}))[0],5),m=b[0],d=b[1],p=b[2],h=b[3],g=b[4];return h?[Math.round(m/h),Math.round(d/h),Math.round(p/h),Math.round(h/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,r){var n=this,o=(r=r||{})&&r.data,c=this._getDefaultColor(r),a=function(){s(),t.call(e,n.getColor(e,r),o)},i=function(){s(),t.call(e,n._prepareResult(c,new Error("Image error")),o)},l=function(){s(),t.call(e,n._prepareResult(c,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",a),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",a),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var r=e.slice(0,3),n=[].concat(r,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+r.join(",")+")",rgba:"rgba("+n.join(",")+")",hex:this._arrayToHex(r),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){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(n.prototype,o),c&&e(n,c),r}()}()},27:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(25);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},281:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z"}));t.a=c},282:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z"}));t.a=c},283:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z"}));t.a=c},286:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"}));t.a=c},290:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(o.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"}));t.a=c},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t){!function(){e.exports=this.wp.url}()},33:function(e,t){!function(){e.exports=this.moment}()},34:function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},35:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},37:function(e,t){!function(){e.exports=this.wp.deprecated}()},38:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},39:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},4:function(e,t){!function(){e.exports=this.wp.data}()},41:function(e,t){!function(){e.exports=this.wp.blob}()},42:function(e,t){!function(){e.exports=this.wp.apiFetch}()},420:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"metadata",(function(){return je})),r.d(n,"name",(function(){return ye})),r.d(n,"settings",(function(){return we}));var o={};r.r(o),r.d(o,"metadata",(function(){return _t})),r.d(o,"name",(function(){return Ct})),r.d(o,"settings",(function(){return Et}));var c={};r.r(c),r.d(c,"metadata",(function(){return zt})),r.d(c,"name",(function(){return It})),r.d(c,"settings",(function(){return Lt}));var a={};r.r(a),r.d(a,"metadata",(function(){return Qt})),r.d(a,"name",(function(){return Jt})),r.d(a,"settings",(function(){return Xt}));var i={};r.r(i),r.d(i,"metadata",(function(){return Cr})),r.d(i,"name",(function(){return Er})),r.d(i,"settings",(function(){return xr}));var l={};r.r(l),r.d(l,"name",(function(){return Nr})),r.d(l,"settings",(function(){return Br}));var s={};r.r(s),r.d(s,"metadata",(function(){return Hr})),r.d(s,"name",(function(){return Dr})),r.d(s,"settings",(function(){return Vr}));var u={};r.r(u),r.d(u,"metadata",(function(){return ln})),r.d(u,"name",(function(){return sn})),r.d(u,"settings",(function(){return un}));var b={};r.r(b),r.d(b,"metadata",(function(){return gn})),r.d(b,"name",(function(){return fn})),r.d(b,"settings",(function(){return On}));var m={};r.r(m),r.d(m,"name",(function(){return Cn})),r.d(m,"settings",(function(){return En}));var d={};r.r(d),r.d(d,"name",(function(){return Tn})),r.d(d,"settings",(function(){return Nn}));var p={};r.r(p),r.d(p,"metadata",(function(){return In})),r.d(p,"name",(function(){return Ln})),r.d(p,"settings",(function(){return Hn}));var h={};r.r(h),r.d(h,"metadata",(function(){return Jn})),r.d(h,"name",(function(){return Xn})),r.d(h,"settings",(function(){return eo}));var g={};r.r(g),r.d(g,"metadata",(function(){return no})),r.d(g,"name",(function(){return oo})),r.d(g,"settings",(function(){return co}));var f={};r.r(f),r.d(f,"metadata",(function(){return No})),r.d(f,"name",(function(){return Bo})),r.d(f,"settings",(function(){return Ao}));var O={};r.r(O),r.d(O,"name",(function(){return Qo})),r.d(O,"settings",(function(){return Jo})),r.d(O,"common",(function(){return Xo})),r.d(O,"others",(function(){return ec}));var v={};r.r(v),r.d(v,"metadata",(function(){return ac})),r.d(v,"name",(function(){return ic})),r.d(v,"settings",(function(){return lc}));var j={};r.r(j),r.d(j,"metadata",(function(){return dc})),r.d(j,"name",(function(){return pc})),r.d(j,"settings",(function(){return hc}));var y={};r.r(y),r.d(y,"metadata",(function(){return Nc})),r.d(y,"name",(function(){return Bc})),r.d(y,"settings",(function(){return Ac}));var w={};r.r(w),r.d(w,"name",(function(){return zc})),r.d(w,"settings",(function(){return Ic}));var k={};r.r(k),r.d(k,"name",(function(){return Wc})),r.d(k,"settings",(function(){return Zc}));var _={};r.r(_),r.d(_,"metadata",(function(){return ra})),r.d(_,"name",(function(){return na})),r.d(_,"settings",(function(){return oa}));var C={};r.r(C),r.d(C,"metadata",(function(){return aa})),r.d(C,"name",(function(){return ia})),r.d(C,"settings",(function(){return la}));var E={};r.r(E),r.d(E,"metadata",(function(){return ma})),r.d(E,"name",(function(){return da})),r.d(E,"settings",(function(){return pa}));var x={};r.r(x),r.d(x,"metadata",(function(){return fa})),r.d(x,"name",(function(){return Oa})),r.d(x,"settings",(function(){return va}));var S={};r.r(S),r.d(S,"metadata",(function(){return wa})),r.d(S,"name",(function(){return ka})),r.d(S,"settings",(function(){return _a}));var P={};r.r(P),r.d(P,"metadata",(function(){return Ra})),r.d(P,"name",(function(){return Ma})),r.d(P,"settings",(function(){return za}));var T={};r.r(T),r.d(T,"name",(function(){return Va})),r.d(T,"settings",(function(){return Fa}));var N={};r.r(N),r.d(N,"name",(function(){return qa})),r.d(N,"settings",(function(){return Wa}));var B={};r.r(B),r.d(B,"name",(function(){return Ka})),r.d(B,"settings",(function(){return $a}));var A={};r.r(A),r.d(A,"metadata",(function(){return Xa})),r.d(A,"name",(function(){return ei})),r.d(A,"settings",(function(){return ti}));var R={};r.r(R),r.d(R,"metadata",(function(){return ai})),r.d(R,"name",(function(){return ii})),r.d(R,"settings",(function(){return li}));var M={};r.r(M),r.d(M,"metadata",(function(){return mi})),r.d(M,"name",(function(){return di})),r.d(M,"settings",(function(){return pi}));var z={};r.r(z),r.d(z,"metadata",(function(){return fi})),r.d(z,"name",(function(){return Oi})),r.d(z,"settings",(function(){return vi}));var I={};r.r(I),r.d(I,"metadata",(function(){return ki})),r.d(I,"name",(function(){return _i})),r.d(I,"settings",(function(){return Ci}));var L={};r.r(L),r.d(L,"metadata",(function(){return Ki})),r.d(L,"name",(function(){return $i})),r.d(L,"settings",(function(){return Yi}));var H={};r.r(H),r.d(H,"metadata",(function(){return Ji})),r.d(H,"name",(function(){return Xi})),r.d(H,"settings",(function(){return el}));var D={};r.r(D),r.d(D,"metadata",(function(){return ol})),r.d(D,"name",(function(){return cl})),r.d(D,"settings",(function(){return al}));var V={};r.r(V),r.d(V,"metadata",(function(){return pl})),r.d(V,"name",(function(){return hl})),r.d(V,"settings",(function(){return gl}));var F={};r.r(F),r.d(F,"name",(function(){return jl})),r.d(F,"settings",(function(){return yl}));var U={};r.r(U),r.d(U,"metadata",(function(){return xl})),r.d(U,"name",(function(){return Sl})),r.d(U,"settings",(function(){return Pl}));var G={};r.r(G),r.d(G,"metadata",(function(){return Al})),r.d(G,"name",(function(){return Rl})),r.d(G,"settings",(function(){return Ml}));var q={};r.r(q),r.d(q,"metadata",(function(){return Dl})),r.d(q,"name",(function(){return Vl})),r.d(q,"settings",(function(){return Fl}));var W=r(18),Z=r(5),K=(r(75),r(6)),$=r(10),Y=r(2),Q=r(1),J=r(0),X=r(9),ee=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(X.Path,{d:"M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"})),te=r(11),re=r.n(te);function ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oe(e){for(var t=1;t 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"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},Ee=[{attributes:Ce,save:function(e){var t,r=e.attributes,n=r.url,o=r.alt,c=r.caption,a=r.align,i=r.href,l=r.width,s=r.height,u=r.id,b=re()((t={},Object(Z.a)(t,"align".concat(a),a),Object(Z.a)(t,"is-resized",l||s),t)),m=Object(J.createElement)("img",{src:n,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(J.createElement)("figure",{className:b},i?Object(J.createElement)("a",{href:i},m):m,!K.RichText.isEmpty(c)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:c}))}},{attributes:Ce,save:function(e){var t=e.attributes,r=t.url,n=t.alt,o=t.caption,c=t.align,a=t.href,i=t.width,l=t.height,s=t.id,u=Object(J.createElement)("img",{src:r,alt:n,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(J.createElement)("figure",{className:c?"align".concat(c):null},a?Object(J.createElement)("a",{href:a},u):u,!K.RichText.isEmpty(o)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Ce,save:function(e){var t=e.attributes,r=t.url,n=t.alt,o=t.caption,c=t.align,a=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(J.createElement)("img",Object(_e.a)({src:r,alt:n},s)),b={};return i?b={width:i}:"left"!==c&&"right"!==c||(b={maxWidth:"50%"}),Object(J.createElement)("figure",{className:c?"align".concat(c):null,style:b},a?Object(J.createElement)("a",{href:a},u):u,!K.RichText.isEmpty(o)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:o}))}}],xe=r(14),Se=r(13),Pe=r(15),Te=r(16),Ne=r(7),Be=r(17),Ae=r(41),Re=r(30),Me=r(56),ze=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(J.createElement)(se.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"})),Ie=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(J.createElement)(se.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"})),Le=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(J.createElement)(se.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(J.createElement)(se.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),He=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(J.createElement)(se.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"})),De={foreground:"#1da1f2",src:Object(J.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(se.G,null,Object(J.createElement)(se.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"})))},Ve={foreground:"#ff0000",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"}))},Fe={foreground:"#3b5998",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"}))},Ue=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.G,null,Object(J.createElement)(se.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"}))),Ge={foreground:"#0073AA",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.G,null,Object(J.createElement)(se.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"})))},qe={foreground:"#1db954",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"}))},We=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"})),Ze={foreground:"#1ab7ea",src:Object(J.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(se.G,null,Object(J.createElement)(se.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"})))},Ke=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"})),$e={foreground:"#35465c",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"}))},Ye=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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(J.createElement)(se.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(J.createElement)(se.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"})),Qe=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:De,keywords:["tweet"],description:Object(Q.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:Ve,keywords:[Object(Q.__)("music"),Object(Q.__)("video")],description:Object(Q.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:Fe,description:Object(Q.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:Ue,keywords:[Object(Q.__)("image")],description:Object(Q.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:Ge,keywords:[Object(Q.__)("post"),Object(Q.__)("blog")],responsive:!1,description:Object(Q.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Ie,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:qe,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:We,keywords:[Object(Q.__)("image")],description:Object(Q.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Ze,keywords:[Object(Q.__)("video")],description:Object(Q.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],Je=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:He,description:Object(Q.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:ze,description:Object(Q.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:He,description:Object(Q.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:ze,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object($.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(Q.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:He,description:Object(Q.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:He,description:Object(Q.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:Le,description:Object(Q.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:ze,description:Object(Q.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:ze,description:Object(Q.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:ze,description:Object(Q.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Ie,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:ze,description:Object(Q.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:Ke,description:Object(Q.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Ie,description:Object(Q.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:He,description:Object(Q.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:ze,description:Object(Q.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:ze,description:Object(Q.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:Le,description:Object(Q.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Ie,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:ze,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object($.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(Q.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/tiktok",settings:{title:"TikTok",icon:He,description:Object(Q.__)("Embed a TikTok video.")},patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:He,description:Object(Q.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:$e,description:Object(Q.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:He,keywords:[Object(Q.__)("video")],description:Object(Q.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:He,description:Object(Q.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Ye,keywords:[Object(Q.__)("ebook")],responsive:!1,description:Object(Q.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],Xe=["facebook.com","smugmug.com"],et=[{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"}],tt=r(87),rt=r.n(tt),nt=r(46),ot=r.n(nt);function ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var at=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},it=function(e){return Object(Y.includes)(e,'class="wp-embedded-content"')},lt=function(e,t){var r=e.preview,n=e.name,o=e.attributes.url;if(o){var c=function(e){for(var t=0,r=[].concat(Object(W.a)(Qe),Object(W.a)(Je));t1&&void 0!==arguments[1]?arguments[1]:"",r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!r){for(var n={"wp-has-aspect-ratio":!1},o=0;o=u.ratio)return rt()(t,(s={},Object(Z.a)(s,u.className,r),Object(Z.a)(s,"wp-has-aspect-ratio",r),s))}return t}var ut=ot()((function(e,t,r,n){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var c={},a=e.type,i=void 0===a?"rich":a,l=e.html,s=e.provider_name,u=Object(Y.kebabCase)(Object(Y.toLower)(""!==s?s:t));return it(l)&&(i="wp-embed"),(l||"photo"===i)&&(c.type=i,c.providerNameSlug=u),c.className=st(l,r,n&&o),c})),bt=["image"];var mt=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(Ne.a)(e)),e.calculateSize=e.calculateSize.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.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=Y.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,r,n,o,c=(e=this.image,t=this.container,r=t.clientWidth,n=e.width>r,o=e.height/e.width,{width:n?r:e.width,height:n?r*o:e.height}),a=c.width,i=c.height;this.setState({width:a,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(J.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(J.Component),dt=Object(ue.withGlobalEvents)({resize:"calculateSize"})(mt);function pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ht(e){for(var t=1;t 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"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}}},Ct=_t.name,Et={title:Object(Q.__)("Image"),description:Object(Q.__)("Insert an image to make a visual statement."),icon:ke,keywords:["img",Object(Q.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(Q.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(Q._x)("Rounded","block style")}],__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.caption,n=e.alt;return e.url?n?n+(r?". "+r:""):r||"":Object(Q.__)("Empty")}},transforms:kt,getEditWrapperProps:function(e){var t=e.align,r=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!r}},edit:Ot,save:function(e){var t,r=e.attributes,n=r.url,o=r.alt,c=r.caption,a=r.align,i=r.href,l=r.rel,s=r.linkClass,u=r.width,b=r.height,m=r.id,d=r.linkTarget,p=r.sizeSlug,h=r.title,g=Object(Y.isEmpty)(l)?void 0:l,f=re()((t={},Object(Z.a)(t,"align".concat(a),a),Object(Z.a)(t,"size-".concat(p),p),Object(Z.a)(t,"is-resized",u||b),t)),O=Object(J.createElement)("img",{src:n,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b,title:h}),v=Object(J.createElement)(J.Fragment,null,i?Object(J.createElement)("a",{className:s,href:i,target:d,rel:g},O):O,!K.RichText.isEmpty(c)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:c}));return"left"===a||"right"===a||"center"===a?Object(J.createElement)("div",null,Object(J.createElement)("figure",{className:f},v)):Object(J.createElement)("figure",{className:f},v)},deprecated:Ee},xt=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(J.createElement)(X.Path,{d:"M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4"})),St={className:!1,anchor:!0},Pt={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},Tt=[{attributes:Pt,save:function(e){var t,r=e.attributes,n=r.align,o=r.content,c=r.customTextColor,a=r.level,i=r.textColor,l="h"+a,s=Object(K.getColorClassName)("color",i),u=re()((t={},Object(Z.a)(t,s,s),Object(Z.a)(t,"has-text-align-".concat(n),n),t));return Object(J.createElement)(K.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:c},value:o})},supports:St},{supports:St,attributes:Pt,save:function(e){var t=e.attributes,r=t.align,n=t.level,o=t.content,c=t.textColor,a=t.customTextColor,i="h"+n,l=Object(K.getColorClassName)("color",c),s=re()(Object(Z.a)({},l,l));return Object(J.createElement)(K.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:r,color:l?void 0:a},value:o})}}];function Nt(e){var t=e.level,r=e.isPressed,n=void 0!==r&&r,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?Object(J.createElement)(se.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},Object(J.createElement)(se.Path,{d:o[t]})):null}var Bt=function(e){function t(){return Object(xe.a)(this,t),Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"createLevelControl",value:function(e,t,r){var n=e===t;return{icon:Object(J.createElement)(Nt,{level:e,isPressed:n}),title:Object(Q.sprintf)(Object(Q.__)("Heading %d"),e),isActive:n,onClick:function(){return r(e)}}}},{key:"render",value:function(){var e=this,t=this.props,r=t.isCollapsed,n=void 0===r||r,o=t.minLevel,c=t.maxLevel,a=t.selectedLevel,i=t.onChange;return Object(J.createElement)(se.ToolbarGroup,{isCollapsed:n,icon:Object(J.createElement)(Nt,{level:a}),controls:Object(Y.range)(o,c).map((function(t){return e.createLevelControl(t,a,i)})),label:Object(Q.__)("Change heading level")})}}]),t}(J.Component);function At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Rt=function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,o=e.onReplace,c=e.className,a=Object(J.useRef)(),i=Object(K.__experimentalUseColors)([{name:"textColor",property:"color"}],{contrastCheckers:{backgroundColor:!0,textColor:!0},colorDetector:{targetRef:a}},[]),l=i.TextColor,s=i.InspectorControlsColorPanel,u=t.align,b=t.content,m=t.level,d=t.placeholder,p="h"+m;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(Bt,{minLevel:2,maxLevel:5,selectedLevel:m,onChange:function(e){return r({level:e})}}),Object(J.createElement)(K.AlignmentToolbar,{value:u,onChange:function(e){r({align:e})}})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Heading settings")},Object(J.createElement)("p",null,Object(Q.__)("Level")),Object(J.createElement)(Bt,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:m,onChange:function(e){return r({level:e})}}))),s,Object(J.createElement)(l,null,Object(J.createElement)(K.RichText,{ref:a,identifier:"content",tagName:p,value:b,onChange:function(e){return r({content:e})},onMerge:n,onSplit:function(e){return e?Object($.createBlock)("core/heading",function(e){for(var t=1;t".concat(t,"

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

".concat(e,"

")})}},{type:"raw",isMatch:function(e){var t,r=(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(r)},schema:function(e){var t=e.phrasingContentSchema;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"

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

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

"===t)return Object($.createBlock)("core/heading",{content:r});var o=Object(Wt.split)(Object(Wt.create)({html:t,multilineTag:"p"}),"\u2028"),c=Object($.createBlock)("core/heading",{content:Object(Wt.toHTMLString)({value:o[0]})});if(!r&&1===o.length)return c;var a=o.slice(1);return[c,Object($.createBlock)("core/quote",function(e){for(var t=1;t"+Object(Q.__)("In quoting others, we cite ourselves.")+"

",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(Q._x)("Large","block style")}],transforms:Kt,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,o=e.mergeBlocks,c=e.onReplace,a=e.className,i=t.align,l=t.value,s=t.citation;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.AlignmentToolbar,{value:i,onChange:function(e){r({align:e})}})),Object(J.createElement)(se.BlockQuotation,{className:re()(a,Object(Z.a)({},"has-text-align-".concat(i),i))},Object(J.createElement)(K.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return r({value:e})},onMerge:o,onRemove:function(e){var t=!s||0===s.length;!e&&t&&c([])},placeholder:Object(Q.__)("Write quote…"),onReplace:c,onSplit:function(e){return Object($.createBlock)("core/quote",function(e){for(var t=1;t

"!==r?{value:e.value+r,citation:n}:{citation:n})},deprecated:Ut},er=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"}));function tr(e){return Math.min(3,e.images.length)}var rr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",r=Object(Y.pick)(e,["alt","id","link","caption"]);r.url=Object(Y.get)(e,["sizes",t,"url"])||Object(Y.get)(e,["media_details","sizes",t,"source_url"])||e.url;var n=Object(Y.get)(e,["sizes","full","url"])||Object(Y.get)(e,["media_details","sizes","full","source_url"]);return n&&(r.fullUrl=n),r};function nr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function or(e){for(var t=1;t0&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,r=e.ids;return t&&t.length>0&&(!r&&t||r&&t&&r.length!==t.length||Object(Y.some)(t,(function(e,t){return!e&&null!==r[t]||parseInt(e,10)!==r[t]})))},migrate:function(e){return or({},e,{ids:Object(Y.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?tr(t):n,c=t.imageCrop,a=t.linkTo;return Object(J.createElement)("ul",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(J.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(J.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(J.createElement)("figure",null,t?Object(J.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?tr(t):n,c=t.align,a=t.imageCrop,i=t.linkTo,l=re()("columns-".concat(o),{alignnone:"none"===c,"is-cropped":a});return Object(J.createElement)("div",{className:l},r.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(J.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(J.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(J.createElement)("a",{href:t},r):r)})))}}],ar=Object(J.createElement)(K.BlockIcon,{icon:er}),ir=r(22),lr=r(120),sr=Object(J.createElement)(se.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),ur=Object(J.createElement)(se.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),br=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(Ne.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Ne.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Ne.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Ne.a)(e)),e.state={captionSelected:!1},e}return Object(Be.a)(t,e),Object(Se.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:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[ir.BACKSPACE,ir.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.image,o=t.url,c=t.__unstableMarkNextChangeAsNotPersistent;n&&!o&&(c(),this.props.setAttributes({url:n.source_url,alt:n.alt_text})),this.state.captionSelected&&!r&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,r=t.url,n=t.alt,o=t.id,c=t.linkTo,a=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,p=t.setAttributes,h=t["aria-label"];switch(c){case"media":e=r;break;case"attachment":e=a}var g=Object(J.createElement)(J.Fragment,null,Object(J.createElement)("img",{src:r,alt:n,"data-id":o,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":h,ref:this.bindContainer}),Object(Ae.isBlobURL)(r)&&Object(J.createElement)(se.Spinner,null)),f=re()({"is-selected":s,"is-transient":Object(Ae.isBlobURL)(r)});return Object(J.createElement)("figure",{className:f},e?Object(J.createElement)("a",{href:e},g):g,Object(J.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(J.createElement)(se.Button,{icon:sr,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(Q.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(J.createElement)(se.Button,{icon:ur,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(Q.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(J.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(J.createElement)(se.Button,{icon:lr.a,onClick:b,className:"blocks-gallery-item__remove",label:Object(Q.__)("Remove image"),disabled:!s})),(s||u)&&Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:s?Object(Q.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return p({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}(J.Component),mr=Object(ue.compose)([Object(be.withSelect)((function(e,t){var r=e("core").getMedia,n=t.id;return{image:n?r(n):null}})),Object(be.withDispatch)((function(e){return{__unstableMarkNextChangeAsNotPersistent:e("core/block-editor").__unstableMarkNextChangeAsNotPersistent}}))])(br),dr=function(e){var t,r=e.attributes,n=e.className,o=e.isSelected,c=e.setAttributes,a=e.selectedImage,i=e.mediaPlaceholder,l=e.onMoveBackward,s=e.onMoveForward,u=e.onRemoveImage,b=e.onSelectImage,m=e.onSetImageAttributes,d=e.onFocusGalleryCaption,p=r.align,h=r.columns,g=void 0===h?tr(r):h,f=r.caption,O=r.imageCrop,v=r.images,j=re()("blocks-gallery-caption",{"screen-reader-text":!o&&K.RichText.isEmpty(f)});return Object(J.createElement)("figure",{className:re()(n,(t={},Object(Z.a)(t,"align".concat(p),p),Object(Z.a)(t,"columns-".concat(g),g),Object(Z.a)(t,"is-cropped",O),t))},Object(J.createElement)("ul",{className:"blocks-gallery-grid"},v.map((function(e,t){var r=Object(Q.sprintf)(Object(Q.__)("image %1$d of %2$d in gallery"),t+1,v.length);return Object(J.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(J.createElement)(mr,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===v.length,isSelected:o&&a===t,onMoveBackward:l(t),onMoveForward:s(t),onRemove:u(t),onSelect:b(t),setAttributes:function(e){return m(t,e)},caption:e.caption,"aria-label":r}))}))),i,Object(J.createElement)(K.RichText,{tagName:"figcaption",className:j,placeholder:Object(Q.__)("Write gallery caption…"),value:f,unstableOnFocus:d,onChange:function(e){return c({caption:e})},inlineToolbar:!0}))};function pr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hr(e){for(var t=1;t0&&Object(Y.every)(n,(function(e){var t=e.url;return Object(Ae.isBlobURL)(t)}))){var o=Object(Y.map)(n,(function(e){var t=e.url;return Object(Ae.getBlobByURL)(t)}));Object(Y.forEach)(n,(function(e){var t=e.url;return Object(Ae.revokeBlobURL)(t)})),r({filesList:o,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className,n=e.isSelected,o=e.noticeUI,c=t.columns,a=void 0===c?tr(t):c,i=t.imageCrop,l=t.images,s=t.linkTo,u=t.sizeSlug,b=!!l.length,m=b&&Object(Y.some)(l,(function(e){return e.id})),d=Object(J.createElement)(K.MediaPlaceholder,{addToGallery:m,isAppender:b,className:r,disableMediaButtons:b&&!n,icon:!b&&ar,labels:{title:!b&&Object(Q.__)("Gallery"),instructions:!b&&Or},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:fr,multiple:!0,value:m?l:void 0,onError:this.onUploadError,notices:b?void 0:o,onFocus:this.props.onFocus});if(!b)return d;var p=this.getImagesSizeOptions(),h=b&&!Object(Y.isEmpty)(p),g=h?vr:jr;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Gallery settings")},l.length>1&&Object(J.createElement)(se.RangeControl,Object(_e.a)({label:Object(Q.__)("Columns")},vr,{value:a,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length),required:!0})),Object(J.createElement)(se.ToggleControl,Object(_e.a)({label:Object(Q.__)("Crop images")},vr,{checked:!!i,onChange:this.toggleImageCrop,help:this.getImageCropHelp})),Object(J.createElement)(se.SelectControl,Object(_e.a)({label:Object(Q.__)("Link to")},g,{value:s,onChange:this.setLinkTo,options:gr})),h&&Object(J.createElement)(se.SelectControl,Object(_e.a)({label:Object(Q.__)("Images size")},jr,{value:u,options:p,onChange:this.updateImagesSize})))),o,Object(J.createElement)(dr,Object(_e.a)({},this.props,{selectedImage:this.state.selectedImage,mediaPlaceholder:d,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onSetImageAttributes:this.setImageAttributes,onFocusGalleryCaption:this.onFocusGalleryCaption})))}}]),t}(J.Component),wr=Object(ue.compose)([Object(be.withSelect)((function(e,t){var r=t.attributes.ids,n=t.isSelected,o=e("core").getMedia,c=(0,e("core/block-editor").getSettings)(),a=c.imageSizes,i=c.mediaUpload,l={};return n&&(l=Object(Y.reduce)(r,(function(e,t){if(!t)return e;var r=o(t),n=Object(Y.reduce)(a,(function(e,t){var n=Object(Y.get)(r,["sizes",t.slug,"url"]),o=Object(Y.get)(r,["media_details","sizes",t.slug,"source_url"]);return hr({},e,Object(Z.a)({},t.slug,n||o))}),{});return hr({},e,Object(Z.a)({},parseInt(t,10),n))}),{})),{imageSizes:a,mediaUpload:i,resizedImages:l}})),se.withNotices,Object(Me.withViewportMatch)({isNarrow:"< small"})])(yr);var kr=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},_r={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],r=t.align,n=t.sizeSlug;r=Object(Y.every)(e,["align",r])?r:void 0,n=Object(Y.every)(e,["sizeSlug",n])?n:void 0;var o=Object(Y.filter)(e,(function(e){return e.url}));return Object($.createBlock)("core/gallery",{images:o.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),ids:o.map((function(e){return e.id})),align:r,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return kr(t).map((function(e){return{id:e}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return kr(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,r=void 0===t?"attachment":t;return"file"===r?"media":r}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(Y.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object($.createBlock)("core/gallery",{images:e.map((function(e){return rr({url:Object(Ae.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,r=e.align,n=e.sizeSlug;return t.length>0?t.map((function(e){var t=e.id,o=e.url,c=e.alt,a=e.caption;return Object($.createBlock)("core/image",{id:t,url:o,alt:c,caption:a,align:r,sizeSlug:n})})):Object($.createBlock)("core/image",{align:r})}}]},Cr={name:"core/gallery",category:"common",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},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:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}}},Er=Cr.name,xr={title:Object(Q.__)("Gallery"),description:Object(Q.__)("Display multiple images in a rich gallery."),icon:er,keywords:[Object(Q.__)("images"),Object(Q.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},supports:{align:!0},transforms:_r,edit:wr,save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?tr(t):n,c=t.imageCrop,a=t.caption,i=t.linkTo;return Object(J.createElement)("figure",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},Object(J.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(J.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(J.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(J.createElement)("figure",null,t?Object(J.createElement)("a",{href:t},r):r,!K.RichText.isEmpty(e.caption)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!K.RichText.isEmpty(a)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},deprecated:cr},Sr=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M21 6V20C21 21.1 20.1 22 19 22H5C3.89 22 3 21.1 3 20L3.01 6C3.01 4.9 3.89 4 5 4H6V2H8V4H16V2H18V4H19C20.1 4 21 4.9 21 6ZM5 8H19V6H5V8ZM19 20V10H5V20H19ZM11 12H17V14H11V12ZM17 16H11V18H17V16ZM7 12H9V14H7V12ZM9 18V16H7V18H9Z"})),Pr=r(67),Tr=r.n(Pr);var Nr="core/archives",Br={title:Object(Q.__)("Archives"),description:Object(Q.__)("Display a monthly archive of your posts."),icon:Sr,category:"widgets",supports:{align:!0,html:!1},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.showPostCounts,o=t.displayAsDropdown;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Archives settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display as dropdown"),checked:o,onChange:function(){return r({displayAsDropdown:!o})}}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Show post counts"),checked:n,onChange:function(){return r({showPostCounts:!n})}}))),Object(J.createElement)(se.Disabled,null,Object(J.createElement)(Tr.a,{block:"core/archives",attributes:t})))}},Ar=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"})),Rr=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.loop,c=t.preload,a=t.src;return Object(J.createElement)("figure",null,Object(J.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:o,preload:c}),!K.RichText.isEmpty(n)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:n}))}}],Mr=["audio"],zr=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).toggleAttribute=e.toggleAttribute.bind(Object(Ne.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(Ne.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=e.noticeOperations,o=e.setAttributes,c=t.id,a=t.src,i=void 0===a?"":a;if(!c&&Object(Ae.isBlobURL)(i)){var l=Object(Ae.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(e){var t=Object(le.a)(e,1)[0],r=t.id,n=t.url;o({id:r,src:n})},onError:function(e){o({src:void 0,id:void 0}),n.createErrorNotice(e)},allowedTypes:Mr})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(r){t.props.setAttributes(Object(Z.a)({},e,r))}}},{key:"onSelectURL",value:function(e){var t=this.props,r=t.attributes,n=t.setAttributes;if(e!==r.src){var o=lt({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);n({src:e,id:void 0})}}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(Q.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this.props.attributes,t=e.id,r=e.autoplay,n=e.caption,o=e.loop,c=e.preload,a=e.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeUI,m=function(e){e&&e.url?l({src:e.url,id:e.id}):l({src:void 0,id:void 0})};return a?Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.MediaReplaceFlow,{mediaId:t,mediaURL:a,allowedTypes:Mr,accept:"audio/*",onSelect:m,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Audio settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:r,help:this.getAutoplayHelp}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object(J.createElement)(se.SelectControl,{label:Object(Q.__)("Preload"),value:void 0!==c?c:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(Q.__)("Auto")},{value:"metadata",label:Object(Q.__)("Metadata")},{value:"none",label:Object(Q.__)("None")}]}))),Object(J.createElement)("figure",{className:u},Object(J.createElement)(se.Disabled,null,Object(J.createElement)("audio",{controls:"controls",src:a})),(!K.RichText.isEmpty(n)||s)&&Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:n,onChange:function(e){return l({caption:e})},inlineToolbar:!0}))):Object(J.createElement)(K.MediaPlaceholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:Ar}),className:u,onSelect:m,onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:Mr,value:this.props.attributes,notices:b,onError:this.onUploadError})}}]),t}(J.Component),Ir=Object(ue.compose)([Object(be.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),se.withNotices])(zr);var Lr={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object($.createBlock)("core/audio",{src:Object(Ae.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},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}}}}]},Hr={name:"core/audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}}},Dr=Hr.name,Vr={title:Object(Q.__)("Audio"),description:Object(Q.__)("Embed a simple audio player."),keywords:[Object(Q.__)("music"),Object(Q.__)("sound"),Object(Q.__)("podcast"),Object(Q.__)("recording")],icon:Ar,transforms:Lr,deprecated:Rr,supports:{align:!0},edit:Ir,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.loop,c=t.preload,a=t.src;return a&&Object(J.createElement)("figure",null,Object(J.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:o,preload:c}),!K.RichText.isEmpty(n)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:n}))}},Fr=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),Ur={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:function(e){return Object($.createBlock)("core/buttons",{},e.map((function(e){return Object($.createBlock)("core/button",e)})))}}]};function Gr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qr(e){for(var t=1;t0&&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(Y.unescape)(e.name).trim():Object(Q.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,r=this.getCategories(t);return Object(J.createElement)("ul",{className:this.getCategoryListClassName(0)},r.map((function(t){return e.renderCategoryListItem(t,0)})))}},{key:"renderCategoryListItem",value:function(e,t){var r=this,n=this.props.attributes,o=n.showHierarchy,c=n.showPostCounts,a=this.getCategories(e.id);return Object(J.createElement)("li",{key:e.id},Object(J.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),c&&Object(J.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!a.length&&Object(J.createElement)("ul",{className:this.getCategoryListClassName(t+1)},a.map((function(e){return r.renderCategoryListItem(e,t+1)}))))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,r=this.props.attributes.showHierarchy?0:null,n=this.getCategories(r),o="blocks-category-select-".concat(t);return Object(J.createElement)(J.Fragment,null,Object(J.createElement)("label",{htmlFor:o,className:"screen-reader-text"},Object(Q.__)("Categories")),Object(J.createElement)("select",{id:o,className:"wp-block-categories__dropdown"},n.map((function(t){return e.renderCategoryDropdownItem(t,0)}))))}},{key:"renderCategoryDropdownItem",value:function(e,t){var r=this,n=this.props.attributes,o=n.showHierarchy,c=n.showPostCounts,a=this.getCategories(e.id);return[Object(J.createElement)("option",{key:e.id},Object(Y.times)(3*t,(function(){return" "})),this.renderCategoryName(e),c?" (".concat(e.count,")"):""),o&&!!a.length&&a.map((function(e){return r.renderCategoryDropdownItem(e,t+1)}))]}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.isRequesting,n=t.displayAsDropdown,o=t.showHierarchy,c=t.showPostCounts,a=Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Categories settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display as dropdown"),checked:n,onChange:this.toggleDisplayAsDropdown}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Show hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Show post counts"),checked:c,onChange:this.toggleShowPostCounts})));return r?Object(J.createElement)(J.Fragment,null,a,Object(J.createElement)(se.Placeholder,{icon:"admin-post",label:Object(Q.__)("Categories")},Object(J.createElement)(se.Spinner,null))):Object(J.createElement)(J.Fragment,null,a,Object(J.createElement)("div",{className:this.props.className},n?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(J.Component),Pn=Object(ue.compose)(Object(be.withSelect)((function(e){var t=e("core").getEntityRecords,r=e("core/data").isResolving,n={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",n),isRequesting:r("core","getEntityRecords",["taxonomy","category",n])}})),ue.withInstanceId)(Sn),Tn="core/categories",Nn={title:Object(Q.__)("Categories"),description:Object(Q.__)("Display a list of all categories."),icon:xn,category:"widgets",supports:{align:!0,html:!1},edit:Pn},Bn=r(290);var An=r(68);function Rn(e){return e.replace(/\[/g,"[")}function Mn(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var zn={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object($.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":{}}}}}}}]},In={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},Ln=In.name,Hn={title:Object(Q.__)("Code"),description:Object(Q.__)("Display code snippets that respect your spacing and tabs."),icon:Bn.a,example:{attributes:{content:Object(Q.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},supports:{html:!1},transforms:zn,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className;return Object(J.createElement)("div",{className:n},Object(J.createElement)(K.PlainText,{value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(Q.__)("Write code…"),"aria-label":Object(Q.__)("Code")}))},save:function(e){var t,r=e.attributes;return Object(J.createElement)("pre",null,Object(J.createElement)("code",null,(t=r.content,Object(Y.flow)(An.escapeEditableHTML,Rn,Mn)(t||""))))}},Dn=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"}));function Vn(e){var t,r=Vn.doc;r||(r=document.implementation.createHTMLDocument(""),Vn.doc=r),r.body.innerHTML=e;var n=!0,o=!1,c=void 0;try{for(var a,i=r.body.firstChild.classList[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){if(t=a.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,c=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw c}}}var Fn=[{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!==Vn(e.originalContent)}))},migrate:function(e,t){var r=t.reduce((function(e,t){var r=Vn(t.originalContent);return void 0===r&&(r=0),e[r]||(e[r]=[]),e[r].push(t),e}),[]).map((function(e){return Object($.createBlock)("core/column",{},e)}));return[Object(Y.omit)(e,["columns"]),r]},save:function(e){var t=e.attributes.columns;return Object(J.createElement)("div",{className:"has-".concat(t,"-columns")},Object(J.createElement)(K.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(Y.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,r=t.verticalAlignment,n=t.columns,o=re()("has-".concat(n,"-columns"),Object(Z.a)({},"are-vertically-aligned-".concat(r),r));return Object(J.createElement)("div",{className:o},Object(J.createElement)(K.InnerBlocks.Content,null))}}],Un=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function Gn(e,t){var r=e.attributes.width;return Un(void 0===r?100/t:r)}function qn(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=(t-function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(Y.sumBy)(e,(function(e){return Gn(e,t)}))}(e,r))/e.length;return Object(Y.mapValues)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,r){var n=Gn(r,t);return Object.assign(e,Object(Z.a)({},r.clientId,n))}),{})}(e,r),(function(e){return Un(e+n)}))}function Wn(e,t){return e.map((function(e){return Object(Y.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var Zn=["core/column"];var Kn=Object(be.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var o=t.clientId,c=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockOrder;c({verticalAlignment:n}),i(o).forEach((function(e){a(e,{verticalAlignment:n})}))},updateColumns:function(n,o){var c=t.clientId,a=e("core/block-editor").replaceInnerBlocks,i=(0,r.select("core/block-editor").getBlocks)(c),l=i.every((function(e){return Number.isFinite(e.attributes.width)})),s=o>n;if(s&&l){var u=Un(100/o),b=qn(i,100-u);i=[].concat(Object(W.a)(Wn(i,b)),Object(W.a)(Object(Y.times)(o-n,(function(){return Object($.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(W.a)(i),Object(W.a)(Object(Y.times)(o-n,(function(){return Object($.createBlock)("core/column")}))));else{if(i=Object(Y.dropRight)(i,n-o),l)i=Wn(i,qn(i,100))}a(c,i,!1)}}}))((function(e){var t=e.attributes,r=e.className,n=e.updateAlignment,o=e.updateColumns,c=e.clientId,a=t.verticalAlignment,i=Object(be.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(c)}}),[c]).count,l=Object(J.useRef)(),s=Object(K.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0}],colorDetector:{targetRef:l}}),u=s.BackgroundColor,b=s.InspectorControlsColorPanel,m=s.TextColor,d=re()(r,Object(Z.a)({},"are-vertically-aligned-".concat(a),a));return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.BlockVerticalAlignmentToolbar,{onChange:n,value:a})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,null,Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Columns"),value:i,onChange:function(e){return o(i,e)},min:2,max:6}))),b,Object(J.createElement)(u,null,Object(J.createElement)(m,null,Object(J.createElement)("div",{className:d,ref:l},Object(J.createElement)(K.InnerBlocks,{templateLock:"all",allowedBlocks:Zn})))))})),$n=function e(t){return Object(Y.map)(t,(function(t){var r=Object(le.a)(t,3),n=r[0],o=r[1],c=r[2],a=void 0===c?[]:c;return Object($.createBlock)(n,o,e(a))}))},Yn=function(e){var t=e.clientId,r=e.name,n=Object(be.useSelect)((function(e){var n=e("core/blocks"),o=n.getBlockVariations,c=n.getBlockType,a=n.getDefaultBlockVariation;return{blockType:c(r),defaultVariation:a(r,"block"),hasInnerBlocks:e("core/block-editor").getBlocks(t).length>0,variations:o(r,"block")}}),[t,r]),o=n.blockType,c=n.defaultVariation,a=n.hasInnerBlocks,i=n.variations,l=Object(be.useDispatch)("core/block-editor").replaceInnerBlocks;return a?Object(J.createElement)(Kn,e):Object(J.createElement)(K.__experimentalBlockVariationPicker,{icon:Object(Y.get)(o,["icon","src"]),label:Object(Y.get)(o,["title"]),variations:i,onSelect:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;t.attributes&&e.setAttributes(t.attributes),t.innerBlocks&&l(e.clientId,$n(t.innerBlocks))},allowSkip:!0})};var Qn=[{name:"two-columns-equal",title:Object(Q.__)("Two columns; equal split"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(Q.__)("Two columns; one-third, two-thirds split"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:33.33}],["core/column",{width:66.66}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(Q.__)("Two columns; two-thirds, one-third split"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:66.66}],["core/column",{width:33.33}]],scope:["block"]},{name:"three-columns-equal",title:Object(Q.__)("Three columns; equal split"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(Q.__)("Three columns; wide center column"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:25}],["core/column",{width:50}],["core/column",{width:25}]],scope:["block"]}],Jn={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}}},Xn=Jn.name,eo={title:Object(Q.__)("Columns"),icon:Dn,description:Object(Q.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},variations:Qn,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Q.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:Object(Q.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Q.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(Q.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Fn,edit:Yn,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,o=r.backgroundColor,c=r.customBackgroundColor,a=r.textColor,i=r.customTextColor,l=Object(K.getColorClassName)("background-color",o),s=Object(K.getColorClassName)("color",a),u=re()((t={"has-background":o||c,"has-text-color":a||i},Object(Z.a)(t,l,l),Object(Z.a)(t,s,s),Object(Z.a)(t,"are-vertically-aligned-".concat(n),n),t)),b={backgroundColor:l?void 0:c,color:s?void 0:i};return Object(J.createElement)("div",{className:u||void 0,style:b},Object(J.createElement)(K.InnerBlocks.Content,null))}},to=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(X.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"}));var ro=Object(ue.compose)(Object(be.withSelect)((function(e,t){var r=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(r).length>0}})),Object(be.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var o=t.clientId,c=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockRootClientId;c({verticalAlignment:n}),a(i(o),{verticalAlignment:null})}}})))((function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=e.updateAlignment,c=e.hasChildBlocks,a=t.verticalAlignment,i=t.width,l=re()(n,"block-core-columns",Object(Z.a)({},"is-vertically-aligned-".concat(a),a));return Object(J.createElement)("div",{className:l},Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.BlockVerticalAlignmentToolbar,{onChange:o,value:a})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Column settings")},Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Percentage width"),value:i||"",onChange:function(e){r({width:e})},min:0,max:100,step:.1,required:!0,allowReset:!0,placeholder:void 0===i?Object(Q.__)("Auto"):void 0}))),Object(J.createElement)(K.InnerBlocks,{templateLock:!1,renderAppender:c?void 0:function(){return Object(J.createElement)(K.InnerBlocks.ButtonBlockAppender,null)}}))}));var no={name:"core/column",category:"common",attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}}},oo=no.name,co={title:Object(Q.__)("Column"),parent:["core/columns"],icon:to,description:Object(Q.__)("A single column within a columns block."),supports:{inserter:!1,reusable:!1,html:!1},getEditWrapperProps:function(e){var t=e.width;if(Number.isFinite(t))return{style:{flexBasis:t+"%"},"data-has-explicit-width":!0}},edit:ro,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,o=r.width,c=re()(Object(Z.a)({},"is-vertically-aligned-".concat(n),n));return Number.isFinite(o)&&(t={flexBasis:o+"%"}),Object(J.createElement)("div",{className:c,style:t},Object(J.createElement)(K.InnerBlocks.Content,null))}},ao=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(X.Path,{d:"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"})),io="image",lo="video",so=50;function uo(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}function bo(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function po(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,o=Object(J.useState)(!1),c=Object(le.a)(o,2),a=c[0],i=c[1];return Object(J.useEffect)((function(){e&&t<=50&&n.current&&Co().getColorAsync(n.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&n.current,i]),Object(J.useEffect)((function(){if(t>50||!e){if(!r)return void i(!0);i(jo()(r).isDark())}}),[r,t>50||!e,i]),Object(J.useEffect)((function(){e||r||i(!1)}),[!e&&!r,i]),a}(f,d,i.color,k),C=Object(J.useState)(null),E=Object(le.a)(C,2),x=E[0],S=E[1],P=u.removeAllNotices,T=u.createErrorNotice,N=wo({},m===io?uo(f):{},{backgroundColor:i.color,minHeight:x||g});j&&!f&&(N.background=j),p&&(N.backgroundPosition="".concat(100*p.x,"% ").concat(100*p.y,"%"));var B=!!(f||i.color||j),A=Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,B&&Object(J.createElement)(K.MediaReplaceFlow,{mediaId:b,mediaURL:f,allowedTypes:ko,accept:"image/*,video/*",onSelect:w})),Object(J.createElement)(K.InspectorControls,null,!!f&&Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Media settings")},io===m&&Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Fixed background"),checked:h,onChange:function(){n(wo({hasParallax:!h},h?{}:{focalPoint:void 0}))}}),io===m&&!h&&Object(J.createElement)(se.FocalPointPicker,{label:Object(Q.__)("Focal point picker"),url:f,value:p,onChange:function(e){return n({focalPoint:e})}}),lo===m&&Object(J.createElement)("video",{autoPlay:!0,muted:!0,loop:!0,src:f}),Object(J.createElement)(se.PanelRow,null,Object(J.createElement)(se.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return n({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0})}},Object(Q.__)("Clear Media")))),B&&Object(J.createElement)(J.Fragment,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Dimensions")},Object(J.createElement)(Eo,{value:x||g,onChange:function(e){return n({minHeight:e})}})),Object(J.createElement)(K.__experimentalPanelColorGradientSettings,{title:Object(Q.__)("Overlay"),initialOpen:!0,settings:[{colorValue:i.color,gradientValue:j,onColorChange:l,onGradientChange:y,label:Object(Q.__)("Color")}]},!!f&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Background opacity"),value:d,onChange:function(e){return n({dimRatio:e})},min:0,max:100,step:10,required:!0})))));if(!B){var R=Object(J.createElement)(K.BlockIcon,{icon:ao}),M=Object(Q.__)("Cover");return Object(J.createElement)(J.Fragment,null,A,Object(J.createElement)(K.MediaPlaceholder,{icon:R,className:c,labels:{title:M,instructions:Object(Q.__)("Upload an image or video file, or pick one from your media library.")},onSelect:w,accept:"image/*,video/*",allowedTypes:ko,notices:a,onError:function(e){P(),T(e)}},Object(J.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(J.createElement)(K.ColorPalette,{disableCustomColors:!0,value:i.color,onChange:l,clearable:!1}))))}var z=re()(c,bo(d),(t={"is-dark-theme":_,"has-background-dim":0!==d,"has-parallax":h},Object(Z.a)(t,i.class,i.class),Object(Z.a)(t,"has-background-gradient",j),Object(Z.a)(t,v,!f&&v),t));return Object(J.createElement)(J.Fragment,null,A,Object(J.createElement)(So,{className:re()("block-library-cover__resize-container",{"is-selected":o}),onResizeStart:function(){return s(!1)},onResize:S,onResizeStop:function(e){s(!0),n({minHeight:e}),S(null)}},Object(J.createElement)("div",{"data-url":f,style:N,className:z},io===m&&Object(J.createElement)("img",{ref:k,"aria-hidden":!0,alt:"",style:{display:"none"},src:f}),f&&j&&0!==d&&Object(J.createElement)("span",{"aria-hidden":"true",className:re()("wp-block-cover__gradient-background",v),style:{background:j}}),lo===m&&Object(J.createElement)("video",{ref:k,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(J.createElement)("div",{className:"wp-block-cover__inner-container"},Object(J.createElement)(K.InnerBlocks,{template:_o})))))}));var To={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,r=e.url,n=e.align,o=e.id;return Object($.createBlock)("core/cover",{title:t,url:r,align:n,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,r=e.src,n=e.align,o=e.id;return Object($.createBlock)("core/cover",{title:t,url:r,align:n,id:o,backgroundType:lo})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,o=e.customOverlayColor,c=e.gradient,a=e.customGradient;return r?t===io:!(n||o||c||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,o=e.id;return Object($.createBlock)("core/image",{caption:t,url:r,align:n,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,o=e.customOverlayColor,c=e.gradient,a=e.customGradient;return r?t===lo:!(n||o||c||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,o=e.id;return Object($.createBlock)("core/video",{caption:t,src:r,id:o,align:n})}}]},No={name:"core/cover",category:"common",attributes:{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"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}},Bo=No.name,Ao={title:Object(Q.__)("Cover"),description:Object(Q.__)("Add an image or video with a text overlay — great for headers."),icon:ao,supports:{align:!0,html:!1},example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(Q.__)("Snow Patrol"),align:"center"}}]},transforms:To,save:function(e){var t=e.attributes,r=t.backgroundType,n=t.gradient,o=t.customGradient,c=t.customOverlayColor,a=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object(K.getColorClassName)("background-color",s),d=Object(K.__experimentalGetGradientClass)(n),p=r===io?uo(u):{};m||(p.backgroundColor=c),i&&!l&&(p.backgroundPosition="".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")),o&&!u&&(p.background=o),p.minHeight=b||void 0;var h=re()(bo(a),m,Object(Z.a)({"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":n||o},d,!u&&d));return Object(J.createElement)("div",{className:h,style:p},u&&(n||o)&&0!==a&&Object(J.createElement)("span",{"aria-hidden":"true",className:re()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),lo===r&&u&&Object(J.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(J.createElement)("div",{className:"wp-block-cover__inner-container"},Object(J.createElement)(K.InnerBlocks.Content,null)))},edit:Po,deprecated:go},Ro=r(286),Mo=function(e){var t=e.blockSupportsResponsive,r=e.showEditButton,n=e.themeSupportsResponsive,o=e.allowResponsive,c=e.getResponsiveHelp,a=e.toggleResponsive,i=e.switchBackToURLInput;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,null,r&&Object(J.createElement)(se.Button,{className:"components-toolbar__control",label:Object(Q.__)("Edit URL"),icon:Ro.a,onClick:i}))),n&&t&&Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Media settings"),className:"blocks-responsive"},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Resize for smaller devices"),checked:o,help:c,onChange:a}))))},zo=function(){return Object(J.createElement)("div",{className:"wp-block-embed is-loading"},Object(J.createElement)(se.Spinner,null),Object(J.createElement)("p",null,Object(Q.__)("Embedding…")))},Io=function(e){var t=e.icon,r=e.label,n=e.value,o=e.onSubmit,c=e.onChange,a=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(J.createElement)(se.Placeholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:t,showColors:!0}),label:r,className:"wp-block-embed",instructions:Object(Q.__)("Paste a link to the content you want to display on your site.")},Object(J.createElement)("form",{onSubmit:o},Object(J.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":r,placeholder:Object(Q.__)("Enter URL to embed here…"),onChange:c}),Object(J.createElement)(se.Button,{isSecondary:!0,type:"submit"},Object(Q._x)("Embed","button label"))),Object(J.createElement)("div",{className:"components-placeholder__learn-more"},Object(J.createElement)(se.ExternalLink,{href:Object(Q.__)("https://wordpress.org/support/article/embeds/")},Object(Q.__)("Learn more about embeds"))),a&&Object(J.createElement)("div",{className:"components-placeholder__error"},Object(J.createElement)("div",{className:"components-placeholder__instructions"},Object(Q.__)("Sorry, this content could not be embedded.")),Object(J.createElement)(se.Button,{isSecondary:!0,onClick:l},Object(Q._x)("Try again","button label"))," ",Object(J.createElement)(se.Button,{isSecondary:!0,onClick:i},Object(Q._x)("Convert to link","button label"))))},Lo=r(113),Ho=window.FocusEvent,Do=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(Ne.a)(e)),e.node=Object(J.createRef)(),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new Ho("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(J.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(J.Component),Vo=Object(ue.withGlobalEvents)({blur:"checkFocus"})(Do),Fo=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(Ne.a)(e)),e.state={interactive:!1},e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,r,n=this.props,o=n.preview,c=n.url,a=n.type,i=n.caption,l=n.onCaptionChange,s=n.isSelected,u=n.className,b=n.icon,m=n.label,d=o.scripts,p=this.state.interactive,h="photo"===a?(t=(e=o).thumbnail_url?e.thumbnail_url:e.url,r=Object(J.createElement)("p",null,Object(J.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(J.renderToString)(r)):o.html,g=Object(Lo.parse)(c).host.split("."),f=g.splice(g.length-2,g.length-1).join("."),O=Object(Y.includes)(Xe,f),v=Object(Q.sprintf)(Object(Q.__)("Embedded content from %s"),f),j=rt()(a,u,"wp-block-embed__wrapper"),y="wp-embed"===a?Object(J.createElement)(Vo,{html:h}):Object(J.createElement)("div",{className:"wp-block-embed__wrapper"},Object(J.createElement)(se.SandBox,{html:h,scripts:d,title:v,type:j,onFocus:this.hideOverlay}),!p&&Object(J.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(J.createElement)("figure",{className:rt()(u,"wp-block-embed",{"is-type-video":"video"===a})},O?Object(J.createElement)(se.Placeholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:b,showColors:!0}),label:m},Object(J.createElement)("p",{className:"components-placeholder__error"},Object(J.createElement)("a",{href:c},c)),Object(J.createElement)("p",{className:"components-placeholder__error"},Object(Q.sprintf)(Object(Q.__)("Embedded content from %s can't be previewed in the editor."),f))):y,(!K.RichText.isEmpty(i)||s)&&Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:i,onChange:l,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(J.Component);function Uo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Go(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(n){function o(){var e;return Object(xe.a)(this,o),(e=Object(Pe.a)(this,Object(Te.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(Ne.a)(e)),e.setUrl=e.setUrl.bind(Object(Ne.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(Ne.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(Ne.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(Ne.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(Ne.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(Ne.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(Be.a)(o,n),Object(Se.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=lt(this.props,this.getMergedAttributes());e&&this.props.onReplace(e)}}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,r=void 0!==e.preview,n=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!r,o=this.props.attributes.url!==e.attributes.url;if(n||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,r=this.props.setAttributes;this.setState({editingURL:!1}),r({url:t})}},{key:"getMergedAttributes",value:function(){var t=this.props.preview,n=this.props.attributes,o=n.className,c=n.allowResponsive;return function(e){for(var t=1;t0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var r=Object(Ae.createBlobURL)(e);t.push(Object($.createBlock)("core/file",{href:r,fileName:e.name,textLinkHref:r}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object($.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($.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($.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 r=(0,Object(be.select)("core").getMedia)(t);return!!r&&Object(Y.includes)(r.mime_type,"audio")},transform:function(e){return Object($.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 r=(0,Object(be.select)("core").getMedia)(t);return!!r&&Object(Y.includes)(r.mime_type,"video")},transform:function(e){return Object($.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 r=(0,Object(be.select)("core").getMedia)(t);return!!r&&Object(Y.includes)(r.mime_type,"image")},transform:function(e){return Object($.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},ac={name:"core/file",category:"common",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]"}}},ic=ac.name,lc={title:Object(Q.__)("File"),description:Object(Q.__)("Add a link to a downloadable file."),icon:tc,keywords:[Object(Q.__)("document"),Object(Q.__)("pdf"),Object(Q.__)("download")],supports:{align:!0},transforms:cc,edit:oc,save:function(e){var t=e.attributes,r=t.href,n=t.fileName,o=t.textLinkHref,c=t.textLinkTarget,a=t.showDownloadButton,i=t.downloadButtonText;return r&&Object(J.createElement)("div",null,!K.RichText.isEmpty(n)&&Object(J.createElement)("a",{href:o,target:c,rel:!!c&&"noreferrer noopener"},Object(J.createElement)(K.RichText.Content,{value:n})),a&&Object(J.createElement)("a",{href:r,className:"wp-block-file__button",download:!0},Object(J.createElement)(K.RichText.Content,{value:i})))}},sc=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),uc=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(Ne.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.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(W.a)(Object(K.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,r=e.setAttributes,n=this.state,o=n.isPreview,c=n.styles;return Object(J.createElement)("div",{className:"wp-block-html"},Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,null,Object(J.createElement)(se.Button,{className:"components-tab-button",isPressed:!o,onClick:this.switchToHTML},Object(J.createElement)("span",null,"HTML")),Object(J.createElement)(se.Button,{className:"components-tab-button",isPressed:o,onClick:this.switchToPreview},Object(J.createElement)("span",null,Object(Q.__)("Preview"))))),Object(J.createElement)(se.Disabled.Consumer,null,(function(e){return o||e?Object(J.createElement)(se.SandBox,{html:t.content,styles:c}):Object(J.createElement)(K.PlainText,{value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(Q.__)("Write HTML…"),"aria-label":Object(Q.__)("HTML")})})))}}]),t}(J.Component),bc=Object(be.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(uc);var mc={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:function(e){return{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:e.phrasingContentSchema}}}}}}]},dc={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},pc=dc.name,hc={title:Object(Q.__)("Custom HTML"),description:Object(Q.__)("Add custom HTML code and preview it as you edit."),icon:sc,keywords:[Object(Q.__)("embed")],example:{attributes:{content:""+Object(Q.__)("Welcome to the wonderful world of blocks…")+""}},supports:{customClassName:!1,className:!1,html:!1},transforms:mc,edit:bc,save:function(e){var t=e.attributes;return Object(J.createElement)(J.RawHTML,null,t.content)}},gc=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(X.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),fc=Object(J.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(se.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(J.createElement)(se.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(J.createElement)(se.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),Oc=["image","video"];function vc(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var jc=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.onSelectMedia,r=e.mediaUrl,n=e.mediaId;return Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.MediaReplaceFlow,{mediaId:n,mediaURL:r,allowedTypes:Oc,accept:"image/*,video/*",onSelect:t}))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,r=e.mediaUrl,n=e.className,o=e.imageFill,c=e.focalPoint,a=o?vc(r,c):{};return Object(J.createElement)(J.Fragment,null,this.renderToolbarEditButton(),Object(J.createElement)("figure",{className:n,style:a},Object(J.createElement)("img",{src:r,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,r=e.className;return Object(J.createElement)(J.Fragment,null,this.renderToolbarEditButton(),Object(J.createElement)("figure",{className:r},Object(J.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,r=e.className,n=e.noticeUI;return Object(J.createElement)(K.MediaPlaceholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:fc}),labels:{title:Object(Q.__)("Media area")},className:r,onSelect:t,accept:"image/*,video/*",allowedTypes:Oc,notices:n,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,r=e.mediaUrl,n=e.mediaType,o=e.mediaWidth,c=e.commitWidthChange,a=e.onWidthChange,i=e.toggleSelection;if(n&&r){var l={right:"left"===t,left:"right"===t},s=null;switch(n){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(J.createElement)(se.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResizeStart:function(){i(!1)},onResize:function(e,t,r){a(parseInt(r.style.width))},onResizeStop:function(e,t,r){i(!0),c(parseInt(r.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(J.Component),yc=Object(ue.compose)([Object(be.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),se.withNotices])(jc);function wc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var kc={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}},_c=[{attributes:function(e){for(var t=1;tEarns his living
Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(Q.__)("— Kobayashi Issa (一茶)")}}]},transforms:Tc,edit:Sc,save:function(e){var t,r=e.attributes,n=r.backgroundColor,o=r.customBackgroundColor,c=r.isStackedOnMobile,a=r.mediaAlt,i=r.mediaPosition,l=r.mediaType,s=r.mediaUrl,u=r.mediaWidth,b=r.mediaId,m=r.verticalAlignment,d=r.imageFill,p=r.focalPoint,h=r.linkClass,g=r.href,f=r.linkTarget,O=r.rel,v=Object(Y.isEmpty)(O)?void 0:O,j=Object(J.createElement)("img",{src:s,alt:a,className:b&&"image"===l?"wp-image-".concat(b):null});g&&(j=Object(J.createElement)("a",{className:h,href:g,target:f,rel:v},j));var y,w={image:function(){return j},video:function(){return Object(J.createElement)("video",{controls:!0,src:s})}},k=Object(K.getColorClassName)("background-color",n),_=re()((t={"has-media-on-the-right":"right"===i,"has-background":k||o},Object(Z.a)(t,k,k),Object(Z.a)(t,"is-stacked-on-mobile",c),Object(Z.a)(t,"is-vertically-aligned-".concat(m),m),Object(Z.a)(t,"is-image-fill",d),t)),C=d?vc(s,p):{};u!==Pc&&(y="right"===i?"auto ".concat(u,"%"):"".concat(u,"% auto"));var E={backgroundColor:k?void 0:o,gridTemplateColumns:y};return Object(J.createElement)("div",{className:_,style:E},Object(J.createElement)("figure",{className:"wp-block-media-text__media",style:C},(w[l]||Y.noop)()),Object(J.createElement)("div",{className:"wp-block-media-text__content"},Object(J.createElement)(K.InnerBlocks.Content,null)))},deprecated:_c},Rc=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),Mc=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(Ne.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var r=t.props.attributes[e];(0,t.props.setAttributes)(Object(Z.a)({},e,!r))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,r=e.displayAvatar,n=e.displayDate,o=e.displayExcerpt;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Latest comments settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display avatar"),checked:r,onChange:this.toggleDisplayAvatar}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display date"),checked:n,onChange:this.toggleDisplayDate}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display excerpt"),checked:o,onChange:this.toggleDisplayExcerpt}),Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Number of comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(J.createElement)(se.Disabled,null,Object(J.createElement)(Tr.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(J.Component),zc="core/latest-comments",Ic={title:Object(Q.__)("Latest Comments"),description:Object(Q.__)("Display a list of your most recent comments."),icon:Rc,category:"widgets",keywords:[Object(Q.__)("recent comments")],supports:{align:!0,html:!1},edit:Mc},Lc=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(J.createElement)(X.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(J.createElement)(X.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(J.createElement)(X.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(J.createElement)(X.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"})),Hc=r(42),Dc=r.n(Hc),Vc=r(60);function Fc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Uc={per_page:-1},Gc=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=Dc()({path:Object(Re.addQueryArgs)("/wp/v2/categories",Uc)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.setAttributes,n=e.imageSizeOptions,o=e.latestPosts,c=e.defaultImageWidth,a=e.defaultImageHeight,i=this.state.categoriesList,l=t.displayFeaturedImage,s=t.displayPostContentRadio,u=t.displayPostContent,b=t.displayPostDate,m=t.postLayout,d=t.columns,p=t.order,h=t.orderBy,g=t.categories,f=t.postsToShow,O=t.excerptLength,v=t.featuredImageAlign,j=t.featuredImageSizeSlug,y=t.featuredImageSizeWidth,w=t.featuredImageSizeHeight,k=Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Post content settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Post content"),checked:u,onChange:function(e){return r({displayPostContent:e})}}),u&&Object(J.createElement)(se.RadioControl,{label:Object(Q.__)("Show:"),selected:s,options:[{label:Object(Q.__)("Excerpt"),value:"excerpt"},{label:Object(Q.__)("Full post"),value:"full_post"}],onChange:function(e){return r({displayPostContentRadio:e})}}),u&&"excerpt"===s&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Max number of words in excerpt"),value:O,onChange:function(e){return r({excerptLength:e})},min:10,max:100})),Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Post meta settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display post date"),checked:b,onChange:function(e){return r({displayPostDate:e})}})),Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Featured image settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display featured image"),checked:l,onChange:function(e){return r({displayFeaturedImage:e})}}),l&&Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.__experimentalImageSizeControl,{onChange:function(e){var t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),r(t)},slug:j,width:y,height:w,imageWidth:c,imageHeight:a,imageSizeOptions:n,onChangeImage:function(e){return r({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}}),Object(J.createElement)(se.BaseControl,null,Object(J.createElement)(se.BaseControl.VisualLabel,null,Object(Q.__)("Image alignment")),Object(J.createElement)(K.BlockAlignmentToolbar,{value:v,onChange:function(e){return r({featuredImageAlign:e})},controls:["left","center","right"],isCollapsed:!1})))),Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Sorting and filtering")},Object(J.createElement)(se.QueryControls,Object(_e.a)({order:p,orderBy:h},{numberOfItems:f,categoriesList:i,selectedCategoryId:g,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onCategoryChange:function(e){return r({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return r({postsToShow:e})}})),"grid"===m&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Columns"),value:d,onChange:function(e){return r({columns:e})},min:2,max:_?Math.min(6,o.length):6,required:!0}))),_=Array.isArray(o)&&o.length;if(!_)return Object(J.createElement)(J.Fragment,null,k,Object(J.createElement)(se.Placeholder,{icon:"admin-post",label:Object(Q.__)("Latest Posts")},Array.isArray(o)?Object(Q.__)("No posts found."):Object(J.createElement)(se.Spinner,null)));var C=o.length>f?o.slice(0,f):o,E=[{icon:"list-view",title:Object(Q.__)("List view"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===m},{icon:"grid-view",title:Object(Q.__)("Grid view"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===m}],x=Object(Vc.__experimentalGetSettings)().formats.date;return Object(J.createElement)(J.Fragment,null,k,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,{controls:E})),Object(J.createElement)("ul",{className:re()(this.props.className,Object(Z.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===m,"has-dates":b},"columns-".concat(d),"grid"===m))},C.map((function(e,t){var r=Object(Y.invoke)(e,["title","rendered","trim"]),n=e.excerpt.rendered,o=document.createElement("div");o.innerHTML=n,n=o.textContent||o.innerText||"";var c=e.featuredImageSourceUrl,a=re()(Object(Z.a)({"wp-block-latest-posts__featured-image":!0},"align".concat(v),!!v)),i=O'+Object(Q.__)("Read more")+"":n;return Object(J.createElement)("li",{key:t},l&&Object(J.createElement)("div",{className:a},c&&Object(J.createElement)("img",{src:c,alt:"",style:{maxWidth:y,maxHeight:w}})),Object(J.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},r?Object(J.createElement)(J.RawHTML,null,r):Object(Q.__)("(no title)")),b&&e.date_gmt&&Object(J.createElement)("time",{dateTime:Object(Vc.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(Vc.dateI18n)(x,e.date_gmt)),u&&"excerpt"===s&&Object(J.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object(J.createElement)(J.RawHTML,{key:"html"},i)),u&&"full_post"===s&&Object(J.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(J.createElement)(J.RawHTML,{key:"html"},e.content.raw.trim())))}))))}}]),t}(J.Component),qc=Object(be.withSelect)((function(e,t){var r=t.attributes,n=r.featuredImageSizeSlug,o=r.postsToShow,c=r.order,a=r.orderBy,i=r.categories,l=e("core"),s=l.getEntityRecords,u=l.getMedia,b=(0,e("core/block-editor").getSettings)(),m=b.imageSizes,d=b.imageDimensions,p=s("postType","post",Object(Y.pickBy)({categories:i,order:c,orderby:a,per_page:o},(function(e){return!Object(Y.isUndefined)(e)}))),h=m.filter((function(e){return"full"!==e.slug})).map((function(e){var t=e.name;return{value:e.slug,label:t}}));return{defaultImageWidth:d[n].width,defaultImageHeight:d[n].height,imageSizeOptions:h,latestPosts:Array.isArray(p)?p.map((function(e){if(e.featured_media){var t=u(e.featured_media),r=Object(Y.get)(t,["media_details","sizes",n,"source_url"],null);return r||(r=Object(Y.get)(t,"source_url",null)),function(e){for(var t=1;t1?n:Object(Wt.replace)(n,/\n/g,Wt.__UNSTABLE_LINE_SEPARATOR)})),Wt.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object($.createBlock)("core/list",{values:Object(Wt.toHTMLString)({value:Object(Wt.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:Xc(e).ol,ul:Xc(e).ul}},transform:function(e){var t={ordered:"OL"===e.nodeName};if(t.ordered){var r=e.getAttribute("type");r&&(t.type=r),null!==e.getAttribute("reversed")&&(t.reversed=!0);var n=parseInt(e.getAttribute("start"),10);isNaN(n)||1===n&&!t.reversed||(t.start=n)}return Object($.createBlock)("core/list",Jc({},Object($.getBlockAttributes)("core/list",e.outerHTML),{},t))}}].concat(Object(W.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object($.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}}))),Object(W.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object($.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(Wt.split)(Object(Wt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),Wt.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object($.createBlock)("core/paragraph",{content:Object(Wt.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object($.createBlock)("core/quote",{value:Object(Wt.toHTMLString)({value:Object(Wt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]};function ta(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var ra={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"}}},na=ra.name,oa={title:Object(Q.__)("List"),description:Object(Q.__)("Create a bulleted or numbered list."),icon:Kc,keywords:[Object(Q.__)("bullet list"),Object(Q.__)("ordered list"),Object(Q.__)("numbered list")],supports:{className:!1,__unstablePasteTextInline:!0},example:{attributes:{values:"
  • Alice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:ea,merge:function(e,t){var r=t.values;return r&&"
  • "!==r?function(e){for(var t=1;t"+Object(Q.__)("One of the hardest things to do in technology is disrupt yourself.")+"

    ",citation:Object(Q.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(Q.__)("Solid color")}],supports:{align:["left","right","wide","full"]},edit:Aa,save:function(e){var t,r,n=e.attributes,o=n.mainColor,c=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(Y.includes)(u,Ea)){var b=Object(K.getColorClassName)("background-color",o);t=re()(Object(Z.a)({"has-background":b||c},b,b)),r={backgroundColor:b?void 0:c}}else c&&(r={borderColor:c});var m=Object(K.getColorClassName)("color",a),d=(a||i)&&re()("has-text-color",Object(Z.a)({},m,m)),p=m?void 0:{color:i};return Object(J.createElement)("figure",{className:t,style:r},Object(J.createElement)("blockquote",{className:d,style:p},Object(J.createElement)(K.RichText.Content,{value:l,multiline:!0}),!K.RichText.isEmpty(s)&&Object(J.createElement)(K.RichText.Content,{tagName:"cite",value:s})))},deprecated:Na},Ia=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).titleField=Object(J.createRef)(),e.editButton=Object(J.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(Ne.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(Ne.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.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===ir.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,r=e.title,n=e.isSaving,o=e.isEditDisabled,c=e.onEdit,a=e.instanceId;return Object(J.createElement)(J.Fragment,null,!t&&!n&&Object(J.createElement)("div",{className:"reusable-block-edit-panel"},Object(J.createElement)("b",{className:"reusable-block-edit-panel__info"},r),Object(J.createElement)(se.Button,{ref:this.editButton,isSecondary:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:c},Object(Q.__)("Edit"))),(t||n)&&Object(J.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(J.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(a),className:"reusable-block-edit-panel__label"},Object(Q.__)("Name:")),Object(J.createElement)("input",{ref:this.titleField,type:"text",disabled:n,className:"reusable-block-edit-panel__title",value:r,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(a)}),Object(J.createElement)(se.Button,{type:"submit",isSecondary:!0,isBusy:n,disabled:!r||n,className:"reusable-block-edit-panel__button"},Object(Q.__)("Save"))))}}]),t}(J.Component),La=Object(ue.withInstanceId)(Ia),Ha=function(e){function t(e){var r,n=e.reusableBlock;return Object(xe.a)(this,t),(r=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).startEditing=r.startEditing.bind(Object(Ne.a)(r)),r.stopEditing=r.stopEditing.bind(Object(Ne.a)(r)),r.setBlocks=r.setBlocks.bind(Object(Ne.a)(r)),r.setTitle=r.setTitle.bind(Object(Ne.a)(r)),r.save=r.save.bind(Object(Ne.a)(r)),r.state=n?{isEditing:n.isTemporary,title:n.title,blocks:Object($.parse)(n.content)}:{isEditing:!1,title:null,blocks:[]},r}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"componentDidUpdate",value:function(e){e.reusableBlock!==this.props.reusableBlock&&null===this.state.title&&this.setState({title:this.props.reusableBlock.title,blocks:Object($.parse)(this.props.reusableBlock.content)})}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,blocks:Object($.parse)(e.content)})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,blocks:[]})}},{key:"setBlocks",value:function(e){this.setState({blocks:e})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.onChange,r=e.onSave,n=this.state,o=n.blocks;t({title:n.title,content:Object($.serialize)(o)}),r(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,r=e.reusableBlock,n=e.isFetching,o=e.isSaving,c=e.canUpdateBlock,a=e.settings,i=this.state,l=i.isEditing,s=i.title,u=i.blocks;if(!r&&n)return Object(J.createElement)(se.Placeholder,null,Object(J.createElement)(se.Spinner,null));if(!r)return Object(J.createElement)(se.Placeholder,null,Object(Q.__)("Block has been deleted or is unavailable."));var b=Object(J.createElement)(K.BlockEditorProvider,{settings:a,value:u,onChange:this.setBlocks,onInput:this.setBlocks},Object(J.createElement)(K.WritingFlow,null,Object(J.createElement)(K.BlockList,null)));return l||(b=Object(J.createElement)(se.Disabled,null,b)),Object(J.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object(J.createElement)(La,{isEditing:l,title:null!==s?s:r.title,isSaving:o&&!r.isTemporary,isEditDisabled:!c,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),b)}}]),t}(J.Component),Da=Object(ue.compose)([Object(be.withSelect)((function(e,t){var r=e("core/editor"),n=r.__experimentalGetReusableBlock,o=r.__experimentalIsFetchingReusableBlock,c=r.__experimentalIsSavingReusableBlock,a=e("core").canUser,i=e("core/block-editor"),l=i.__experimentalGetParsedReusableBlock,s=i.getSettings,u=t.attributes.ref,b=n(u);return{reusableBlock:b,isFetching:o(u),isSaving:c(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!a("update","blocks",u),settings:s()}})),Object(be.withDispatch)((function(e,t){var r=e("core/editor"),n=r.__experimentalFetchReusableBlocks,o=r.__experimentalUpdateReusableBlock,c=r.__experimentalSaveReusableBlock,a=t.attributes.ref;return{fetchReusableBlock:Object(Y.partial)(n,a),onChange:Object(Y.partial)(o,a),onSave:Object(Y.partial)(c,a)}}))])(Ha),Va="core/block",Fa={title:Object(Q.__)("Reusable Block"),category:"reusable",description:Object(Q.__)("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."),supports:{customClassName:!1,html:!1,inserter:!1},edit:Da},Ua=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(J.createElement)(X.Path,{d:"M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z"})),Ga=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(Ne.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var r=t.props.attributes[e];(0,t.props.setAttributes)(Object(Z.a)({},e,!r))}}},{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,r=t.blockLayout,n=t.columns,o=t.displayAuthor,c=t.displayExcerpt,a=t.displayDate,i=t.excerptLength,l=t.feedURL,s=t.itemsToShow,u=this.props.setAttributes;if(this.state.editing)return Object(J.createElement)(se.Placeholder,{icon:Ua,label:"RSS"},Object(J.createElement)("form",{onSubmit:this.onSubmitURL},Object(J.createElement)(se.TextControl,{placeholder:Object(Q.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object(J.createElement)(se.Button,{isSecondary:!0,type:"submit"},Object(Q.__)("Use URL"))));var b=[{icon:Ro.a,title:Object(Q.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(Q.__)("List view"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===r},{icon:"grid-view",title:Object(Q.__)("Grid view"),onClick:function(){return u({blockLayout:"grid"})},isActive:"grid"===r}];return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,{controls:b})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("RSS settings")},Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10,required:!0}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display date"),checked:a,onChange:this.toggleAttribute("displayDate")}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display excerpt"),checked:c,onChange:this.toggleAttribute("displayExcerpt")}),c&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Max number of words in excerpt"),value:i,onChange:function(e){return u({excerptLength:e})},min:10,max:100,required:!0}),"grid"===r&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Columns"),value:n,onChange:function(e){return u({columns:e})},min:2,max:6,required:!0}))),Object(J.createElement)(se.Disabled,null,Object(J.createElement)(Tr.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(J.Component),qa="core/rss",Wa={title:Object(Q.__)("RSS"),description:Object(Q.__)("Display entries from any RSS or Atom feed."),icon:Ua,category:"widgets",keywords:[Object(Q.__)("atom"),Object(Q.__)("feed")],supports:{align:!0,html:!1},example:{attributes:{feedURL:"https://wordpress.org"}},edit:Ga},Za=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(J.createElement)(X.Path,{d:"M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z"}));var Ka="core/search",$a={title:Object(Q.__)("Search"),description:Object(Q.__)("Help visitors find your content."),icon:Za,category:"widgets",keywords:[Object(Q.__)("find")],supports:{align:!0},example:{},edit:function(e){var t=e.className,r=e.attributes,n=e.setAttributes,o=r.label,c=r.placeholder,a=r.buttonText;return Object(J.createElement)("div",{className:t},Object(J.createElement)(K.RichText,{className:"wp-block-search__label","aria-label":Object(Q.__)("Label text"),placeholder:Object(Q.__)("Add label…"),withoutInteractiveFormatting:!0,value:o,onChange:function(e){return n({label:e})}}),Object(J.createElement)("input",{className:"wp-block-search__input","aria-label":Object(Q.__)("Optional placeholder text"),placeholder:c?void 0:Object(Q.__)("Optional placeholder…"),value:c,onChange:function(e){return n({placeholder:e.target.value})}}),Object(J.createElement)(K.RichText,{className:"wp-block-search__button","aria-label":Object(Q.__)("Button text"),placeholder:Object(Q.__)("Add button text…"),withoutInteractiveFormatting:!0,value:a,onChange:function(e){return n({buttonText:e})}}))}},Ya=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 8a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h1V8zm2 3h4V9h-4v2zm2 2H9v2h4v-2z"}),Object(J.createElement)(X.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.732A2 2 0 1 1 4.732 2h14.536A2 2 0 1 1 22 4.732v14.536A2 2 0 1 1 19.268 22H4.732A2 2 0 1 1 2 19.268V4.732zM4.732 4h14.536c.175.304.428.557.732.732v14.536a2.01 2.01 0 0 0-.732.732H4.732A2.01 2.01 0 0 0 4 19.268V4.732A2.01 2.01 0 0 0 4.732 4z"})),Qa=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=t.textColor,c=t.customTextColor,a=Object(K.getColorClassName)("background-color",r),i=Object(K.getColorClassName)("color",o),l=re()(a,{"has-text-color":o||c,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:c};return Object(J.createElement)("div",{className:l,style:s},Object(J.createElement)("div",{className:"wp-block-group__inner-container"},Object(J.createElement)(K.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=Object(K.getColorClassName)("background-color",r),c=re()(o,{"has-background":r||n}),a={backgroundColor:o?void 0:n};return Object(J.createElement)("div",{className:c,style:a},Object(J.createElement)(K.InnerBlocks.Content,null))}}];var Ja=Object(ue.compose)([Object(be.withSelect)((function(e,t){var r=t.clientId,n=(0,e("core/block-editor").getBlock)(r);return{hasInnerBlocks:!(!n||!n.innerBlocks.length)}}))])((function(e){var t=e.hasInnerBlocks,r=e.className,n=Object(J.useRef)(),o=Object(K.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0}],colorDetector:{targetRef:n}}),c=o.TextColor,a=o.BackgroundColor,i=o.InspectorControlsColorPanel;return Object(J.createElement)(J.Fragment,null,i,Object(J.createElement)(a,null,Object(J.createElement)(c,null,Object(J.createElement)("div",{className:r,ref:n},Object(J.createElement)("div",{className:"wp-block-group__inner-container"},Object(J.createElement)(K.InnerBlocks,{renderAppender:!t&&K.InnerBlocks.ButtonBlockAppender}))))))}));var Xa={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},ei=Xa.name,ti={title:Object(Q.__)("Group"),icon:Ya,description:Object(Q.__)("A block that groups other blocks."),keywords:[Object(Q.__)("container"),Object(Q.__)("wrapper"),Object(Q.__)("row"),Object(Q.__)("section")],example:{attributes:{customBackgroundColor:"#ffffff",customTextColor:"#000000"},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(Q.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(Q.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(Q.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(Q.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(Q.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(Q.__)("Six.")}}]},supports:{align:["wide","full"],anchor:!0,html:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],r=e.reduce((function(e,r){var n=r.attributes.align;return t.indexOf(n)>t.indexOf(e)?n:e}),void 0),n=e.map((function(e){return Object($.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object($.createBlock)("core/group",{align:r},n)}}}]},edit:Ja,save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=t.textColor,c=t.customTextColor,a=Object(K.getColorClassName)("background-color",r),i=Object(K.getColorClassName)("color",o),l=re()(a,i,{"has-text-color":o||c,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:c};return Object(J.createElement)("div",{className:l,style:s},Object(J.createElement)("div",{className:"wp-block-group__inner-container"},Object(J.createElement)(K.InnerBlocks.Content,null)))},deprecated:Qa},ri=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M19 13H5v-2h14v2z"})),ni=function(e){var t=e.color,r=e.setColor;return Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(K.PanelColorSettings,{title:Object(Q.__)("Color settings"),colorSettings:[{value:t.color,onChange:r,label:Object(Q.__)("Color")}]}))};var oi=Object(K.withColors)("color",{textColor:"color"})((function(e){var t=e.color,r=e.setColor,n=e.className;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(se.HorizontalRule,{className:re()(n,Object(Z.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(J.createElement)(ni,{color:t,setColor:r}))}));var ci={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object($.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},ai={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},ii=ai.name,li={title:Object(Q.__)("Separator"),description:Object(Q.__)("Create a break between ideas or sections with a horizontal separator."),icon:ri,keywords:[Object(Q.__)("horizontal-line"),"hr",Object(Q.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(Q.__)("Default"),isDefault:!0},{name:"wide",label:Object(Q.__)("Wide Line")},{name:"dots",label:Object(Q.__)("Dots")}],transforms:ci,edit:oi,save:function(e){var t,r=e.attributes,n=r.color,o=r.customColor,c=Object(K.getColorClassName)("background-color",n),a=Object(K.getColorClassName)("color",n),i=re()((t={"has-text-color has-background":n||o},Object(Z.a)(t,c,c),Object(Z.a)(t,a,a),t)),l={backgroundColor:c?void 0:o,color:a?void 0:o};return Object(J.createElement)("hr",{className:i,style:l})}},si=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"}));var ui=r(85),bi={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var r=t.content;return Object(ui.removep)(Object(ui.autop)(r))}}},priority:20}]},mi={name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}}},di=mi.name,pi={title:Object(Q.__)("Shortcode"),description:Object(Q.__)("Insert additional custom elements with a WordPress shortcode."),icon:si,transforms:bi,supports:{customClassName:!1,className:!1,html:!1},edit:function e(t){var r=t.attributes,n=t.setAttributes,o=Object(ue.useInstanceId)(e),c="blocks-shortcode-input-".concat(o);return Object(J.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(J.createElement)("label",{htmlFor:c,className:"components-placeholder__label"},Object(J.createElement)(se.Dashicon,{icon:"shortcode"}),Object(Q.__)("Shortcode")),Object(J.createElement)(K.PlainText,{className:"input-control",id:c,value:r.text,placeholder:Object(Q.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))},save:function(e){var t=e.attributes;return Object(J.createElement)(J.RawHTML,null,t.text)}},hi=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})),gi=Object(ue.compose)([Object(be.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),ue.withInstanceId])((function(e){var t=e.attributes,r=e.isSelected,n=e.setAttributes,o=e.instanceId,c=e.onResizeStart,a=e.onResizeStop,i=t.height,l="block-spacer-height-input-".concat(o),s=Object(J.useState)(i),u=Object(le.a)(s,2),b=u[0],m=u[1];return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(se.ResizableBox,{className:re()("block-library-spacer__resize-container",{"is-selected":r}),size:{height:i},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:c,onResizeStop:function(e,t,r,o){a();var c=parseInt(i+o.height,10);n({height:c}),m(c)}}),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Spacer settings")},Object(J.createElement)(se.BaseControl,{label:Object(Q.__)("Height in pixels"),id:l},Object(J.createElement)("input",{type:"number",id:l,onChange:function(e){var t=parseInt(e.target.value,10);m(t),isNaN(t)?(m(""),t=100):t<20&&(t=20),n({height:t})},value:b,min:"20",step:"10"})))))}));var fi={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},Oi=fi.name,vi={title:Object(Q.__)("Spacer"),description:Object(Q.__)("Add white space between blocks and customize its height."),icon:hi,edit:gi,save:function(e){var t=e.attributes;return Object(J.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},ji=r(37),yi=r.n(ji);var wi={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},ki={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},_i=ki.name,Ci={title:Object(Q.__)("Subheading (deprecated)"),description:Object(Q.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(J.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(se.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),supports:{inserter:!1,multiple:!1},transforms:wi,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=t.align,c=t.content,a=t.placeholder;return yi()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.AlignmentToolbar,{value:o,onChange:function(e){r({align:e})}})),Object(J.createElement)(K.RichText,{tagName:"p",value:c,onChange:function(e){r({content:e})},style:{textAlign:o},className:n,placeholder:a||Object(Q.__)("Write subheading…")}))},save:function(e){var t=e.attributes,r=t.align,n=t.content;return Object(J.createElement)(K.RichText.Content,{tagName:"p",style:{textAlign:r},value:n})}},Ei=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),xi=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,o=t.body,c=t.foot,a=t.backgroundColor;if(!n.length&&!o.length&&!c.length)return null;var i=Object(K.getColorClassName)("background-color",a),l=re()(i,{"has-fixed-layout":r,"has-background":!!i}),s=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(J.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(J.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,o=e.scope;return Object(J.createElement)(K.RichText.Content,{tagName:n,value:r,key:t,scope:"th"===n?o:void 0})})))})))};return Object(J.createElement)("table",{className:l},Object(J.createElement)(s,{type:"head",rows:n}),Object(J.createElement)(s,{type:"body",rows:o}),Object(J.createElement)(s,{type:"foot",rows:c}))}}],Si=r(281),Pi=r(282),Ti=r(283);function Ni(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Bi=["align"];function Ai(e,t,r){if(!t)return e;var n=Object(Y.pick)(e,["head","body","foot"]),o=t.sectionName,c=t.rowIndex;return Object(Y.mapValues)(n,(function(e,n){return o&&o!==n?e:e.map((function(e,o){return c&&c!==o?e:{cells:e.cells.map((function(e,c){return function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:n,columnIndex:c,rowIndex:o},t)?r(e):e}))}}))}))}function Ri(e,t){var r=t.sectionName,n=t.rowIndex,o=t.columnCount,c=function(e){return Ii(e.head)?Ii(e.body)?Ii(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),a=void 0===o?Object(Y.get)(c,["cells","length"]):o;return a?Object(Z.a)({},r,[].concat(Object(W.a)(e[r].slice(0,n)),[{cells:Object(Y.times)(a,(function(e){var t=Object(Y.get)(c,["cells",e],{});return function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var r=this.props,n=r.attributes,o=r.setAttributes,c=t.columnIndex;this.setState({selectedCell:null}),o(Mi(n,{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,r=t.attributes,n=t.setAttributes,o=e.sectionName,c=e.columnIndex;this.setState({selectedCell:null}),n(function(e,t){var r=t.columnIndex,n=Object(Y.pick)(e,["head","body","foot"]);return Object(Y.mapValues)(n,(function(e){return Ii(e)?e:e.map((function(e){return{cells:e.cells.length>=r?e.cells.filter((function(e,t){return t!==r})):e.cells}})).filter((function(e){return e.cells.length}))}))}(r,{sectionName:o,columnIndex:c}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:Di({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(Q.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(Q.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(Q.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(Q.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(Q.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(Q.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,r=e.name,n=e.rows;if(Ii(n))return null;var o="t".concat(r);return Object(J.createElement)(o,null,n.map((function(e,n){var o=e.cells;return Object(J.createElement)("tr",{key:n},o.map((function(e,o){var c=e.content,a=e.tag,i=e.scope,l=e.align,s={sectionName:r,rowIndex:n,columnIndex:o},u=re()(Object(Z.a)({},"has-text-align-".concat(l),l),"wp-block-table__cell-content"),b="";return"head"===r?b=Object(Q.__)("Header label"):"foot"===r&&(b=Object(Q.__)("Footer label")),Object(J.createElement)(K.RichText,{tagName:a,key:o,className:u,scope:"th"===a?i:void 0,value:c,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s),placeholder:b})})))})))}},{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,t=this.props,r=t.attributes,n=t.className,o=t.backgroundColor,c=t.setBackgroundColor,a=t.setAttributes,i=this.state,l=i.initialRowCount,s=i.initialColumnCount,u=r.hasFixedLayout,b=r.caption,m=r.head,d=r.body,p=r.foot,h=Ii(m)&&Ii(d)&&Ii(p),g=this.renderSection;if(h)return Object(J.createElement)(se.Placeholder,{label:Object(Q.__)("Table"),icon:Object(J.createElement)(K.BlockIcon,{icon:Ei,showColors:!0}),instructions:Object(Q.__)("Insert a table for sharing data.")},Object(J.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object(J.createElement)(se.TextControl,{type:"number",label:Object(Q.__)("Column Count"),value:s,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(J.createElement)(se.TextControl,{type:"number",label:Object(Q.__)("Row Count"),value:l,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(J.createElement)(se.Button,{className:"wp-block-table__placeholder-button",isSecondary:!0,type:"submit"},Object(Q.__)("Create Table"))));var f=re()(o.class,{"has-fixed-layout":u,"has-background":!!o.color});return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,null,Object(J.createElement)(se.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(Q.__)("Edit table"),controls:this.getTableControls()})),Object(J.createElement)(K.AlignmentToolbar,{label:Object(Q.__)("Change column alignment"),alignmentControls:Fi,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Table settings"),className:"blocks-table-settings"},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Fixed width table cells"),checked:!!u,onChange:this.onChangeFixedLayout}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Header section"),checked:!(!m||!m.length),onChange:this.onToggleHeaderSection}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Footer section"),checked:!(!p||!p.length),onChange:this.onToggleFooterSection})),Object(J.createElement)(K.PanelColorSettings,{title:Object(Q.__)("Color settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:c,label:Object(Q.__)("Background color"),disableCustomColors:!0,colors:Vi}]})),Object(J.createElement)("figure",{className:n},Object(J.createElement)("table",{className:f},Object(J.createElement)(g,{name:"head",rows:m}),Object(J.createElement)(g,{name:"body",rows:d}),Object(J.createElement)(g,{name:"foot",rows:p})),Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:b,onChange:function(e){return a({caption:e})},unstableOnFocus:function(){return e.setState({selectedCell:null})}})))}}]),t}(J.Component),qi=Ui("backgroundColor")(Gi);var Wi=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},Zi={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:Wi(e)},tfoot:{allowEmpty:!0,children:Wi(e)},tbody:{allowEmpty:!0,children:Wi(e)}}}}}}]},Ki={name:"core/table",category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}}},$i=Ki.name,Yi={title:Object(Q.__)("Table"),description:Object(Q.__)("Insert a table — perfect for sharing charts and data."),icon:Ei,example:{attributes:{head:[{cells:[{content:Object(Q.__)("Version"),tag:"th"},{content:Object(Q.__)("Jazz Musician"),tag:"th"},{content:Object(Q.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(Q.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(Q.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(Q.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(Q.__)("Stripes")}],supports:{align:!0},transforms:Zi,edit:qi,save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,o=t.body,c=t.foot,a=t.backgroundColor,i=t.caption;if(!n.length&&!o.length&&!c.length)return null;var l=Object(K.getColorClassName)("background-color",a),s=re()(l,{"has-fixed-layout":r,"has-background":!!l}),u=!K.RichText.isEmpty(i),b=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(J.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(J.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,o=e.scope,c=e.align,a=re()(Object(Z.a)({},"has-text-align-".concat(c),c));return Object(J.createElement)(K.RichText.Content,{className:a||void 0,"data-align":c,tagName:n,value:r,key:t,scope:"th"===n?o:void 0})})))})))};return Object(J.createElement)("figure",null,Object(J.createElement)("table",{className:""===s?void 0:s},Object(J.createElement)(b,{type:"head",rows:n}),Object(J.createElement)(b,{type:"body",rows:o}),Object(J.createElement)(b,{type:"foot",rows:c})),u&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:xi};var Qi={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,r=e.columns,n=e.content,o=e.width;return Object($.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:r},n.map((function(e){var t=e.children;return Object($.createBlock)("core/column",{},[Object($.createBlock)("core/paragraph",{content:t})])})))}}]},Ji={name:"core/text-columns",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"}}},Xi=Ji.name,el={supports:{inserter:!1},title:Object(Q.__)("Text Columns (deprecated)"),description:Object(Q.__)("This block is deprecated. Please use the Columns block instead."),transforms:Qi,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=t.width,c=t.content,a=t.columns;return yi()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.BlockAlignmentToolbar,{value:o,onChange:function(e){return r({width:e})},controls:["center","wide","full"]})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,null,Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Columns"),value:a,onChange:function(e){return r({columns:e})},min:2,max:4,required:!0}))),Object(J.createElement)("div",{className:"".concat(n," align").concat(o," columns-").concat(a)},Object(Y.times)(a,(function(e){return Object(J.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(J.createElement)(K.RichText,{tagName:"p",value:Object(Y.get)(c,[e,"children"]),onChange:function(t){r({content:[].concat(Object(W.a)(c.slice(0,e)),[{children:t}],Object(W.a)(c.slice(e+1)))})},placeholder:Object(Q.__)("New Column")}))}))))},save:function(e){var t=e.attributes,r=t.width,n=t.content,o=t.columns;return Object(J.createElement)("div",{className:"align".concat(r," columns-").concat(o)},Object(Y.times)(o,(function(e){return Object(J.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(J.createElement)(K.RichText.Content,{tagName:"p",value:Object(Y.get)(n,[e,"children"])}))})))}},tl=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"})),rl=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content;return Object(J.createElement)(K.RichText.Content,{tagName:"pre",style:{textAlign:r},value:n})}}];var nl={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},ol={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}}},cl=ol.name,al={title:Object(Q.__)("Verse"),description:Object(Q.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:tl,example:{attributes:{content:Object(Q.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.")}},keywords:[Object(Q.__)("poetry"),Object(Q.__)("poem")],transforms:nl,deprecated:rl,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=e.mergeBlocks,c=t.textAlign,a=t.content;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.AlignmentToolbar,{value:c,onChange:function(e){r({textAlign:e})}})),Object(J.createElement)(K.RichText,{tagName:"pre",preserveWhiteSpace:!0,value:a,onChange:function(e){r({content:e})},placeholder:Object(Q.__)("Write…"),className:re()(n,Object(Z.a)({},"has-text-align-".concat(c),c)),onMerge:o}))},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content,o=re()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(J.createElement)(K.RichText.Content,{tagName:"pre",className:o,value:n})}},il=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),ll=function(e){var t=e.setAttributes,r=e.attributes,n=r.autoplay,o=r.controls,c=r.loop,a=r.muted,i=r.playsInline,l=r.preload,s=function(e){return function(r){t(Object(Z.a)({},e,r))}};return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Autoplay"),onChange:s("autoplay"),checked:n,help:function(e){return e?Object(Q.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Loop"),onChange:s("loop"),checked:c}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Muted"),onChange:s("muted"),checked:a}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Playback controls"),onChange:s("controls"),checked:o}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Play inline"),onChange:s("playsInline"),checked:i}),Object(J.createElement)(se.SelectControl,{label:Object(Q.__)("Preload"),value:l,onChange:function(e){return t({preload:e})},options:[{value:"auto",label:Object(Q.__)("Auto")},{value:"metadata",label:Object(Q.__)("Metadata")},{value:"none",label:Object(Q.__)("None")}]}))},sl=["video"],ul=["image"],bl=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).videoPlayer=Object(J.createRef)(),e.posterImageButton=Object(J.createRef)(),e.onSelectURL=e.onSelectURL.bind(Object(Ne.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(Ne.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(Ne.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=e.noticeOperations,o=e.setAttributes,c=t.id,a=t.src,i=void 0===a?"":a;if(!c&&Object(Ae.isBlobURL)(i)){var l=Object(Ae.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(e){var t=Object(le.a)(e,1)[0].url;o({src:t})},onError:function(e){n.createErrorNotice(e)},allowedTypes:sl})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"onSelectURL",value:function(e){var t=this.props,r=t.attributes,n=t.setAttributes;if(e!==r.src){var o=lt({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);n({src:e,id:void 0})}}},{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:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this,t=this.props.attributes,r=t.id,n=t.caption,o=t.controls,c=t.poster,a=t.src,i=this.props,l=i.className,s=i.instanceId,u=i.isSelected,b=i.noticeUI,m=i.attributes,d=i.setAttributes,p=function(e){e&&e.url?d({src:e.url,id:e.id}):d({src:void 0,id:void 0})};if(!a)return Object(J.createElement)(K.MediaPlaceholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:il}),className:l,onSelect:p,onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:sl,value:this.props.attributes,notices:b,onError:this.onUploadError});var h="video-block__poster-image-description-".concat(s);return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.MediaReplaceFlow,{mediaId:r,mediaURL:a,allowedTypes:sl,accept:"video/*",onSelect:p,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Video settings")},Object(J.createElement)(ll,{setAttributes:d,attributes:m}),Object(J.createElement)(K.MediaUploadCheck,null,Object(J.createElement)(se.BaseControl,{className:"editor-video-poster-control"},Object(J.createElement)(se.BaseControl.VisualLabel,null,Object(Q.__)("Poster image")),Object(J.createElement)(K.MediaUpload,{title:Object(Q.__)("Select poster image"),onSelect:this.onSelectPoster,allowedTypes:ul,render:function(t){var r=t.open;return Object(J.createElement)(se.Button,{isSecondary:!0,onClick:r,ref:e.posterImageButton,"aria-describedby":h},e.props.attributes.poster?Object(Q.__)("Replace image"):Object(Q.__)("Select Poster Image"))}}),Object(J.createElement)("p",{id:h,hidden:!0},this.props.attributes.poster?Object(Q.sprintf)(Object(Q.__)("The current poster image url is %s"),this.props.attributes.poster):Object(Q.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(J.createElement)(se.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(Q.__)("Remove Poster Image")))))),Object(J.createElement)("figure",{className:l},Object(J.createElement)(se.Disabled,null,Object(J.createElement)("video",{controls:o,poster:c,src:a,ref:this.videoPlayer})),(!K.RichText.isEmpty(n)||u)&&Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:n,onChange:function(e){return d({caption:e})},inlineToolbar:!0})))}}]),t}(J.Component),ml=Object(ue.compose)([Object(be.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),se.withNotices,ue.withInstanceId])(bl);var dl={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($.createBlock)("core/video",{src:Object(Ae.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,r=t.src,n=t.mp4,o=t.m4v,c=t.webm,a=t.ogv,i=t.flv;return r||n||o||c||a||i}},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}}}}]},pl={name:"core/video",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"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"}}},hl=pl.name,gl={title:Object(Q.__)("Video"),description:Object(Q.__)("Embed a video from your media library or upload a new one."),icon:il,keywords:[Object(Q.__)("movie")],transforms:dl,supports:{align:!0},edit:ml,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.controls,c=t.loop,a=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object(J.createElement)("figure",null,s&&Object(J.createElement)("video",{autoPlay:r,controls:o,loop:c,muted:a,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!K.RichText.isEmpty(n)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:n}))}},fl=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(J.createElement)(X.Path,{d:"M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})),Ol=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(Ne.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(Y.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(Q.__)("- Select -"),value:"",disabled:!0},r=Object(Y.map)(e,(function(e){return{value:e.slug,label:e.name}}));return[t].concat(Object(W.a)(r))}},{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,r=e.showTagCounts,n=this.getTaxonomyOptions(),o=Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Tag Cloud settings")},Object(J.createElement)(se.SelectControl,{label:Object(Q.__)("Taxonomy"),options:n,value:t,onChange:this.setTaxonomy}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Show post counts"),checked:r,onChange:this.toggleShowTagCounts})));return Object(J.createElement)(J.Fragment,null,o,Object(J.createElement)(Tr.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(J.Component),vl=Object(be.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(Ol),jl="core/tag-cloud",yl={title:Object(Q.__)("Tag Cloud"),description:Object(Q.__)("A cloud of your most used tags."),icon:fl,category:"widgets",supports:{html:!1,align:!0},edit:vl},wl=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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(J.createElement)(X.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(J.createElement)(X.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"17",y:"8",width:"2",height:"2"}));function kl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _l(e){for(var t=1;t1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(r.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===ir.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(Q._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(a,"has-advanced-toolbar",t)}}),e.on("init",(function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(a,"has-advanced-toolbar")})),e.addButton("wp_add_media",{tooltip:Object(Q.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",(function(){var e=r.editor.getBody();document.activeElement===e&&(e.blur(),r.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(J.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(Q.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(J.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(J.Component);var xl={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Sl=xl.name,Pl={title:Object(Q._x)("Classic","block title"),description:Object(Q.__)("Use the classic WordPress editor."),icon:wl,supports:{className:!1,customClassName:!1,reusable:!1},edit:El,save:function(e){var t=e.attributes.content;return Object(J.createElement)(J.RawHTML,null,t)}},Tl=["core/social-link"],Nl=[["core/social-link",{service:"wordpress",url:"https://wordpress.org"}],["core/social-link",{service:"facebook"}],["core/social-link",{service:"twitter"}],["core/social-link",{service:"instagram"}],["core/social-link",{service:"linkedin"}],["core/social-link",{service:"youtube"}]],Bl=function(e){var t=e.className;return Object(J.createElement)("div",{className:t},Object(J.createElement)(K.InnerBlocks,{allowedBlocks:Tl,templateLock:!1,template:Nl,__experimentalMoverDirection:"horizontal"}))};var Al={name:"core/social-links",category:"widgets",icon:"share",attributes:{}},Rl=Al.name,Ml={title:Object(Q.__)("Social Icons"),description:Object(Q.__)("Display icons linking to your social media profiles or websites."),keywords:[Object(Q._x)("links","block keywords")],supports:{align:["left","center","right"]},example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},styles:[{name:"default",label:Object(Q.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(Q.__)("Logos Only")},{name:"pill-shape",label:Object(Q.__)("Pill Shape")}],edit:Bl,save:function(e){var t=e.className;return Object(J.createElement)("ul",{className:t},Object(J.createElement)(K.InnerBlocks.Content,null))}},zl=r(192),Il=function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"}))},Ll=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))}},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))}},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))}},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))}},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))}},{name:"chain",attributes:{service:"chain"},title:"Link",icon:Il},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))}},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))}},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))}},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))}},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))}},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))}},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))}},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))}},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))}},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))}},{name:"google",attributes:{service:"google"},title:"Google",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))}},{name:"github",attributes:{service:"github"},title:"GitHub",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))}},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))}},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M10.5002,0 C4.7006,0 0,4.70109753 0,10.4998496 C0,16.2989526 4.7006,21 10.5002,21 C16.299,21 21,16.2989526 21,10.4998496 C21,4.70109753 16.299,0 10.5002,0 Z M14.69735,14.7204413 C13.3164,14.7151781 12.4346,14.0870017 11.83445,12.6859357 L11.6816001,12.3451305 L10.35405,9.31011397 C9.92709997,8.26875064 8.85260001,7.57120012 7.68010001,7.57120012 C6.06945001,7.57120012 4.75925001,8.88509738 4.75925001,10.5009524 C4.75925001,12.1164565 6.06945001,13.4303036 7.68010001,13.4303036 C8.77200001,13.4303036 9.76514999,12.827541 10.2719501,11.8567047 C10.2893,11.8235214 10.3239,11.8019673 10.36305,11.8038219 C10.4007,11.8053759 10.43535,11.8287847 10.4504,11.8631709 L10.98655,13.1045863 C11.0016,13.1389726 10.9956,13.17782 10.97225,13.2068931 C10.1605001,14.1995341 8.96020001,14.7683115 7.68010001,14.7683115 C5.33305,14.7683115 3.42340001,12.8535563 3.42340001,10.5009524 C3.42340001,8.14679459 5.33300001,6.23203946 7.68010001,6.23203946 C9.45720002,6.23203946 10.8909,7.19074535 11.6138,8.86359341 C11.6205501,8.88018505 12.3412,10.5707777 12.97445,12.0190621 C13.34865,12.8739575 13.64615,13.3959676 14.6288,13.4291508 C15.5663001,13.4612814 16.25375,12.9121534 16.25375,12.1484869 C16.25375,11.4691321 15.8320501,11.3003585 14.8803,10.98216 C13.2365,10.4397989 12.34495,9.88605929 12.34495,8.51817658 C12.34495,7.1809207 13.26665,6.31615054 14.692,6.31615054 C15.62875,6.31615054 16.3155,6.7286858 16.79215,7.5768142 C16.80495,7.60062396 16.8079001,7.62814302 16.8004001,7.65420843 C16.7929,7.68027384 16.7748,7.70212868 16.7507001,7.713808 L15.86145,8.16900031 C15.8178001,8.19200805 15.7643,8.17807308 15.73565,8.13847371 C15.43295,7.71345711 15.0956,7.52513451 14.6423,7.52513451 C14.05125,7.52513451 13.6220001,7.92899802 13.6220001,8.48649708 C13.6220001,9.17382194 14.1529001,9.34144259 15.0339,9.61923972 C15.14915,9.65578139 15.26955,9.69397731 15.39385,9.73432853 C16.7763,10.1865133 17.57675,10.7311301 17.57675,12.1836251 C17.57685,13.629654 16.3389,14.7204413 14.69735,14.7204413 Z"}))}},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))}},{name:"mail",attributes:{service:"mail"},title:"Mail",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))}},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))}},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))}},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))}},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))}},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))}},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))}},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))}},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))}},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))}},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))}},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M16.749,17.396c-0.357,0.17-1.041,0.319-1.551,0.332c-1.539,0.041-1.837-1.081-1.85-1.896V9.847h3.861V6.937h-3.847V2.039 c0,0-2.77,0-2.817,0c-0.046,0-0.127,0.041-0.138,0.144c-0.165,1.499-0.867,4.13-3.783,5.181v2.484h1.945v6.282 c0,2.151,1.587,5.206,5.775,5.135c1.413-0.024,2.982-0.616,3.329-1.126L16.749,17.396z"}))}},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))}},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))}},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))}},{name:"vk",attributes:{service:"vk"},title:"VK",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))}},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))}},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}}],Hl=function(e){var t,r,n=e.attributes,o=e.setAttributes,c=e.isSelected,a=n.url,i=n.service,l=n.label,s=Object(J.useState)(!1),u=Object(le.a)(s,2),b=u[0],m=u[1],d=re()("wp-social-link","wp-social-link-"+i,{"wp-social-link__is-incomplete":!a}),p=(t=i,(r=Object(Y.find)(Ll,{name:t}))?r.icon:Il),h=function(e){var t=Object(Y.find)(Ll,{name:e});return t?t.title:Object(Q.__)("Social Icon")}(i);return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.sprintf)(Object(Q.__)("%s label"),h),initialOpen:!1},Object(J.createElement)(se.PanelRow,null,Object(J.createElement)(se.TextControl,{label:Object(Q.__)("Link label"),help:Object(Q.__)("Briefly describe the link to help screen reader users."),value:l,onChange:function(e){return o({label:e})}})))),Object(J.createElement)(se.Button,{className:d,onClick:function(){return m(!0)}},Object(J.createElement)(p,null),c&&b&&Object(J.createElement)(K.URLPopover,{onClose:function(){return m(!1)}},Object(J.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),m(!1)}},Object(J.createElement)("div",{className:"block-editor-url-input"},Object(J.createElement)(K.URLInput,{value:a,onChange:function(e){return o({url:e})},placeholder:Object(Q.__)("Enter address"),disableSuggestions:!0})),Object(J.createElement)(se.Button,{icon:zl.a,label:Object(Q.__)("Apply"),type:"submit"})))))},Dl={name:"core/social-link",category:"widgets",icon:"share",attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}}},Vl=Dl.name,Fl={title:Object(Q.__)("Social Icon"),parent:["core/social-links"],supports:{reusable:!1,html:!1},edit:Hl,description:Object(Q.__)("Display an icon linking to a social media profile or website."),variations:Ll};r.d(t,"registerCoreBlocks",(function(){return Gl})),r.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return ql}));var Ul=function(e){if(e){var t=e.metadata,r=e.settings,n=e.name;t&&Object($.unstable__bootstrapServerSideBlockDefinitions)(Object(Z.a)({},n,t)),Object($.registerBlockType)(n,r)}},Gl=function(){[n,o,c,i,_,a,M,l,s,u,b,m,d,p,h,g,f,O].concat(Object(W.a)(Xo),Object(W.a)(ec),[v,A,window.wp&&window.wp.oldEditor?U:null,j,y,w,k,C,E,x,S,P,N,B,R,T,G,q,z,I,L,F,H,D,V]).forEach(Ul),Object($.setDefaultBlockName)(ye),window.wp&&window.wp.oldEditor&&Object($.setFreeformContentHandlerName)(Sl),Object($.setUnregisteredTypeHandlerName)(ia),A&&Object($.setGroupingBlockName)(ei)},ql=void 0},43:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},46:function(e,t,r){e.exports=function(e,t){var r,n,o=0;function c(){var c,a,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(a=0;a1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=A(e,360),t=A(t,100),r=A(r,100),0===t)n=o=c=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=a(l,i,e+1/3),o=a(l,i,e),c=a(l,i,e-1/3)}return{r:255*n,g:255*o,b:255*c}}(e.h,n,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(r=e.a));var d,p,h;return r=B(r),{ok:b,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.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=r.ok,this._tc_id=i++}function d(e,t,r){e=A(e,255),t=A(t,255),r=A(r,255);var n,o,c=u(e,t,r),a=s(e,t,r),i=(c+a)/2;if(c==a)n=o=0;else{var l=c-a;switch(o=i>.5?l/(2-c-a):l/(c+a),c){case e:n=(t-r)/l+(t>1)+720)%360;--t;)n.h=(n.h+o)%360,c.push(m(n));return c}function P(e,t){t=t||6;for(var r=m(e).toHsv(),n=r.h,o=r.s,c=r.v,a=[],i=1/t;t--;)a.push(m({h:n,s:o,v:c})),c=(c+i)%1;return a}m.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,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.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*(r<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=B(e),this._roundA=l(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=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+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,r,n,o){var c=[z(l(e).toString(16)),z(l(t).toString(16)),z(l(r).toString(16)),z(L(n))];if(o&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1))return c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0);return c.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*A(this._r,255))+"%",g:l(100*A(this._g,255))+"%",b:l(100*A(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*A(this._r,255))+"%, "+l(100*A(this._g,255))+"%, "+l(100*A(this._b,255))+"%)":"rgba("+l(100*A(this._r,255))+"%, "+l(100*A(this._g,255))+"%, "+l(100*A(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=m(e);r="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return m(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(w,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(k,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(_,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:I(e[n]));e=r}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,r){r=0===r?0:r||50;var n=m(e).toRgb(),o=m(t).toRgb(),c=r/100;return m({r:(o.r-n.r)*c+n.r,g:(o.g-n.g)*c+n.g,b:(o.b-n.b)*c+n.b,a:(o.a-n.a)*c+n.a})},m.readability=function(e,t){var r=m(e),n=m(t);return(o.max(r.getLuminance(),n.getLuminance())+.05)/(o.min(r.getLuminance(),n.getLuminance())+.05)},m.isReadable=function(e,t,r){var n,o,c=m.readability(e,t);switch(o=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=c>=4.5;break;case"AAlarge":o=c>=3;break;case"AAAsmall":o=c>=7}return o},m.mostReadable=function(e,t,r){var n,o,c,a,i=null,l=0;o=(r=r||{}).includeFallbackColors,c=r.level,a=r.size;for(var s=0;sl&&(l=n,i=m(t[s]));return m.isReadable(e,i,{level:c,size:a})||!o?i:(r.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],r))};var T=m.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"},N=m.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(T);function B(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function A(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function R(e){return s(1,u(0,e))}function M(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function I(e){return e<=1&&(e=100*e+"%"),e}function L(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return M(e)/255}var D,V,F,U=(V="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",F="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+F),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 G(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(n=function(){return m}.call(t,r,t,e))||(e.exports=n)}(Math)},56:function(e,t){!function(){e.exports=this.wp.viewport}()},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},60:function(e,t){!function(){e.exports=this.wp.date}()},67:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},68:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},7:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},73:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},75:function(e,t){!function(){e.exports=this.wp.coreData}()},8:function(e,t){!function(){e.exports=this.wp.compose}()},85:function(e,t){!function(){e.exports=this.wp.autop}()},87:function(e,t,r){var n; +e.exports=function(){"use strict";function e(e,t){for(var r=0;ra?(r=c/a,i=100,l=Math.round(i/r)):(r=a/c,l=100,i=Math.round(l/r)),(i>c||l>a||i<10||l<10)&&(i=c,l=a),{srcLeft:n,srcTop:o,srcWidth:c,srcHeight:a,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,r){for(var n=0,o=0,c=0,a=0,i=0,l=0;ln?-1:r===n?0:1}))[0],5),m=b[0],d=b[1],p=b[2],h=b[3],g=b[4];return h?[Math.round(m/h),Math.round(d/h),Math.round(p/h),Math.round(h/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,r){var n=this,o=(r=r||{})&&r.data,c=this._getDefaultColor(r),a=function(){s(),t.call(e,n.getColor(e,r),o)},i=function(){s(),t.call(e,n._prepareResult(c,new Error("Image error")),o)},l=function(){s(),t.call(e,n._prepareResult(c,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",a),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",a),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var r=e.slice(0,3),n=[].concat(r,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+r.join(",")+")",rgba:"rgba("+n.join(",")+")",hex:this._arrayToHex(r),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){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(n.prototype,o),c&&e(n,c),r}()}()},27:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(25);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},281:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z"}));t.a=c},282:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z"}));t.a=c},283:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z"}));t.a=c},286:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(o.Path,{d:"M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"}));t.a=c},290:function(e,t,r){"use strict";var n=r(0),o=r(9),c=Object(n.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(o.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"}));t.a=c},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t){!function(){e.exports=this.wp.url}()},33:function(e,t){!function(){e.exports=this.moment}()},34:function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},35:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},37:function(e,t){!function(){e.exports=this.wp.deprecated}()},38:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},39:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},4:function(e,t){!function(){e.exports=this.wp.data}()},41:function(e,t){!function(){e.exports=this.wp.blob}()},42:function(e,t){!function(){e.exports=this.wp.apiFetch}()},420:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"metadata",(function(){return je})),r.d(n,"name",(function(){return ye})),r.d(n,"settings",(function(){return we}));var o={};r.r(o),r.d(o,"metadata",(function(){return _t})),r.d(o,"name",(function(){return Ct})),r.d(o,"settings",(function(){return Et}));var c={};r.r(c),r.d(c,"metadata",(function(){return zt})),r.d(c,"name",(function(){return It})),r.d(c,"settings",(function(){return Lt}));var a={};r.r(a),r.d(a,"metadata",(function(){return Qt})),r.d(a,"name",(function(){return Jt})),r.d(a,"settings",(function(){return Xt}));var i={};r.r(i),r.d(i,"metadata",(function(){return Cr})),r.d(i,"name",(function(){return Er})),r.d(i,"settings",(function(){return xr}));var l={};r.r(l),r.d(l,"name",(function(){return Nr})),r.d(l,"settings",(function(){return Br}));var s={};r.r(s),r.d(s,"metadata",(function(){return Hr})),r.d(s,"name",(function(){return Dr})),r.d(s,"settings",(function(){return Vr}));var u={};r.r(u),r.d(u,"metadata",(function(){return ln})),r.d(u,"name",(function(){return sn})),r.d(u,"settings",(function(){return un}));var b={};r.r(b),r.d(b,"metadata",(function(){return gn})),r.d(b,"name",(function(){return fn})),r.d(b,"settings",(function(){return On}));var m={};r.r(m),r.d(m,"name",(function(){return Cn})),r.d(m,"settings",(function(){return En}));var d={};r.r(d),r.d(d,"name",(function(){return Tn})),r.d(d,"settings",(function(){return Nn}));var p={};r.r(p),r.d(p,"metadata",(function(){return In})),r.d(p,"name",(function(){return Ln})),r.d(p,"settings",(function(){return Hn}));var h={};r.r(h),r.d(h,"metadata",(function(){return Jn})),r.d(h,"name",(function(){return Xn})),r.d(h,"settings",(function(){return eo}));var g={};r.r(g),r.d(g,"metadata",(function(){return no})),r.d(g,"name",(function(){return oo})),r.d(g,"settings",(function(){return co}));var f={};r.r(f),r.d(f,"metadata",(function(){return No})),r.d(f,"name",(function(){return Bo})),r.d(f,"settings",(function(){return Ao}));var O={};r.r(O),r.d(O,"name",(function(){return Qo})),r.d(O,"settings",(function(){return Jo})),r.d(O,"common",(function(){return Xo})),r.d(O,"others",(function(){return ec}));var v={};r.r(v),r.d(v,"metadata",(function(){return ac})),r.d(v,"name",(function(){return ic})),r.d(v,"settings",(function(){return lc}));var j={};r.r(j),r.d(j,"metadata",(function(){return dc})),r.d(j,"name",(function(){return pc})),r.d(j,"settings",(function(){return hc}));var y={};r.r(y),r.d(y,"metadata",(function(){return Nc})),r.d(y,"name",(function(){return Bc})),r.d(y,"settings",(function(){return Ac}));var w={};r.r(w),r.d(w,"name",(function(){return zc})),r.d(w,"settings",(function(){return Ic}));var k={};r.r(k),r.d(k,"name",(function(){return Wc})),r.d(k,"settings",(function(){return Zc}));var _={};r.r(_),r.d(_,"metadata",(function(){return ra})),r.d(_,"name",(function(){return na})),r.d(_,"settings",(function(){return oa}));var C={};r.r(C),r.d(C,"metadata",(function(){return aa})),r.d(C,"name",(function(){return ia})),r.d(C,"settings",(function(){return la}));var E={};r.r(E),r.d(E,"metadata",(function(){return ma})),r.d(E,"name",(function(){return da})),r.d(E,"settings",(function(){return pa}));var x={};r.r(x),r.d(x,"metadata",(function(){return fa})),r.d(x,"name",(function(){return Oa})),r.d(x,"settings",(function(){return va}));var S={};r.r(S),r.d(S,"metadata",(function(){return wa})),r.d(S,"name",(function(){return ka})),r.d(S,"settings",(function(){return _a}));var P={};r.r(P),r.d(P,"metadata",(function(){return Ra})),r.d(P,"name",(function(){return Ma})),r.d(P,"settings",(function(){return za}));var T={};r.r(T),r.d(T,"name",(function(){return Va})),r.d(T,"settings",(function(){return Fa}));var N={};r.r(N),r.d(N,"name",(function(){return qa})),r.d(N,"settings",(function(){return Wa}));var B={};r.r(B),r.d(B,"name",(function(){return Ka})),r.d(B,"settings",(function(){return $a}));var A={};r.r(A),r.d(A,"metadata",(function(){return Xa})),r.d(A,"name",(function(){return ei})),r.d(A,"settings",(function(){return ti}));var R={};r.r(R),r.d(R,"metadata",(function(){return ai})),r.d(R,"name",(function(){return ii})),r.d(R,"settings",(function(){return li}));var M={};r.r(M),r.d(M,"metadata",(function(){return mi})),r.d(M,"name",(function(){return di})),r.d(M,"settings",(function(){return pi}));var z={};r.r(z),r.d(z,"metadata",(function(){return fi})),r.d(z,"name",(function(){return Oi})),r.d(z,"settings",(function(){return vi}));var I={};r.r(I),r.d(I,"metadata",(function(){return ki})),r.d(I,"name",(function(){return _i})),r.d(I,"settings",(function(){return Ci}));var L={};r.r(L),r.d(L,"metadata",(function(){return Ki})),r.d(L,"name",(function(){return $i})),r.d(L,"settings",(function(){return Yi}));var H={};r.r(H),r.d(H,"metadata",(function(){return Ji})),r.d(H,"name",(function(){return Xi})),r.d(H,"settings",(function(){return el}));var D={};r.r(D),r.d(D,"metadata",(function(){return ol})),r.d(D,"name",(function(){return cl})),r.d(D,"settings",(function(){return al}));var V={};r.r(V),r.d(V,"metadata",(function(){return pl})),r.d(V,"name",(function(){return hl})),r.d(V,"settings",(function(){return gl}));var F={};r.r(F),r.d(F,"name",(function(){return jl})),r.d(F,"settings",(function(){return yl}));var U={};r.r(U),r.d(U,"metadata",(function(){return xl})),r.d(U,"name",(function(){return Sl})),r.d(U,"settings",(function(){return Pl}));var G={};r.r(G),r.d(G,"metadata",(function(){return Al})),r.d(G,"name",(function(){return Rl})),r.d(G,"settings",(function(){return Ml}));var q={};r.r(q),r.d(q,"metadata",(function(){return Dl})),r.d(q,"name",(function(){return Vl})),r.d(q,"settings",(function(){return Fl}));var W=r(18),Z=r(5),K=(r(75),r(6)),$=r(10),Y=r(2),Q=r(1),J=r(0),X=r(9),ee=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(X.Path,{d:"M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"})),te=r(11),re=r.n(te);function ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oe(e){for(var t=1;t 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"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},Ee=[{attributes:Ce,save:function(e){var t,r=e.attributes,n=r.url,o=r.alt,c=r.caption,a=r.align,i=r.href,l=r.width,s=r.height,u=r.id,b=re()((t={},Object(Z.a)(t,"align".concat(a),a),Object(Z.a)(t,"is-resized",l||s),t)),m=Object(J.createElement)("img",{src:n,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(J.createElement)("figure",{className:b},i?Object(J.createElement)("a",{href:i},m):m,!K.RichText.isEmpty(c)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:c}))}},{attributes:Ce,save:function(e){var t=e.attributes,r=t.url,n=t.alt,o=t.caption,c=t.align,a=t.href,i=t.width,l=t.height,s=t.id,u=Object(J.createElement)("img",{src:r,alt:n,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(J.createElement)("figure",{className:c?"align".concat(c):null},a?Object(J.createElement)("a",{href:a},u):u,!K.RichText.isEmpty(o)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Ce,save:function(e){var t=e.attributes,r=t.url,n=t.alt,o=t.caption,c=t.align,a=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(J.createElement)("img",Object(_e.a)({src:r,alt:n},s)),b={};return i?b={width:i}:"left"!==c&&"right"!==c||(b={maxWidth:"50%"}),Object(J.createElement)("figure",{className:c?"align".concat(c):null,style:b},a?Object(J.createElement)("a",{href:a},u):u,!K.RichText.isEmpty(o)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:o}))}}],xe=r(14),Se=r(13),Pe=r(15),Te=r(16),Ne=r(7),Be=r(17),Ae=r(41),Re=r(30),Me=r(56),ze=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(J.createElement)(se.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"})),Ie=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(J.createElement)(se.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"})),Le=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(J.createElement)(se.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(J.createElement)(se.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),He=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(J.createElement)(se.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"})),De={foreground:"#1da1f2",src:Object(J.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(se.G,null,Object(J.createElement)(se.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"})))},Ve={foreground:"#ff0000",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"}))},Fe={foreground:"#3b5998",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"}))},Ue=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.G,null,Object(J.createElement)(se.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"}))),Ge={foreground:"#0073AA",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.G,null,Object(J.createElement)(se.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"})))},qe={foreground:"#1db954",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"}))},We=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"})),Ze={foreground:"#1ab7ea",src:Object(J.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(se.G,null,Object(J.createElement)(se.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"})))},Ke=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"})),$e={foreground:"#35465c",src:Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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"}))},Ye=Object(J.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object(J.createElement)(se.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(J.createElement)(se.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(J.createElement)(se.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"})),Qe=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:De,keywords:["tweet"],description:Object(Q.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:Ve,keywords:[Object(Q.__)("music"),Object(Q.__)("video")],description:Object(Q.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:Fe,description:Object(Q.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:Ue,keywords:[Object(Q.__)("image")],description:Object(Q.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:Ge,keywords:[Object(Q.__)("post"),Object(Q.__)("blog")],responsive:!1,description:Object(Q.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Ie,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:qe,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:We,keywords:[Object(Q.__)("image")],description:Object(Q.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Ze,keywords:[Object(Q.__)("video")],description:Object(Q.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],Je=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:He,description:Object(Q.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:ze,description:Object(Q.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:He,description:Object(Q.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:ze,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object($.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(Q.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:He,description:Object(Q.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:He,description:Object(Q.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:Le,description:Object(Q.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:ze,description:Object(Q.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:ze,description:Object(Q.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:ze,description:Object(Q.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Ie,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:ze,description:Object(Q.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:Ke,description:Object(Q.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Ie,description:Object(Q.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:He,description:Object(Q.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:ze,description:Object(Q.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:ze,description:Object(Q.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:Le,description:Object(Q.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Ie,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:ze,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object($.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(Q.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/tiktok",settings:{title:"TikTok",icon:He,description:Object(Q.__)("Embed a TikTok video.")},patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:He,description:Object(Q.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:$e,description:Object(Q.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:He,keywords:[Object(Q.__)("video")],description:Object(Q.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:He,description:Object(Q.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Ye,keywords:[Object(Q.__)("ebook")],responsive:!1,description:Object(Q.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],Xe=["facebook.com","smugmug.com"],et=[{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"}],tt=r(87),rt=r.n(tt),nt=r(46),ot=r.n(nt);function ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var at=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},it=function(e){return Object(Y.includes)(e,'class="wp-embedded-content"')},lt=function(e,t){var r=e.preview,n=e.name,o=e.attributes.url;if(o){var c=function(e){for(var t=0,r=[].concat(Object(W.a)(Qe),Object(W.a)(Je));t1&&void 0!==arguments[1]?arguments[1]:"",r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!r){for(var n={"wp-has-aspect-ratio":!1},o=0;o=u.ratio)return rt()(t,(s={},Object(Z.a)(s,u.className,r),Object(Z.a)(s,"wp-has-aspect-ratio",r),s))}return t}var ut=ot()((function(e,t,r,n){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var c={},a=e.type,i=void 0===a?"rich":a,l=e.html,s=e.provider_name,u=Object(Y.kebabCase)(Object(Y.toLower)(""!==s?s:t));return it(l)&&(i="wp-embed"),(l||"photo"===i)&&(c.type=i,c.providerNameSlug=u),c.className=st(l,r,n&&o),c})),bt=["image"];var mt=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(Ne.a)(e)),e.calculateSize=e.calculateSize.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.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=Y.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,r,n,o,c=(e=this.image,t=this.container,r=t.clientWidth,n=e.width>r,o=e.height/e.width,{width:n?r:e.width,height:n?r*o:e.height}),a=c.width,i=c.height;this.setState({width:a,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(J.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(J.Component),dt=Object(ue.withGlobalEvents)({resize:"calculateSize"})(mt);function pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ht(e){for(var t=1;t 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"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}}},Ct=_t.name,Et={title:Object(Q.__)("Image"),description:Object(Q.__)("Insert an image to make a visual statement."),icon:ke,keywords:["img",Object(Q.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(Q.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(Q._x)("Rounded","block style")}],__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.caption,n=e.alt;return e.url?n?n+(r?". "+r:""):r||"":Object(Q.__)("Empty")}},transforms:kt,getEditWrapperProps:function(e){var t=e.align,r=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!r}},edit:Ot,save:function(e){var t,r=e.attributes,n=r.url,o=r.alt,c=r.caption,a=r.align,i=r.href,l=r.rel,s=r.linkClass,u=r.width,b=r.height,m=r.id,d=r.linkTarget,p=r.sizeSlug,h=r.title,g=Object(Y.isEmpty)(l)?void 0:l,f=re()((t={},Object(Z.a)(t,"align".concat(a),a),Object(Z.a)(t,"size-".concat(p),p),Object(Z.a)(t,"is-resized",u||b),t)),O=Object(J.createElement)("img",{src:n,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b,title:h}),v=Object(J.createElement)(J.Fragment,null,i?Object(J.createElement)("a",{className:s,href:i,target:d,rel:g},O):O,!K.RichText.isEmpty(c)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:c}));return"left"===a||"right"===a||"center"===a?Object(J.createElement)("div",null,Object(J.createElement)("figure",{className:f},v)):Object(J.createElement)("figure",{className:f},v)},deprecated:Ee},xt=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(J.createElement)(X.Path,{d:"M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4"})),St={className:!1,anchor:!0},Pt={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},Tt=[{attributes:Pt,save:function(e){var t,r=e.attributes,n=r.align,o=r.content,c=r.customTextColor,a=r.level,i=r.textColor,l="h"+a,s=Object(K.getColorClassName)("color",i),u=re()((t={},Object(Z.a)(t,s,s),Object(Z.a)(t,"has-text-align-".concat(n),n),t));return Object(J.createElement)(K.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:c},value:o})},supports:St},{supports:St,attributes:Pt,save:function(e){var t=e.attributes,r=t.align,n=t.level,o=t.content,c=t.textColor,a=t.customTextColor,i="h"+n,l=Object(K.getColorClassName)("color",c),s=re()(Object(Z.a)({},l,l));return Object(J.createElement)(K.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:r,color:l?void 0:a},value:o})}}];function Nt(e){var t=e.level,r=e.isPressed,n=void 0!==r&&r,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?Object(J.createElement)(se.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},Object(J.createElement)(se.Path,{d:o[t]})):null}var Bt=function(e){function t(){return Object(xe.a)(this,t),Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"createLevelControl",value:function(e,t,r){var n=e===t;return{icon:Object(J.createElement)(Nt,{level:e,isPressed:n}),title:Object(Q.sprintf)(Object(Q.__)("Heading %d"),e),isActive:n,onClick:function(){return r(e)}}}},{key:"render",value:function(){var e=this,t=this.props,r=t.isCollapsed,n=void 0===r||r,o=t.minLevel,c=t.maxLevel,a=t.selectedLevel,i=t.onChange;return Object(J.createElement)(se.ToolbarGroup,{isCollapsed:n,icon:Object(J.createElement)(Nt,{level:a}),controls:Object(Y.range)(o,c).map((function(t){return e.createLevelControl(t,a,i)})),label:Object(Q.__)("Change heading level")})}}]),t}(J.Component);function At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Rt=function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,o=e.onReplace,c=e.className,a=Object(J.useRef)(),i=Object(K.__experimentalUseColors)([{name:"textColor",property:"color"}],{contrastCheckers:{backgroundColor:!0,textColor:!0},colorDetector:{targetRef:a}},[]),l=i.TextColor,s=i.InspectorControlsColorPanel,u=t.align,b=t.content,m=t.level,d=t.placeholder,p="h"+m;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(Bt,{minLevel:2,maxLevel:5,selectedLevel:m,onChange:function(e){return r({level:e})}}),Object(J.createElement)(K.AlignmentToolbar,{value:u,onChange:function(e){r({align:e})}})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Heading settings")},Object(J.createElement)("p",null,Object(Q.__)("Level")),Object(J.createElement)(Bt,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:m,onChange:function(e){return r({level:e})}}))),s,Object(J.createElement)(l,null,Object(J.createElement)(K.RichText,{ref:a,identifier:"content",tagName:p,value:b,onChange:function(e){return r({content:e})},onMerge:n,onSplit:function(e){return e?Object($.createBlock)("core/heading",function(e){for(var t=1;t".concat(t,"

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

    ".concat(e,"

    ")})}},{type:"raw",isMatch:function(e){var t,r=(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(r)},schema:function(e){var t=e.phrasingContentSchema;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"

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

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

    "===t)return Object($.createBlock)("core/heading",{content:r});var o=Object(Wt.split)(Object(Wt.create)({html:t,multilineTag:"p"}),"\u2028"),c=Object($.createBlock)("core/heading",{content:Object(Wt.toHTMLString)({value:o[0]})});if(!r&&1===o.length)return c;var a=o.slice(1);return[c,Object($.createBlock)("core/quote",function(e){for(var t=1;t"+Object(Q.__)("In quoting others, we cite ourselves.")+"

    ",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(Q._x)("Large","block style")}],transforms:Kt,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,o=e.mergeBlocks,c=e.onReplace,a=e.className,i=t.align,l=t.value,s=t.citation;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.AlignmentToolbar,{value:i,onChange:function(e){r({align:e})}})),Object(J.createElement)(se.BlockQuotation,{className:re()(a,Object(Z.a)({},"has-text-align-".concat(i),i))},Object(J.createElement)(K.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return r({value:e})},onMerge:o,onRemove:function(e){var t=!s||0===s.length;!e&&t&&c([])},placeholder:Object(Q.__)("Write quote…"),onReplace:c,onSplit:function(e){return Object($.createBlock)("core/quote",function(e){for(var t=1;t

    "!==r?{value:e.value+r,citation:n}:{citation:n})},deprecated:Ut},er=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"}));function tr(e){return Math.min(3,e.images.length)}var rr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",r=Object(Y.pick)(e,["alt","id","link","caption"]);r.url=Object(Y.get)(e,["sizes",t,"url"])||Object(Y.get)(e,["media_details","sizes",t,"source_url"])||e.url;var n=Object(Y.get)(e,["sizes","full","url"])||Object(Y.get)(e,["media_details","sizes","full","source_url"]);return n&&(r.fullUrl=n),r};function nr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function or(e){for(var t=1;t0&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,r=e.ids;return t&&t.length>0&&(!r&&t||r&&t&&r.length!==t.length||Object(Y.some)(t,(function(e,t){return!e&&null!==r[t]||parseInt(e,10)!==r[t]})))},migrate:function(e){return or({},e,{ids:Object(Y.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?tr(t):n,c=t.imageCrop,a=t.linkTo;return Object(J.createElement)("ul",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(J.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(J.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(J.createElement)("figure",null,t?Object(J.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?tr(t):n,c=t.align,a=t.imageCrop,i=t.linkTo,l=re()("columns-".concat(o),{alignnone:"none"===c,"is-cropped":a});return Object(J.createElement)("div",{className:l},r.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(J.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(J.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(J.createElement)("a",{href:t},r):r)})))}}],ar=Object(J.createElement)(K.BlockIcon,{icon:er}),ir=r(22),lr=r(120),sr=Object(J.createElement)(se.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),ur=Object(J.createElement)(se.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),br=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(Ne.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Ne.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Ne.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Ne.a)(e)),e.state={captionSelected:!1},e}return Object(Be.a)(t,e),Object(Se.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:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[ir.BACKSPACE,ir.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.image,o=t.url,c=t.__unstableMarkNextChangeAsNotPersistent;n&&!o&&(c(),this.props.setAttributes({url:n.source_url,alt:n.alt_text})),this.state.captionSelected&&!r&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,r=t.url,n=t.alt,o=t.id,c=t.linkTo,a=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,p=t.setAttributes,h=t["aria-label"];switch(c){case"media":e=r;break;case"attachment":e=a}var g=Object(J.createElement)(J.Fragment,null,Object(J.createElement)("img",{src:r,alt:n,"data-id":o,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":h,ref:this.bindContainer}),Object(Ae.isBlobURL)(r)&&Object(J.createElement)(se.Spinner,null)),f=re()({"is-selected":s,"is-transient":Object(Ae.isBlobURL)(r)});return Object(J.createElement)("figure",{className:f},e?Object(J.createElement)("a",{href:e},g):g,Object(J.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(J.createElement)(se.Button,{icon:sr,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(Q.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(J.createElement)(se.Button,{icon:ur,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(Q.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(J.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(J.createElement)(se.Button,{icon:lr.a,onClick:b,className:"blocks-gallery-item__remove",label:Object(Q.__)("Remove image"),disabled:!s})),(s||u)&&Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:s?Object(Q.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return p({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}(J.Component),mr=Object(ue.compose)([Object(be.withSelect)((function(e,t){var r=e("core").getMedia,n=t.id;return{image:n?r(n):null}})),Object(be.withDispatch)((function(e){return{__unstableMarkNextChangeAsNotPersistent:e("core/block-editor").__unstableMarkNextChangeAsNotPersistent}}))])(br),dr=function(e){var t,r=e.attributes,n=e.className,o=e.isSelected,c=e.setAttributes,a=e.selectedImage,i=e.mediaPlaceholder,l=e.onMoveBackward,s=e.onMoveForward,u=e.onRemoveImage,b=e.onSelectImage,m=e.onSetImageAttributes,d=e.onFocusGalleryCaption,p=r.align,h=r.columns,g=void 0===h?tr(r):h,f=r.caption,O=r.imageCrop,v=r.images,j=re()("blocks-gallery-caption",{"screen-reader-text":!o&&K.RichText.isEmpty(f)});return Object(J.createElement)("figure",{className:re()(n,(t={},Object(Z.a)(t,"align".concat(p),p),Object(Z.a)(t,"columns-".concat(g),g),Object(Z.a)(t,"is-cropped",O),t))},Object(J.createElement)("ul",{className:"blocks-gallery-grid"},v.map((function(e,t){var r=Object(Q.sprintf)(Object(Q.__)("image %1$d of %2$d in gallery"),t+1,v.length);return Object(J.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(J.createElement)(mr,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===v.length,isSelected:o&&a===t,onMoveBackward:l(t),onMoveForward:s(t),onRemove:u(t),onSelect:b(t),setAttributes:function(e){return m(t,e)},caption:e.caption,"aria-label":r}))}))),i,Object(J.createElement)(K.RichText,{tagName:"figcaption",className:j,placeholder:Object(Q.__)("Write gallery caption…"),value:f,unstableOnFocus:d,onChange:function(e){return c({caption:e})},inlineToolbar:!0}))};function pr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hr(e){for(var t=1;t0&&Object(Y.every)(n,(function(e){var t=e.url;return Object(Ae.isBlobURL)(t)}))){var o=Object(Y.map)(n,(function(e){var t=e.url;return Object(Ae.getBlobByURL)(t)}));Object(Y.forEach)(n,(function(e){var t=e.url;return Object(Ae.revokeBlobURL)(t)})),r({filesList:o,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className,n=e.isSelected,o=e.noticeUI,c=t.columns,a=void 0===c?tr(t):c,i=t.imageCrop,l=t.images,s=t.linkTo,u=t.sizeSlug,b=!!l.length,m=b&&Object(Y.some)(l,(function(e){return e.id})),d=Object(J.createElement)(K.MediaPlaceholder,{addToGallery:m,isAppender:b,className:r,disableMediaButtons:b&&!n,icon:!b&&ar,labels:{title:!b&&Object(Q.__)("Gallery"),instructions:!b&&Or},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:fr,multiple:!0,value:m?l:void 0,onError:this.onUploadError,notices:b?void 0:o,onFocus:this.props.onFocus});if(!b)return d;var p=this.getImagesSizeOptions(),h=b&&!Object(Y.isEmpty)(p),g=h?vr:jr;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Gallery settings")},l.length>1&&Object(J.createElement)(se.RangeControl,Object(_e.a)({label:Object(Q.__)("Columns")},vr,{value:a,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length),required:!0})),Object(J.createElement)(se.ToggleControl,Object(_e.a)({label:Object(Q.__)("Crop images")},vr,{checked:!!i,onChange:this.toggleImageCrop,help:this.getImageCropHelp})),Object(J.createElement)(se.SelectControl,Object(_e.a)({label:Object(Q.__)("Link to")},g,{value:s,onChange:this.setLinkTo,options:gr})),h&&Object(J.createElement)(se.SelectControl,Object(_e.a)({label:Object(Q.__)("Images size")},jr,{value:u,options:p,onChange:this.updateImagesSize})))),o,Object(J.createElement)(dr,Object(_e.a)({},this.props,{selectedImage:this.state.selectedImage,mediaPlaceholder:d,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onSetImageAttributes:this.setImageAttributes,onFocusGalleryCaption:this.onFocusGalleryCaption})))}}]),t}(J.Component),wr=Object(ue.compose)([Object(be.withSelect)((function(e,t){var r=t.attributes.ids,n=t.isSelected,o=e("core").getMedia,c=(0,e("core/block-editor").getSettings)(),a=c.imageSizes,i=c.mediaUpload,l={};return n&&(l=Object(Y.reduce)(r,(function(e,t){if(!t)return e;var r=o(t),n=Object(Y.reduce)(a,(function(e,t){var n=Object(Y.get)(r,["sizes",t.slug,"url"]),o=Object(Y.get)(r,["media_details","sizes",t.slug,"source_url"]);return hr({},e,Object(Z.a)({},t.slug,n||o))}),{});return hr({},e,Object(Z.a)({},parseInt(t,10),n))}),{})),{imageSizes:a,mediaUpload:i,resizedImages:l}})),se.withNotices,Object(Me.withViewportMatch)({isNarrow:"< small"})])(yr);var kr=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},_r={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],r=t.align,n=t.sizeSlug;r=Object(Y.every)(e,["align",r])?r:void 0,n=Object(Y.every)(e,["sizeSlug",n])?n:void 0;var o=Object(Y.filter)(e,(function(e){return e.url}));return Object($.createBlock)("core/gallery",{images:o.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),ids:o.map((function(e){return e.id})),align:r,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return kr(t).map((function(e){return{id:e}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return kr(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,r=void 0===t?"attachment":t;return"file"===r?"media":r}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(Y.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object($.createBlock)("core/gallery",{images:e.map((function(e){return rr({url:Object(Ae.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,r=e.align,n=e.sizeSlug;return t.length>0?t.map((function(e){var t=e.id,o=e.url,c=e.alt,a=e.caption;return Object($.createBlock)("core/image",{id:t,url:o,alt:c,caption:a,align:r,sizeSlug:n})})):Object($.createBlock)("core/image",{align:r})}}]},Cr={name:"core/gallery",category:"common",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},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:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}}},Er=Cr.name,xr={title:Object(Q.__)("Gallery"),description:Object(Q.__)("Display multiple images in a rich gallery."),icon:er,keywords:[Object(Q.__)("images"),Object(Q.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},supports:{align:!0},transforms:_r,edit:wr,save:function(e){var t=e.attributes,r=t.images,n=t.columns,o=void 0===n?tr(t):n,c=t.imageCrop,a=t.caption,i=t.linkTo;return Object(J.createElement)("figure",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},Object(J.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(J.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(J.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(J.createElement)("figure",null,t?Object(J.createElement)("a",{href:t},r):r,!K.RichText.isEmpty(e.caption)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!K.RichText.isEmpty(a)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},deprecated:cr},Sr=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M21 6V20C21 21.1 20.1 22 19 22H5C3.89 22 3 21.1 3 20L3.01 6C3.01 4.9 3.89 4 5 4H6V2H8V4H16V2H18V4H19C20.1 4 21 4.9 21 6ZM5 8H19V6H5V8ZM19 20V10H5V20H19ZM11 12H17V14H11V12ZM17 16H11V18H17V16ZM7 12H9V14H7V12ZM9 18V16H7V18H9Z"})),Pr=r(67),Tr=r.n(Pr);var Nr="core/archives",Br={title:Object(Q.__)("Archives"),description:Object(Q.__)("Display a monthly archive of your posts."),icon:Sr,category:"widgets",supports:{align:!0,html:!1},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.showPostCounts,o=t.displayAsDropdown;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Archives settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display as dropdown"),checked:o,onChange:function(){return r({displayAsDropdown:!o})}}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Show post counts"),checked:n,onChange:function(){return r({showPostCounts:!n})}}))),Object(J.createElement)(se.Disabled,null,Object(J.createElement)(Tr.a,{block:"core/archives",attributes:t})))}},Ar=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"})),Rr=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.loop,c=t.preload,a=t.src;return Object(J.createElement)("figure",null,Object(J.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:o,preload:c}),!K.RichText.isEmpty(n)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:n}))}}],Mr=["audio"],zr=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).toggleAttribute=e.toggleAttribute.bind(Object(Ne.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(Ne.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=e.noticeOperations,o=e.setAttributes,c=t.id,a=t.src,i=void 0===a?"":a;if(!c&&Object(Ae.isBlobURL)(i)){var l=Object(Ae.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(e){var t=Object(le.a)(e,1)[0],r=t.id,n=t.url;o({id:r,src:n})},onError:function(e){o({src:void 0,id:void 0}),n.createErrorNotice(e)},allowedTypes:Mr})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(r){t.props.setAttributes(Object(Z.a)({},e,r))}}},{key:"onSelectURL",value:function(e){var t=this.props,r=t.attributes,n=t.setAttributes;if(e!==r.src){var o=lt({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);n({src:e,id:void 0})}}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(Q.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this.props.attributes,t=e.id,r=e.autoplay,n=e.caption,o=e.loop,c=e.preload,a=e.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeUI,m=function(e){e&&e.url?l({src:e.url,id:e.id}):l({src:void 0,id:void 0})};return a?Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.MediaReplaceFlow,{mediaId:t,mediaURL:a,allowedTypes:Mr,accept:"audio/*",onSelect:m,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Audio settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:r,help:this.getAutoplayHelp}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object(J.createElement)(se.SelectControl,{label:Object(Q.__)("Preload"),value:void 0!==c?c:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(Q.__)("Auto")},{value:"metadata",label:Object(Q.__)("Metadata")},{value:"none",label:Object(Q.__)("None")}]}))),Object(J.createElement)("figure",{className:u},Object(J.createElement)(se.Disabled,null,Object(J.createElement)("audio",{controls:"controls",src:a})),(!K.RichText.isEmpty(n)||s)&&Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:n,onChange:function(e){return l({caption:e})},inlineToolbar:!0}))):Object(J.createElement)(K.MediaPlaceholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:Ar}),className:u,onSelect:m,onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:Mr,value:this.props.attributes,notices:b,onError:this.onUploadError})}}]),t}(J.Component),Ir=Object(ue.compose)([Object(be.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),se.withNotices])(zr);var Lr={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object($.createBlock)("core/audio",{src:Object(Ae.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},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}}}}]},Hr={name:"core/audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}}},Dr=Hr.name,Vr={title:Object(Q.__)("Audio"),description:Object(Q.__)("Embed a simple audio player."),keywords:[Object(Q.__)("music"),Object(Q.__)("sound"),Object(Q.__)("podcast"),Object(Q.__)("recording")],icon:Ar,transforms:Lr,deprecated:Rr,supports:{align:!0},edit:Ir,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.loop,c=t.preload,a=t.src;return a&&Object(J.createElement)("figure",null,Object(J.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:o,preload:c}),!K.RichText.isEmpty(n)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:n}))}},Fr=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),Ur={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:function(e){return Object($.createBlock)("core/buttons",{},e.map((function(e){return Object($.createBlock)("core/button",e)})))}}]};function Gr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qr(e){for(var t=1;t0&&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(Y.unescape)(e.name).trim():Object(Q.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,r=this.getCategories(t);return Object(J.createElement)("ul",{className:this.getCategoryListClassName(0)},r.map((function(t){return e.renderCategoryListItem(t,0)})))}},{key:"renderCategoryListItem",value:function(e,t){var r=this,n=this.props.attributes,o=n.showHierarchy,c=n.showPostCounts,a=this.getCategories(e.id);return Object(J.createElement)("li",{key:e.id},Object(J.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),c&&Object(J.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!a.length&&Object(J.createElement)("ul",{className:this.getCategoryListClassName(t+1)},a.map((function(e){return r.renderCategoryListItem(e,t+1)}))))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,r=this.props.attributes.showHierarchy?0:null,n=this.getCategories(r),o="blocks-category-select-".concat(t);return Object(J.createElement)(J.Fragment,null,Object(J.createElement)("label",{htmlFor:o,className:"screen-reader-text"},Object(Q.__)("Categories")),Object(J.createElement)("select",{id:o,className:"wp-block-categories__dropdown"},n.map((function(t){return e.renderCategoryDropdownItem(t,0)}))))}},{key:"renderCategoryDropdownItem",value:function(e,t){var r=this,n=this.props.attributes,o=n.showHierarchy,c=n.showPostCounts,a=this.getCategories(e.id);return[Object(J.createElement)("option",{key:e.id},Object(Y.times)(3*t,(function(){return" "})),this.renderCategoryName(e),c?" (".concat(e.count,")"):""),o&&!!a.length&&a.map((function(e){return r.renderCategoryDropdownItem(e,t+1)}))]}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.isRequesting,n=t.displayAsDropdown,o=t.showHierarchy,c=t.showPostCounts,a=Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Categories settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display as dropdown"),checked:n,onChange:this.toggleDisplayAsDropdown}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Show hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Show post counts"),checked:c,onChange:this.toggleShowPostCounts})));return r?Object(J.createElement)(J.Fragment,null,a,Object(J.createElement)(se.Placeholder,{icon:"admin-post",label:Object(Q.__)("Categories")},Object(J.createElement)(se.Spinner,null))):Object(J.createElement)(J.Fragment,null,a,Object(J.createElement)("div",{className:this.props.className},n?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(J.Component),Pn=Object(ue.compose)(Object(be.withSelect)((function(e){var t=e("core").getEntityRecords,r=e("core/data").isResolving,n={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",n),isRequesting:r("core","getEntityRecords",["taxonomy","category",n])}})),ue.withInstanceId)(Sn),Tn="core/categories",Nn={title:Object(Q.__)("Categories"),description:Object(Q.__)("Display a list of all categories."),icon:xn,category:"widgets",supports:{align:!0,html:!1},edit:Pn},Bn=r(290);var An=r(68);function Rn(e){return e.replace(/\[/g,"[")}function Mn(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var zn={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object($.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":{}}}}}}}]},In={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},Ln=In.name,Hn={title:Object(Q.__)("Code"),description:Object(Q.__)("Display code snippets that respect your spacing and tabs."),icon:Bn.a,example:{attributes:{content:Object(Q.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},supports:{html:!1},transforms:zn,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className;return Object(J.createElement)("div",{className:n},Object(J.createElement)(K.PlainText,{value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(Q.__)("Write code…"),"aria-label":Object(Q.__)("Code")}))},save:function(e){var t,r=e.attributes;return Object(J.createElement)("pre",null,Object(J.createElement)("code",null,(t=r.content,Object(Y.flow)(An.escapeEditableHTML,Rn,Mn)(t||""))))}},Dn=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"}));function Vn(e){var t,r=Vn.doc;r||(r=document.implementation.createHTMLDocument(""),Vn.doc=r),r.body.innerHTML=e;var n=!0,o=!1,c=void 0;try{for(var a,i=r.body.firstChild.classList[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){if(t=a.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,c=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw c}}}var Fn=[{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!==Vn(e.originalContent)}))},migrate:function(e,t){var r=t.reduce((function(e,t){var r=Vn(t.originalContent);return void 0===r&&(r=0),e[r]||(e[r]=[]),e[r].push(t),e}),[]).map((function(e){return Object($.createBlock)("core/column",{},e)}));return[Object(Y.omit)(e,["columns"]),r]},save:function(e){var t=e.attributes.columns;return Object(J.createElement)("div",{className:"has-".concat(t,"-columns")},Object(J.createElement)(K.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(Y.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,r=t.verticalAlignment,n=t.columns,o=re()("has-".concat(n,"-columns"),Object(Z.a)({},"are-vertically-aligned-".concat(r),r));return Object(J.createElement)("div",{className:o},Object(J.createElement)(K.InnerBlocks.Content,null))}}],Un=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function Gn(e,t){var r=e.attributes.width;return Un(void 0===r?100/t:r)}function qn(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=(t-function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(Y.sumBy)(e,(function(e){return Gn(e,t)}))}(e,r))/e.length;return Object(Y.mapValues)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,r){var n=Gn(r,t);return Object.assign(e,Object(Z.a)({},r.clientId,n))}),{})}(e,r),(function(e){return Un(e+n)}))}function Wn(e,t){return e.map((function(e){return Object(Y.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var Zn=["core/column"];var Kn=Object(be.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var o=t.clientId,c=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockOrder;c({verticalAlignment:n}),i(o).forEach((function(e){a(e,{verticalAlignment:n})}))},updateColumns:function(n,o){var c=t.clientId,a=e("core/block-editor").replaceInnerBlocks,i=(0,r.select("core/block-editor").getBlocks)(c),l=i.every((function(e){return Number.isFinite(e.attributes.width)})),s=o>n;if(s&&l){var u=Un(100/o),b=qn(i,100-u);i=[].concat(Object(W.a)(Wn(i,b)),Object(W.a)(Object(Y.times)(o-n,(function(){return Object($.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(W.a)(i),Object(W.a)(Object(Y.times)(o-n,(function(){return Object($.createBlock)("core/column")}))));else{if(i=Object(Y.dropRight)(i,n-o),l)i=Wn(i,qn(i,100))}a(c,i,!1)}}}))((function(e){var t=e.attributes,r=e.className,n=e.updateAlignment,o=e.updateColumns,c=e.clientId,a=t.verticalAlignment,i=Object(be.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(c)}}),[c]).count,l=Object(J.useRef)(),s=Object(K.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0}],colorDetector:{targetRef:l}}),u=s.BackgroundColor,b=s.InspectorControlsColorPanel,m=s.TextColor,d=re()(r,Object(Z.a)({},"are-vertically-aligned-".concat(a),a));return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.BlockVerticalAlignmentToolbar,{onChange:n,value:a})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,null,Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Columns"),value:i,onChange:function(e){return o(i,e)},min:2,max:6}))),b,Object(J.createElement)(u,null,Object(J.createElement)(m,null,Object(J.createElement)("div",{className:d,ref:l},Object(J.createElement)(K.InnerBlocks,{templateLock:"all",allowedBlocks:Zn})))))})),$n=function e(t){return Object(Y.map)(t,(function(t){var r=Object(le.a)(t,3),n=r[0],o=r[1],c=r[2],a=void 0===c?[]:c;return Object($.createBlock)(n,o,e(a))}))},Yn=function(e){var t=e.clientId,r=e.name,n=Object(be.useSelect)((function(e){var n=e("core/blocks"),o=n.getBlockVariations,c=n.getBlockType,a=n.getDefaultBlockVariation;return{blockType:c(r),defaultVariation:a(r,"block"),hasInnerBlocks:e("core/block-editor").getBlocks(t).length>0,variations:o(r,"block")}}),[t,r]),o=n.blockType,c=n.defaultVariation,a=n.hasInnerBlocks,i=n.variations,l=Object(be.useDispatch)("core/block-editor").replaceInnerBlocks;return a?Object(J.createElement)(Kn,e):Object(J.createElement)(K.__experimentalBlockVariationPicker,{icon:Object(Y.get)(o,["icon","src"]),label:Object(Y.get)(o,["title"]),variations:i,onSelect:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;t.attributes&&e.setAttributes(t.attributes),t.innerBlocks&&l(e.clientId,$n(t.innerBlocks))},allowSkip:!0})};var Qn=[{name:"two-columns-equal",title:Object(Q.__)("Two columns; equal split"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(Q.__)("Two columns; one-third, two-thirds split"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:33.33}],["core/column",{width:66.66}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(Q.__)("Two columns; two-thirds, one-third split"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:66.66}],["core/column",{width:33.33}]],scope:["block"]},{name:"three-columns-equal",title:Object(Q.__)("Three columns; equal split"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(Q.__)("Three columns; wide center column"),icon:Object(J.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(se.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:25}],["core/column",{width:50}],["core/column",{width:25}]],scope:["block"]}],Jn={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}}},Xn=Jn.name,eo={title:Object(Q.__)("Columns"),icon:Dn,description:Object(Q.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},variations:Qn,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Q.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:Object(Q.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Q.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(Q.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Fn,edit:Yn,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,o=r.backgroundColor,c=r.customBackgroundColor,a=r.textColor,i=r.customTextColor,l=Object(K.getColorClassName)("background-color",o),s=Object(K.getColorClassName)("color",a),u=re()((t={"has-background":o||c,"has-text-color":a||i},Object(Z.a)(t,l,l),Object(Z.a)(t,s,s),Object(Z.a)(t,"are-vertically-aligned-".concat(n),n),t)),b={backgroundColor:l?void 0:c,color:s?void 0:i};return Object(J.createElement)("div",{className:u||void 0,style:b},Object(J.createElement)(K.InnerBlocks.Content,null))}},to=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(X.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"}));var ro=Object(ue.compose)(Object(be.withSelect)((function(e,t){var r=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(r).length>0}})),Object(be.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var o=t.clientId,c=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockRootClientId;c({verticalAlignment:n}),a(i(o),{verticalAlignment:null})}}})))((function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=e.updateAlignment,c=e.hasChildBlocks,a=t.verticalAlignment,i=t.width,l=re()(n,"block-core-columns",Object(Z.a)({},"is-vertically-aligned-".concat(a),a));return Object(J.createElement)("div",{className:l},Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.BlockVerticalAlignmentToolbar,{onChange:o,value:a})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Column settings")},Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Percentage width"),value:i||"",onChange:function(e){r({width:e})},min:0,max:100,step:.1,required:!0,allowReset:!0,placeholder:void 0===i?Object(Q.__)("Auto"):void 0}))),Object(J.createElement)(K.InnerBlocks,{templateLock:!1,renderAppender:c?void 0:function(){return Object(J.createElement)(K.InnerBlocks.ButtonBlockAppender,null)}}))}));var no={name:"core/column",category:"common",attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}}},oo=no.name,co={title:Object(Q.__)("Column"),parent:["core/columns"],icon:to,description:Object(Q.__)("A single column within a columns block."),supports:{inserter:!1,reusable:!1,html:!1},getEditWrapperProps:function(e){var t=e.width;if(Number.isFinite(t))return{style:{flexBasis:t+"%"},"data-has-explicit-width":!0}},edit:ro,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,o=r.width,c=re()(Object(Z.a)({},"is-vertically-aligned-".concat(n),n));return Number.isFinite(o)&&(t={flexBasis:o+"%"}),Object(J.createElement)("div",{className:c,style:t},Object(J.createElement)(K.InnerBlocks.Content,null))}},ao=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(X.Path,{d:"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"})),io="image",lo="video",so=50;function uo(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}function bo(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function po(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,o=Object(J.useState)(!1),c=Object(le.a)(o,2),a=c[0],i=c[1];return Object(J.useEffect)((function(){e&&t<=50&&n.current&&Co().getColorAsync(n.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&n.current,i]),Object(J.useEffect)((function(){if(t>50||!e){if(!r)return void i(!0);i(jo()(r).isDark())}}),[r,t>50||!e,i]),Object(J.useEffect)((function(){e||r||i(!1)}),[!e&&!r,i]),a}(f,d,i.color,k),C=Object(J.useState)(null),E=Object(le.a)(C,2),x=E[0],S=E[1],P=u.removeAllNotices,T=u.createErrorNotice,N=wo({},m===io?uo(f):{},{backgroundColor:i.color,minHeight:x||g});j&&!f&&(N.background=j),p&&(N.backgroundPosition="".concat(100*p.x,"% ").concat(100*p.y,"%"));var B=!!(f||i.color||j),A=Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,B&&Object(J.createElement)(K.MediaReplaceFlow,{mediaId:b,mediaURL:f,allowedTypes:ko,accept:"image/*,video/*",onSelect:w})),Object(J.createElement)(K.InspectorControls,null,!!f&&Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Media settings")},io===m&&Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Fixed background"),checked:h,onChange:function(){n(wo({hasParallax:!h},h?{}:{focalPoint:void 0}))}}),io===m&&!h&&Object(J.createElement)(se.FocalPointPicker,{label:Object(Q.__)("Focal point picker"),url:f,value:p,onChange:function(e){return n({focalPoint:e})}}),lo===m&&Object(J.createElement)("video",{autoPlay:!0,muted:!0,loop:!0,src:f}),Object(J.createElement)(se.PanelRow,null,Object(J.createElement)(se.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return n({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0})}},Object(Q.__)("Clear Media")))),B&&Object(J.createElement)(J.Fragment,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Dimensions")},Object(J.createElement)(Eo,{value:x||g,onChange:function(e){return n({minHeight:e})}})),Object(J.createElement)(K.__experimentalPanelColorGradientSettings,{title:Object(Q.__)("Overlay"),initialOpen:!0,settings:[{colorValue:i.color,gradientValue:j,onColorChange:l,onGradientChange:y,label:Object(Q.__)("Color")}]},!!f&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Background opacity"),value:d,onChange:function(e){return n({dimRatio:e})},min:0,max:100,step:10,required:!0})))));if(!B){var R=Object(J.createElement)(K.BlockIcon,{icon:ao}),M=Object(Q.__)("Cover");return Object(J.createElement)(J.Fragment,null,A,Object(J.createElement)(K.MediaPlaceholder,{icon:R,className:c,labels:{title:M,instructions:Object(Q.__)("Upload an image or video file, or pick one from your media library.")},onSelect:w,accept:"image/*,video/*",allowedTypes:ko,notices:a,onError:function(e){P(),T(e)}},Object(J.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(J.createElement)(K.ColorPalette,{disableCustomColors:!0,value:i.color,onChange:l,clearable:!1}))))}var z=re()(c,bo(d),(t={"is-dark-theme":_,"has-background-dim":0!==d,"has-parallax":h},Object(Z.a)(t,i.class,i.class),Object(Z.a)(t,"has-background-gradient",j),Object(Z.a)(t,v,!f&&v),t));return Object(J.createElement)(J.Fragment,null,A,Object(J.createElement)(So,{className:re()("block-library-cover__resize-container",{"is-selected":o}),onResizeStart:function(){return s(!1)},onResize:S,onResizeStop:function(e){s(!0),n({minHeight:e}),S(null)}},Object(J.createElement)("div",{"data-url":f,style:N,className:z},io===m&&Object(J.createElement)("img",{ref:k,"aria-hidden":!0,alt:"",style:{display:"none"},src:f}),f&&j&&0!==d&&Object(J.createElement)("span",{"aria-hidden":"true",className:re()("wp-block-cover__gradient-background",v),style:{background:j}}),lo===m&&Object(J.createElement)("video",{ref:k,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(J.createElement)("div",{className:"wp-block-cover__inner-container"},Object(J.createElement)(K.InnerBlocks,{template:_o})))))}));var To={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,r=e.url,n=e.align,o=e.id;return Object($.createBlock)("core/cover",{title:t,url:r,align:n,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,r=e.src,n=e.align,o=e.id;return Object($.createBlock)("core/cover",{title:t,url:r,align:n,id:o,backgroundType:lo})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,o=e.customOverlayColor,c=e.gradient,a=e.customGradient;return r?t===io:!(n||o||c||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,o=e.id;return Object($.createBlock)("core/image",{caption:t,url:r,align:n,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,o=e.customOverlayColor,c=e.gradient,a=e.customGradient;return r?t===lo:!(n||o||c||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,o=e.id;return Object($.createBlock)("core/video",{caption:t,src:r,id:o,align:n})}}]},No={name:"core/cover",category:"common",attributes:{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"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}},Bo=No.name,Ao={title:Object(Q.__)("Cover"),description:Object(Q.__)("Add an image or video with a text overlay — great for headers."),icon:ao,supports:{align:!0,html:!1},example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(Q.__)("Snow Patrol"),align:"center"}}]},transforms:To,save:function(e){var t=e.attributes,r=t.backgroundType,n=t.gradient,o=t.customGradient,c=t.customOverlayColor,a=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object(K.getColorClassName)("background-color",s),d=Object(K.__experimentalGetGradientClass)(n),p=r===io?uo(u):{};m||(p.backgroundColor=c),i&&!l&&(p.backgroundPosition="".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")),o&&!u&&(p.background=o),p.minHeight=b||void 0;var h=re()(bo(a),m,Object(Z.a)({"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":n||o},d,!u&&d));return Object(J.createElement)("div",{className:h,style:p},u&&(n||o)&&0!==a&&Object(J.createElement)("span",{"aria-hidden":"true",className:re()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),lo===r&&u&&Object(J.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(J.createElement)("div",{className:"wp-block-cover__inner-container"},Object(J.createElement)(K.InnerBlocks.Content,null)))},edit:Po,deprecated:go},Ro=r(286),Mo=function(e){var t=e.blockSupportsResponsive,r=e.showEditButton,n=e.themeSupportsResponsive,o=e.allowResponsive,c=e.getResponsiveHelp,a=e.toggleResponsive,i=e.switchBackToURLInput;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,null,r&&Object(J.createElement)(se.Button,{className:"components-toolbar__control",label:Object(Q.__)("Edit URL"),icon:Ro.a,onClick:i}))),n&&t&&Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Media settings"),className:"blocks-responsive"},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Resize for smaller devices"),checked:o,help:c,onChange:a}))))},zo=function(){return Object(J.createElement)("div",{className:"wp-block-embed is-loading"},Object(J.createElement)(se.Spinner,null),Object(J.createElement)("p",null,Object(Q.__)("Embedding…")))},Io=function(e){var t=e.icon,r=e.label,n=e.value,o=e.onSubmit,c=e.onChange,a=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(J.createElement)(se.Placeholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:t,showColors:!0}),label:r,className:"wp-block-embed",instructions:Object(Q.__)("Paste a link to the content you want to display on your site.")},Object(J.createElement)("form",{onSubmit:o},Object(J.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":r,placeholder:Object(Q.__)("Enter URL to embed here…"),onChange:c}),Object(J.createElement)(se.Button,{isSecondary:!0,type:"submit"},Object(Q._x)("Embed","button label"))),Object(J.createElement)("div",{className:"components-placeholder__learn-more"},Object(J.createElement)(se.ExternalLink,{href:Object(Q.__)("https://wordpress.org/support/article/embeds/")},Object(Q.__)("Learn more about embeds"))),a&&Object(J.createElement)("div",{className:"components-placeholder__error"},Object(J.createElement)("div",{className:"components-placeholder__instructions"},Object(Q.__)("Sorry, this content could not be embedded.")),Object(J.createElement)(se.Button,{isSecondary:!0,onClick:l},Object(Q._x)("Try again","button label"))," ",Object(J.createElement)(se.Button,{isSecondary:!0,onClick:i},Object(Q._x)("Convert to link","button label"))))},Lo=r(113),Ho=window.FocusEvent,Do=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(Ne.a)(e)),e.node=Object(J.createRef)(),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new Ho("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(J.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(J.Component),Vo=Object(ue.withGlobalEvents)({blur:"checkFocus"})(Do),Fo=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(Ne.a)(e)),e.state={interactive:!1},e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,r,n=this.props,o=n.preview,c=n.url,a=n.type,i=n.caption,l=n.onCaptionChange,s=n.isSelected,u=n.className,b=n.icon,m=n.label,d=o.scripts,p=this.state.interactive,h="photo"===a?(t=(e=o).thumbnail_url?e.thumbnail_url:e.url,r=Object(J.createElement)("p",null,Object(J.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(J.renderToString)(r)):o.html,g=Object(Lo.parse)(c).host.split("."),f=g.splice(g.length-2,g.length-1).join("."),O=Object(Y.includes)(Xe,f),v=Object(Q.sprintf)(Object(Q.__)("Embedded content from %s"),f),j=rt()(a,u,"wp-block-embed__wrapper"),y="wp-embed"===a?Object(J.createElement)(Vo,{html:h}):Object(J.createElement)("div",{className:"wp-block-embed__wrapper"},Object(J.createElement)(se.SandBox,{html:h,scripts:d,title:v,type:j,onFocus:this.hideOverlay}),!p&&Object(J.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(J.createElement)("figure",{className:rt()(u,"wp-block-embed",{"is-type-video":"video"===a})},O?Object(J.createElement)(se.Placeholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:b,showColors:!0}),label:m},Object(J.createElement)("p",{className:"components-placeholder__error"},Object(J.createElement)("a",{href:c},c)),Object(J.createElement)("p",{className:"components-placeholder__error"},Object(Q.sprintf)(Object(Q.__)("Embedded content from %s can't be previewed in the editor."),f))):y,(!K.RichText.isEmpty(i)||s)&&Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:i,onChange:l,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(J.Component);function Uo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Go(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(n){function o(){var e;return Object(xe.a)(this,o),(e=Object(Pe.a)(this,Object(Te.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(Ne.a)(e)),e.setUrl=e.setUrl.bind(Object(Ne.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(Ne.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(Ne.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(Ne.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(Ne.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(Ne.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(Be.a)(o,n),Object(Se.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=lt(this.props,this.getMergedAttributes());e&&this.props.onReplace(e)}}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,r=void 0!==e.preview,n=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!r,o=this.props.attributes.url!==e.attributes.url;if(n||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,r=this.props.setAttributes;this.setState({editingURL:!1}),r({url:t})}},{key:"getMergedAttributes",value:function(){var t=this.props.preview,n=this.props.attributes,o=n.className,c=n.allowResponsive;return function(e){for(var t=1;t0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var r=Object(Ae.createBlobURL)(e);t.push(Object($.createBlock)("core/file",{href:r,fileName:e.name,textLinkHref:r}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object($.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($.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($.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 r=(0,Object(be.select)("core").getMedia)(t);return!!r&&Object(Y.includes)(r.mime_type,"audio")},transform:function(e){return Object($.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 r=(0,Object(be.select)("core").getMedia)(t);return!!r&&Object(Y.includes)(r.mime_type,"video")},transform:function(e){return Object($.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 r=(0,Object(be.select)("core").getMedia)(t);return!!r&&Object(Y.includes)(r.mime_type,"image")},transform:function(e){return Object($.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},ac={name:"core/file",category:"common",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]"}}},ic=ac.name,lc={title:Object(Q.__)("File"),description:Object(Q.__)("Add a link to a downloadable file."),icon:tc,keywords:[Object(Q.__)("document"),Object(Q.__)("pdf"),Object(Q.__)("download")],supports:{align:!0},transforms:cc,edit:oc,save:function(e){var t=e.attributes,r=t.href,n=t.fileName,o=t.textLinkHref,c=t.textLinkTarget,a=t.showDownloadButton,i=t.downloadButtonText;return r&&Object(J.createElement)("div",null,!K.RichText.isEmpty(n)&&Object(J.createElement)("a",{href:o,target:c,rel:!!c&&"noreferrer noopener"},Object(J.createElement)(K.RichText.Content,{value:n})),a&&Object(J.createElement)("a",{href:r,className:"wp-block-file__button",download:!0},Object(J.createElement)(K.RichText.Content,{value:i})))}},sc=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),uc=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(Ne.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.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(W.a)(Object(K.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,r=e.setAttributes,n=this.state,o=n.isPreview,c=n.styles;return Object(J.createElement)("div",{className:"wp-block-html"},Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,null,Object(J.createElement)(se.Button,{className:"components-tab-button",isPressed:!o,onClick:this.switchToHTML},Object(J.createElement)("span",null,"HTML")),Object(J.createElement)(se.Button,{className:"components-tab-button",isPressed:o,onClick:this.switchToPreview},Object(J.createElement)("span",null,Object(Q.__)("Preview"))))),Object(J.createElement)(se.Disabled.Consumer,null,(function(e){return o||e?Object(J.createElement)(se.SandBox,{html:t.content,styles:c}):Object(J.createElement)(K.PlainText,{value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(Q.__)("Write HTML…"),"aria-label":Object(Q.__)("HTML")})})))}}]),t}(J.Component),bc=Object(be.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(uc);var mc={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:function(e){return{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:e.phrasingContentSchema}}}}}}]},dc={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},pc=dc.name,hc={title:Object(Q.__)("Custom HTML"),description:Object(Q.__)("Add custom HTML code and preview it as you edit."),icon:sc,keywords:[Object(Q.__)("embed")],example:{attributes:{content:""+Object(Q.__)("Welcome to the wonderful world of blocks…")+""}},supports:{customClassName:!1,className:!1,html:!1},transforms:mc,edit:bc,save:function(e){var t=e.attributes;return Object(J.createElement)(J.RawHTML,null,t.content)}},gc=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(X.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),fc=Object(J.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(se.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(J.createElement)(se.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(J.createElement)(se.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),Oc=["image","video"];function vc(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var jc=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.onSelectMedia,r=e.mediaUrl,n=e.mediaId;return Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.MediaReplaceFlow,{mediaId:n,mediaURL:r,allowedTypes:Oc,accept:"image/*,video/*",onSelect:t}))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,r=e.mediaUrl,n=e.className,o=e.imageFill,c=e.focalPoint,a=o?vc(r,c):{};return Object(J.createElement)(J.Fragment,null,this.renderToolbarEditButton(),Object(J.createElement)("figure",{className:n,style:a},Object(J.createElement)("img",{src:r,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,r=e.className;return Object(J.createElement)(J.Fragment,null,this.renderToolbarEditButton(),Object(J.createElement)("figure",{className:r},Object(J.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,r=e.className,n=e.noticeUI;return Object(J.createElement)(K.MediaPlaceholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:fc}),labels:{title:Object(Q.__)("Media area")},className:r,onSelect:t,accept:"image/*,video/*",allowedTypes:Oc,notices:n,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,r=e.mediaUrl,n=e.mediaType,o=e.mediaWidth,c=e.commitWidthChange,a=e.onWidthChange,i=e.toggleSelection;if(n&&r){var l={right:"left"===t,left:"right"===t},s=null;switch(n){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(J.createElement)(se.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResizeStart:function(){i(!1)},onResize:function(e,t,r){a(parseInt(r.style.width))},onResizeStop:function(e,t,r){i(!0),c(parseInt(r.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(J.Component),yc=Object(ue.compose)([Object(be.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),se.withNotices])(jc);function wc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var kc={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}},_c=[{attributes:function(e){for(var t=1;tEarns his living
    Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(Q.__)("— Kobayashi Issa (一茶)")}}]},transforms:Tc,edit:Sc,save:function(e){var t,r=e.attributes,n=r.backgroundColor,o=r.customBackgroundColor,c=r.isStackedOnMobile,a=r.mediaAlt,i=r.mediaPosition,l=r.mediaType,s=r.mediaUrl,u=r.mediaWidth,b=r.mediaId,m=r.verticalAlignment,d=r.imageFill,p=r.focalPoint,h=r.linkClass,g=r.href,f=r.linkTarget,O=r.rel,v=Object(Y.isEmpty)(O)?void 0:O,j=Object(J.createElement)("img",{src:s,alt:a,className:b&&"image"===l?"wp-image-".concat(b):null});g&&(j=Object(J.createElement)("a",{className:h,href:g,target:f,rel:v},j));var y,w={image:function(){return j},video:function(){return Object(J.createElement)("video",{controls:!0,src:s})}},k=Object(K.getColorClassName)("background-color",n),_=re()((t={"has-media-on-the-right":"right"===i,"has-background":k||o},Object(Z.a)(t,k,k),Object(Z.a)(t,"is-stacked-on-mobile",c),Object(Z.a)(t,"is-vertically-aligned-".concat(m),m),Object(Z.a)(t,"is-image-fill",d),t)),C=d?vc(s,p):{};u!==Pc&&(y="right"===i?"auto ".concat(u,"%"):"".concat(u,"% auto"));var E={backgroundColor:k?void 0:o,gridTemplateColumns:y};return Object(J.createElement)("div",{className:_,style:E},Object(J.createElement)("figure",{className:"wp-block-media-text__media",style:C},(w[l]||Y.noop)()),Object(J.createElement)("div",{className:"wp-block-media-text__content"},Object(J.createElement)(K.InnerBlocks.Content,null)))},deprecated:_c},Rc=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),Mc=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(Ne.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var r=t.props.attributes[e];(0,t.props.setAttributes)(Object(Z.a)({},e,!r))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,r=e.displayAvatar,n=e.displayDate,o=e.displayExcerpt;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Latest comments settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display avatar"),checked:r,onChange:this.toggleDisplayAvatar}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display date"),checked:n,onChange:this.toggleDisplayDate}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display excerpt"),checked:o,onChange:this.toggleDisplayExcerpt}),Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Number of comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(J.createElement)(se.Disabled,null,Object(J.createElement)(Tr.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(J.Component),zc="core/latest-comments",Ic={title:Object(Q.__)("Latest Comments"),description:Object(Q.__)("Display a list of your most recent comments."),icon:Rc,category:"widgets",keywords:[Object(Q.__)("recent comments")],supports:{align:!0,html:!1},edit:Mc},Lc=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(J.createElement)(X.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(J.createElement)(X.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(J.createElement)(X.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(J.createElement)(X.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"})),Hc=r(42),Dc=r.n(Hc),Vc=r(60);function Fc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Uc={per_page:-1},Gc=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=Dc()({path:Object(Re.addQueryArgs)("/wp/v2/categories",Uc)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.setAttributes,n=e.imageSizeOptions,o=e.latestPosts,c=e.defaultImageWidth,a=e.defaultImageHeight,i=this.state.categoriesList,l=t.displayFeaturedImage,s=t.displayPostContentRadio,u=t.displayPostContent,b=t.displayPostDate,m=t.postLayout,d=t.columns,p=t.order,h=t.orderBy,g=t.categories,f=t.postsToShow,O=t.excerptLength,v=t.featuredImageAlign,j=t.featuredImageSizeSlug,y=t.featuredImageSizeWidth,w=t.featuredImageSizeHeight,k=Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Post content settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Post content"),checked:u,onChange:function(e){return r({displayPostContent:e})}}),u&&Object(J.createElement)(se.RadioControl,{label:Object(Q.__)("Show:"),selected:s,options:[{label:Object(Q.__)("Excerpt"),value:"excerpt"},{label:Object(Q.__)("Full post"),value:"full_post"}],onChange:function(e){return r({displayPostContentRadio:e})}}),u&&"excerpt"===s&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Max number of words in excerpt"),value:O,onChange:function(e){return r({excerptLength:e})},min:10,max:100})),Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Post meta settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display post date"),checked:b,onChange:function(e){return r({displayPostDate:e})}})),Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Featured image settings")},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display featured image"),checked:l,onChange:function(e){return r({displayFeaturedImage:e})}}),l&&Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.__experimentalImageSizeControl,{onChange:function(e){var t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),r(t)},slug:j,width:y,height:w,imageWidth:c,imageHeight:a,imageSizeOptions:n,onChangeImage:function(e){return r({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}}),Object(J.createElement)(se.BaseControl,null,Object(J.createElement)(se.BaseControl.VisualLabel,null,Object(Q.__)("Image alignment")),Object(J.createElement)(K.BlockAlignmentToolbar,{value:v,onChange:function(e){return r({featuredImageAlign:e})},controls:["left","center","right"],isCollapsed:!1})))),Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Sorting and filtering")},Object(J.createElement)(se.QueryControls,Object(_e.a)({order:p,orderBy:h},{numberOfItems:f,categoriesList:i,selectedCategoryId:g,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onCategoryChange:function(e){return r({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return r({postsToShow:e})}})),"grid"===m&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Columns"),value:d,onChange:function(e){return r({columns:e})},min:2,max:_?Math.min(6,o.length):6,required:!0}))),_=Array.isArray(o)&&o.length;if(!_)return Object(J.createElement)(J.Fragment,null,k,Object(J.createElement)(se.Placeholder,{icon:"admin-post",label:Object(Q.__)("Latest Posts")},Array.isArray(o)?Object(Q.__)("No posts found."):Object(J.createElement)(se.Spinner,null)));var C=o.length>f?o.slice(0,f):o,E=[{icon:"list-view",title:Object(Q.__)("List view"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===m},{icon:"grid-view",title:Object(Q.__)("Grid view"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===m}],x=Object(Vc.__experimentalGetSettings)().formats.date;return Object(J.createElement)(J.Fragment,null,k,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,{controls:E})),Object(J.createElement)("ul",{className:re()(this.props.className,Object(Z.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===m,"has-dates":b},"columns-".concat(d),"grid"===m))},C.map((function(e,t){var r=Object(Y.invoke)(e,["title","rendered","trim"]),n=e.excerpt.rendered,o=document.createElement("div");o.innerHTML=n,n=o.textContent||o.innerText||"";var c=e.featuredImageSourceUrl,a=re()(Object(Z.a)({"wp-block-latest-posts__featured-image":!0},"align".concat(v),!!v)),i=O'+Object(Q.__)("Read more")+"":n;return Object(J.createElement)("li",{key:t},l&&Object(J.createElement)("div",{className:a},c&&Object(J.createElement)("img",{src:c,alt:"",style:{maxWidth:y,maxHeight:w}})),Object(J.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},r?Object(J.createElement)(J.RawHTML,null,r):Object(Q.__)("(no title)")),b&&e.date_gmt&&Object(J.createElement)("time",{dateTime:Object(Vc.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(Vc.dateI18n)(x,e.date_gmt)),u&&"excerpt"===s&&Object(J.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object(J.createElement)(J.RawHTML,{key:"html"},i)),u&&"full_post"===s&&Object(J.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(J.createElement)(J.RawHTML,{key:"html"},e.content.raw.trim())))}))))}}]),t}(J.Component),qc=Object(be.withSelect)((function(e,t){var r=t.attributes,n=r.featuredImageSizeSlug,o=r.postsToShow,c=r.order,a=r.orderBy,i=r.categories,l=e("core"),s=l.getEntityRecords,u=l.getMedia,b=(0,e("core/block-editor").getSettings)(),m=b.imageSizes,d=b.imageDimensions,p=s("postType","post",Object(Y.pickBy)({categories:i,order:c,orderby:a,per_page:o},(function(e){return!Object(Y.isUndefined)(e)}))),h=m.filter((function(e){return"full"!==e.slug})).map((function(e){var t=e.name;return{value:e.slug,label:t}}));return{defaultImageWidth:Object(Y.get)(d,[n,"width"],0),defaultImageHeight:Object(Y.get)(d,[n,"height"],0),imageSizeOptions:h,latestPosts:Array.isArray(p)?p.map((function(e){if(e.featured_media){var t=u(e.featured_media),r=Object(Y.get)(t,["media_details","sizes",n,"source_url"],null);return r||(r=Object(Y.get)(t,"source_url",null)),function(e){for(var t=1;t1?n:Object(Wt.replace)(n,/\n/g,Wt.__UNSTABLE_LINE_SEPARATOR)})),Wt.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object($.createBlock)("core/list",{values:Object(Wt.toHTMLString)({value:Object(Wt.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:Xc(e).ol,ul:Xc(e).ul}},transform:function(e){var t={ordered:"OL"===e.nodeName};if(t.ordered){var r=e.getAttribute("type");r&&(t.type=r),null!==e.getAttribute("reversed")&&(t.reversed=!0);var n=parseInt(e.getAttribute("start"),10);isNaN(n)||1===n&&!t.reversed||(t.start=n)}return Object($.createBlock)("core/list",Jc({},Object($.getBlockAttributes)("core/list",e.outerHTML),{},t))}}].concat(Object(W.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object($.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}}))),Object(W.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object($.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(Wt.split)(Object(Wt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),Wt.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object($.createBlock)("core/paragraph",{content:Object(Wt.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object($.createBlock)("core/quote",{value:Object(Wt.toHTMLString)({value:Object(Wt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]};function ta(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var ra={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"}}},na=ra.name,oa={title:Object(Q.__)("List"),description:Object(Q.__)("Create a bulleted or numbered list."),icon:Kc,keywords:[Object(Q.__)("bullet list"),Object(Q.__)("ordered list"),Object(Q.__)("numbered list")],supports:{className:!1,__unstablePasteTextInline:!0},example:{attributes:{values:"
  • Alice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:ea,merge:function(e,t){var r=t.values;return r&&"
  • "!==r?function(e){for(var t=1;t"+Object(Q.__)("One of the hardest things to do in technology is disrupt yourself.")+"

    ",citation:Object(Q.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(Q.__)("Solid color")}],supports:{align:["left","right","wide","full"]},edit:Aa,save:function(e){var t,r,n=e.attributes,o=n.mainColor,c=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(Y.includes)(u,Ea)){var b=Object(K.getColorClassName)("background-color",o);t=re()(Object(Z.a)({"has-background":b||c},b,b)),r={backgroundColor:b?void 0:c}}else c&&(r={borderColor:c});var m=Object(K.getColorClassName)("color",a),d=(a||i)&&re()("has-text-color",Object(Z.a)({},m,m)),p=m?void 0:{color:i};return Object(J.createElement)("figure",{className:t,style:r},Object(J.createElement)("blockquote",{className:d,style:p},Object(J.createElement)(K.RichText.Content,{value:l,multiline:!0}),!K.RichText.isEmpty(s)&&Object(J.createElement)(K.RichText.Content,{tagName:"cite",value:s})))},deprecated:Na},Ia=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).titleField=Object(J.createRef)(),e.editButton=Object(J.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(Ne.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(Ne.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.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===ir.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,r=e.title,n=e.isSaving,o=e.isEditDisabled,c=e.onEdit,a=e.instanceId;return Object(J.createElement)(J.Fragment,null,!t&&!n&&Object(J.createElement)("div",{className:"reusable-block-edit-panel"},Object(J.createElement)("b",{className:"reusable-block-edit-panel__info"},r),Object(J.createElement)(se.Button,{ref:this.editButton,isSecondary:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:c},Object(Q.__)("Edit"))),(t||n)&&Object(J.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(J.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(a),className:"reusable-block-edit-panel__label"},Object(Q.__)("Name:")),Object(J.createElement)("input",{ref:this.titleField,type:"text",disabled:n,className:"reusable-block-edit-panel__title",value:r,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(a)}),Object(J.createElement)(se.Button,{type:"submit",isSecondary:!0,isBusy:n,disabled:!r||n,className:"reusable-block-edit-panel__button"},Object(Q.__)("Save"))))}}]),t}(J.Component),La=Object(ue.withInstanceId)(Ia),Ha=function(e){function t(e){var r,n=e.reusableBlock;return Object(xe.a)(this,t),(r=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).startEditing=r.startEditing.bind(Object(Ne.a)(r)),r.stopEditing=r.stopEditing.bind(Object(Ne.a)(r)),r.setBlocks=r.setBlocks.bind(Object(Ne.a)(r)),r.setTitle=r.setTitle.bind(Object(Ne.a)(r)),r.save=r.save.bind(Object(Ne.a)(r)),r.state=n?{isEditing:n.isTemporary,title:n.title,blocks:Object($.parse)(n.content)}:{isEditing:!1,title:null,blocks:[]},r}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"componentDidUpdate",value:function(e){e.reusableBlock!==this.props.reusableBlock&&null===this.state.title&&this.setState({title:this.props.reusableBlock.title,blocks:Object($.parse)(this.props.reusableBlock.content)})}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,blocks:Object($.parse)(e.content)})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,blocks:[]})}},{key:"setBlocks",value:function(e){this.setState({blocks:e})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.onChange,r=e.onSave,n=this.state,o=n.blocks;t({title:n.title,content:Object($.serialize)(o)}),r(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,r=e.reusableBlock,n=e.isFetching,o=e.isSaving,c=e.canUpdateBlock,a=e.settings,i=this.state,l=i.isEditing,s=i.title,u=i.blocks;if(!r&&n)return Object(J.createElement)(se.Placeholder,null,Object(J.createElement)(se.Spinner,null));if(!r)return Object(J.createElement)(se.Placeholder,null,Object(Q.__)("Block has been deleted or is unavailable."));var b=Object(J.createElement)(K.BlockEditorProvider,{settings:a,value:u,onChange:this.setBlocks,onInput:this.setBlocks},Object(J.createElement)(K.WritingFlow,null,Object(J.createElement)(K.BlockList,null)));return l||(b=Object(J.createElement)(se.Disabled,null,b)),Object(J.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object(J.createElement)(La,{isEditing:l,title:null!==s?s:r.title,isSaving:o&&!r.isTemporary,isEditDisabled:!c,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),b)}}]),t}(J.Component),Da=Object(ue.compose)([Object(be.withSelect)((function(e,t){var r=e("core/editor"),n=r.__experimentalGetReusableBlock,o=r.__experimentalIsFetchingReusableBlock,c=r.__experimentalIsSavingReusableBlock,a=e("core").canUser,i=e("core/block-editor"),l=i.__experimentalGetParsedReusableBlock,s=i.getSettings,u=t.attributes.ref,b=n(u);return{reusableBlock:b,isFetching:o(u),isSaving:c(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!a("update","blocks",u),settings:s()}})),Object(be.withDispatch)((function(e,t){var r=e("core/editor"),n=r.__experimentalFetchReusableBlocks,o=r.__experimentalUpdateReusableBlock,c=r.__experimentalSaveReusableBlock,a=t.attributes.ref;return{fetchReusableBlock:Object(Y.partial)(n,a),onChange:Object(Y.partial)(o,a),onSave:Object(Y.partial)(c,a)}}))])(Ha),Va="core/block",Fa={title:Object(Q.__)("Reusable Block"),category:"reusable",description:Object(Q.__)("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."),supports:{customClassName:!1,html:!1,inserter:!1},edit:Da},Ua=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(J.createElement)(X.Path,{d:"M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z"})),Ga=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(Ne.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var r=t.props.attributes[e];(0,t.props.setAttributes)(Object(Z.a)({},e,!r))}}},{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,r=t.blockLayout,n=t.columns,o=t.displayAuthor,c=t.displayExcerpt,a=t.displayDate,i=t.excerptLength,l=t.feedURL,s=t.itemsToShow,u=this.props.setAttributes;if(this.state.editing)return Object(J.createElement)(se.Placeholder,{icon:Ua,label:"RSS"},Object(J.createElement)("form",{onSubmit:this.onSubmitURL},Object(J.createElement)(se.TextControl,{placeholder:Object(Q.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object(J.createElement)(se.Button,{isSecondary:!0,type:"submit"},Object(Q.__)("Use URL"))));var b=[{icon:Ro.a,title:Object(Q.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(Q.__)("List view"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===r},{icon:"grid-view",title:Object(Q.__)("Grid view"),onClick:function(){return u({blockLayout:"grid"})},isActive:"grid"===r}];return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,{controls:b})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("RSS settings")},Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10,required:!0}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display date"),checked:a,onChange:this.toggleAttribute("displayDate")}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Display excerpt"),checked:c,onChange:this.toggleAttribute("displayExcerpt")}),c&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Max number of words in excerpt"),value:i,onChange:function(e){return u({excerptLength:e})},min:10,max:100,required:!0}),"grid"===r&&Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Columns"),value:n,onChange:function(e){return u({columns:e})},min:2,max:6,required:!0}))),Object(J.createElement)(se.Disabled,null,Object(J.createElement)(Tr.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(J.Component),qa="core/rss",Wa={title:Object(Q.__)("RSS"),description:Object(Q.__)("Display entries from any RSS or Atom feed."),icon:Ua,category:"widgets",keywords:[Object(Q.__)("atom"),Object(Q.__)("feed")],supports:{align:!0,html:!1},example:{attributes:{feedURL:"https://wordpress.org"}},edit:Ga},Za=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(J.createElement)(X.Path,{d:"M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z"}));var Ka="core/search",$a={title:Object(Q.__)("Search"),description:Object(Q.__)("Help visitors find your content."),icon:Za,category:"widgets",keywords:[Object(Q.__)("find")],supports:{align:!0},example:{},edit:function(e){var t=e.className,r=e.attributes,n=e.setAttributes,o=r.label,c=r.placeholder,a=r.buttonText;return Object(J.createElement)("div",{className:t},Object(J.createElement)(K.RichText,{className:"wp-block-search__label","aria-label":Object(Q.__)("Label text"),placeholder:Object(Q.__)("Add label…"),withoutInteractiveFormatting:!0,value:o,onChange:function(e){return n({label:e})}}),Object(J.createElement)("input",{className:"wp-block-search__input","aria-label":Object(Q.__)("Optional placeholder text"),placeholder:c?void 0:Object(Q.__)("Optional placeholder…"),value:c,onChange:function(e){return n({placeholder:e.target.value})}}),Object(J.createElement)(K.RichText,{className:"wp-block-search__button","aria-label":Object(Q.__)("Button text"),placeholder:Object(Q.__)("Add button text…"),withoutInteractiveFormatting:!0,value:a,onChange:function(e){return n({buttonText:e})}}))}},Ya=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 8a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h1V8zm2 3h4V9h-4v2zm2 2H9v2h4v-2z"}),Object(J.createElement)(X.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.732A2 2 0 1 1 4.732 2h14.536A2 2 0 1 1 22 4.732v14.536A2 2 0 1 1 19.268 22H4.732A2 2 0 1 1 2 19.268V4.732zM4.732 4h14.536c.175.304.428.557.732.732v14.536a2.01 2.01 0 0 0-.732.732H4.732A2.01 2.01 0 0 0 4 19.268V4.732A2.01 2.01 0 0 0 4.732 4z"})),Qa=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=t.textColor,c=t.customTextColor,a=Object(K.getColorClassName)("background-color",r),i=Object(K.getColorClassName)("color",o),l=re()(a,{"has-text-color":o||c,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:c};return Object(J.createElement)("div",{className:l,style:s},Object(J.createElement)("div",{className:"wp-block-group__inner-container"},Object(J.createElement)(K.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=Object(K.getColorClassName)("background-color",r),c=re()(o,{"has-background":r||n}),a={backgroundColor:o?void 0:n};return Object(J.createElement)("div",{className:c,style:a},Object(J.createElement)(K.InnerBlocks.Content,null))}}];var Ja=Object(ue.compose)([Object(be.withSelect)((function(e,t){var r=t.clientId,n=(0,e("core/block-editor").getBlock)(r);return{hasInnerBlocks:!(!n||!n.innerBlocks.length)}}))])((function(e){var t=e.hasInnerBlocks,r=e.className,n=Object(J.useRef)(),o=Object(K.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0}],colorDetector:{targetRef:n}}),c=o.TextColor,a=o.BackgroundColor,i=o.InspectorControlsColorPanel;return Object(J.createElement)(J.Fragment,null,i,Object(J.createElement)(a,null,Object(J.createElement)(c,null,Object(J.createElement)("div",{className:r,ref:n},Object(J.createElement)("div",{className:"wp-block-group__inner-container"},Object(J.createElement)(K.InnerBlocks,{renderAppender:!t&&K.InnerBlocks.ButtonBlockAppender}))))))}));var Xa={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},ei=Xa.name,ti={title:Object(Q.__)("Group"),icon:Ya,description:Object(Q.__)("A block that groups other blocks."),keywords:[Object(Q.__)("container"),Object(Q.__)("wrapper"),Object(Q.__)("row"),Object(Q.__)("section")],example:{attributes:{customBackgroundColor:"#ffffff",customTextColor:"#000000"},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(Q.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(Q.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(Q.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(Q.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(Q.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(Q.__)("Six.")}}]},supports:{align:["wide","full"],anchor:!0,html:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],r=e.reduce((function(e,r){var n=r.attributes.align;return t.indexOf(n)>t.indexOf(e)?n:e}),void 0),n=e.map((function(e){return Object($.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object($.createBlock)("core/group",{align:r},n)}}}]},edit:Ja,save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,o=t.textColor,c=t.customTextColor,a=Object(K.getColorClassName)("background-color",r),i=Object(K.getColorClassName)("color",o),l=re()(a,i,{"has-text-color":o||c,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:c};return Object(J.createElement)("div",{className:l,style:s},Object(J.createElement)("div",{className:"wp-block-group__inner-container"},Object(J.createElement)(K.InnerBlocks.Content,null)))},deprecated:Qa},ri=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M19 13H5v-2h14v2z"})),ni=function(e){var t=e.color,r=e.setColor;return Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(K.PanelColorSettings,{title:Object(Q.__)("Color settings"),colorSettings:[{value:t.color,onChange:r,label:Object(Q.__)("Color")}]}))};var oi=Object(K.withColors)("color",{textColor:"color"})((function(e){var t=e.color,r=e.setColor,n=e.className;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(se.HorizontalRule,{className:re()(n,Object(Z.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(J.createElement)(ni,{color:t,setColor:r}))}));var ci={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object($.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},ai={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},ii=ai.name,li={title:Object(Q.__)("Separator"),description:Object(Q.__)("Create a break between ideas or sections with a horizontal separator."),icon:ri,keywords:[Object(Q.__)("horizontal-line"),"hr",Object(Q.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(Q.__)("Default"),isDefault:!0},{name:"wide",label:Object(Q.__)("Wide Line")},{name:"dots",label:Object(Q.__)("Dots")}],transforms:ci,edit:oi,save:function(e){var t,r=e.attributes,n=r.color,o=r.customColor,c=Object(K.getColorClassName)("background-color",n),a=Object(K.getColorClassName)("color",n),i=re()((t={"has-text-color has-background":n||o},Object(Z.a)(t,c,c),Object(Z.a)(t,a,a),t)),l={backgroundColor:c?void 0:o,color:a?void 0:o};return Object(J.createElement)("hr",{className:i,style:l})}},si=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"}));var ui=r(85),bi={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var r=t.content;return Object(ui.removep)(Object(ui.autop)(r))}}},priority:20}]},mi={name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}}},di=mi.name,pi={title:Object(Q.__)("Shortcode"),description:Object(Q.__)("Insert additional custom elements with a WordPress shortcode."),icon:si,transforms:bi,supports:{customClassName:!1,className:!1,html:!1},edit:function e(t){var r=t.attributes,n=t.setAttributes,o=Object(ue.useInstanceId)(e),c="blocks-shortcode-input-".concat(o);return Object(J.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(J.createElement)("label",{htmlFor:c,className:"components-placeholder__label"},Object(J.createElement)(se.Dashicon,{icon:"shortcode"}),Object(Q.__)("Shortcode")),Object(J.createElement)(K.PlainText,{className:"input-control",id:c,value:r.text,placeholder:Object(Q.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))},save:function(e){var t=e.attributes;return Object(J.createElement)(J.RawHTML,null,t.text)}},hi=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})),gi=Object(ue.compose)([Object(be.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),ue.withInstanceId])((function(e){var t=e.attributes,r=e.isSelected,n=e.setAttributes,o=e.instanceId,c=e.onResizeStart,a=e.onResizeStop,i=t.height,l="block-spacer-height-input-".concat(o),s=Object(J.useState)(i),u=Object(le.a)(s,2),b=u[0],m=u[1];return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(se.ResizableBox,{className:re()("block-library-spacer__resize-container",{"is-selected":r}),size:{height:i},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:c,onResizeStop:function(e,t,r,o){a();var c=parseInt(i+o.height,10);n({height:c}),m(c)}}),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Spacer settings")},Object(J.createElement)(se.BaseControl,{label:Object(Q.__)("Height in pixels"),id:l},Object(J.createElement)("input",{type:"number",id:l,onChange:function(e){var t=parseInt(e.target.value,10);m(t),isNaN(t)?(m(""),t=100):t<20&&(t=20),n({height:t})},value:b,min:"20",step:"10"})))))}));var fi={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},Oi=fi.name,vi={title:Object(Q.__)("Spacer"),description:Object(Q.__)("Add white space between blocks and customize its height."),icon:hi,edit:gi,save:function(e){var t=e.attributes;return Object(J.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},ji=r(37),yi=r.n(ji);var wi={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},ki={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},_i=ki.name,Ci={title:Object(Q.__)("Subheading (deprecated)"),description:Object(Q.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(J.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(J.createElement)(se.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),supports:{inserter:!1,multiple:!1},transforms:wi,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=t.align,c=t.content,a=t.placeholder;return yi()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.AlignmentToolbar,{value:o,onChange:function(e){r({align:e})}})),Object(J.createElement)(K.RichText,{tagName:"p",value:c,onChange:function(e){r({content:e})},style:{textAlign:o},className:n,placeholder:a||Object(Q.__)("Write subheading…")}))},save:function(e){var t=e.attributes,r=t.align,n=t.content;return Object(J.createElement)(K.RichText.Content,{tagName:"p",style:{textAlign:r},value:n})}},Ei=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),xi=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,o=t.body,c=t.foot,a=t.backgroundColor;if(!n.length&&!o.length&&!c.length)return null;var i=Object(K.getColorClassName)("background-color",a),l=re()(i,{"has-fixed-layout":r,"has-background":!!i}),s=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(J.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(J.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,o=e.scope;return Object(J.createElement)(K.RichText.Content,{tagName:n,value:r,key:t,scope:"th"===n?o:void 0})})))})))};return Object(J.createElement)("table",{className:l},Object(J.createElement)(s,{type:"head",rows:n}),Object(J.createElement)(s,{type:"body",rows:o}),Object(J.createElement)(s,{type:"foot",rows:c}))}}],Si=r(281),Pi=r(282),Ti=r(283);function Ni(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Bi=["align"];function Ai(e,t,r){if(!t)return e;var n=Object(Y.pick)(e,["head","body","foot"]),o=t.sectionName,c=t.rowIndex;return Object(Y.mapValues)(n,(function(e,n){return o&&o!==n?e:e.map((function(e,o){return c&&c!==o?e:{cells:e.cells.map((function(e,c){return function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:n,columnIndex:c,rowIndex:o},t)?r(e):e}))}}))}))}function Ri(e,t){var r=t.sectionName,n=t.rowIndex,o=t.columnCount,c=function(e){return Ii(e.head)?Ii(e.body)?Ii(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),a=void 0===o?Object(Y.get)(c,["cells","length"]):o;return a?Object(Z.a)({},r,[].concat(Object(W.a)(e[r].slice(0,n)),[{cells:Object(Y.times)(a,(function(e){var t=Object(Y.get)(c,["cells",e],{});return function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var r=this.props,n=r.attributes,o=r.setAttributes,c=t.columnIndex;this.setState({selectedCell:null}),o(Mi(n,{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,r=t.attributes,n=t.setAttributes,o=e.sectionName,c=e.columnIndex;this.setState({selectedCell:null}),n(function(e,t){var r=t.columnIndex,n=Object(Y.pick)(e,["head","body","foot"]);return Object(Y.mapValues)(n,(function(e){return Ii(e)?e:e.map((function(e){return{cells:e.cells.length>=r?e.cells.filter((function(e,t){return t!==r})):e.cells}})).filter((function(e){return e.cells.length}))}))}(r,{sectionName:o,columnIndex:c}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:Di({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(Q.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(Q.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(Q.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(Q.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(Q.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(Q.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,r=e.name,n=e.rows;if(Ii(n))return null;var o="t".concat(r);return Object(J.createElement)(o,null,n.map((function(e,n){var o=e.cells;return Object(J.createElement)("tr",{key:n},o.map((function(e,o){var c=e.content,a=e.tag,i=e.scope,l=e.align,s={sectionName:r,rowIndex:n,columnIndex:o},u=re()(Object(Z.a)({},"has-text-align-".concat(l),l),"wp-block-table__cell-content"),b="";return"head"===r?b=Object(Q.__)("Header label"):"foot"===r&&(b=Object(Q.__)("Footer label")),Object(J.createElement)(K.RichText,{tagName:a,key:o,className:u,scope:"th"===a?i:void 0,value:c,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s),placeholder:b})})))})))}},{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,t=this.props,r=t.attributes,n=t.className,o=t.backgroundColor,c=t.setBackgroundColor,a=t.setAttributes,i=this.state,l=i.initialRowCount,s=i.initialColumnCount,u=r.hasFixedLayout,b=r.caption,m=r.head,d=r.body,p=r.foot,h=Ii(m)&&Ii(d)&&Ii(p),g=this.renderSection;if(h)return Object(J.createElement)(se.Placeholder,{label:Object(Q.__)("Table"),icon:Object(J.createElement)(K.BlockIcon,{icon:Ei,showColors:!0}),instructions:Object(Q.__)("Insert a table for sharing data.")},Object(J.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object(J.createElement)(se.TextControl,{type:"number",label:Object(Q.__)("Column Count"),value:s,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(J.createElement)(se.TextControl,{type:"number",label:Object(Q.__)("Row Count"),value:l,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(J.createElement)(se.Button,{className:"wp-block-table__placeholder-button",isSecondary:!0,type:"submit"},Object(Q.__)("Create Table"))));var f=re()(o.class,{"has-fixed-layout":u,"has-background":!!o.color});return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(se.ToolbarGroup,null,Object(J.createElement)(se.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(Q.__)("Edit table"),controls:this.getTableControls()})),Object(J.createElement)(K.AlignmentToolbar,{label:Object(Q.__)("Change column alignment"),alignmentControls:Fi,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Table settings"),className:"blocks-table-settings"},Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Fixed width table cells"),checked:!!u,onChange:this.onChangeFixedLayout}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Header section"),checked:!(!m||!m.length),onChange:this.onToggleHeaderSection}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Footer section"),checked:!(!p||!p.length),onChange:this.onToggleFooterSection})),Object(J.createElement)(K.PanelColorSettings,{title:Object(Q.__)("Color settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:c,label:Object(Q.__)("Background color"),disableCustomColors:!0,colors:Vi}]})),Object(J.createElement)("figure",{className:n},Object(J.createElement)("table",{className:f},Object(J.createElement)(g,{name:"head",rows:m}),Object(J.createElement)(g,{name:"body",rows:d}),Object(J.createElement)(g,{name:"foot",rows:p})),Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:b,onChange:function(e){return a({caption:e})},unstableOnFocus:function(){return e.setState({selectedCell:null})}})))}}]),t}(J.Component),qi=Ui("backgroundColor")(Gi);var Wi=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},Zi={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:Wi(e)},tfoot:{allowEmpty:!0,children:Wi(e)},tbody:{allowEmpty:!0,children:Wi(e)}}}}}}]},Ki={name:"core/table",category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}}},$i=Ki.name,Yi={title:Object(Q.__)("Table"),description:Object(Q.__)("Insert a table — perfect for sharing charts and data."),icon:Ei,example:{attributes:{head:[{cells:[{content:Object(Q.__)("Version"),tag:"th"},{content:Object(Q.__)("Jazz Musician"),tag:"th"},{content:Object(Q.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(Q.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(Q.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(Q.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(Q.__)("Stripes")}],supports:{align:!0},transforms:Zi,edit:qi,save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,o=t.body,c=t.foot,a=t.backgroundColor,i=t.caption;if(!n.length&&!o.length&&!c.length)return null;var l=Object(K.getColorClassName)("background-color",a),s=re()(l,{"has-fixed-layout":r,"has-background":!!l}),u=!K.RichText.isEmpty(i),b=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(J.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(J.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,o=e.scope,c=e.align,a=re()(Object(Z.a)({},"has-text-align-".concat(c),c));return Object(J.createElement)(K.RichText.Content,{className:a||void 0,"data-align":c,tagName:n,value:r,key:t,scope:"th"===n?o:void 0})})))})))};return Object(J.createElement)("figure",null,Object(J.createElement)("table",{className:""===s?void 0:s},Object(J.createElement)(b,{type:"head",rows:n}),Object(J.createElement)(b,{type:"body",rows:o}),Object(J.createElement)(b,{type:"foot",rows:c})),u&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:xi};var Qi={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,r=e.columns,n=e.content,o=e.width;return Object($.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:r},n.map((function(e){var t=e.children;return Object($.createBlock)("core/column",{},[Object($.createBlock)("core/paragraph",{content:t})])})))}}]},Ji={name:"core/text-columns",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"}}},Xi=Ji.name,el={supports:{inserter:!1},title:Object(Q.__)("Text Columns (deprecated)"),description:Object(Q.__)("This block is deprecated. Please use the Columns block instead."),transforms:Qi,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=t.width,c=t.content,a=t.columns;return yi()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.BlockAlignmentToolbar,{value:o,onChange:function(e){return r({width:e})},controls:["center","wide","full"]})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,null,Object(J.createElement)(se.RangeControl,{label:Object(Q.__)("Columns"),value:a,onChange:function(e){return r({columns:e})},min:2,max:4,required:!0}))),Object(J.createElement)("div",{className:"".concat(n," align").concat(o," columns-").concat(a)},Object(Y.times)(a,(function(e){return Object(J.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(J.createElement)(K.RichText,{tagName:"p",value:Object(Y.get)(c,[e,"children"]),onChange:function(t){r({content:[].concat(Object(W.a)(c.slice(0,e)),[{children:t}],Object(W.a)(c.slice(e+1)))})},placeholder:Object(Q.__)("New Column")}))}))))},save:function(e){var t=e.attributes,r=t.width,n=t.content,o=t.columns;return Object(J.createElement)("div",{className:"align".concat(r," columns-").concat(o)},Object(Y.times)(o,(function(e){return Object(J.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(J.createElement)(K.RichText.Content,{tagName:"p",value:Object(Y.get)(n,[e,"children"])}))})))}},tl=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"})),rl=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content;return Object(J.createElement)(K.RichText.Content,{tagName:"pre",style:{textAlign:r},value:n})}}];var nl={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},ol={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}}},cl=ol.name,al={title:Object(Q.__)("Verse"),description:Object(Q.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:tl,example:{attributes:{content:Object(Q.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.")}},keywords:[Object(Q.__)("poetry"),Object(Q.__)("poem")],transforms:nl,deprecated:rl,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,o=e.mergeBlocks,c=t.textAlign,a=t.content;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.AlignmentToolbar,{value:c,onChange:function(e){r({textAlign:e})}})),Object(J.createElement)(K.RichText,{tagName:"pre",preserveWhiteSpace:!0,value:a,onChange:function(e){r({content:e})},placeholder:Object(Q.__)("Write…"),className:re()(n,Object(Z.a)({},"has-text-align-".concat(c),c)),onMerge:o}))},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content,o=re()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(J.createElement)(K.RichText.Content,{tagName:"pre",className:o,value:n})}},il=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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"})),ll=function(e){var t=e.setAttributes,r=e.attributes,n=r.autoplay,o=r.controls,c=r.loop,a=r.muted,i=r.playsInline,l=r.preload,s=function(e){return function(r){t(Object(Z.a)({},e,r))}};return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Autoplay"),onChange:s("autoplay"),checked:n,help:function(e){return e?Object(Q.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Loop"),onChange:s("loop"),checked:c}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Muted"),onChange:s("muted"),checked:a}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Playback controls"),onChange:s("controls"),checked:o}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Play inline"),onChange:s("playsInline"),checked:i}),Object(J.createElement)(se.SelectControl,{label:Object(Q.__)("Preload"),value:l,onChange:function(e){return t({preload:e})},options:[{value:"auto",label:Object(Q.__)("Auto")},{value:"metadata",label:Object(Q.__)("Metadata")},{value:"none",label:Object(Q.__)("None")}]}))},sl=["video"],ul=["image"],bl=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).videoPlayer=Object(J.createRef)(),e.posterImageButton=Object(J.createRef)(),e.onSelectURL=e.onSelectURL.bind(Object(Ne.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(Ne.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(Ne.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=e.noticeOperations,o=e.setAttributes,c=t.id,a=t.src,i=void 0===a?"":a;if(!c&&Object(Ae.isBlobURL)(i)){var l=Object(Ae.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(e){var t=Object(le.a)(e,1)[0].url;o({src:t})},onError:function(e){n.createErrorNotice(e)},allowedTypes:sl})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"onSelectURL",value:function(e){var t=this.props,r=t.attributes,n=t.setAttributes;if(e!==r.src){var o=lt({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);n({src:e,id:void 0})}}},{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:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this,t=this.props.attributes,r=t.id,n=t.caption,o=t.controls,c=t.poster,a=t.src,i=this.props,l=i.className,s=i.instanceId,u=i.isSelected,b=i.noticeUI,m=i.attributes,d=i.setAttributes,p=function(e){e&&e.url?d({src:e.url,id:e.id}):d({src:void 0,id:void 0})};if(!a)return Object(J.createElement)(K.MediaPlaceholder,{icon:Object(J.createElement)(K.BlockIcon,{icon:il}),className:l,onSelect:p,onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:sl,value:this.props.attributes,notices:b,onError:this.onUploadError});var h="video-block__poster-image-description-".concat(s);return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.BlockControls,null,Object(J.createElement)(K.MediaReplaceFlow,{mediaId:r,mediaURL:a,allowedTypes:sl,accept:"video/*",onSelect:p,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Video settings")},Object(J.createElement)(ll,{setAttributes:d,attributes:m}),Object(J.createElement)(K.MediaUploadCheck,null,Object(J.createElement)(se.BaseControl,{className:"editor-video-poster-control"},Object(J.createElement)(se.BaseControl.VisualLabel,null,Object(Q.__)("Poster image")),Object(J.createElement)(K.MediaUpload,{title:Object(Q.__)("Select poster image"),onSelect:this.onSelectPoster,allowedTypes:ul,render:function(t){var r=t.open;return Object(J.createElement)(se.Button,{isSecondary:!0,onClick:r,ref:e.posterImageButton,"aria-describedby":h},e.props.attributes.poster?Object(Q.__)("Replace image"):Object(Q.__)("Select Poster Image"))}}),Object(J.createElement)("p",{id:h,hidden:!0},this.props.attributes.poster?Object(Q.sprintf)(Object(Q.__)("The current poster image url is %s"),this.props.attributes.poster):Object(Q.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(J.createElement)(se.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(Q.__)("Remove Poster Image")))))),Object(J.createElement)("figure",{className:l},Object(J.createElement)(se.Disabled,null,Object(J.createElement)("video",{controls:o,poster:c,src:a,ref:this.videoPlayer})),(!K.RichText.isEmpty(n)||u)&&Object(J.createElement)(K.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:n,onChange:function(e){return d({caption:e})},inlineToolbar:!0})))}}]),t}(J.Component),ml=Object(ue.compose)([Object(be.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),se.withNotices,ue.withInstanceId])(bl);var dl={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($.createBlock)("core/video",{src:Object(Ae.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,r=t.src,n=t.mp4,o=t.m4v,c=t.webm,a=t.ogv,i=t.flv;return r||n||o||c||a||i}},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}}}}]},pl={name:"core/video",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"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"}}},hl=pl.name,gl={title:Object(Q.__)("Video"),description:Object(Q.__)("Embed a video from your media library or upload a new one."),icon:il,keywords:[Object(Q.__)("movie")],transforms:dl,supports:{align:!0},edit:ml,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,o=t.controls,c=t.loop,a=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object(J.createElement)("figure",null,s&&Object(J.createElement)("video",{autoPlay:r,controls:o,loop:c,muted:a,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!K.RichText.isEmpty(n)&&Object(J.createElement)(K.RichText.Content,{tagName:"figcaption",value:n}))}},fl=Object(J.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(J.createElement)(X.Path,{d:"M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})),Ol=function(e){function t(){var e;return Object(xe.a)(this,t),(e=Object(Pe.a)(this,Object(Te.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(Ne.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(Ne.a)(e)),e}return Object(Be.a)(t,e),Object(Se.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(Y.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(Q.__)("- Select -"),value:"",disabled:!0},r=Object(Y.map)(e,(function(e){return{value:e.slug,label:e.name}}));return[t].concat(Object(W.a)(r))}},{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,r=e.showTagCounts,n=this.getTaxonomyOptions(),o=Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.__)("Tag Cloud settings")},Object(J.createElement)(se.SelectControl,{label:Object(Q.__)("Taxonomy"),options:n,value:t,onChange:this.setTaxonomy}),Object(J.createElement)(se.ToggleControl,{label:Object(Q.__)("Show post counts"),checked:r,onChange:this.toggleShowTagCounts})));return Object(J.createElement)(J.Fragment,null,o,Object(J.createElement)(Tr.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(J.Component),vl=Object(be.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(Ol),jl="core/tag-cloud",yl={title:Object(Q.__)("Tag Cloud"),description:Object(Q.__)("A cloud of your most used tags."),icon:fl,category:"widgets",supports:{html:!1,align:!0},edit:vl},wl=Object(J.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.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(J.createElement)(X.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(J.createElement)(X.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(J.createElement)(X.Rect,{x:"17",y:"8",width:"2",height:"2"}));function kl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _l(e){for(var t=1;t1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(r.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===ir.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(Q._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(a,"has-advanced-toolbar",t)}}),e.on("init",(function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(a,"has-advanced-toolbar")})),e.addButton("wp_add_media",{tooltip:Object(Q.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",(function(){var e=r.editor.getBody();document.activeElement===e&&(e.blur(),r.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(J.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(Q.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(J.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(J.Component);var xl={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Sl=xl.name,Pl={title:Object(Q._x)("Classic","block title"),description:Object(Q.__)("Use the classic WordPress editor."),icon:wl,supports:{className:!1,customClassName:!1,reusable:!1},edit:El,save:function(e){var t=e.attributes.content;return Object(J.createElement)(J.RawHTML,null,t)}},Tl=["core/social-link"],Nl=[["core/social-link",{service:"wordpress",url:"https://wordpress.org"}],["core/social-link",{service:"facebook"}],["core/social-link",{service:"twitter"}],["core/social-link",{service:"instagram"}],["core/social-link",{service:"linkedin"}],["core/social-link",{service:"youtube"}]],Bl=function(e){var t=e.className;return Object(J.createElement)("div",{className:t},Object(J.createElement)(K.InnerBlocks,{allowedBlocks:Tl,templateLock:!1,template:Nl,__experimentalMoverDirection:"horizontal"}))};var Al={name:"core/social-links",category:"widgets",icon:"share",attributes:{}},Rl=Al.name,Ml={title:Object(Q.__)("Social Icons"),description:Object(Q.__)("Display icons linking to your social media profiles or websites."),keywords:[Object(Q._x)("links","block keywords")],supports:{align:["left","center","right"]},example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},styles:[{name:"default",label:Object(Q.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(Q.__)("Logos Only")},{name:"pill-shape",label:Object(Q.__)("Pill Shape")}],edit:Bl,save:function(e){var t=e.className;return Object(J.createElement)("ul",{className:t},Object(J.createElement)(K.InnerBlocks.Content,null))}},zl=r(192),Il=function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"}))},Ll=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(J.createElement)(X.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))}},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))}},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))}},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))}},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))}},{name:"chain",attributes:{service:"chain"},title:"Link",icon:Il},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))}},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))}},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))}},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))}},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))}},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))}},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))}},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))}},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))}},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))}},{name:"google",attributes:{service:"google"},title:"Google",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))}},{name:"github",attributes:{service:"github"},title:"GitHub",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))}},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))}},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M10.5002,0 C4.7006,0 0,4.70109753 0,10.4998496 C0,16.2989526 4.7006,21 10.5002,21 C16.299,21 21,16.2989526 21,10.4998496 C21,4.70109753 16.299,0 10.5002,0 Z M14.69735,14.7204413 C13.3164,14.7151781 12.4346,14.0870017 11.83445,12.6859357 L11.6816001,12.3451305 L10.35405,9.31011397 C9.92709997,8.26875064 8.85260001,7.57120012 7.68010001,7.57120012 C6.06945001,7.57120012 4.75925001,8.88509738 4.75925001,10.5009524 C4.75925001,12.1164565 6.06945001,13.4303036 7.68010001,13.4303036 C8.77200001,13.4303036 9.76514999,12.827541 10.2719501,11.8567047 C10.2893,11.8235214 10.3239,11.8019673 10.36305,11.8038219 C10.4007,11.8053759 10.43535,11.8287847 10.4504,11.8631709 L10.98655,13.1045863 C11.0016,13.1389726 10.9956,13.17782 10.97225,13.2068931 C10.1605001,14.1995341 8.96020001,14.7683115 7.68010001,14.7683115 C5.33305,14.7683115 3.42340001,12.8535563 3.42340001,10.5009524 C3.42340001,8.14679459 5.33300001,6.23203946 7.68010001,6.23203946 C9.45720002,6.23203946 10.8909,7.19074535 11.6138,8.86359341 C11.6205501,8.88018505 12.3412,10.5707777 12.97445,12.0190621 C13.34865,12.8739575 13.64615,13.3959676 14.6288,13.4291508 C15.5663001,13.4612814 16.25375,12.9121534 16.25375,12.1484869 C16.25375,11.4691321 15.8320501,11.3003585 14.8803,10.98216 C13.2365,10.4397989 12.34495,9.88605929 12.34495,8.51817658 C12.34495,7.1809207 13.26665,6.31615054 14.692,6.31615054 C15.62875,6.31615054 16.3155,6.7286858 16.79215,7.5768142 C16.80495,7.60062396 16.8079001,7.62814302 16.8004001,7.65420843 C16.7929,7.68027384 16.7748,7.70212868 16.7507001,7.713808 L15.86145,8.16900031 C15.8178001,8.19200805 15.7643,8.17807308 15.73565,8.13847371 C15.43295,7.71345711 15.0956,7.52513451 14.6423,7.52513451 C14.05125,7.52513451 13.6220001,7.92899802 13.6220001,8.48649708 C13.6220001,9.17382194 14.1529001,9.34144259 15.0339,9.61923972 C15.14915,9.65578139 15.26955,9.69397731 15.39385,9.73432853 C16.7763,10.1865133 17.57675,10.7311301 17.57675,12.1836251 C17.57685,13.629654 16.3389,14.7204413 14.69735,14.7204413 Z"}))}},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))}},{name:"mail",attributes:{service:"mail"},title:"Mail",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))}},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))}},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))}},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))}},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))}},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))}},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))}},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))}},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))}},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))}},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))}},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M16.749,17.396c-0.357,0.17-1.041,0.319-1.551,0.332c-1.539,0.041-1.837-1.081-1.85-1.896V9.847h3.861V6.937h-3.847V2.039 c0,0-2.77,0-2.817,0c-0.046,0-0.127,0.041-0.138,0.144c-0.165,1.499-0.867,4.13-3.783,5.181v2.484h1.945v6.282 c0,2.151,1.587,5.206,5.775,5.135c1.413-0.024,2.982-0.616,3.329-1.126L16.749,17.396z"}))}},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))}},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))}},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))}},{name:"vk",attributes:{service:"vk"},title:"VK",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))}},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))}},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:function(){return Object(J.createElement)(X.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(J.createElement)(X.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}}],Hl=function(e){var t,r,n=e.attributes,o=e.setAttributes,c=e.isSelected,a=n.url,i=n.service,l=n.label,s=Object(J.useState)(!1),u=Object(le.a)(s,2),b=u[0],m=u[1],d=re()("wp-social-link","wp-social-link-"+i,{"wp-social-link__is-incomplete":!a}),p=(t=i,(r=Object(Y.find)(Ll,{name:t}))?r.icon:Il),h=function(e){var t=Object(Y.find)(Ll,{name:e});return t?t.title:Object(Q.__)("Social Icon")}(i);return Object(J.createElement)(J.Fragment,null,Object(J.createElement)(K.InspectorControls,null,Object(J.createElement)(se.PanelBody,{title:Object(Q.sprintf)(Object(Q.__)("%s label"),h),initialOpen:!1},Object(J.createElement)(se.PanelRow,null,Object(J.createElement)(se.TextControl,{label:Object(Q.__)("Link label"),help:Object(Q.__)("Briefly describe the link to help screen reader users."),value:l,onChange:function(e){return o({label:e})}})))),Object(J.createElement)(se.Button,{className:d,onClick:function(){return m(!0)}},Object(J.createElement)(p,null),c&&b&&Object(J.createElement)(K.URLPopover,{onClose:function(){return m(!1)}},Object(J.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),m(!1)}},Object(J.createElement)("div",{className:"block-editor-url-input"},Object(J.createElement)(K.URLInput,{value:a,onChange:function(e){return o({url:e})},placeholder:Object(Q.__)("Enter address"),disableSuggestions:!0})),Object(J.createElement)(se.Button,{icon:zl.a,label:Object(Q.__)("Apply"),type:"submit"})))))},Dl={name:"core/social-link",category:"widgets",icon:"share",attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}}},Vl=Dl.name,Fl={title:Object(Q.__)("Social Icon"),parent:["core/social-links"],supports:{reusable:!1,html:!1},edit:Hl,description:Object(Q.__)("Display an icon linking to a social media profile or website."),variations:Ll};r.d(t,"registerCoreBlocks",(function(){return Gl})),r.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return ql}));var Ul=function(e){if(e){var t=e.metadata,r=e.settings,n=e.name;t&&Object($.unstable__bootstrapServerSideBlockDefinitions)(Object(Z.a)({},n,t)),Object($.registerBlockType)(n,r)}},Gl=function(){[n,o,c,i,_,a,M,l,s,u,b,m,d,p,h,g,f,O].concat(Object(W.a)(Xo),Object(W.a)(ec),[v,A,window.wp&&window.wp.oldEditor?U:null,j,y,w,k,C,E,x,S,P,N,B,R,T,G,q,z,I,L,F,H,D,V]).forEach(Ul),Object($.setDefaultBlockName)(ye),window.wp&&window.wp.oldEditor&&Object($.setFreeformContentHandlerName)(Sl),Object($.setUnregisteredTypeHandlerName)(ia),A&&Object($.setGroupingBlockName)(ei)},ql=void 0},43:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},46:function(e,t,r){e.exports=function(e,t){var r,n,o=0;function c(){var c,a,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(a=0;a1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=A(e,360),t=A(t,100),r=A(r,100),0===t)n=o=c=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=a(l,i,e+1/3),o=a(l,i,e),c=a(l,i,e-1/3)}return{r:255*n,g:255*o,b:255*c}}(e.h,n,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(r=e.a));var d,p,h;return r=B(r),{ok:b,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.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=r.ok,this._tc_id=i++}function d(e,t,r){e=A(e,255),t=A(t,255),r=A(r,255);var n,o,c=u(e,t,r),a=s(e,t,r),i=(c+a)/2;if(c==a)n=o=0;else{var l=c-a;switch(o=i>.5?l/(2-c-a):l/(c+a),c){case e:n=(t-r)/l+(t>1)+720)%360;--t;)n.h=(n.h+o)%360,c.push(m(n));return c}function P(e,t){t=t||6;for(var r=m(e).toHsv(),n=r.h,o=r.s,c=r.v,a=[],i=1/t;t--;)a.push(m({h:n,s:o,v:c})),c=(c+i)%1;return a}m.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,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.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*(r<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=B(e),this._roundA=l(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=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+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,r,n,o){var c=[z(l(e).toString(16)),z(l(t).toString(16)),z(l(r).toString(16)),z(L(n))];if(o&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1))return c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0);return c.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*A(this._r,255))+"%",g:l(100*A(this._g,255))+"%",b:l(100*A(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*A(this._r,255))+"%, "+l(100*A(this._g,255))+"%, "+l(100*A(this._b,255))+"%)":"rgba("+l(100*A(this._r,255))+"%, "+l(100*A(this._g,255))+"%, "+l(100*A(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=m(e);r="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return m(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(w,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(k,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(_,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:I(e[n]));e=r}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,r){r=0===r?0:r||50;var n=m(e).toRgb(),o=m(t).toRgb(),c=r/100;return m({r:(o.r-n.r)*c+n.r,g:(o.g-n.g)*c+n.g,b:(o.b-n.b)*c+n.b,a:(o.a-n.a)*c+n.a})},m.readability=function(e,t){var r=m(e),n=m(t);return(o.max(r.getLuminance(),n.getLuminance())+.05)/(o.min(r.getLuminance(),n.getLuminance())+.05)},m.isReadable=function(e,t,r){var n,o,c=m.readability(e,t);switch(o=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=c>=4.5;break;case"AAlarge":o=c>=3;break;case"AAAsmall":o=c>=7}return o},m.mostReadable=function(e,t,r){var n,o,c,a,i=null,l=0;o=(r=r||{}).includeFallbackColors,c=r.level,a=r.size;for(var s=0;sl&&(l=n,i=m(t[s]));return m.isReadable(e,i,{level:c,size:a})||!o?i:(r.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],r))};var T=m.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"},N=m.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(T);function B(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function A(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function R(e){return s(1,u(0,e))}function M(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function I(e){return e<=1&&(e=100*e+"%"),e}function L(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return M(e)/255}var D,V,F,U=(V="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",F="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+F),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 G(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(n=function(){return m}.call(t,r,t,e))||(e.exports=n)}(Math)},56:function(e,t){!function(){e.exports=this.wp.viewport}()},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},60:function(e,t){!function(){e.exports=this.wp.date}()},67:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},68:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},7:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},73:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},75:function(e,t){!function(){e.exports=this.wp.coreData}()},8:function(e,t){!function(){e.exports=this.wp.compose}()},85:function(e,t){!function(){e.exports=this.wp.autop}()},87:function(e,t,r){var n; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see diff --git a/wp-includes/post.php b/wp-includes/post.php index 1db655af68..4c1f388a45 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -3565,6 +3565,9 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) { function wp_insert_post( $postarr, $wp_error = false ) { global $wpdb; + // Capture original pre-sanitized array for passing into filters. + $unsanitized_postarr = $postarr; + $user_id = get_current_user_id(); $defaults = array( @@ -3889,21 +3892,27 @@ function wp_insert_post( $postarr, $wp_error = false ) { * Filters attachment post data before it is updated in or added to the database. * * @since 3.9.0 + * @since 5.4.1 `$unsanitized_postarr` argument added. * - * @param array $data An array of sanitized attachment post data. - * @param array $postarr An array of unsanitized attachment post data. + * @param array $data An array of slashed, sanitized, and processed attachment post data. + * @param array $postarr An array of slashed and sanitized attachment post data, but not processed. + * @param array $unsanitized_postarr An array of slashed yet *unsanitized* and unprocessed attachment post data + * as originally passed to wp_insert_post(). */ - $data = apply_filters( 'wp_insert_attachment_data', $data, $postarr ); + $data = apply_filters( 'wp_insert_attachment_data', $data, $postarr, $unsanitized_postarr ); } else { /** * Filters slashed post data just before it is inserted into the database. * * @since 2.7.0 + * @since 5.4.1 `$unsanitized_postarr` argument added. * - * @param array $data An array of slashed post data. - * @param array $postarr An array of sanitized, but otherwise unmodified post data. + * @param array $data An array of slashed, sanitized, and processed post data. + * @param array $postarr An array of sanitized (and slashed) but otherwise unmodified post data. + * @param array $unsanitized_postarr An array of slashed yet *unsanitized* and unprocessed post data as + * originally passed to wp_insert_post(). */ - $data = apply_filters( 'wp_insert_post_data', $data, $postarr ); + $data = apply_filters( 'wp_insert_post_data', $data, $postarr, $unsanitized_postarr ); } $data = wp_unslash( $data ); $where = array( 'ID' => $post_ID ); diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-controller.php index d9d60d2ee9..b9c05eb894 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-controller.php @@ -451,7 +451,7 @@ protected function add_additional_fields_to_object( $prepared, $request ) { continue; } - if ( ! in_array( $field_name, $requested_fields, true ) ) { + if ( ! rest_is_field_included( $field_name, $requested_fields ) ) { continue; } diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php index 345dcd1596..cc1945ae9d 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php @@ -384,16 +384,6 @@ public function get_item( $request ) { return $parent; } - $parent_post_type = get_post_type_object( $parent->post_type ); - - if ( ! current_user_can( $parent_post_type->cap->delete_post, $parent->ID ) ) { - return new WP_Error( - 'rest_cannot_delete', - __( 'Sorry, you are not allowed to delete revisions of this post.' ), - array( 'status' => rest_authorization_required_code() ) - ); - } - $revision = $this->get_revision( $request['id'] ); if ( is_wp_error( $revision ) ) { return $revision; @@ -417,6 +407,16 @@ public function delete_item_permissions_check( $request ) { return $parent; } + $parent_post_type = get_post_type_object( $parent->post_type ); + + if ( ! current_user_can( $parent_post_type->cap->delete_post, $parent->ID ) ) { + return new WP_Error( + 'rest_cannot_delete', + __( 'Sorry, you are not allowed to delete revisions of this post.' ), + array( 'status' => rest_authorization_required_code() ) + ); + } + $revision = $this->get_revision( $request['id'] ); if ( is_wp_error( $revision ) ) { return $revision; @@ -446,7 +446,7 @@ public function delete_item_permissions_check( $request ) { * @since 4.7.0 * * @param WP_REST_Request $request Full details about the request. - * @return true|WP_Error True on success, or WP_Error object on failure. + * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ public function delete_item( $request ) { $revision = $this->get_revision( $request['id'] ); diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 370cb46ad5..8d6dbd4298 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -4248,24 +4248,26 @@ function get_term_link( $term, $taxonomy = '' ) { * Filters the tag link. * * @since 2.3.0 - * @deprecated 2.5.0 Use {@see 'term_link'} instead. + * @since 2.5.0 Deprecated in favor of {@see 'term_link'} filter. + * @since 5.4.1 Restored (un-deprecated). * * @param string $termlink Tag link URL. * @param int $term_id Term ID. */ - $termlink = apply_filters_deprecated( 'tag_link', array( $termlink, $term->term_id ), '2.5.0', 'term_link' ); + $termlink = apply_filters( 'tag_link', $termlink, $term->term_id ); } elseif ( 'category' === $taxonomy ) { /** * Filters the category link. * * @since 1.5.0 - * @deprecated 2.5.0 Use {@see 'term_link'} instead. + * @since 2.5.0 Deprecated in favor of {@see 'term_link'} filter. + * @since 5.4.1 Restored (un-deprecated). * * @param string $termlink Category link URL. * @param int $term_id Term ID. */ - $termlink = apply_filters_deprecated( 'category_link', array( $termlink, $term->term_id ), '2.5.0', 'term_link' ); + $termlink = apply_filters( 'category_link', $termlink, $term->term_id ); } /** diff --git a/wp-includes/user.php b/wp-includes/user.php index f0cc8c33bd..723d543544 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -1803,7 +1803,7 @@ function wp_insert_user( $userdata ) { } if ( $update ) { - if ( $user_email !== $old_user_data->user_email ) { + if ( $user_email !== $old_user_data->user_email || $user_pass !== $old_user_data->user_pass ) { $data['user_activation_key'] = ''; } $wpdb->update( $wpdb->users, $data, compact( 'ID' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 2914573ed1..787eaf54f1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4'; +$wp_version = '5.4.1'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-mail.php b/wp-mail.php index 02635157c5..1d5fbedf03 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -213,7 +213,7 @@ $post_title = xmlrpc_getposttitle( $content ); - if ( '' === $post_title ) { + if ( '' === trim( $post_title ) ) { $post_title = $subject; } diff --git a/wp-settings.php b/wp-settings.php index a7b9251e88..ca6531cdfa 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -365,12 +365,6 @@ wp_recovery_mode()->initialize(); } -// Create an instance of WP_Site_Health so that Cron events may fire. -if ( ! class_exists( 'WP_Site_Health' ) ) { - require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php'; -} -WP_Site_Health::get_instance(); - // Load active plugins. foreach ( wp_get_active_and_valid_plugins() as $plugin ) { wp_register_plugin_realpath( $plugin ); @@ -523,6 +517,12 @@ */ do_action( 'after_setup_theme' ); +// Create an instance of WP_Site_Health so that Cron events may fire. +if ( ! class_exists( 'WP_Site_Health' ) ) { + require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php'; +} +WP_Site_Health::get_instance(); + // Set up current user. $GLOBALS['wp']->init();