Full Site Editing - Version 3.6512

Version Description

Download this release

Release Info

Developer julesaus
Plugin Icon wp plugin Full Site Editing
Version 3.6512
Comparing to
See all releases

Code changes from version 3.6384 to 3.6512

full-site-editing-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
- * Version: 3.6384
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
@@ -42,7 +42,7 @@ namespace A8C\FSE;
42
  *
43
  * @var string
44
  */
45
- define( 'A8C_ETK_PLUGIN_VERSION', '3.6384' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
+ * Version: 3.6512
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
42
  *
43
  * @var string
44
  */
45
+ define( 'A8C_ETK_PLUGIN_VERSION', '3.6512' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
- Stable tag: 3.6384
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
+ Stable tag: 3.6512
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
starter-page-templates/dist/starter-page-templates.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins', 'wp-polyfill'), 'version' => '05d27d6d2fbea12e1598997ca526956d');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => '7f2b6742e9fe4ad7da39afe58b12ac56');
starter-page-templates/dist/starter-page-templates.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@media screen and (min-width:600px){.page-pattern-modal{width:calc(100% - 32px);height:90vh;overflow-y:hidden;padding-bottom:24px}.page-pattern-modal .components-modal__content{padding:0 32px 24px}}@media screen and (min-width:961px){.page-pattern-modal{width:calc(100% - 64px)}}.page-pattern-modal .components-modal__content{overflow-y:scroll;-webkit-overflow-scrolling:touch;margin-top:-1px;padding:0 16px 16px}.page-pattern-modal .components-modal__header{border-bottom:none;margin-right:-16px}.page-pattern-modal__heading{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;margin:0;font-size:2rem;line-height:1.25}@media screen and (min-width:600px){.page-pattern-modal__heading{font-size:2.25rem;line-height:1.1}}@media screen and (min-width:961px){.page-pattern-modal__heading{font-size:3rem;line-height:1.35}}.page-pattern-modal__description{color:#646970;margin:0 0 24px;font-size:1rem;line-height:1.5}@media screen and (min-width:600px){.page-pattern-modal__inner{padding:0 20px}}.pattern-selector-control{margin-bottom:20px}.pattern-selector-control .components-base-control__label{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.pattern-selector-control__options{display:grid;grid-template-columns:1fr;column-gap:1.5em;row-gap:3em}@media screen and (min-width:600px){.pattern-selector-control__options{margin-top:0;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media screen and (min-width:1648px){.pattern-selector-control__options{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}}@media screen and (min-width:2000px){.pattern-selector-control__options{grid-template-columns:repeat(auto-fill,minmax(500px,1fr))}}.pattern-selector-item__label{display:block;width:100%;text-align:center;border:none;cursor:pointer;appearance:none;padding:0;overflow:hidden;background-color:#fff;position:relative;transform:translateZ(0);color:#50575e}.pattern-selector-item__label:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent}.pattern-selector-item__label:hover{color:var(--color-text)}.pattern-selector-item__label:hover .pattern-selector-item__preview-wrap{border:1px solid #646970}.pattern-selector-item__preview-wrap{width:100%;display:block;background:#fff;border-radius:0;overflow:hidden;height:0;padding-top:65%;position:relative;pointer-events:none;opacity:1;transform:translateZ(0);border:1px solid #dcdcde;margin:0 auto 1em}.pattern-selector-item__preview-wrap.is-rendering{opacity:.5}.pattern-selector-item__media{width:100%;height:100%;display:block;position:absolute;top:0;left:0;object-fit:cover}@media screen and (min-width:600px){.page-pattern-modal__sidebar{position:fixed;width:230px;padding-right:22px;pointer-events:none}.page-pattern-modal__sidebar>*{pointer-events:auto}.page-pattern-modal__sidebar .page-pattern-modal__category-list{pointer-events:none}.page-pattern-modal__sidebar .page-pattern-modal__category-list .page-pattern-modal__category-button{pointer-events:auto}}@media screen and (min-width:961px){.page-pattern-modal__sidebar{width:324px;padding-right:48px}}.page-pattern-modal__category-list{display:none;margin:0;padding-top:35px}@media screen and (min-width:600px){.page-pattern-modal__category-list{display:block}}.page-pattern-modal__category-list .components-button.is-tertiary{display:block;width:auto;height:auto;color:#50575e;font-size:.875rem;margin-left:-12px;padding:6px 12px;box-shadow:none}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):hover{box-shadow:none;color:var(--color-text)!important}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):active{background:transparent}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.page-pattern-modal__category-list .page-pattern-modal__category-item-selection-wrapper{border-bottom:2px solid transparent;padding-bottom:2px}.page-pattern-modal__category-list .components-menu-item__button:not(:disabled)[aria-selected=true]{color:var(--color-text);font-weight:600}.page-pattern-modal__category-list .components-menu-item__button:not(:disabled)[aria-selected=true] .page-pattern-modal__category-item-selection-wrapper{border-bottom-color:var(--color-text)}.page-pattern-modal__button-container{display:grid;grid-template-columns:1fr 1fr;column-gap:8px}@media screen and (min-width:600px){.page-pattern-modal__button-container{display:inline}}.components-button.page-pattern-modal__blank-button{min-height:40px;box-shadow:inset 0 0 0 1px #dcdcde;color:var(--color-text)}.components-button.page-pattern-modal__blank-button:active{color:var(--color-text)}.components-button.page-pattern-modal__blank-button.is-secondary:hover:not(:disabled){box-shadow:inset 0 0 0 1px #646970;color:var(--color-text)}.components-button.page-pattern-modal__blank-button.is-secondary:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.page-pattern-modal__blank-button.is-secondary:hover:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.wp-core-ui select.page-pattern-modal__mobile-category-dropdown{font-size:13px;border-color:#dcdcde}@media screen and (min-width:600px){.wp-core-ui select.page-pattern-modal__mobile-category-dropdown{display:none}}@media screen and (min-width:600px){.page-pattern-modal__pattern-list-container{padding-left:230px}}@media screen and (min-width:961px){.page-pattern-modal__pattern-list-container{padding-left:324px}}.sidebar-modal-opener{display:flex;flex-direction:column;align-items:center;justify-content:center}.sidebar-modal-opener .pattern-selector-item__label{max-width:300px}.sidebar-modal-opener__warning-modal{display:flex;flex-direction:column;justify-content:center;align-items:center}.sidebar-modal-opener__warning-text{max-width:300px;font-size:1rem;line-height:1.5rem}.sidebar-modal-opener__warning-options{float:right;margin-top:20px}.sidebar-modal-opener__warning-options .components-button{margin-left:12px}
1
+ @keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.mshots-image__loader{animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f0f0f0;color:transparent}.mshots-image__loader:after{content:"\00a0"}.mshots-image__container{height:100%}.hover-scroll{background-size:100%;background-position:top;background-repeat:no-repeat;margin-left:auto;margin-right:auto}.hover-scroll:hover{background-position:bottom}.mshots-image-visible{animation:fadein 1.5s}@keyframes fadein{0%{opacity:0}to{opacity:1}}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@media screen and (min-width:600px){.page-pattern-modal{width:calc(100% - 32px);height:90vh;overflow-y:hidden;padding-bottom:24px}.page-pattern-modal .components-modal__content{padding:0 32px 24px}}@media screen and (min-width:961px){.page-pattern-modal{width:calc(100% - 64px)}}.page-pattern-modal .components-modal__content{overflow-y:scroll;-webkit-overflow-scrolling:touch;margin-top:-1px;padding:0 16px 16px}.page-pattern-modal .components-modal__header{border-bottom:none;margin-right:-16px}.page-pattern-modal__heading{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;margin:0;font-size:2rem;line-height:1.25}@media screen and (min-width:600px){.page-pattern-modal__heading{font-size:2.25rem;line-height:1.1}}@media screen and (min-width:961px){.page-pattern-modal__heading{font-size:3rem;line-height:1.35}}.page-pattern-modal__description{color:#646970;margin:0 0 24px;font-size:1rem;line-height:1.5}@media screen and (min-width:600px){.page-pattern-modal__inner{padding:0 20px}}.pattern-selector-control{margin-bottom:20px}.pattern-selector-control .components-base-control__label{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.pattern-selector-control__options{display:grid;grid-template-columns:1fr;column-gap:1.5em;row-gap:3em}@media screen and (min-width:600px){.pattern-selector-control__options{margin-top:0;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media screen and (min-width:1648px){.pattern-selector-control__options{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}}@media screen and (min-width:2000px){.pattern-selector-control__options{grid-template-columns:repeat(auto-fill,minmax(500px,1fr))}}.pattern-selector-item__label{display:block;width:100%;text-align:center;border:none;cursor:pointer;appearance:none;padding:0;overflow:hidden;background-color:#fff;position:relative;transform:translateZ(0);color:#50575e}.pattern-selector-item__label:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent}.pattern-selector-item__label:hover{color:var(--color-text)}.pattern-selector-item__label:hover .pattern-selector-item__preview-wrap{border:1px solid #646970}.pattern-selector-item__preview-wrap{width:100%;display:block;background:#fff;border-radius:0;overflow:hidden;height:0;padding-top:65%;position:relative;opacity:1;transform:translateZ(0);border:1px solid #dcdcde;margin:0 auto 1em}.pattern-selector-item__preview-wrap.is-rendering{opacity:.5}.pattern-selector-item__media,.pattern-selector-item__preview-wrap-inner-position{position:absolute;top:0;left:0;width:100%;height:100%}.pattern-selector-item__media{display:block;object-fit:cover}@media screen and (min-width:600px){.page-pattern-modal__sidebar{position:fixed;width:230px;padding-right:22px;pointer-events:none}.page-pattern-modal__sidebar>*{pointer-events:auto}.page-pattern-modal__sidebar .page-pattern-modal__category-list{pointer-events:none}.page-pattern-modal__sidebar .page-pattern-modal__category-list .page-pattern-modal__category-button{pointer-events:auto}}@media screen and (min-width:961px){.page-pattern-modal__sidebar{width:324px;padding-right:48px}}.page-pattern-modal__category-list{display:none;margin:0;padding-top:35px}@media screen and (min-width:600px){.page-pattern-modal__category-list{display:block}}.page-pattern-modal__category-list .components-button.is-tertiary{display:block;width:auto;height:auto;color:#50575e;font-size:.875rem;margin-left:-12px;padding:6px 12px;box-shadow:none}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):hover{box-shadow:none;color:var(--color-text)!important}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):active{background:transparent}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.page-pattern-modal__category-list .page-pattern-modal__category-item-selection-wrapper{border-bottom:2px solid transparent;padding-bottom:2px}.page-pattern-modal__category-list .components-menu-item__button:not(:disabled)[aria-selected=true]{color:var(--color-text);font-weight:600}.page-pattern-modal__category-list .components-menu-item__button:not(:disabled)[aria-selected=true] .page-pattern-modal__category-item-selection-wrapper{border-bottom-color:var(--color-text)}.page-pattern-modal__button-container{display:grid;grid-template-columns:1fr 1fr;column-gap:8px}@media screen and (min-width:600px){.page-pattern-modal__button-container{display:inline}}.components-button.page-pattern-modal__blank-button{min-height:40px;box-shadow:inset 0 0 0 1px #dcdcde;color:var(--color-text)}.components-button.page-pattern-modal__blank-button:active{color:var(--color-text)}.components-button.page-pattern-modal__blank-button.is-secondary:hover:not(:disabled){box-shadow:inset 0 0 0 1px #646970;color:var(--color-text)}.components-button.page-pattern-modal__blank-button.is-secondary:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.page-pattern-modal__blank-button.is-secondary:hover:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.wp-core-ui select.page-pattern-modal__mobile-category-dropdown{font-size:13px;border-color:#dcdcde}@media screen and (min-width:600px){.wp-core-ui select.page-pattern-modal__mobile-category-dropdown{display:none}}@media screen and (min-width:600px){.page-pattern-modal__pattern-list-container{padding-left:230px}}@media screen and (min-width:961px){.page-pattern-modal__pattern-list-container{padding-left:324px}}.sidebar-modal-opener{display:flex;flex-direction:column;align-items:center;justify-content:center}.sidebar-modal-opener .pattern-selector-item__label{max-width:300px}.sidebar-modal-opener__warning-modal{display:flex;flex-direction:column;justify-content:center;align-items:center}.sidebar-modal-opener__warning-text{max-width:300px;font-size:1rem;line-height:1.5rem}.sidebar-modal-opener__warning-options{float:right;margin-top:20px}.sidebar-modal-opener__warning-options .components-button{margin-left:12px}
starter-page-templates/dist/starter-page-templates.js CHANGED
@@ -1 +1,6 @@
1
- !function(){"use strict";var e={357:function(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},507:function(e,t,n){function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},989:function(e,t,n){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,{Z:function(){return r}})},659:function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},730:function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return o}})},54:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(237);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){u=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw i}}}}},49:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(630),o=n(733),a=n(591);function i(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,a.Z)(this,n)}}},119:function(e,t,n){function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},560:function(e,t,n){function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},630:function(e,t,n){function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},663:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(938);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},733:function(e,t,n){function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},483:function(e,t,n){function r(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],_n=!0,i=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(c){i=!0,o=c}finally{try{_n||null==n.return||n.return()}finally{if(i)throw o}}return a}}n.d(t,{Z:function(){return r}})},7:function(e,t,n){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},394:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(119);function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},530:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(283);function o(e,t){if(null==e)return{};var n,o,a=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},283:function(e,t,n){function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},591:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(929),o=n(989);function a(e,t){return!t||"object"!==(0,r.Z)(t)&&"function"!=typeof t?(0,o.Z)(e):t}},938:function(e,t,n){function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},258:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(507),o=n(483),a=n(237),i=n(7);function c(e,t){return(0,r.Z)(e)||(0,o.Z)(e,t)||(0,a.Z)(e,t)||(0,i.Z)()}},929:function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},237:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(357);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},89:function(){},28:function(e,t,n){n.d(t,{P:function(){return p}});var r=n(560),o=n(394),a=n(27),i=(n(742),n(707)),c=n(799),u=n(18),l="isInsertingPagePattern",s="automattic/full-site-editing/inserting-pattern";function p(e){var t=(0,i.useDispatch)("automattic/starter-page-layouts").setOpenState,n=(0,i.useDispatch)("core/block-editor").replaceInnerBlocks,p=(0,i.useDispatch)("core/editor").editPost,f=(0,i.useDispatch)("core/edit-post").toggleFeature,d=(0,i.useDispatch)("core/nux").disableTips,m=(0,i.useSelect)((function(e){return{isOpen:(0,e("automattic/starter-page-layouts").isOpen)(),isWelcomeGuideActive:e("core/edit-post").isFeatureActive("welcomeGuide"),areTipsEnabled:!!e("core/nux")&&e("core/nux").areTipsEnabled()}})),g=(0,i.useSelect)((function(e){return{getMeta:function(){return e("core/editor").getEditedPostAttribute("meta")},postContentBlock:e("core/editor").getBlocks().find((function(e){return"a8c/post-content"===e.name}))}})),v=g.getMeta,y=g.postContentBlock,b=(0,a.useCallback)((function(e){var t=v();p({meta:(0,o.Z)((0,o.Z)({},t),{},{_starter_page_template:e})})}),[p,v]),h=(0,a.useCallback)((function(e,t){(0,c.addFilter)(l,s,(function(){return!0})),e&&p({title:e}),n(y?y.clientId:"",t,!1),(0,c.removeFilter)(l,s)}),[p,y,n]),_=m.isWelcomeGuideActive,w=m.areTipsEnabled,Z=(0,a.useCallback)((function(){_?f("welcomeGuide"):w&&d()}),[w,d,_,f]);return(0,a.createElement)(u.Z,(0,r.Z)({},m,{setOpenState:t,savePatternChoice:b,insertPattern:h,hideWelcomeGuide:Z},e))}},168:function(e,t,n){var r=n(530),o=n(707);(0,o.registerStore)("automattic/starter-page-layouts",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"CLOSED",t=arguments.length>1?arguments[1]:void 0,n=t.type,o=(0,r.Z)(t,["type"]);return"SET_IS_OPEN"===n?o.openState:e},actions:{setOpenState:function(e){return{type:"SET_IS_OPEN",openState:e||"CLOSED"}}},selectors:{isOpen:function(e){return"CLOSED"!==e}}})},18:function(e,t,n){var r=n(258),o=n(54),a=n(659),i=n(730),c=n(989),u=n(663),l=n(49),s=n(119),p=n(27),f=n(804),d=n(163),m=n(997),g=n(314),v=n(417),y=n(958),b=n(884),h=n(656),_=n(480),w=n(531),Z=n(988),__=d.__,O=function(e){(0,u.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,a.Z)(this,n),r=t.call(this,e),(0,s.Z)((0,c.Z)(r),"getBlocksByPatternSlugs",(0,f.memoize)((function(e){var t=e.reduce((function(e,t){var n=t.name,o=t.html;return e[n]=o?(0,g.parse)((0,h.Z)(o,r.props.siteInformation)):[],e}),{});return r.filterPatternsWithMissingBlocks(t)}))),(0,s.Z)((0,c.Z)(r),"getBlocksForSelection",(function(e){var t=r.getBlocksByPatternSlug(e);return(0,_.Z)(t,(function(e){return"core/button"===e.name&&void 0!==e.attributes.url&&(e.attributes.url="#"),e}))})),(0,s.Z)((0,c.Z)(r),"setPattern",(function(e){if((0,b.E2)(e),r.props.savePatternChoice(e),"blank"===e)return r.props.insertPattern("",[]),void r.props.setOpenState(!1);var t=r.props.patterns.find((function(t){return t.name===e})),n=((null==t?void 0:t.categories)||{}).hasOwnProperty("home"),o=r.getBlocksForSelection(e),a=n?null:(null==t?void 0:t.title)||"";o&&o.length?(r.props.insertPattern(a,o),r.props.setOpenState(!1)):r.props.setOpenState(!1)})),(0,s.Z)((0,c.Z)(r),"handleCategorySelection",(function(e){r.setState({selectedCategory:e})})),(0,s.Z)((0,c.Z)(r),"closeModal",(function(){(0,b.GI)(),r.props.setOpenState(!1)})),(0,s.Z)((0,c.Z)(r),"getPatternGroups",(function(){if(!r.props.patterns.length)return null;var e,t={},n=(0,o.Z)(r.props.patterns);try{for(n.s();!(e=n.n()).done;){var a=e.value;for(var i in a.categories)i in t||(t[i]=a.categories[i])}}catch(c){n.e(c)}finally{n.f()}return(0,Z.x)(["featured","about","blog","home","gallery","services","contact"],t)})),(0,s.Z)((0,c.Z)(r),"getPatternsForGroup",(function(e){if(!r.props.patterns.length)return null;if("blank"===e)return[{name:"blank",title:"Blank",html:"",ID:null}];var t,n=[],a=(0,o.Z)(r.props.patterns);try{for(a.s();!(t=a.n()).done;){var i=t.value;for(var c in i.categories)c===e&&n.push(i)}}catch(u){a.e(u)}finally{a.f()}return n})),(0,s.Z)((0,c.Z)(r),"getPatternCategories",(function(){var e=r.getPatternGroups();if(!e)return null;var t=[];for(var n in e)t.push({slug:n,name:e[n].title});return t})),(0,s.Z)((0,c.Z)(r),"renderPatternGroup",(function(){var e,t,n=r.state.selectedCategory;if(!n)return null;var o=r.getPatternsForGroup(n);if(null==o||!o.length)return null;var a=null===(e=r.getPatternGroups())||void 0===e||null===(t=e[n])||void 0===t?void 0:t.title;return r.renderPatternsList(o,a)})),(0,s.Z)((0,c.Z)(r),"renderPatternsList",(function(e,t){if(!e.length)return null;var n,o=r.getBlocksByPatternSlugs(r.props.patterns),a=Object.keys(o),i=(n=a,e.filter((function(e){return n.includes(e.name)})));return i.length?(0,p.createElement)(y.Z,{label:__("Layout","full-site-editing"),legendLabel:t,patterns:i,onPatternSelect:r.setPattern,theme:r.props.theme,locale:r.props.locale,siteInformation:r.props.siteInformation}):null})),r.state={selectedCategory:r.getDefaultSelectedCategory()},r}return(0,i.Z)(n,[{key:"filterPatternsWithMissingBlocks",value:function(e){return Object.entries(e).reduce((function(e,t){var n=(0,r.Z)(t,2),o=n[0],a=n[1];return(0,w.Z)(a)&&a.length||(e[o]=a),e}),{})}},{key:"componentDidMount",value:function(){this.props.isOpen&&this.trackCurrentView()}},{key:"componentDidUpdate",value:function(e){!e.isOpen&&this.props.isOpen&&this.trackCurrentView(),(this.props.isWelcomeGuideActive||this.props.areTipsEnabled)&&this.props.hideWelcomeGuide()}},{key:"trackCurrentView",value:function(){(0,b.Fk)("add-page")}},{key:"getDefaultSelectedCategory",value:function(){var e=this.getPatternCategories();return null!=e&&e.length?e[0].slug:null}},{key:"getBlocksByPatternSlug",value:function(e){var t,n;return null!==(t=null===(n=this.getBlocksByPatternSlugs(this.props.patterns))||void 0===n?void 0:n[e])&&void 0!==t?t:[]}},{key:"render",value:function(){var e,t,n=this,r=this.state.selectedCategory,o=this.props,a=o.isOpen,i=o.instanceId;return a?(0,p.createElement)(m.Modal,{title:"",className:"page-pattern-modal",onRequestClose:this.closeModal,aria:{labelledby:"page-pattern-modal__heading-".concat(i),describedby:"page-pattern-modal__description-".concat(i)}},(0,p.createElement)("div",{className:"page-pattern-modal__inner"},(0,p.createElement)("div",{className:"page-pattern-modal__sidebar"},(0,p.createElement)("h1",{id:"page-pattern-modal__heading-".concat(i),className:"page-pattern-modal__heading"},__("Add a page","full-site-editing")),(0,p.createElement)("p",{id:"page-pattern-modal__description-".concat(i),className:"page-pattern-modal__description"},__("Pick a pre-defined layout or start with a blank page.","full-site-editing")),(0,p.createElement)("div",{className:"page-pattern-modal__button-container"},(0,p.createElement)(m.Button,{isSecondary:!0,onClick:function(){return n.setPattern("blank")},className:"page-pattern-modal__blank-button"},__("Blank page","full-site-editing")),(0,p.createElement)("select",{className:"page-pattern-modal__mobile-category-dropdown",value:null!=r?r:void 0,onChange:function(e){return n.handleCategorySelection(e.currentTarget.value)}},null===(e=this.getPatternCategories())||void 0===e?void 0:e.map((function(e){var t=e.slug,n=e.name;return(0,p.createElement)("option",{key:t,value:t},n)})))),(0,p.createElement)(m.VisuallyHidden,{as:"h2",id:"page-pattern-modal__list-heading-".concat(i)},__("Page categories","full-site-editing")),(0,p.createElement)(m.NavigableMenu,{className:"page-pattern-modal__category-list",orientation:"vertical","aria-labelledby":"page-pattern-modal__list-heading-".concat(i),onNavigate:function(e,t){var r;return n.handleCategorySelection(null!==(r=t.dataset.slug)&&void 0!==r?r:null)}},null===(t=this.getPatternCategories())||void 0===t?void 0:t.map((function(e){var t=e.slug,o=e.name;return(0,p.createElement)(m.MenuItem,{key:t,isTertiary:!0,"aria-selected":t===r,"data-slug":t,onClick:function(){return n.handleCategorySelection(t)},className:"page-pattern-modal__category-button",tabIndex:t===r?void 0:-1},(0,p.createElement)("span",{className:"page-pattern-modal__category-item-selection-wrapper"},o))})))),(0,p.createElement)("div",{className:"page-pattern-modal__pattern-list-container"},this.renderPatternGroup()))):null}}]),n}(p.Component);t.Z=(0,v.withInstanceId)(O)},958:function(e,t,n){var r=n(27),o=n(997),a=n(695),i=n(656),c=n(417),u=function(){};t.Z=(0,r.memo)((0,c.withInstanceId)((function(e){var t=e.instanceId,n=e.label,c=e.legendLabel,l=e.patterns,s=void 0===l?[]:l,p=e.theme,f=void 0===p?"maywood":p,d=e.locale,m=void 0===d?"en":d,g=e.onPatternSelect,v=void 0===g?u:g,y=e.siteInformation,b=void 0===y?{}:y;return Array.isArray(s)&&s.length?(0,r.createElement)(o.BaseControl,{id:"pattern-selector-control__".concat(t),label:n,className:"pattern-selector-control"},(0,r.createElement)("ul",{className:"pattern-selector-control__options","data-testid":"pattern-selector-control-options","aria-label":c},s.map((function(e){var t=e.ID,n=e.name,o=e.title,u=e.description;return(0,r.createElement)("li",{key:"".concat(t,"-").concat(n,"-").concat(c)},(0,r.createElement)(a.Z,{value:n,title:(0,i.Z)(o,b),description:u,onSelect:v,patternPostID:t,theme:f,locale:m}))})))):null})))},695:function(e,t,n){var r=n(27);t.Z=function(e){var t=e.value,n=e.onSelect,o=e.title,a=e.description,i=e.theme,c=e.locale,u=e.patternPostID;if(null==o||null==t)return null;var l="".concat("https://public-api.wordpress.com/rest/v1/template/demo/").concat(encodeURIComponent(i),"/").concat(encodeURIComponent("dotcompatterns.wordpress.com"),"/?post_id=").concat(encodeURIComponent(null!=u?u:""),"&language=").concat(encodeURIComponent(c)),s="https://s0.wordpress.com/mshots/v1/"+encodeURIComponent(l)+"?vpw=1024&vph=1024&w=660&h=430",p=(0,r.createElement)("img",{className:"pattern-selector-item__media",src:s,alt:o,onLoad:function(e){var t=e.currentTarget;-1===t.src.indexOf("reload=1")&&setTimeout((function(){t.src=t.src+"&reload=1"}),1e4)}});return(0,r.createElement)("button",{type:"button",className:"pattern-selector-item__label",value:t,onClick:function(){return n(t)}},(0,r.createElement)("span",{className:"pattern-selector-item__preview-wrap"},p),a)}},531:function(e,t){t.Z=function e(t){return!!t.find((function(t){return"core/missing"===t.name||!(!t.innerBlocks||!t.innerBlocks.length)&&e(t.innerBlocks)}))}},988:function(e,t,n){function r(e,t){var n=Object.keys(t),r=e.filter((function(e){return n.includes(e)})),o=n.filter((function(t){return!e.includes(t)}));return r.concat(o.sort()).reduce((function(e,n){return e[n]=t[n],e}),{})}n.d(t,{x:function(){return r}})},480:function(e,t,n){var r=n(314);t.Z=function e(t,n){return t.map((function(t){return(t=n((0,r.cloneBlock)(t))).innerBlocks&&t.innerBlocks.length&&(t.innerBlocks=e(t.innerBlocks,n)),t}))}},656:function(e,t,n){var r=n(163),_x=r._x,o={Address:_x("123 Main St","default address","full-site-editing"),Phone:_x("555-555-5555","default phone number","full-site-editing"),CompanyName:_x("Your Company Name","default company name","full-site-editing"),Vertical:_x("Business","default vertical name","full-site-editing")},a={CompanyName:"title",Address:"address",Phone:"phone",Vertical:"vertical"};function i(e,t){return e in t}t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e?e.replace(/{{(\w+)}}/g,(function(e,n){var r=i(n,o)?o[n]:"",c=i(n,a)?a[n]:"";return t[c]||r||n})):""}},884:function(e,t,n){n.d(t,{Z:function(){return o},Fk:function(){return a},GI:function(){return i},E2:function(){return c}}),window._tkq=window._tkq||[];var r=null,o=function(e){r=e,window._tkq.push(["identifyUser",e.userid,e.username])},a=function(e){r&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_view",{blog_id:r.blogid,source:e}])},i=function(){r&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_dismiss",{blog_id:r.blogid}])},c=function(e){r&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_template_selected",{blog_id:r.blogid,pattern:e}])}},804:function(e){e.exports=window.lodash},314:function(e){e.exports=window.wp.blocks},997:function(e){e.exports=window.wp.components},417:function(e){e.exports=window.wp.compose},707:function(e){e.exports=window.wp.data},27:function(e){e.exports=window.wp.element},799:function(e){e.exports=window.wp.hooks},163:function(e){e.exports=window.wp.i18n},742:function(e){e.exports=window.wp.nux},200:function(e){e.exports=window.wp.plugins}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){n.r(r);var e,t=n(27),o=n(200),a=n(707),i=n(884),c=n(28),u=(n(168),n(89),null!==(e=window.starterPageTemplatesConfig)&&void 0!==e?e:{}),l=u.templates,s=void 0===l?[]:l,p=u.tracksUserData,f=u.screenAction,d=u.theme,m=u.locale;p&&(0,i.Z)(p),"add"===f&&(0,a.dispatch)("automattic/starter-page-layouts").setOpenState("OPEN_FROM_ADD_PAGE"),(0,o.registerPlugin)("page-patterns",{render:function(){return(0,t.createElement)(c.P,{patterns:s,theme:d,locale:m})},icon:void 0})}(),window.EditingToolkit=r}();
 
 
 
 
 
1
+ !function(){var e={5270:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},1232:function(e,t,n){var r=n(5270);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},1357:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},9507:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},3989: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,{Z:function(){return r}})},4659:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},4730:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return o}})},54:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(237);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}},9049:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(5630),o=n(733),i=n(591);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},1119:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},7560:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},5630:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},5663:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4938);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,r.Z)(e,t)}},733:function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},6483:function(e,t,n){"use strict";function r(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],_n=!0,a=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);_n=!0);}catch(s){a=!0,o=s}finally{try{_n||null==n.return||n.return()}finally{if(a)throw o}}return i}}n.d(t,{Z:function(){return r}})},9007:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},9394:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1119);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},4530:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8283);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},8283: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<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},591:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(929),o=n(3989);function i(e,t){return!t||"object"!==(0,r.Z)(t)&&"function"!=typeof t?(0,o.Z)(e):t}},4938:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},3258:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9507),o=n(6483),i=n(237),a=n(9007);function s(e,t){return(0,r.Z)(e)||(0,o.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},929:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},237:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1357);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},1557:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},1359:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},5182:function(e,t,n){var r=n(1232),o=n(1557),i=n(6487),a=n(1359);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},6487:function(e,t,n){var r=n(5270);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},2779:function(e,t){var n;
2
+ /*!
3
+ Copyright (c) 2017 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},3089:function(){},556:function(){},1378:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,a=365.25*o;function s(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,u){u=u||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var u=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*a;case"weeks":case"week":case"w":return u*i;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(e);if("number"===c&&isFinite(e))return u.long?function(e){var i=Math.abs(e);if(i>=o)return s(e,i,o,"day");if(i>=r)return s(e,i,r,"hour");if(i>=n)return s(e,i,n,"minute");if(i>=t)return s(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4028:function(e,t,n){"use strict";n.d(t,{P:function(){return f}});var r=n(7560),o=n(9394),i=n(3027),a=(n(5742),n(5707)),s=n(5799),u=n(5018),c="isInsertingPagePattern",l="automattic/full-site-editing/inserting-pattern";function f(e){var t=(0,a.useDispatch)("automattic/starter-page-layouts").setOpenState,n=(0,a.useDispatch)("core/block-editor").replaceInnerBlocks,f=(0,a.useDispatch)("core/editor").editPost,p=(0,a.useDispatch)("core/edit-post").toggleFeature,d=(0,a.useDispatch)("core/nux").disableTips,m=(0,a.useSelect)((function(e){return{isOpen:(0,e("automattic/starter-page-layouts").isOpen)(),isWelcomeGuideActive:e("core/edit-post").isFeatureActive("welcomeGuide"),areTipsEnabled:!!e("core/nux")&&e("core/nux").areTipsEnabled()}})),g=(0,a.useSelect)((function(e){return{getMeta:function(){return e("core/editor").getEditedPostAttribute("meta")},postContentBlock:e("core/editor").getBlocks().find((function(e){return"a8c/post-content"===e.name}))}})),v=g.getMeta,y=g.postContentBlock,h=(0,i.useCallback)((function(e){var t=v();f({meta:(0,o.Z)((0,o.Z)({},t),{},{_starter_page_template:e})})}),[f,v]),b=(0,i.useCallback)((function(e,t){(0,s.addFilter)(c,l,(function(){return!0})),e&&f({title:e}),n(y?y.clientId:"",t,!1),(0,s.removeFilter)(c,l)}),[f,y,n]),C=m.isWelcomeGuideActive,w=m.areTipsEnabled,_=(0,i.useCallback)((function(){C?p("welcomeGuide"):w&&d()}),[w,d,C,p]);return(0,i.createElement)(u.Z,(0,r.Z)({},m,{setOpenState:t,savePatternChoice:h,insertPattern:b,hideWelcomeGuide:_},e))}},7168:function(e,t,n){"use strict";var r=n(4530),o=n(5707);(0,o.registerStore)("automattic/starter-page-layouts",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"CLOSED",t=arguments.length>1?arguments[1]:void 0,n=t.type,o=(0,r.Z)(t,["type"]);return"SET_IS_OPEN"===n?o.openState:e},actions:{setOpenState:function(e){return{type:"SET_IS_OPEN",openState:e||"CLOSED"}}},selectors:{isOpen:function(e){return"CLOSED"!==e}}})},5671:function(e,t,n){"use strict";var r=n(1119),o=n(3258),i=n(9394),a=n(3027),s=n(6141),u=n(2779),c=n.n(u),l=n(791),f=n(8049),p=n.n(f),d=(n(556),p()("design-picker:mshots-image"));var m=function(e,t){var n=(0,s.useState)(),r=(0,o.Z)(n,2),a=r[0],u=r[1],c=(0,s.useState)(0),f=(0,o.Z)(c,2),p=f[0],m=f[1],g=(0,s.useRef)(e),v=(0,s.useRef)(),y=(0,s.useRef)(),h=(0,s.useRef)(),b=(0,s.useRef)();return b.current=t,(0,s.useEffect)((function(){(t!==b.current||e!==g.current&&v.current)&&(d("resetting mShotsUrl request"),e!==g.current&&d("src changed\nfrom",g.current,"\nto",e),t!==b.current&&d("options changed\nfrom",b.current,"\nto",t),h.current&&h.current.onload&&(h.current.onload=null,y.current&&(clearTimeout(y.current),y.current=void 0)),u(void 0),m(0),h.current=v.current,b.current=t,g.current=e);var n=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r="https://s0.wp.com/mshots/v1/";return(0,l.addQueryArgs)(r+encodeURIComponent(e),(0,i.Z)((0,i.Z)({},t),{},{count:n}))}(e,t,p),r=new Image;return r.onload=function(){400!==r.naturalWidth||300!==r.naturalHeight?u(r):p<10&&(y.current=setTimeout((function(){return m((function(e){return e+1}))}),500*p))},r.src=n,v.current=r,function(){v.current&&v.current.onload&&(v.current.onload=null),clearTimeout(y.current)}}),[e,p,t]),a};t.Z=function(e){var t=e.url,n=e["aria-labelledby"],o=e.alt,s=e.options,u=e.scrollable,l=void 0!==u&&u,f=m(t,s),p=(null==f?void 0:f.src)||"",d=!!p,g=(null==f?void 0:f.src)&&"url( ".concat(null==f?void 0:f.src," )"),v=((null==f?void 0:f.naturalHeight)||600)/400,y={backgroundImage:g,transition:"background-position ".concat(v,"s")},h=(0,i.Z)({},l?y:{}),b=c()("mshots-image__container",l&&"hover-scroll",d?"mshots-image-visible":"mshots-image__loader");return l||!d?(0,a.createElement)("div",{className:b,style:h,"aria-labelledby":n}):(0,a.createElement)("img",(0,r.Z)({className:b,style:h,src:p,alt:o,"aria-labelledby":n},"alt",o))}},5018:function(e,t,n){"use strict";var r=n(3258),o=n(54),i=n(4659),a=n(4730),s=n(3989),u=n(5663),c=n(9049),l=n(1119),f=n(3027),p=n(3804),d=n(3163),m=n(7997),g=n(9314),v=n(1417),y=n(9958),h=n(7884),b=n(2656),C=n(5480),w=n(2531),_=n(9988),__=d.__,Z=function(e){(0,u.Z)(n,e);var t=(0,c.Z)(n);function n(e){var r;return(0,i.Z)(this,n),r=t.call(this,e),(0,l.Z)((0,s.Z)(r),"getBlocksByPatternSlugs",(0,p.memoize)((function(e){var t=e.reduce((function(e,t){var n=t.name,o=t.html;return e[n]=o?(0,g.parse)((0,b.Z)(o,r.props.siteInformation)):[],e}),{});return r.filterPatternsWithMissingBlocks(t)}))),(0,l.Z)((0,s.Z)(r),"getBlocksForSelection",(function(e){var t=r.getBlocksByPatternSlug(e);return(0,C.Z)(t,(function(e){return"core/button"===e.name&&void 0!==e.attributes.url&&(e.attributes.url="#"),e}))})),(0,l.Z)((0,s.Z)(r),"setPattern",(function(e){if((0,h.E2)(e),r.props.savePatternChoice(e),"blank"===e)return r.props.insertPattern("",[]),void r.props.setOpenState(!1);var t=r.props.patterns.find((function(t){return t.name===e})),n=((null==t?void 0:t.categories)||{}).hasOwnProperty("home"),o=r.getBlocksForSelection(e),i=n?null:(null==t?void 0:t.title)||"";o&&o.length?(r.props.insertPattern(i,o),r.props.setOpenState(!1)):r.props.setOpenState(!1)})),(0,l.Z)((0,s.Z)(r),"handleCategorySelection",(function(e){r.setState({selectedCategory:e})})),(0,l.Z)((0,s.Z)(r),"closeModal",(function(){(0,h.GI)(),r.props.setOpenState(!1)})),(0,l.Z)((0,s.Z)(r),"getPatternGroups",(function(){if(!r.props.patterns.length)return null;var e,t={},n=(0,o.Z)(r.props.patterns);try{for(n.s();!(e=n.n()).done;){var i=e.value;for(var a in i.categories)a in t||(t[a]=i.categories[a])}}catch(s){n.e(s)}finally{n.f()}return(0,_.x)(["featured","about","blog","home","gallery","services","contact"],t)})),(0,l.Z)((0,s.Z)(r),"getPatternsForGroup",(function(e){if(!r.props.patterns.length)return null;if("blank"===e)return[{name:"blank",title:"Blank",html:"",ID:null}];var t,n=[],i=(0,o.Z)(r.props.patterns);try{for(i.s();!(t=i.n()).done;){var a=t.value;for(var s in a.categories)s===e&&n.push(a)}}catch(u){i.e(u)}finally{i.f()}return n})),(0,l.Z)((0,s.Z)(r),"getPatternCategories",(function(){var e=r.getPatternGroups();if(!e)return null;var t=[];for(var n in e)t.push({slug:n,name:e[n].title});return t})),(0,l.Z)((0,s.Z)(r),"renderPatternGroup",(function(){var e,t,n=r.state.selectedCategory;if(!n)return null;var o=r.getPatternsForGroup(n);if(null==o||!o.length)return null;var i=null===(e=r.getPatternGroups())||void 0===e||null===(t=e[n])||void 0===t?void 0:t.title;return r.renderPatternsList(o,i)})),(0,l.Z)((0,s.Z)(r),"renderPatternsList",(function(e,t){if(!e.length)return null;var n,o=r.getBlocksByPatternSlugs(r.props.patterns),i=Object.keys(o),a=(n=i,e.filter((function(e){return n.includes(e.name)})));return a.length?(0,f.createElement)(y.Z,{label:__("Layout","full-site-editing"),legendLabel:t,patterns:a,onPatternSelect:r.setPattern,theme:r.props.theme,locale:r.props.locale,siteInformation:r.props.siteInformation}):null})),r.state={selectedCategory:r.getDefaultSelectedCategory()},r}return(0,a.Z)(n,[{key:"filterPatternsWithMissingBlocks",value:function(e){return Object.entries(e).reduce((function(e,t){var n=(0,r.Z)(t,2),o=n[0],i=n[1];return(0,w.Z)(i)&&i.length||(e[o]=i),e}),{})}},{key:"componentDidMount",value:function(){this.props.isOpen&&this.trackCurrentView()}},{key:"componentDidUpdate",value:function(e){!e.isOpen&&this.props.isOpen&&this.trackCurrentView(),(this.props.isWelcomeGuideActive||this.props.areTipsEnabled)&&this.props.hideWelcomeGuide()}},{key:"trackCurrentView",value:function(){(0,h.Fk)("add-page")}},{key:"getDefaultSelectedCategory",value:function(){var e=this.getPatternCategories();return null!=e&&e.length?e[0].slug:null}},{key:"getBlocksByPatternSlug",value:function(e){var t,n;return null!==(t=null===(n=this.getBlocksByPatternSlugs(this.props.patterns))||void 0===n?void 0:n[e])&&void 0!==t?t:[]}},{key:"render",value:function(){var e,t,n=this,r=this.state.selectedCategory,o=this.props,i=o.isOpen,a=o.instanceId;return i?(0,f.createElement)(m.Modal,{title:"",className:"page-pattern-modal",onRequestClose:this.closeModal,aria:{labelledby:"page-pattern-modal__heading-".concat(a),describedby:"page-pattern-modal__description-".concat(a)}},(0,f.createElement)("div",{className:"page-pattern-modal__inner"},(0,f.createElement)("div",{className:"page-pattern-modal__sidebar"},(0,f.createElement)("h1",{id:"page-pattern-modal__heading-".concat(a),className:"page-pattern-modal__heading"},__("Add a page","full-site-editing")),(0,f.createElement)("p",{id:"page-pattern-modal__description-".concat(a),className:"page-pattern-modal__description"},__("Pick a pre-defined layout or start with a blank page.","full-site-editing")),(0,f.createElement)("div",{className:"page-pattern-modal__button-container"},(0,f.createElement)(m.Button,{isSecondary:!0,onClick:function(){return n.setPattern("blank")},className:"page-pattern-modal__blank-button"},__("Blank page","full-site-editing")),(0,f.createElement)("select",{className:"page-pattern-modal__mobile-category-dropdown",value:null!=r?r:void 0,onChange:function(e){return n.handleCategorySelection(e.currentTarget.value)}},null===(e=this.getPatternCategories())||void 0===e?void 0:e.map((function(e){var t=e.slug,n=e.name;return(0,f.createElement)("option",{key:t,value:t},n)})))),(0,f.createElement)(m.VisuallyHidden,{as:"h2",id:"page-pattern-modal__list-heading-".concat(a)},__("Page categories","full-site-editing")),(0,f.createElement)(m.NavigableMenu,{className:"page-pattern-modal__category-list",orientation:"vertical","aria-labelledby":"page-pattern-modal__list-heading-".concat(a),onNavigate:function(e,t){var r;return n.handleCategorySelection(null!==(r=t.dataset.slug)&&void 0!==r?r:null)}},null===(t=this.getPatternCategories())||void 0===t?void 0:t.map((function(e){var t=e.slug,o=e.name;return(0,f.createElement)(m.MenuItem,{key:t,isTertiary:!0,"aria-selected":t===r,"data-slug":t,onClick:function(){return n.handleCategorySelection(t)},className:"page-pattern-modal__category-button",tabIndex:t===r?void 0:-1},(0,f.createElement)("span",{className:"page-pattern-modal__category-item-selection-wrapper"},o))})))),(0,f.createElement)("div",{className:"page-pattern-modal__pattern-list-container"},this.renderPatternGroup()))):null}}]),n}(f.Component);t.Z=(0,v.withInstanceId)(Z)},9958:function(e,t,n){"use strict";var r=n(3027),o=n(7997),i=n(8695),a=n(2656),s=n(1417),u=function(){};t.Z=(0,r.memo)((0,s.withInstanceId)((function(e){var t=e.instanceId,n=e.label,s=e.legendLabel,c=e.patterns,l=void 0===c?[]:c,f=e.theme,p=void 0===f?"maywood":f,d=e.locale,m=void 0===d?"en":d,g=e.onPatternSelect,v=void 0===g?u:g,y=e.siteInformation,h=void 0===y?{}:y;return Array.isArray(l)&&l.length?(0,r.createElement)(o.BaseControl,{id:"pattern-selector-control__".concat(t),label:n,className:"pattern-selector-control"},(0,r.createElement)("ul",{className:"pattern-selector-control__options","data-testid":"pattern-selector-control-options","aria-label":s},l.map((function(e){var t=e.ID,n=e.name,o=e.title,u=e.description;return(0,r.createElement)("li",{key:"".concat(t,"-").concat(n,"-").concat(s)},(0,r.createElement)(i.Z,{value:n,title:(0,a.Z)(o,h),description:u,onSelect:v,patternPostID:t,theme:p,locale:m}))})))):null})))},8695:function(e,t,n){"use strict";var r=n(3027),o=n(5671);t.Z=function(e){var t=e.value,n=e.onSelect,i=e.title,a=e.description,s=e.theme,u=e.locale,c=e.patternPostID;if(null==i||null==t)return null;var l="".concat("https://public-api.wordpress.com/rest/v1/template/demo/").concat(encodeURIComponent(s),"/").concat(encodeURIComponent("dotcompatterns.wordpress.com"),"/?post_id=").concat(encodeURIComponent(null!=c?c:""),"&language=").concat(encodeURIComponent(u)),f="pattern-selector-item__preview-label__".concat(t),p=(0,r.createElement)(o.Z,{url:l,"aria-labelledby":f,alt:i,options:{vpw:1024,vph:1024,w:660,screen_height:3600},scrollable:!0});return(0,r.createElement)("button",{type:"button",className:"pattern-selector-item__label",value:t,onClick:function(){return n(t)}},(0,r.createElement)("span",{className:"pattern-selector-item__preview-wrap"},(0,r.createElement)("div",{className:"pattern-selector-item__preview-wrap-inner-position"},p)),(0,r.createElement)("div",{id:f},a))}},2531:function(e,t){"use strict";t.Z=function e(t){return!!t.find((function(t){return"core/missing"===t.name||!(!t.innerBlocks||!t.innerBlocks.length)&&e(t.innerBlocks)}))}},9988:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(t),r=e.filter((function(e){return n.includes(e)})),o=n.filter((function(t){return!e.includes(t)}));return r.concat(o.sort()).reduce((function(e,n){return e[n]=t[n],e}),{})}n.d(t,{x:function(){return r}})},5480:function(e,t,n){"use strict";var r=n(9314);t.Z=function e(t,n){return t.map((function(t){return(t=n((0,r.cloneBlock)(t))).innerBlocks&&t.innerBlocks.length&&(t.innerBlocks=e(t.innerBlocks,n)),t}))}},2656:function(e,t,n){"use strict";var r=n(3163),_x=r._x,o={Address:_x("123 Main St","default address","full-site-editing"),Phone:_x("555-555-5555","default phone number","full-site-editing"),CompanyName:_x("Your Company Name","default company name","full-site-editing"),Vertical:_x("Business","default vertical name","full-site-editing")},i={CompanyName:"title",Address:"address",Phone:"phone",Vertical:"vertical"};function a(e,t){return e in t}t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e?e.replace(/{{(\w+)}}/g,(function(e,n){var r=a(n,o)?o[n]:"",s=a(n,i)?i[n]:"";return t[s]||r||n})):""}},7884:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},Fk:function(){return i},GI:function(){return a},E2:function(){return s}}),window._tkq=window._tkq||[];var r=null,o=function(e){r=e,window._tkq.push(["identifyUser",e.userid,e.username])},i=function(e){r&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_view",{blog_id:r.blogid,source:e}])},a=function(){r&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_dismiss",{blog_id:r.blogid}])},s=function(e){r&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_template_selected",{blog_id:r.blogid,pattern:e}])}},8049:function(e,t,n){var r;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(r=!1,function(){r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=n(2632)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2632:function(e,t,n){var r=n(5182);e.exports=function(e){function t(e){var n,r,i,a=null;function s(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(s.enabled){var i=s,a=Number(new Date),u=a-(n||a);i.diff=u,i.prev=n,i.curr=a,n=a,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");var c=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return"%";c++;var o=t.formatters[n];if("function"==typeof o){var a=r[c];e=o.call(i,a),r.splice(c,1),c--}return e})),t.formatArgs.call(i,r);var l=i.log||t.log;l.apply(i,r)}}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=o,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:function(){return null!==a?a:(r!==t.namespaces&&(r=t.namespaces,i=t.enabled(e)),i)},set:function(e){a=e}}),"function"==typeof t.init&&t.init(s),s}function o(e,n){var r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){var e=[].concat(r(t.names.map(i)),r(t.skips.map(i).map((function(e){return"-"+e})))).join(",");return t.enable(""),e},t.enable=function(e){var n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(1378),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((function(n){t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){for(var n=0,r=0;r<e.length;r++)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},6141:function(e){"use strict";e.exports=window.React},3804:function(e){"use strict";e.exports=window.lodash},9314:function(e){"use strict";e.exports=window.wp.blocks},7997:function(e){"use strict";e.exports=window.wp.components},1417:function(e){"use strict";e.exports=window.wp.compose},5707:function(e){"use strict";e.exports=window.wp.data},3027:function(e){"use strict";e.exports=window.wp.element},5799:function(e){"use strict";e.exports=window.wp.hooks},3163:function(e){"use strict";e.exports=window.wp.i18n},5742:function(e){"use strict";e.exports=window.wp.nux},1200:function(e){"use strict";e.exports=window.wp.plugins},791:function(e){"use strict";e.exports=window.wp.url}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r);var e,t=n(3027),o=n(1200),i=n(5707),a=n(7884),s=n(4028),u=(n(7168),n(3089),null!==(e=window.starterPageTemplatesConfig)&&void 0!==e?e:{}),c=u.templates,l=void 0===c?[]:c,f=u.tracksUserData,p=u.screenAction,d=u.theme,m=u.locale;f&&(0,a.Z)(f),"add"===p&&(0,i.dispatch)("automattic/starter-page-layouts").setOpenState("OPEN_FROM_ADD_PAGE"),(0,o.registerPlugin)("page-patterns",{render:function(){return(0,t.createElement)(s.P,{patterns:l,theme:d,locale:m})},icon:void 0})}(),window.EditingToolkit=r}();
starter-page-templates/dist/starter-page-templates.rtl.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@media screen and (min-width:600px){.page-pattern-modal{width:calc(100% - 32px);height:90vh;overflow-y:hidden;padding-bottom:24px}.page-pattern-modal .components-modal__content{padding:0 32px 24px}}@media screen and (min-width:961px){.page-pattern-modal{width:calc(100% - 64px)}}.page-pattern-modal .components-modal__content{overflow-y:scroll;-webkit-overflow-scrolling:touch;margin-top:-1px;padding:0 16px 16px}.page-pattern-modal .components-modal__header{border-bottom:none;margin-left:-16px}.page-pattern-modal__heading{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;margin:0;font-size:2rem;line-height:1.25}@media screen and (min-width:600px){.page-pattern-modal__heading{font-size:2.25rem;line-height:1.1}}@media screen and (min-width:961px){.page-pattern-modal__heading{font-size:3rem;line-height:1.35}}.page-pattern-modal__description{color:#646970;margin:0 0 24px;font-size:1rem;line-height:1.5}@media screen and (min-width:600px){.page-pattern-modal__inner{padding:0 20px}}.pattern-selector-control{margin-bottom:20px}.pattern-selector-control .components-base-control__label{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.pattern-selector-control__options{display:grid;grid-template-columns:1fr;column-gap:1.5em;row-gap:3em}@media screen and (min-width:600px){.pattern-selector-control__options{margin-top:0;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media screen and (min-width:1648px){.pattern-selector-control__options{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}}@media screen and (min-width:2000px){.pattern-selector-control__options{grid-template-columns:repeat(auto-fill,minmax(500px,1fr))}}.pattern-selector-item__label{display:block;width:100%;text-align:center;border:none;cursor:pointer;appearance:none;padding:0;overflow:hidden;background-color:#fff;position:relative;transform:translateZ(0);color:#50575e}.pattern-selector-item__label:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent}.pattern-selector-item__label:hover{color:var(--color-text)}.pattern-selector-item__label:hover .pattern-selector-item__preview-wrap{border:1px solid #646970}.pattern-selector-item__preview-wrap{width:100%;display:block;background:#fff;border-radius:0;overflow:hidden;height:0;padding-top:65%;position:relative;pointer-events:none;opacity:1;transform:translateZ(0);border:1px solid #dcdcde;margin:0 auto 1em}.pattern-selector-item__preview-wrap.is-rendering{opacity:.5}.pattern-selector-item__media{width:100%;height:100%;display:block;position:absolute;top:0;right:0;object-fit:cover}@media screen and (min-width:600px){.page-pattern-modal__sidebar{position:fixed;width:230px;padding-left:22px;pointer-events:none}.page-pattern-modal__sidebar>*{pointer-events:auto}.page-pattern-modal__sidebar .page-pattern-modal__category-list{pointer-events:none}.page-pattern-modal__sidebar .page-pattern-modal__category-list .page-pattern-modal__category-button{pointer-events:auto}}@media screen and (min-width:961px){.page-pattern-modal__sidebar{width:324px;padding-left:48px}}.page-pattern-modal__category-list{display:none;margin:0;padding-top:35px}@media screen and (min-width:600px){.page-pattern-modal__category-list{display:block}}.page-pattern-modal__category-list .components-button.is-tertiary{display:block;width:auto;height:auto;color:#50575e;font-size:.875rem;margin-right:-12px;padding:6px 12px;box-shadow:none}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):hover{box-shadow:none;color:var(--color-text)!important}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):active{background:transparent}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.page-pattern-modal__category-list .page-pattern-modal__category-item-selection-wrapper{border-bottom:2px solid transparent;padding-bottom:2px}.page-pattern-modal__category-list .components-menu-item__button:not(:disabled)[aria-selected=true]{color:var(--color-text);font-weight:600}.page-pattern-modal__category-list .components-menu-item__button:not(:disabled)[aria-selected=true] .page-pattern-modal__category-item-selection-wrapper{border-bottom-color:var(--color-text)}.page-pattern-modal__button-container{display:grid;grid-template-columns:1fr 1fr;column-gap:8px}@media screen and (min-width:600px){.page-pattern-modal__button-container{display:inline}}.components-button.page-pattern-modal__blank-button{min-height:40px;box-shadow:inset 0 0 0 1px #dcdcde;color:var(--color-text)}.components-button.page-pattern-modal__blank-button:active{color:var(--color-text)}.components-button.page-pattern-modal__blank-button.is-secondary:hover:not(:disabled){box-shadow:inset 0 0 0 1px #646970;color:var(--color-text)}.components-button.page-pattern-modal__blank-button.is-secondary:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.page-pattern-modal__blank-button.is-secondary:hover:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.wp-core-ui select.page-pattern-modal__mobile-category-dropdown{font-size:13px;border-color:#dcdcde}@media screen and (min-width:600px){.wp-core-ui select.page-pattern-modal__mobile-category-dropdown{display:none}}@media screen and (min-width:600px){.page-pattern-modal__pattern-list-container{padding-right:230px}}@media screen and (min-width:961px){.page-pattern-modal__pattern-list-container{padding-right:324px}}.sidebar-modal-opener{display:flex;flex-direction:column;align-items:center;justify-content:center}.sidebar-modal-opener .pattern-selector-item__label{max-width:300px}.sidebar-modal-opener__warning-modal{display:flex;flex-direction:column;justify-content:center;align-items:center}.sidebar-modal-opener__warning-text{max-width:300px;font-size:1rem;line-height:1.5rem}.sidebar-modal-opener__warning-options{float:left;margin-top:20px}.sidebar-modal-opener__warning-options .components-button{margin-right:12px}
1
+ @keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.mshots-image__loader{animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f0f0f0;color:transparent}.mshots-image__loader:after{content:"\00a0"}.mshots-image__container{height:100%}.hover-scroll{background-size:100%;background-position:top;background-repeat:no-repeat;margin-right:auto;margin-left:auto}.hover-scroll:hover{background-position:bottom}.mshots-image-visible{animation:fadein 1.5s}@keyframes fadein{0%{opacity:0}to{opacity:1}}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@media screen and (min-width:600px){.page-pattern-modal{width:calc(100% - 32px);height:90vh;overflow-y:hidden;padding-bottom:24px}.page-pattern-modal .components-modal__content{padding:0 32px 24px}}@media screen and (min-width:961px){.page-pattern-modal{width:calc(100% - 64px)}}.page-pattern-modal .components-modal__content{overflow-y:scroll;-webkit-overflow-scrolling:touch;margin-top:-1px;padding:0 16px 16px}.page-pattern-modal .components-modal__header{border-bottom:none;margin-left:-16px}.page-pattern-modal__heading{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;margin:0;font-size:2rem;line-height:1.25}@media screen and (min-width:600px){.page-pattern-modal__heading{font-size:2.25rem;line-height:1.1}}@media screen and (min-width:961px){.page-pattern-modal__heading{font-size:3rem;line-height:1.35}}.page-pattern-modal__description{color:#646970;margin:0 0 24px;font-size:1rem;line-height:1.5}@media screen and (min-width:600px){.page-pattern-modal__inner{padding:0 20px}}.pattern-selector-control{margin-bottom:20px}.pattern-selector-control .components-base-control__label{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.pattern-selector-control__options{display:grid;grid-template-columns:1fr;column-gap:1.5em;row-gap:3em}@media screen and (min-width:600px){.pattern-selector-control__options{margin-top:0;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media screen and (min-width:1648px){.pattern-selector-control__options{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}}@media screen and (min-width:2000px){.pattern-selector-control__options{grid-template-columns:repeat(auto-fill,minmax(500px,1fr))}}.pattern-selector-item__label{display:block;width:100%;text-align:center;border:none;cursor:pointer;appearance:none;padding:0;overflow:hidden;background-color:#fff;position:relative;transform:translateZ(0);color:#50575e}.pattern-selector-item__label:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent}.pattern-selector-item__label:hover{color:var(--color-text)}.pattern-selector-item__label:hover .pattern-selector-item__preview-wrap{border:1px solid #646970}.pattern-selector-item__preview-wrap{width:100%;display:block;background:#fff;border-radius:0;overflow:hidden;height:0;padding-top:65%;position:relative;opacity:1;transform:translateZ(0);border:1px solid #dcdcde;margin:0 auto 1em}.pattern-selector-item__preview-wrap.is-rendering{opacity:.5}.pattern-selector-item__media,.pattern-selector-item__preview-wrap-inner-position{position:absolute;top:0;right:0;width:100%;height:100%}.pattern-selector-item__media{display:block;object-fit:cover}@media screen and (min-width:600px){.page-pattern-modal__sidebar{position:fixed;width:230px;padding-left:22px;pointer-events:none}.page-pattern-modal__sidebar>*{pointer-events:auto}.page-pattern-modal__sidebar .page-pattern-modal__category-list{pointer-events:none}.page-pattern-modal__sidebar .page-pattern-modal__category-list .page-pattern-modal__category-button{pointer-events:auto}}@media screen and (min-width:961px){.page-pattern-modal__sidebar{width:324px;padding-left:48px}}.page-pattern-modal__category-list{display:none;margin:0;padding-top:35px}@media screen and (min-width:600px){.page-pattern-modal__category-list{display:block}}.page-pattern-modal__category-list .components-button.is-tertiary{display:block;width:auto;height:auto;color:#50575e;font-size:.875rem;margin-right:-12px;padding:6px 12px;box-shadow:none}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):hover{box-shadow:none;color:var(--color-text)!important}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):active{background:transparent}.page-pattern-modal__category-list .components-button.is-tertiary.is-tertiary:not(:disabled):focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.page-pattern-modal__category-list .page-pattern-modal__category-item-selection-wrapper{border-bottom:2px solid transparent;padding-bottom:2px}.page-pattern-modal__category-list .components-menu-item__button:not(:disabled)[aria-selected=true]{color:var(--color-text);font-weight:600}.page-pattern-modal__category-list .components-menu-item__button:not(:disabled)[aria-selected=true] .page-pattern-modal__category-item-selection-wrapper{border-bottom-color:var(--color-text)}.page-pattern-modal__button-container{display:grid;grid-template-columns:1fr 1fr;column-gap:8px}@media screen and (min-width:600px){.page-pattern-modal__button-container{display:inline}}.components-button.page-pattern-modal__blank-button{min-height:40px;box-shadow:inset 0 0 0 1px #dcdcde;color:var(--color-text)}.components-button.page-pattern-modal__blank-button:active{color:var(--color-text)}.components-button.page-pattern-modal__blank-button.is-secondary:hover:not(:disabled){box-shadow:inset 0 0 0 1px #646970;color:var(--color-text)}.components-button.page-pattern-modal__blank-button.is-secondary:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.page-pattern-modal__blank-button.is-secondary:hover:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.wp-core-ui select.page-pattern-modal__mobile-category-dropdown{font-size:13px;border-color:#dcdcde}@media screen and (min-width:600px){.wp-core-ui select.page-pattern-modal__mobile-category-dropdown{display:none}}@media screen and (min-width:600px){.page-pattern-modal__pattern-list-container{padding-right:230px}}@media screen and (min-width:961px){.page-pattern-modal__pattern-list-container{padding-right:324px}}.sidebar-modal-opener{display:flex;flex-direction:column;align-items:center;justify-content:center}.sidebar-modal-opener .pattern-selector-item__label{max-width:300px}.sidebar-modal-opener__warning-modal{display:flex;flex-direction:column;justify-content:center;align-items:center}.sidebar-modal-opener__warning-text{max-width:300px;font-size:1rem;line-height:1.5rem}.sidebar-modal-opener__warning-options{float:left;margin-top:20px}.sidebar-modal-opener__warning-options .components-button{margin-right:12px}