Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/dist
File: editor.js
});
[6000] Fix | Delete
[6001] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/index.js
[6002] Fix | Delete
/**
[6003] Fix | Delete
* WordPress dependencies
[6004] Fix | Delete
*/
[6005] Fix | Delete
[6006] Fix | Delete
[6007] Fix | Delete
/**
[6008] Fix | Delete
* Internal dependencies
[6009] Fix | Delete
*/
[6010] Fix | Delete
[6011] Fix | Delete
[6012] Fix | Delete
[6013] Fix | Delete
[6014] Fix | Delete
[6015] Fix | Delete
[6016] Fix | Delete
[6017] Fix | Delete
[6018] Fix | Delete
/**
[6019] Fix | Delete
* Post editor data store configuration.
[6020] Fix | Delete
*
[6021] Fix | Delete
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
[6022] Fix | Delete
*
[6023] Fix | Delete
* @type {Object}
[6024] Fix | Delete
*/
[6025] Fix | Delete
const storeConfig = {
[6026] Fix | Delete
reducer: reducer,
[6027] Fix | Delete
selectors: selectors_namespaceObject,
[6028] Fix | Delete
actions: actions_namespaceObject
[6029] Fix | Delete
};
[6030] Fix | Delete
[6031] Fix | Delete
/**
[6032] Fix | Delete
* Store definition for the editor namespace.
[6033] Fix | Delete
*
[6034] Fix | Delete
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
[6035] Fix | Delete
*
[6036] Fix | Delete
* @type {Object}
[6037] Fix | Delete
*/
[6038] Fix | Delete
const store_store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
[6039] Fix | Delete
...storeConfig
[6040] Fix | Delete
});
[6041] Fix | Delete
(0,external_wp_data_namespaceObject.register)(store_store);
[6042] Fix | Delete
unlock(store_store).registerPrivateActions(private_actions_namespaceObject);
[6043] Fix | Delete
unlock(store_store).registerPrivateSelectors(private_selectors_namespaceObject);
[6044] Fix | Delete
[6045] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/bindings/post-meta.js
[6046] Fix | Delete
/**
[6047] Fix | Delete
* WordPress dependencies
[6048] Fix | Delete
*/
[6049] Fix | Delete
[6050] Fix | Delete
[6051] Fix | Delete
[6052] Fix | Delete
/**
[6053] Fix | Delete
* Internal dependencies
[6054] Fix | Delete
*/
[6055] Fix | Delete
[6056] Fix | Delete
/* harmony default export */ const post_meta = ({
[6057] Fix | Delete
name: 'core/post-meta',
[6058] Fix | Delete
label: (0,external_wp_i18n_namespaceObject._x)('Post Meta', 'block bindings source'),
[6059] Fix | Delete
getPlaceholder({
[6060] Fix | Delete
args
[6061] Fix | Delete
}) {
[6062] Fix | Delete
return args.key;
[6063] Fix | Delete
},
[6064] Fix | Delete
getValue({
[6065] Fix | Delete
registry,
[6066] Fix | Delete
context,
[6067] Fix | Delete
args
[6068] Fix | Delete
}) {
[6069] Fix | Delete
return registry.select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord('postType', context?.postType, context?.postId).meta?.[args.key];
[6070] Fix | Delete
},
[6071] Fix | Delete
setValue({
[6072] Fix | Delete
registry,
[6073] Fix | Delete
context,
[6074] Fix | Delete
args,
[6075] Fix | Delete
value
[6076] Fix | Delete
}) {
[6077] Fix | Delete
registry.dispatch(external_wp_coreData_namespaceObject.store).editEntityRecord('postType', context?.postType, context?.postId, {
[6078] Fix | Delete
meta: {
[6079] Fix | Delete
[args.key]: value
[6080] Fix | Delete
}
[6081] Fix | Delete
});
[6082] Fix | Delete
},
[6083] Fix | Delete
canUserEditValue({
[6084] Fix | Delete
select,
[6085] Fix | Delete
context,
[6086] Fix | Delete
args
[6087] Fix | Delete
}) {
[6088] Fix | Delete
// Lock editing in query loop.
[6089] Fix | Delete
if (context?.query || context?.queryId) {
[6090] Fix | Delete
return false;
[6091] Fix | Delete
}
[6092] Fix | Delete
const postType = context?.postType || select(store_store).getCurrentPostType();
[6093] Fix | Delete
[6094] Fix | Delete
// Check that editing is happening in the post editor and not a template.
[6095] Fix | Delete
if (postType === 'wp_template') {
[6096] Fix | Delete
return false;
[6097] Fix | Delete
}
[6098] Fix | Delete
[6099] Fix | Delete
// Check that the custom field is not protected and available in the REST API.
[6100] Fix | Delete
const isFieldExposed = !!select(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', postType, context?.postId)?.meta?.[args.key];
[6101] Fix | Delete
if (!isFieldExposed) {
[6102] Fix | Delete
return false;
[6103] Fix | Delete
}
[6104] Fix | Delete
[6105] Fix | Delete
// Check that the user has the capability to edit post meta.
[6106] Fix | Delete
const canUserEdit = select(external_wp_coreData_namespaceObject.store).canUserEditEntityRecord('postType', context?.postType, context?.postId);
[6107] Fix | Delete
if (!canUserEdit) {
[6108] Fix | Delete
return false;
[6109] Fix | Delete
}
[6110] Fix | Delete
return true;
[6111] Fix | Delete
}
[6112] Fix | Delete
});
[6113] Fix | Delete
[6114] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/bindings/index.js
[6115] Fix | Delete
/**
[6116] Fix | Delete
* WordPress dependencies
[6117] Fix | Delete
*/
[6118] Fix | Delete
[6119] Fix | Delete
[6120] Fix | Delete
/**
[6121] Fix | Delete
* Internal dependencies
[6122] Fix | Delete
*/
[6123] Fix | Delete
[6124] Fix | Delete
[6125] Fix | Delete
[6126] Fix | Delete
const {
[6127] Fix | Delete
registerBlockBindingsSource
[6128] Fix | Delete
} = unlock((0,external_wp_data_namespaceObject.dispatch)(external_wp_blocks_namespaceObject.store));
[6129] Fix | Delete
registerBlockBindingsSource(post_meta);
[6130] Fix | Delete
registerBlockBindingsSource(pattern_overrides);
[6131] Fix | Delete
[6132] Fix | Delete
;// CONCATENATED MODULE: external ["wp","compose"]
[6133] Fix | Delete
const external_wp_compose_namespaceObject = window["wp"]["compose"];
[6134] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/custom-sources-backwards-compatibility.js
[6135] Fix | Delete
/**
[6136] Fix | Delete
* WordPress dependencies
[6137] Fix | Delete
*/
[6138] Fix | Delete
[6139] Fix | Delete
[6140] Fix | Delete
[6141] Fix | Delete
[6142] Fix | Delete
[6143] Fix | Delete
[6144] Fix | Delete
/**
[6145] Fix | Delete
* Internal dependencies
[6146] Fix | Delete
*/
[6147] Fix | Delete
[6148] Fix | Delete
[6149] Fix | Delete
/** @typedef {import('@wordpress/compose').WPHigherOrderComponent} WPHigherOrderComponent */
[6150] Fix | Delete
/** @typedef {import('@wordpress/blocks').WPBlockSettings} WPBlockSettings */
[6151] Fix | Delete
[6152] Fix | Delete
/**
[6153] Fix | Delete
* Object whose keys are the names of block attributes, where each value
[6154] Fix | Delete
* represents the meta key to which the block attribute is intended to save.
[6155] Fix | Delete
*
[6156] Fix | Delete
* @see https://developer.wordpress.org/reference/functions/register_meta/
[6157] Fix | Delete
*
[6158] Fix | Delete
* @typedef {Object<string,string>} WPMetaAttributeMapping
[6159] Fix | Delete
*/
[6160] Fix | Delete
[6161] Fix | Delete
/**
[6162] Fix | Delete
* Given a mapping of attribute names (meta source attributes) to their
[6163] Fix | Delete
* associated meta key, returns a higher order component that overrides its
[6164] Fix | Delete
* `attributes` and `setAttributes` props to sync any changes with the edited
[6165] Fix | Delete
* post's meta keys.
[6166] Fix | Delete
*
[6167] Fix | Delete
* @param {WPMetaAttributeMapping} metaAttributes Meta attribute mapping.
[6168] Fix | Delete
*
[6169] Fix | Delete
* @return {WPHigherOrderComponent} Higher-order component.
[6170] Fix | Delete
*/
[6171] Fix | Delete
[6172] Fix | Delete
const createWithMetaAttributeSource = metaAttributes => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => ({
[6173] Fix | Delete
attributes,
[6174] Fix | Delete
setAttributes,
[6175] Fix | Delete
...props
[6176] Fix | Delete
}) => {
[6177] Fix | Delete
const postType = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).getCurrentPostType(), []);
[6178] Fix | Delete
const [meta, setMeta] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, 'meta');
[6179] Fix | Delete
const mergedAttributes = (0,external_wp_element_namespaceObject.useMemo)(() => ({
[6180] Fix | Delete
...attributes,
[6181] Fix | Delete
...Object.fromEntries(Object.entries(metaAttributes).map(([attributeKey, metaKey]) => [attributeKey, meta[metaKey]]))
[6182] Fix | Delete
}), [attributes, meta]);
[6183] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockEdit, {
[6184] Fix | Delete
attributes: mergedAttributes,
[6185] Fix | Delete
setAttributes: nextAttributes => {
[6186] Fix | Delete
const nextMeta = Object.fromEntries(Object.entries(nextAttributes !== null && nextAttributes !== void 0 ? nextAttributes : {}).filter(
[6187] Fix | Delete
// Filter to intersection of keys between the updated
[6188] Fix | Delete
// attributes and those with an associated meta key.
[6189] Fix | Delete
([key]) => key in metaAttributes).map(([attributeKey, value]) => [
[6190] Fix | Delete
// Rename the keys to the expected meta key name.
[6191] Fix | Delete
metaAttributes[attributeKey], value]));
[6192] Fix | Delete
if (Object.entries(nextMeta).length) {
[6193] Fix | Delete
setMeta(nextMeta);
[6194] Fix | Delete
}
[6195] Fix | Delete
setAttributes(nextAttributes);
[6196] Fix | Delete
},
[6197] Fix | Delete
...props
[6198] Fix | Delete
});
[6199] Fix | Delete
}, 'withMetaAttributeSource');
[6200] Fix | Delete
[6201] Fix | Delete
/**
[6202] Fix | Delete
* Filters a registered block's settings to enhance a block's `edit` component
[6203] Fix | Delete
* to upgrade meta-sourced attributes to use the post's meta entity property.
[6204] Fix | Delete
*
[6205] Fix | Delete
* @param {WPBlockSettings} settings Registered block settings.
[6206] Fix | Delete
*
[6207] Fix | Delete
* @return {WPBlockSettings} Filtered block settings.
[6208] Fix | Delete
*/
[6209] Fix | Delete
function shimAttributeSource(settings) {
[6210] Fix | Delete
var _settings$attributes;
[6211] Fix | Delete
/** @type {WPMetaAttributeMapping} */
[6212] Fix | Delete
const metaAttributes = Object.fromEntries(Object.entries((_settings$attributes = settings.attributes) !== null && _settings$attributes !== void 0 ? _settings$attributes : {}).filter(([, {
[6213] Fix | Delete
source
[6214] Fix | Delete
}]) => source === 'meta').map(([attributeKey, {
[6215] Fix | Delete
meta
[6216] Fix | Delete
}]) => [attributeKey, meta]));
[6217] Fix | Delete
if (Object.entries(metaAttributes).length) {
[6218] Fix | Delete
settings.edit = createWithMetaAttributeSource(metaAttributes)(settings.edit);
[6219] Fix | Delete
}
[6220] Fix | Delete
return settings;
[6221] Fix | Delete
}
[6222] Fix | Delete
(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/editor/custom-sources-backwards-compatibility/shim-attribute-source', shimAttributeSource);
[6223] Fix | Delete
[6224] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autocompleters/user.js
[6225] Fix | Delete
/**
[6226] Fix | Delete
* WordPress dependencies
[6227] Fix | Delete
*/
[6228] Fix | Delete
[6229] Fix | Delete
[6230] Fix | Delete
[6231] Fix | Delete
[6232] Fix | Delete
/** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */
[6233] Fix | Delete
[6234] Fix | Delete
[6235] Fix | Delete
[6236] Fix | Delete
function getUserLabel(user) {
[6237] Fix | Delete
const avatar = user.avatar_urls && user.avatar_urls[24] ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("img", {
[6238] Fix | Delete
className: "editor-autocompleters__user-avatar",
[6239] Fix | Delete
alt: "",
[6240] Fix | Delete
src: user.avatar_urls[24]
[6241] Fix | Delete
}) : /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("span", {
[6242] Fix | Delete
className: "editor-autocompleters__no-avatar"
[6243] Fix | Delete
});
[6244] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
[6245] Fix | Delete
children: [avatar, /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("span", {
[6246] Fix | Delete
className: "editor-autocompleters__user-name",
[6247] Fix | Delete
children: user.name
[6248] Fix | Delete
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("span", {
[6249] Fix | Delete
className: "editor-autocompleters__user-slug",
[6250] Fix | Delete
children: user.slug
[6251] Fix | Delete
})]
[6252] Fix | Delete
});
[6253] Fix | Delete
}
[6254] Fix | Delete
[6255] Fix | Delete
/**
[6256] Fix | Delete
* A user mentions completer.
[6257] Fix | Delete
*
[6258] Fix | Delete
* @type {WPCompleter}
[6259] Fix | Delete
*/
[6260] Fix | Delete
/* harmony default export */ const user = ({
[6261] Fix | Delete
name: 'users',
[6262] Fix | Delete
className: 'editor-autocompleters__user',
[6263] Fix | Delete
triggerPrefix: '@',
[6264] Fix | Delete
useItems(filterValue) {
[6265] Fix | Delete
const users = (0,external_wp_data_namespaceObject.useSelect)(select => {
[6266] Fix | Delete
const {
[6267] Fix | Delete
getUsers
[6268] Fix | Delete
} = select(external_wp_coreData_namespaceObject.store);
[6269] Fix | Delete
return getUsers({
[6270] Fix | Delete
context: 'view',
[6271] Fix | Delete
search: encodeURIComponent(filterValue)
[6272] Fix | Delete
});
[6273] Fix | Delete
}, [filterValue]);
[6274] Fix | Delete
const options = (0,external_wp_element_namespaceObject.useMemo)(() => users ? users.map(user => ({
[6275] Fix | Delete
key: `user-${user.slug}`,
[6276] Fix | Delete
value: user,
[6277] Fix | Delete
label: getUserLabel(user)
[6278] Fix | Delete
})) : [], [users]);
[6279] Fix | Delete
return [options];
[6280] Fix | Delete
},
[6281] Fix | Delete
getOptionCompletion(user) {
[6282] Fix | Delete
return `@${user.slug}`;
[6283] Fix | Delete
}
[6284] Fix | Delete
});
[6285] Fix | Delete
[6286] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/default-autocompleters.js
[6287] Fix | Delete
/**
[6288] Fix | Delete
* WordPress dependencies
[6289] Fix | Delete
*/
[6290] Fix | Delete
[6291] Fix | Delete
[6292] Fix | Delete
/**
[6293] Fix | Delete
* Internal dependencies
[6294] Fix | Delete
*/
[6295] Fix | Delete
[6296] Fix | Delete
function setDefaultCompleters(completers = []) {
[6297] Fix | Delete
// Provide copies so filters may directly modify them.
[6298] Fix | Delete
completers.push({
[6299] Fix | Delete
...user
[6300] Fix | Delete
});
[6301] Fix | Delete
return completers;
[6302] Fix | Delete
}
[6303] Fix | Delete
(0,external_wp_hooks_namespaceObject.addFilter)('editor.Autocomplete.completers', 'editor/autocompleters/set-default-completers', setDefaultCompleters);
[6304] Fix | Delete
[6305] Fix | Delete
;// CONCATENATED MODULE: external ["wp","mediaUtils"]
[6306] Fix | Delete
const external_wp_mediaUtils_namespaceObject = window["wp"]["mediaUtils"];
[6307] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/media-upload.js
[6308] Fix | Delete
/**
[6309] Fix | Delete
* WordPress dependencies
[6310] Fix | Delete
*/
[6311] Fix | Delete
[6312] Fix | Delete
[6313] Fix | Delete
(0,external_wp_hooks_namespaceObject.addFilter)('editor.MediaUpload', 'core/editor/components/media-upload', () => external_wp_mediaUtils_namespaceObject.MediaUpload);
[6314] Fix | Delete
[6315] Fix | Delete
;// CONCATENATED MODULE: external ["wp","patterns"]
[6316] Fix | Delete
const external_wp_patterns_namespaceObject = window["wp"]["patterns"];
[6317] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/pattern-overrides.js
[6318] Fix | Delete
/**
[6319] Fix | Delete
* WordPress dependencies
[6320] Fix | Delete
*/
[6321] Fix | Delete
[6322] Fix | Delete
[6323] Fix | Delete
[6324] Fix | Delete
[6325] Fix | Delete
[6326] Fix | Delete
[6327] Fix | Delete
[6328] Fix | Delete
/**
[6329] Fix | Delete
* Internal dependencies
[6330] Fix | Delete
*/
[6331] Fix | Delete
[6332] Fix | Delete
[6333] Fix | Delete
[6334] Fix | Delete
/** @typedef {import('@wordpress/blocks').WPBlockSettings} WPBlockSettings */
[6335] Fix | Delete
[6336] Fix | Delete
[6337] Fix | Delete
[6338] Fix | Delete
const {
[6339] Fix | Delete
PatternOverridesControls,
[6340] Fix | Delete
ResetOverridesControl,
[6341] Fix | Delete
PatternOverridesBlockControls,
[6342] Fix | Delete
PATTERN_TYPES,
[6343] Fix | Delete
PARTIAL_SYNCING_SUPPORTED_BLOCKS,
[6344] Fix | Delete
PATTERN_SYNC_TYPES
[6345] Fix | Delete
} = unlock(external_wp_patterns_namespaceObject.privateApis);
[6346] Fix | Delete
[6347] Fix | Delete
/**
[6348] Fix | Delete
* Override the default edit UI to include a new block inspector control for
[6349] Fix | Delete
* assigning a partial syncing controls to supported blocks in the pattern editor.
[6350] Fix | Delete
* Currently, only the `core/paragraph` block is supported.
[6351] Fix | Delete
*
[6352] Fix | Delete
* @param {Component} BlockEdit Original component.
[6353] Fix | Delete
*
[6354] Fix | Delete
* @return {Component} Wrapped component.
[6355] Fix | Delete
*/
[6356] Fix | Delete
const withPatternOverrideControls = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
[6357] Fix | Delete
const isSupportedBlock = !!PARTIAL_SYNCING_SUPPORTED_BLOCKS[props.name];
[6358] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
[6359] Fix | Delete
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(BlockEdit, {
[6360] Fix | Delete
...props
[6361] Fix | Delete
}), props.isSelected && isSupportedBlock && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ControlsWithStoreSubscription, {
[6362] Fix | Delete
...props
[6363] Fix | Delete
}), isSupportedBlock && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternOverridesBlockControls, {})]
[6364] Fix | Delete
});
[6365] Fix | Delete
}, 'withPatternOverrideControls');
[6366] Fix | Delete
[6367] Fix | Delete
// Split into a separate component to avoid a store subscription
[6368] Fix | Delete
// on every block.
[6369] Fix | Delete
function ControlsWithStoreSubscription(props) {
[6370] Fix | Delete
const blockEditingMode = (0,external_wp_blockEditor_namespaceObject.useBlockEditingMode)();
[6371] Fix | Delete
const {
[6372] Fix | Delete
hasPatternOverridesSource,
[6373] Fix | Delete
isEditingSyncedPattern
[6374] Fix | Delete
} = (0,external_wp_data_namespaceObject.useSelect)(select => {
[6375] Fix | Delete
const {
[6376] Fix | Delete
getBlockBindingsSource
[6377] Fix | Delete
} = unlock(select(external_wp_blocks_namespaceObject.store));
[6378] Fix | Delete
const {
[6379] Fix | Delete
getCurrentPostType,
[6380] Fix | Delete
getEditedPostAttribute
[6381] Fix | Delete
} = select(store_store);
[6382] Fix | Delete
return {
[6383] Fix | Delete
// For editing link to the site editor if the theme and user permissions support it.
[6384] Fix | Delete
hasPatternOverridesSource: !!getBlockBindingsSource('core/pattern-overrides'),
[6385] Fix | Delete
isEditingSyncedPattern: getCurrentPostType() === PATTERN_TYPES.user && getEditedPostAttribute('meta')?.wp_pattern_sync_status !== PATTERN_SYNC_TYPES.unsynced && getEditedPostAttribute('wp_pattern_sync_status') !== PATTERN_SYNC_TYPES.unsynced
[6386] Fix | Delete
};
[6387] Fix | Delete
}, []);
[6388] Fix | Delete
const bindings = props.attributes.metadata?.bindings;
[6389] Fix | Delete
const hasPatternBindings = !!bindings && Object.values(bindings).some(binding => binding.source === 'core/pattern-overrides');
[6390] Fix | Delete
const shouldShowPatternOverridesControls = isEditingSyncedPattern && blockEditingMode === 'default';
[6391] Fix | Delete
const shouldShowResetOverridesControl = !isEditingSyncedPattern && !!props.attributes.metadata?.name && blockEditingMode !== 'disabled' && hasPatternBindings;
[6392] Fix | Delete
if (!hasPatternOverridesSource) {
[6393] Fix | Delete
return null;
[6394] Fix | Delete
}
[6395] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
[6396] Fix | Delete
children: [shouldShowPatternOverridesControls && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PatternOverridesControls, {
[6397] Fix | Delete
...props
[6398] Fix | Delete
}), shouldShowResetOverridesControl && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ResetOverridesControl, {
[6399] Fix | Delete
...props
[6400] Fix | Delete
})]
[6401] Fix | Delete
});
[6402] Fix | Delete
}
[6403] Fix | Delete
(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/editor/with-pattern-override-controls', withPatternOverrideControls);
[6404] Fix | Delete
[6405] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/index.js
[6406] Fix | Delete
/**
[6407] Fix | Delete
* Internal dependencies
[6408] Fix | Delete
*/
[6409] Fix | Delete
[6410] Fix | Delete
[6411] Fix | Delete
[6412] Fix | Delete
[6413] Fix | Delete
[6414] Fix | Delete
;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
[6415] Fix | Delete
const external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
[6416] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/clsx/dist/clsx.mjs
[6417] Fix | Delete
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const dist_clsx = (clsx);
[6418] Fix | Delete
;// CONCATENATED MODULE: external ["wp","components"]
[6419] Fix | Delete
const external_wp_components_namespaceObject = window["wp"]["components"];
[6420] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
[6421] Fix | Delete
/**
[6422] Fix | Delete
* WordPress dependencies
[6423] Fix | Delete
*/
[6424] Fix | Delete
[6425] Fix | Delete
[6426] Fix | Delete
const check = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, {
[6427] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[6428] Fix | Delete
viewBox: "0 0 24 24",
[6429] Fix | Delete
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.Path, {
[6430] Fix | Delete
d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
[6431] Fix | Delete
})
[6432] Fix | Delete
});
[6433] Fix | Delete
/* harmony default export */ const library_check = (check);
[6434] Fix | Delete
[6435] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
[6436] Fix | Delete
/**
[6437] Fix | Delete
* WordPress dependencies
[6438] Fix | Delete
*/
[6439] Fix | Delete
[6440] Fix | Delete
[6441] Fix | Delete
const starFilled = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, {
[6442] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[6443] Fix | Delete
viewBox: "0 0 24 24",
[6444] Fix | Delete
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.Path, {
[6445] Fix | Delete
d: "M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"
[6446] Fix | Delete
})
[6447] Fix | Delete
});
[6448] Fix | Delete
/* harmony default export */ const star_filled = (starFilled);
[6449] Fix | Delete
[6450] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
[6451] Fix | Delete
/**
[6452] Fix | Delete
* WordPress dependencies
[6453] Fix | Delete
*/
[6454] Fix | Delete
[6455] Fix | Delete
[6456] Fix | Delete
const starEmpty = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, {
[6457] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[6458] Fix | Delete
viewBox: "0 0 24 24",
[6459] Fix | Delete
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.Path, {
[6460] Fix | Delete
fillRule: "evenodd",
[6461] Fix | Delete
d: "M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",
[6462] Fix | Delete
clipRule: "evenodd"
[6463] Fix | Delete
})
[6464] Fix | Delete
});
[6465] Fix | Delete
/* harmony default export */ const star_empty = (starEmpty);
[6466] Fix | Delete
[6467] Fix | Delete
;// CONCATENATED MODULE: external ["wp","viewport"]
[6468] Fix | Delete
const external_wp_viewport_namespaceObject = window["wp"]["viewport"];
[6469] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
[6470] Fix | Delete
/**
[6471] Fix | Delete
* WordPress dependencies
[6472] Fix | Delete
*/
[6473] Fix | Delete
[6474] Fix | Delete
[6475] Fix | Delete
const closeSmall = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, {
[6476] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[6477] Fix | Delete
viewBox: "0 0 24 24",
[6478] Fix | Delete
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.Path, {
[6479] Fix | Delete
d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
[6480] Fix | Delete
})
[6481] Fix | Delete
});
[6482] Fix | Delete
/* harmony default export */ const close_small = (closeSmall);
[6483] Fix | Delete
[6484] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/deprecated.js
[6485] Fix | Delete
/**
[6486] Fix | Delete
* WordPress dependencies
[6487] Fix | Delete
*/
[6488] Fix | Delete
[6489] Fix | Delete
function normalizeComplementaryAreaScope(scope) {
[6490] Fix | Delete
if (['core/edit-post', 'core/edit-site'].includes(scope)) {
[6491] Fix | Delete
external_wp_deprecated_default()(`${scope} interface scope`, {
[6492] Fix | Delete
alternative: 'core interface scope',
[6493] Fix | Delete
hint: 'core/edit-post and core/edit-site are merging.',
[6494] Fix | Delete
version: '6.6'
[6495] Fix | Delete
});
[6496] Fix | Delete
return 'core';
[6497] Fix | Delete
}
[6498] Fix | Delete
return scope;
[6499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function