Editor: Update of npm packages after 6.4 RC3.
This update includes the following fixes reported after RC3: * Regression: [https://github.com/WordPress/gutenberg/pull/55858 Fixes patterns not working anymore as a post template for custom post types]. Scenario: When creating a new post for any custom post type registered with its "template" argument set to a pattern. For this scenario, the pattern template no longer renders in the post editor or the frontend with 6.4, whereas it did render properly in 6.3.2. This package update resolves the console error raised: {{{ Uncaught TypeError: select(...).getCurrentTheme() is undefined }}} which restores the rendering of the pattern template. * Regression: [https://github.com/WordPress/gutenberg/pull/55859 Fixes positioning and styles for the new lightbox's trigger] introduced in 6.4. Follow up to [57048], [57034], [56987], [56961], [56849], [56818], [56816]. Props renathoc, rajinsharwar, richtabor, joen, mikachan, hellofromTonya. Fixes #59411. Built from https://develop.svn.wordpress.org/trunk@57063 git-svn-id: http://core.svn.wordpress.org/trunk@56574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
71dbb8f74b
commit
a95a0b32b5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -242,10 +242,9 @@ function block_core_image_render_lightbox( $block_content, $block ) {
|
|||
data-wp-on--click="actions.core.image.showLightbox"
|
||||
data-wp-style--right="context.core.image.imageButtonRight"
|
||||
data-wp-style--top="context.core.image.imageButtonTop"
|
||||
style="background: #000"
|
||||
>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true" focusable="false">
|
||||
<Path stroke="#FFFFFF" d="M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z" />
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
|
||||
<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
|
||||
</svg>
|
||||
</button>';
|
||||
|
||||
|
@ -303,7 +302,7 @@ function block_core_image_render_lightbox( $block_content, $block ) {
|
|||
}
|
||||
}
|
||||
|
||||
$close_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="15" height="15" aria-hidden="true" focusable="false"><path d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"></path></svg>';
|
||||
$close_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" focusable="false"><path d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"></path></svg>';
|
||||
$close_button_label = esc_attr__( 'Close' );
|
||||
|
||||
$lightbox_html = <<<HTML
|
||||
|
|
|
@ -104,24 +104,30 @@
|
|||
opacity:1;
|
||||
}
|
||||
.wp-lightbox-container button{
|
||||
background:#000;
|
||||
align-items:center;
|
||||
-webkit-backdrop-filter:blur(16px) saturate(180%);
|
||||
backdrop-filter:blur(16px) saturate(180%);
|
||||
background-color:rgba(90,90,90,.25);
|
||||
border:none;
|
||||
border-radius:10%;
|
||||
border-radius:4px;
|
||||
cursor:zoom-in;
|
||||
height:24px;
|
||||
left:10px;
|
||||
display:flex;
|
||||
height:20px;
|
||||
justify-content:center;
|
||||
left:16px;
|
||||
opacity:0;
|
||||
padding:0;
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:10px;
|
||||
width:24px;
|
||||
top:16px;
|
||||
transition:opacity .2s ease;
|
||||
width:20px;
|
||||
z-index:100;
|
||||
}
|
||||
.wp-lightbox-container button:focus-visible{
|
||||
outline:5px auto #212121;
|
||||
outline:5px auto -webkit-focus-ring-color;
|
||||
outline-offset:5px;
|
||||
outline:3px auto rgba(90,90,90,.25);
|
||||
outline:3px auto -webkit-focus-ring-color;
|
||||
outline-offset:3px;
|
||||
}
|
||||
.wp-lightbox-container button:hover{
|
||||
cursor:pointer;
|
||||
|
@ -131,7 +137,7 @@
|
|||
opacity:1;
|
||||
}
|
||||
.wp-lightbox-container button:focus,.wp-lightbox-container button:hover,.wp-lightbox-container button:not(:hover):not(:active):not(.has-background){
|
||||
background:#000;
|
||||
background-color:rgba(90,90,90,.25);
|
||||
border:none;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -104,24 +104,30 @@
|
|||
opacity:1;
|
||||
}
|
||||
.wp-lightbox-container button{
|
||||
background:#000;
|
||||
align-items:center;
|
||||
-webkit-backdrop-filter:blur(16px) saturate(180%);
|
||||
backdrop-filter:blur(16px) saturate(180%);
|
||||
background-color:rgba(90,90,90,.25);
|
||||
border:none;
|
||||
border-radius:10%;
|
||||
border-radius:4px;
|
||||
cursor:zoom-in;
|
||||
height:24px;
|
||||
display:flex;
|
||||
height:20px;
|
||||
justify-content:center;
|
||||
opacity:0;
|
||||
padding:0;
|
||||
position:absolute;
|
||||
right:10px;
|
||||
right:16px;
|
||||
text-align:center;
|
||||
top:10px;
|
||||
width:24px;
|
||||
top:16px;
|
||||
transition:opacity .2s ease;
|
||||
width:20px;
|
||||
z-index:100;
|
||||
}
|
||||
.wp-lightbox-container button:focus-visible{
|
||||
outline:5px auto #212121;
|
||||
outline:5px auto -webkit-focus-ring-color;
|
||||
outline-offset:5px;
|
||||
outline:3px auto rgba(90,90,90,.25);
|
||||
outline:3px auto -webkit-focus-ring-color;
|
||||
outline-offset:3px;
|
||||
}
|
||||
.wp-lightbox-container button:hover{
|
||||
cursor:pointer;
|
||||
|
@ -131,7 +137,7 @@
|
|||
opacity:1;
|
||||
}
|
||||
.wp-lightbox-container button:focus,.wp-lightbox-container button:hover,.wp-lightbox-container button:not(:hover):not(:active):not(.has-background){
|
||||
background:#000;
|
||||
background-color:rgba(90,90,90,.25);
|
||||
border:none;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => 'f7ae3ae73f0b1d8e9467');
|
||||
<?php return array('dependencies' => array(), 'version' => '749bd8d7dd37390bdeea');
|
||||
|
|
|
@ -309,18 +309,18 @@ function handleScroll(context) {
|
|||
// If it reaches the width first, keep
|
||||
// the width and compute the height.
|
||||
const referenceHeight = offsetWidth / naturalRatio;
|
||||
context.core.image.imageButtonTop = (offsetHeight - referenceHeight) / 2 + buttonOffsetTop + 10;
|
||||
context.core.image.imageButtonRight = buttonOffsetRight + 10;
|
||||
context.core.image.imageButtonTop = (offsetHeight - referenceHeight) / 2 + buttonOffsetTop + 16;
|
||||
context.core.image.imageButtonRight = buttonOffsetRight + 16;
|
||||
} else {
|
||||
// If it reaches the height first, keep
|
||||
// the height and compute the width.
|
||||
const referenceWidth = offsetHeight * naturalRatio;
|
||||
context.core.image.imageButtonTop = buttonOffsetTop + 10;
|
||||
context.core.image.imageButtonRight = (offsetWidth - referenceWidth) / 2 + buttonOffsetRight + 10;
|
||||
context.core.image.imageButtonTop = buttonOffsetTop + 16;
|
||||
context.core.image.imageButtonRight = (offsetWidth - referenceWidth) / 2 + buttonOffsetRight + 16;
|
||||
}
|
||||
} else {
|
||||
context.core.image.imageButtonTop = buttonOffsetTop + 10;
|
||||
context.core.image.imageButtonRight = buttonOffsetRight + 10;
|
||||
context.core.image.imageButtonTop = buttonOffsetTop + 16;
|
||||
context.core.image.imageButtonRight = buttonOffsetRight + 16;
|
||||
}
|
||||
},
|
||||
setStylesOnResize: ({
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array(), 'version' => '1617ea85b28841341ef7');
|
||||
<?php return array('dependencies' => array(), 'version' => '32caaf5e7c6834efef4c');
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1176,24 +1176,30 @@ h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-t
|
|||
opacity:1;
|
||||
}
|
||||
.wp-lightbox-container button{
|
||||
background:#000;
|
||||
align-items:center;
|
||||
-webkit-backdrop-filter:blur(16px) saturate(180%);
|
||||
backdrop-filter:blur(16px) saturate(180%);
|
||||
background-color:rgba(90,90,90,.25);
|
||||
border:none;
|
||||
border-radius:10%;
|
||||
border-radius:4px;
|
||||
cursor:zoom-in;
|
||||
height:24px;
|
||||
left:10px;
|
||||
display:flex;
|
||||
height:20px;
|
||||
justify-content:center;
|
||||
left:16px;
|
||||
opacity:0;
|
||||
padding:0;
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:10px;
|
||||
width:24px;
|
||||
top:16px;
|
||||
transition:opacity .2s ease;
|
||||
width:20px;
|
||||
z-index:100;
|
||||
}
|
||||
.wp-lightbox-container button:focus-visible{
|
||||
outline:5px auto #212121;
|
||||
outline:5px auto -webkit-focus-ring-color;
|
||||
outline-offset:5px;
|
||||
outline:3px auto rgba(90,90,90,.25);
|
||||
outline:3px auto -webkit-focus-ring-color;
|
||||
outline-offset:3px;
|
||||
}
|
||||
.wp-lightbox-container button:hover{
|
||||
cursor:pointer;
|
||||
|
@ -1203,7 +1209,7 @@ h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-t
|
|||
opacity:1;
|
||||
}
|
||||
.wp-lightbox-container button:focus,.wp-lightbox-container button:hover,.wp-lightbox-container button:not(:hover):not(:active):not(.has-background){
|
||||
background:#000;
|
||||
background-color:rgba(90,90,90,.25);
|
||||
border:none;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1176,24 +1176,30 @@ h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-t
|
|||
opacity:1;
|
||||
}
|
||||
.wp-lightbox-container button{
|
||||
background:#000;
|
||||
align-items:center;
|
||||
-webkit-backdrop-filter:blur(16px) saturate(180%);
|
||||
backdrop-filter:blur(16px) saturate(180%);
|
||||
background-color:rgba(90,90,90,.25);
|
||||
border:none;
|
||||
border-radius:10%;
|
||||
border-radius:4px;
|
||||
cursor:zoom-in;
|
||||
height:24px;
|
||||
display:flex;
|
||||
height:20px;
|
||||
justify-content:center;
|
||||
opacity:0;
|
||||
padding:0;
|
||||
position:absolute;
|
||||
right:10px;
|
||||
right:16px;
|
||||
text-align:center;
|
||||
top:10px;
|
||||
width:24px;
|
||||
top:16px;
|
||||
transition:opacity .2s ease;
|
||||
width:20px;
|
||||
z-index:100;
|
||||
}
|
||||
.wp-lightbox-container button:focus-visible{
|
||||
outline:5px auto #212121;
|
||||
outline:5px auto -webkit-focus-ring-color;
|
||||
outline-offset:5px;
|
||||
outline:3px auto rgba(90,90,90,.25);
|
||||
outline:3px auto -webkit-focus-ring-color;
|
||||
outline-offset:3px;
|
||||
}
|
||||
.wp-lightbox-container button:hover{
|
||||
cursor:pointer;
|
||||
|
@ -1203,7 +1209,7 @@ h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-t
|
|||
opacity:1;
|
||||
}
|
||||
.wp-lightbox-container button:focus,.wp-lightbox-container button:hover,.wp-lightbox-container button:not(:hover):not(:active):not(.has-background){
|
||||
background:#000;
|
||||
background-color:rgba(90,90,90,.25);
|
||||
border:none;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -35362,7 +35362,7 @@ const PatternEdit = ({
|
|||
clientId
|
||||
}) => {
|
||||
const selectedPattern = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).__experimentalGetParsedPattern(attributes.slug), [attributes.slug]);
|
||||
const currentThemeStylesheet = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getCurrentTheme().stylesheet);
|
||||
const currentThemeStylesheet = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getCurrentTheme()?.stylesheet);
|
||||
const {
|
||||
replaceBlocks,
|
||||
__unstableMarkNextChangeAsNotPersistent
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -57007,15 +57007,15 @@ var useLilius = function (_a) {
|
|||
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/date-fns/node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
function _typeof(obj) {
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
function _typeof(o) {
|
||||
"@babel/helpers - typeof";
|
||||
|
||||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
||||
return typeof obj;
|
||||
} : function (obj) {
|
||||
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
||||
}, _typeof(obj);
|
||||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
||||
return typeof o;
|
||||
} : function (o) {
|
||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
||||
}, _typeof(o);
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/date-fns/esm/_lib/requiredArgs/index.js
|
||||
function requiredArgs_requiredArgs(required, args) {
|
||||
|
|
|
@ -666,14 +666,14 @@ var turbo_combine_reducers_default = /*#__PURE__*/__webpack_require__.n(turbo_co
|
|||
var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
|
||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
function _typeof(obj) {
|
||||
function _typeof(o) {
|
||||
"@babel/helpers - typeof";
|
||||
|
||||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
||||
return typeof obj;
|
||||
} : function (obj) {
|
||||
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
||||
}, _typeof(obj);
|
||||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
||||
return typeof o;
|
||||
} : function (o) {
|
||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
||||
}, _typeof(o);
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
||||
|
||||
|
@ -712,26 +712,26 @@ function _defineProperty(obj, key, value) {
|
|||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
||||
|
||||
function ownKeys(object, enumerableOnly) {
|
||||
var keys = Object.keys(object);
|
||||
function ownKeys(e, r) {
|
||||
var t = Object.keys(e);
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var symbols = Object.getOwnPropertySymbols(object);
|
||||
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
||||
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
||||
})), keys.push.apply(keys, symbols);
|
||||
var o = Object.getOwnPropertySymbols(e);
|
||||
r && (o = o.filter(function (r) {
|
||||
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
||||
})), t.push.apply(t, o);
|
||||
}
|
||||
return keys;
|
||||
return t;
|
||||
}
|
||||
function _objectSpread2(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = null != arguments[i] ? arguments[i] : {};
|
||||
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
||||
_defineProperty(target, key, source[key]);
|
||||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
||||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
||||
function _objectSpread2(e) {
|
||||
for (var r = 1; r < arguments.length; r++) {
|
||||
var t = null != arguments[r] ? arguments[r] : {};
|
||||
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
||||
_defineProperty(e, r, t[r]);
|
||||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
||||
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
||||
});
|
||||
}
|
||||
return target;
|
||||
return e;
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/redux/es/redux.js
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8329,15 +8329,15 @@ function usePostVisibilityLabel() {
|
|||
return visibilityOptions[visibility]?.label;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/date-fns/node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
function _typeof(obj) {
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
function _typeof(o) {
|
||||
"@babel/helpers - typeof";
|
||||
|
||||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
||||
return typeof obj;
|
||||
} : function (obj) {
|
||||
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
||||
}, _typeof(obj);
|
||||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
||||
return typeof o;
|
||||
} : function (o) {
|
||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
||||
}, _typeof(o);
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/date-fns/esm/_lib/requiredArgs/index.js
|
||||
function requiredArgs(required, args) {
|
||||
|
|
|
@ -60,7 +60,8 @@ function d(n, t, i, o, r) {
|
|||
__c: null,
|
||||
__h: null,
|
||||
constructor: void 0,
|
||||
__v: null == r ? ++preact_module_u : r
|
||||
__v: null == r ? ++preact_module_u : r,
|
||||
__i: -1
|
||||
};
|
||||
return null == r && null != preact_module_l.vnode && preact_module_l.vnode(f), f;
|
||||
}
|
||||
|
@ -72,22 +73,22 @@ function _() {
|
|||
function k(n) {
|
||||
return n.children;
|
||||
}
|
||||
function b(n, l) {
|
||||
function m(n, l) {
|
||||
this.props = n, this.context = l;
|
||||
}
|
||||
function g(n, l) {
|
||||
if (null == l) return n.__ ? g(n.__, n.__.__k.indexOf(n) + 1) : null;
|
||||
for (var u; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) return u.__d || u.__e;
|
||||
return "function" == typeof n.type ? g(n) : null;
|
||||
function b(n, l) {
|
||||
if (null == l) return n.__ ? b(n.__, n.__i + 1) : null;
|
||||
for (var u; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) return u.__e;
|
||||
return "function" == typeof n.type ? b(n) : null;
|
||||
}
|
||||
function m(n) {
|
||||
function g(n) {
|
||||
var l, u;
|
||||
if (null != (n = n.__) && null != n.__c) {
|
||||
for (n.__e = n.__c.base = null, l = 0; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) {
|
||||
n.__e = n.__c.base = u.__e;
|
||||
break;
|
||||
}
|
||||
return m(n);
|
||||
return g(n);
|
||||
}
|
||||
}
|
||||
function w(n) {
|
||||
|
@ -95,40 +96,40 @@ function w(n) {
|
|||
}
|
||||
function x() {
|
||||
var n, l, u, t, o, r, e, c, s;
|
||||
for (i.sort(preact_module_f); n = i.shift();) n.__d && (l = i.length, t = void 0, o = void 0, r = void 0, c = (e = (u = n).__v).__e, (s = u.__P) && (t = [], o = [], (r = h({}, e)).__v = e.__v + 1, z(s, e, r, u.__n, void 0 !== s.ownerSVGElement, null != e.__h ? [c] : null, t, null == c ? g(e) : c, e.__h, o), L(t, e, o), e.__e != c && m(e)), i.length > l && i.sort(preact_module_f));
|
||||
for (i.sort(preact_module_f); n = i.shift();) n.__d && (l = i.length, t = void 0, o = void 0, r = void 0, c = (e = (u = n).__v).__e, (s = u.__P) && (t = [], o = [], (r = h({}, e)).__v = e.__v + 1, z(s, r, e, u.__n, void 0 !== s.ownerSVGElement, null != e.__h ? [c] : null, t, null == c ? b(e) : c, e.__h, o), r.__.__k[r.__i] = r, L(t, r, o), r.__e != c && g(r)), i.length > l && i.sort(preact_module_f));
|
||||
x.__r = 0;
|
||||
}
|
||||
function P(n, l, u, t, i, o, r, f, e, a, h) {
|
||||
function C(n, l, u, t, i, o, r, f, e, a, h) {
|
||||
var p,
|
||||
y,
|
||||
_,
|
||||
b,
|
||||
m,
|
||||
g,
|
||||
w,
|
||||
x,
|
||||
P,
|
||||
C,
|
||||
$,
|
||||
D = 0,
|
||||
H = t && t.__k || s,
|
||||
I = H.length,
|
||||
T = I,
|
||||
j = l.length;
|
||||
for (u.__k = [], p = 0; p < j; p++) null != (b = u.__k[p] = null == (b = l[p]) || "boolean" == typeof b || "function" == typeof b ? null : "string" == typeof b || "number" == typeof b || "bigint" == typeof b ? d(null, b, null, null, b) : v(b) ? d(k, {
|
||||
children: b
|
||||
}, null, null, null) : b.__b > 0 ? d(b.type, b.props, b.key, b.ref ? b.ref : null, b.__v) : b) ? (b.__ = u, b.__b = u.__b + 1, -1 === (P = A(b, H, x = p + D, T)) ? _ = preact_module_c : (_ = H[P] || preact_module_c, H[P] = void 0, T--), z(n, b, _, i, o, r, f, e, a, h), m = b.__e, (y = b.ref) && _.ref != y && (_.ref && N(_.ref, null, b), h.push(y, b.__c || m, b)), null != m && (null == w && (w = m), (C = _ === preact_module_c || null === _.__v) ? -1 == P && D-- : P !== x && (P === x + 1 ? D++ : P > x ? T > j - x ? D += P - x : D-- : D = P < x && P == x - 1 ? P - x : 0), x = p + D, "function" != typeof b.type || P === x && _.__k !== b.__k ? "function" == typeof b.type || P === x && !C ? void 0 !== b.__d ? (e = b.__d, b.__d = void 0) : e = m.nextSibling : e = S(n, m, e) : e = $(b, e, n), "function" == typeof u.type && (u.__d = e))) : (_ = H[p]) && null == _.key && _.__e && (_.__e == e && (_.__ = t, e = g(_)), O(_, _, !1), H[p] = null);
|
||||
for (u.__e = w, p = I; p--;) null != H[p] && ("function" == typeof u.type && null != H[p].__e && H[p].__e == u.__d && (u.__d = H[p].__e.nextSibling), O(H[p], H[p]));
|
||||
for (u.__k = [], p = 0; p < j; p++) null != (m = u.__k[p] = null == (m = l[p]) || "boolean" == typeof m || "function" == typeof m ? null : m.constructor == String || "number" == typeof m || "bigint" == typeof m ? d(null, m, null, null, m) : v(m) ? d(k, {
|
||||
children: m
|
||||
}, null, null, null) : m.__b > 0 ? d(m.type, m.props, m.key, m.ref ? m.ref : null, m.__v) : m) ? (m.__ = u, m.__b = u.__b + 1, m.__i = p, -1 === (C = A(m, H, x = p + D, T)) ? _ = preact_module_c : (_ = H[C] || preact_module_c, H[C] = void 0, T--), z(n, m, _, i, o, r, f, e, a, h), g = m.__e, (y = m.ref) && _.ref != y && (_.ref && N(_.ref, null, m), h.push(y, m.__c || g, m)), null == w && null != g && (w = g), ($ = _ === preact_module_c || null === _.__v) ? -1 == C && D-- : C !== x && (C === x + 1 ? D++ : C > x ? T > j - x ? D += C - x : D-- : D = C < x && C == x - 1 ? C - x : 0), x = p + D, "function" == typeof m.type ? (C !== x || _.__k === m.__k ? e = P(m, e, n) : void 0 !== m.__d ? e = m.__d : g && (e = g.nextSibling), m.__d = void 0) : g && (e = C !== x || $ ? S(n, g, e) : g.nextSibling), "function" == typeof u.type && (u.__d = e)) : (_ = H[p]) && null == _.key && _.__e && (_.__e == e && (e = b(_), "function" == typeof u.type && (u.__d = e)), O(_, _, !1), H[p] = null);
|
||||
for (u.__e = w, p = I; p--;) null != H[p] && ("function" == typeof u.type && null != H[p].__e && H[p].__e == e && (u.__d = H[p].__e.nextSibling), O(H[p], H[p]));
|
||||
}
|
||||
function $(n, l, u) {
|
||||
for (var t, i = n.__k, o = 0; i && o < i.length; o++) (t = i[o]) && (t.__ = n, l = "function" == typeof t.type ? $(t, l, u) : S(u, t.__e, l));
|
||||
function P(n, l, u) {
|
||||
for (var t, i = n.__k, o = 0; i && o < i.length; o++) (t = i[o]) && (t.__ = n, l = "function" == typeof t.type ? P(t, l, u) : S(u, t.__e, l));
|
||||
return l;
|
||||
}
|
||||
function C(n, l) {
|
||||
function $(n, l) {
|
||||
return l = l || [], null == n || "boolean" == typeof n || (v(n) ? n.some(function (n) {
|
||||
C(n, l);
|
||||
$(n, l);
|
||||
}) : l.push(n)), l;
|
||||
}
|
||||
function S(n, l, u) {
|
||||
return null == u || u.parentNode !== n ? n.insertBefore(l, null) : l == u && null != l.parentNode || n.insertBefore(l, u), l.nextSibling;
|
||||
return l != u && n.insertBefore(l, u || null), l.nextSibling;
|
||||
}
|
||||
function A(n, l, u, t) {
|
||||
var i = n.key,
|
||||
|
@ -188,12 +189,12 @@ function z(n, u, t, i, o, r, f, e, c, s) {
|
|||
y,
|
||||
d,
|
||||
_,
|
||||
b,
|
||||
g,
|
||||
m,
|
||||
w,
|
||||
x,
|
||||
P,
|
||||
$,
|
||||
C,
|
||||
S,
|
||||
A,
|
||||
D,
|
||||
|
@ -202,31 +203,32 @@ function z(n, u, t, i, o, r, f, e, c, s) {
|
|||
if (void 0 !== u.constructor) return null;
|
||||
null != t.__h && (c = t.__h, e = u.__e = t.__e, u.__h = null, r = [e]), (a = preact_module_l.__b) && a(u);
|
||||
n: if ("function" == typeof I) try {
|
||||
if (w = u.props, x = (a = I.contextType) && i[a.__c], $ = a ? x ? x.props.value : a.__ : i, t.__c ? m = (p = u.__c = t.__c).__ = p.__E : ("prototype" in I && I.prototype.render ? u.__c = p = new I(w, $) : (u.__c = p = new b(w, $), p.constructor = I, p.render = q), x && x.sub(p), p.props = w, p.state || (p.state = {}), p.context = $, p.__n = i, y = p.__d = !0, p.__h = [], p._sb = []), null == p.__s && (p.__s = p.state), null != I.getDerivedStateFromProps && (p.__s == p.state && (p.__s = h({}, p.__s)), h(p.__s, I.getDerivedStateFromProps(w, p.__s))), d = p.props, _ = p.state, p.__v = u, y) null == I.getDerivedStateFromProps && null != p.componentWillMount && p.componentWillMount(), null != p.componentDidMount && p.__h.push(p.componentDidMount);else {
|
||||
if (null == I.getDerivedStateFromProps && w !== d && null != p.componentWillReceiveProps && p.componentWillReceiveProps(w, $), !p.__e && (null != p.shouldComponentUpdate && !1 === p.shouldComponentUpdate(w, p.__s, $) || u.__v === t.__v)) {
|
||||
if (w = u.props, x = (a = I.contextType) && i[a.__c], P = a ? x ? x.props.value : a.__ : i, t.__c ? g = (p = u.__c = t.__c).__ = p.__E : ("prototype" in I && I.prototype.render ? u.__c = p = new I(w, P) : (u.__c = p = new m(w, P), p.constructor = I, p.render = q), x && x.sub(p), p.props = w, p.state || (p.state = {}), p.context = P, p.__n = i, y = p.__d = !0, p.__h = [], p._sb = []), null == p.__s && (p.__s = p.state), null != I.getDerivedStateFromProps && (p.__s == p.state && (p.__s = h({}, p.__s)), h(p.__s, I.getDerivedStateFromProps(w, p.__s))), d = p.props, _ = p.state, p.__v = u, y) null == I.getDerivedStateFromProps && null != p.componentWillMount && p.componentWillMount(), null != p.componentDidMount && p.__h.push(p.componentDidMount);else {
|
||||
if (null == I.getDerivedStateFromProps && w !== d && null != p.componentWillReceiveProps && p.componentWillReceiveProps(w, P), !p.__e && (null != p.shouldComponentUpdate && !1 === p.shouldComponentUpdate(w, p.__s, P) || u.__v === t.__v)) {
|
||||
for (u.__v !== t.__v && (p.props = w, p.state = p.__s, p.__d = !1), u.__e = t.__e, u.__k = t.__k, u.__k.forEach(function (n) {
|
||||
n && (n.__ = u);
|
||||
}), C = 0; C < p._sb.length; C++) p.__h.push(p._sb[C]);
|
||||
}), $ = 0; $ < p._sb.length; $++) p.__h.push(p._sb[$]);
|
||||
p._sb = [], p.__h.length && f.push(p);
|
||||
break n;
|
||||
}
|
||||
null != p.componentWillUpdate && p.componentWillUpdate(w, p.__s, $), null != p.componentDidUpdate && p.__h.push(function () {
|
||||
p.componentDidUpdate(d, _, g);
|
||||
null != p.componentWillUpdate && p.componentWillUpdate(w, p.__s, P), null != p.componentDidUpdate && p.__h.push(function () {
|
||||
p.componentDidUpdate(d, _, b);
|
||||
});
|
||||
}
|
||||
if (p.context = $, p.props = w, p.__P = n, p.__e = !1, S = preact_module_l.__r, A = 0, "prototype" in I && I.prototype.render) {
|
||||
if (p.context = P, p.props = w, p.__P = n, p.__e = !1, S = preact_module_l.__r, A = 0, "prototype" in I && I.prototype.render) {
|
||||
for (p.state = p.__s, p.__d = !1, S && S(u), a = p.render(p.props, p.state, p.context), D = 0; D < p._sb.length; D++) p.__h.push(p._sb[D]);
|
||||
p._sb = [];
|
||||
} else do {
|
||||
p.__d = !1, S && S(u), a = p.render(p.props, p.state, p.context), p.state = p.__s;
|
||||
} while (p.__d && ++A < 25);
|
||||
p.state = p.__s, null != p.getChildContext && (i = h(h({}, i), p.getChildContext())), y || null == p.getSnapshotBeforeUpdate || (g = p.getSnapshotBeforeUpdate(d, _)), P(n, v(H = null != a && a.type === k && null == a.key ? a.props.children : a) ? H : [H], u, t, i, o, r, f, e, c, s), p.base = u.__e, u.__h = null, p.__h.length && f.push(p), m && (p.__E = p.__ = null);
|
||||
p.state = p.__s, null != p.getChildContext && (i = h(h({}, i), p.getChildContext())), y || null == p.getSnapshotBeforeUpdate || (b = p.getSnapshotBeforeUpdate(d, _)), C(n, v(H = null != a && a.type === k && null == a.key ? a.props.children : a) ? H : [H], u, t, i, o, r, f, e, c, s), p.base = u.__e, u.__h = null, p.__h.length && f.push(p), g && (p.__E = p.__ = null);
|
||||
} catch (n) {
|
||||
u.__v = null, (c || null != r) && (u.__e = e, u.__h = !!c, r[r.indexOf(e)] = null), preact_module_l.__e(n, u, t);
|
||||
u.__v = null, c || null != r ? (u.__e = e, u.__h = !!c, r[r.indexOf(e)] = null) : (u.__e = t.__e, u.__k = t.__k), preact_module_l.__e(n, u, t);
|
||||
} else null == r && u.__v === t.__v ? (u.__k = t.__k, u.__e = t.__e) : u.__e = M(t.__e, u, t, i, o, r, f, c, s);
|
||||
(a = preact_module_l.diffed) && a(u);
|
||||
}
|
||||
function L(n, u, t) {
|
||||
u.__d = void 0;
|
||||
for (var i = 0; i < t.length; i++) N(t[i], t[++i], t[++i]);
|
||||
preact_module_l.__c && preact_module_l.__c(u, n), n.some(function (u) {
|
||||
try {
|
||||
|
@ -245,9 +247,9 @@ function M(l, u, t, i, o, r, f, e, s) {
|
|||
d = t.props,
|
||||
_ = u.props,
|
||||
k = u.type,
|
||||
b = 0;
|
||||
if ("svg" === k && (o = !0), null != r) for (; b < r.length; b++) if ((a = r[b]) && "setAttribute" in a == !!k && (k ? a.localName === k : 3 === a.nodeType)) {
|
||||
l = a, r[b] = null;
|
||||
m = 0;
|
||||
if ("svg" === k && (o = !0), null != r) for (; m < r.length; m++) if ((a = r[m]) && "setAttribute" in a == !!k && (k ? a.localName === k : 3 === a.nodeType)) {
|
||||
l = a, r[m] = null;
|
||||
break;
|
||||
}
|
||||
if (null == l) {
|
||||
|
@ -256,11 +258,11 @@ function M(l, u, t, i, o, r, f, e, s) {
|
|||
}
|
||||
if (null === k) d === _ || e && l.data === _ || (l.data = _);else {
|
||||
if (r = r && preact_module_n.call(l.childNodes), h = (d = t.props || preact_module_c).dangerouslySetInnerHTML, y = _.dangerouslySetInnerHTML, !e) {
|
||||
if (null != r) for (d = {}, b = 0; b < l.attributes.length; b++) d[l.attributes[b].name] = l.attributes[b].value;
|
||||
if (null != r) for (d = {}, m = 0; m < l.attributes.length; m++) d[l.attributes[m].name] = l.attributes[m].value;
|
||||
(y || h) && (y && (h && y.__html == h.__html || y.__html === l.innerHTML) || (l.innerHTML = y && y.__html || ""));
|
||||
}
|
||||
if (D(l, _, d, o, e), y) u.__k = [];else if (P(l, v(b = u.props.children) ? b : [b], u, t, i, o && "foreignObject" !== k, r, f, r ? r[0] : t.__k && g(t, 0), e, s), null != r) for (b = r.length; b--;) null != r[b] && p(r[b]);
|
||||
e || ("value" in _ && void 0 !== (b = _.value) && (b !== l.value || "progress" === k && !b || "option" === k && b !== d.value) && I(l, "value", b, d.value, !1), "checked" in _ && void 0 !== (b = _.checked) && b !== l.checked && I(l, "checked", b, d.checked, !1));
|
||||
if (D(l, _, d, o, e), y) u.__k = [];else if (C(l, v(m = u.props.children) ? m : [m], u, t, i, o && "foreignObject" !== k, r, f, r ? r[0] : t.__k && b(t, 0), e, s), null != r) for (m = r.length; m--;) null != r[m] && p(r[m]);
|
||||
e || ("value" in _ && void 0 !== (m = _.value) && (m !== l.value || "progress" === k && !m || "option" === k && m !== d.value) && I(l, "value", m, d.value, !1), "checked" in _ && void 0 !== (m = _.checked) && m !== l.checked && I(l, "checked", m, d.checked, !1));
|
||||
}
|
||||
return l;
|
||||
}
|
||||
|
@ -339,13 +341,13 @@ preact_module_n = s.slice, preact_module_l = {
|
|||
throw n;
|
||||
}
|
||||
}, preact_module_u = 0, preact_module_t = function (n) {
|
||||
return null != n && void 0 === n.constructor;
|
||||
}, b.prototype.setState = function (n, l) {
|
||||
return null != n && null == n.constructor;
|
||||
}, m.prototype.setState = function (n, l) {
|
||||
var u;
|
||||
u = null != this.__s && this.__s !== this.state ? this.__s : this.__s = h({}, this.state), "function" == typeof n && (n = n(h({}, u), this.props)), n && h(u, n), null != n && this.__v && (l && this._sb.push(l), w(this));
|
||||
}, b.prototype.forceUpdate = function (n) {
|
||||
}, m.prototype.forceUpdate = function (n) {
|
||||
this.__v && (this.__e = !0, n && this.__h.push(n), w(this));
|
||||
}, b.prototype.render = k, i = [], r = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, preact_module_f = function (n, l) {
|
||||
}, m.prototype.render = k, i = [], r = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, preact_module_f = function (n, l) {
|
||||
return n.__v.__b - l.__v.__b;
|
||||
}, x.__r = 0, preact_module_e = 0;
|
||||
|
||||
|
@ -1093,7 +1095,7 @@ signals_module_l("__h", function (n, r, i, t) {
|
|||
if (t < 3 || 9 === t) r.__$f |= 2;
|
||||
n(r, i, t);
|
||||
});
|
||||
b.prototype.shouldComponentUpdate = function (n, r) {
|
||||
m.prototype.shouldComponentUpdate = function (n, r) {
|
||||
var i = this.__$u;
|
||||
if (!(i && void 0 !== i.s || 4 & this.__$f)) return !0;
|
||||
if (3 & this.__$f) return !0;
|
||||
|
@ -1506,15 +1508,15 @@ const store = ({
|
|||
;// CONCATENATED MODULE: ./node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
|
||||
|
||||
|
||||
var jsxRuntime_module_ = 0;
|
||||
var jsxRuntime_module_r = 0;
|
||||
function jsxRuntime_module_o(o, e, n, t, f, l) {
|
||||
var s,
|
||||
u,
|
||||
a = {};
|
||||
for (u in e) "ref" == u ? s = e[u] : a[u] = e[u];
|
||||
var i = {
|
||||
i,
|
||||
u = {};
|
||||
for (i in e) "ref" == i ? s = e[i] : u[i] = e[i];
|
||||
var a = {
|
||||
type: o,
|
||||
props: a,
|
||||
props: u,
|
||||
key: n,
|
||||
ref: s,
|
||||
__k: null,
|
||||
|
@ -1525,12 +1527,13 @@ function jsxRuntime_module_o(o, e, n, t, f, l) {
|
|||
__c: null,
|
||||
__h: null,
|
||||
constructor: void 0,
|
||||
__v: --jsxRuntime_module_,
|
||||
__v: --jsxRuntime_module_r,
|
||||
__i: -1,
|
||||
__source: f,
|
||||
__self: l
|
||||
};
|
||||
if ("function" == typeof o && (s = o.defaultProps)) for (u in s) void 0 === a[u] && (a[u] = s[u]);
|
||||
return preact_module_l.vnode && preact_module_l.vnode(i), i;
|
||||
if ("function" == typeof o && (s = o.defaultProps)) for (i in s) void 0 === u[i] && (u[i] = s[i]);
|
||||
return preact_module_l.vnode && preact_module_l.vnode(a), a;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/interactivity/src/hooks.js
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57062';
|
||||
$wp_version = '6.5-alpha-57063';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue