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: block-editor.js
}
[70500] Fix | Delete
[70501] Fix | Delete
function createStringFromObject(mergedProps, registered, obj) {
[70502] Fix | Delete
var string = '';
[70503] Fix | Delete
[70504] Fix | Delete
if (Array.isArray(obj)) {
[70505] Fix | Delete
for (var i = 0; i < obj.length; i++) {
[70506] Fix | Delete
string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
[70507] Fix | Delete
}
[70508] Fix | Delete
} else {
[70509] Fix | Delete
for (var _key in obj) {
[70510] Fix | Delete
var value = obj[_key];
[70511] Fix | Delete
[70512] Fix | Delete
if (typeof value !== 'object') {
[70513] Fix | Delete
if (registered != null && registered[value] !== undefined) {
[70514] Fix | Delete
string += _key + "{" + registered[value] + "}";
[70515] Fix | Delete
} else if (isProcessableValue(value)) {
[70516] Fix | Delete
string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
[70517] Fix | Delete
}
[70518] Fix | Delete
} else {
[70519] Fix | Delete
if (_key === 'NO_COMPONENT_SELECTOR' && "production" !== 'production') {}
[70520] Fix | Delete
[70521] Fix | Delete
if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
[70522] Fix | Delete
for (var _i = 0; _i < value.length; _i++) {
[70523] Fix | Delete
if (isProcessableValue(value[_i])) {
[70524] Fix | Delete
string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
[70525] Fix | Delete
}
[70526] Fix | Delete
}
[70527] Fix | Delete
} else {
[70528] Fix | Delete
var interpolated = handleInterpolation(mergedProps, registered, value);
[70529] Fix | Delete
[70530] Fix | Delete
switch (_key) {
[70531] Fix | Delete
case 'animation':
[70532] Fix | Delete
case 'animationName':
[70533] Fix | Delete
{
[70534] Fix | Delete
string += processStyleName(_key) + ":" + interpolated + ";";
[70535] Fix | Delete
break;
[70536] Fix | Delete
}
[70537] Fix | Delete
[70538] Fix | Delete
default:
[70539] Fix | Delete
{
[70540] Fix | Delete
if (false) {}
[70541] Fix | Delete
[70542] Fix | Delete
string += _key + "{" + interpolated + "}";
[70543] Fix | Delete
}
[70544] Fix | Delete
}
[70545] Fix | Delete
}
[70546] Fix | Delete
}
[70547] Fix | Delete
}
[70548] Fix | Delete
}
[70549] Fix | Delete
[70550] Fix | Delete
return string;
[70551] Fix | Delete
}
[70552] Fix | Delete
[70553] Fix | Delete
var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
[70554] Fix | Delete
var sourceMapPattern;
[70555] Fix | Delete
[70556] Fix | Delete
if (false) {} // this is the cursor for keyframes
[70557] Fix | Delete
// keyframes are stored on the SerializedStyles object as a linked list
[70558] Fix | Delete
[70559] Fix | Delete
[70560] Fix | Delete
var cursor;
[70561] Fix | Delete
var emotion_serialize_browser_esm_serializeStyles = function serializeStyles(args, registered, mergedProps) {
[70562] Fix | Delete
if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
[70563] Fix | Delete
return args[0];
[70564] Fix | Delete
}
[70565] Fix | Delete
[70566] Fix | Delete
var stringMode = true;
[70567] Fix | Delete
var styles = '';
[70568] Fix | Delete
cursor = undefined;
[70569] Fix | Delete
var strings = args[0];
[70570] Fix | Delete
[70571] Fix | Delete
if (strings == null || strings.raw === undefined) {
[70572] Fix | Delete
stringMode = false;
[70573] Fix | Delete
styles += handleInterpolation(mergedProps, registered, strings);
[70574] Fix | Delete
} else {
[70575] Fix | Delete
if (false) {}
[70576] Fix | Delete
[70577] Fix | Delete
styles += strings[0];
[70578] Fix | Delete
} // we start at 1 since we've already handled the first arg
[70579] Fix | Delete
[70580] Fix | Delete
[70581] Fix | Delete
for (var i = 1; i < args.length; i++) {
[70582] Fix | Delete
styles += handleInterpolation(mergedProps, registered, args[i]);
[70583] Fix | Delete
[70584] Fix | Delete
if (stringMode) {
[70585] Fix | Delete
if (false) {}
[70586] Fix | Delete
[70587] Fix | Delete
styles += strings[i];
[70588] Fix | Delete
}
[70589] Fix | Delete
}
[70590] Fix | Delete
[70591] Fix | Delete
var sourceMap;
[70592] Fix | Delete
[70593] Fix | Delete
if (false) {} // using a global regex with .exec is stateful so lastIndex has to be reset each time
[70594] Fix | Delete
[70595] Fix | Delete
[70596] Fix | Delete
labelPattern.lastIndex = 0;
[70597] Fix | Delete
var identifierName = '';
[70598] Fix | Delete
var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
[70599] Fix | Delete
[70600] Fix | Delete
while ((match = labelPattern.exec(styles)) !== null) {
[70601] Fix | Delete
identifierName += '-' + // $FlowFixMe we know it's not null
[70602] Fix | Delete
match[1];
[70603] Fix | Delete
}
[70604] Fix | Delete
[70605] Fix | Delete
var name = emotion_hash_esm(styles) + identifierName;
[70606] Fix | Delete
[70607] Fix | Delete
if (false) {}
[70608] Fix | Delete
[70609] Fix | Delete
return {
[70610] Fix | Delete
name: name,
[70611] Fix | Delete
styles: styles,
[70612] Fix | Delete
next: cursor
[70613] Fix | Delete
};
[70614] Fix | Delete
};
[70615] Fix | Delete
[70616] Fix | Delete
[70617] Fix | Delete
[70618] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js
[70619] Fix | Delete
[70620] Fix | Delete
[70621] Fix | Delete
[70622] Fix | Delete
var syncFallback = function syncFallback(create) {
[70623] Fix | Delete
return create();
[70624] Fix | Delete
};
[70625] Fix | Delete
[70626] Fix | Delete
var useInsertionEffect = external_React_['useInsertion' + 'Effect'] ? external_React_['useInsertion' + 'Effect'] : false;
[70627] Fix | Delete
var emotion_use_insertion_effect_with_fallbacks_browser_esm_useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
[70628] Fix | Delete
var useInsertionEffectWithLayoutFallback = (/* unused pure expression or super */ null && (useInsertionEffect || useLayoutEffect));
[70629] Fix | Delete
[70630] Fix | Delete
[70631] Fix | Delete
[70632] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js
[70633] Fix | Delete
[70634] Fix | Delete
[70635] Fix | Delete
[70636] Fix | Delete
[70637] Fix | Delete
[70638] Fix | Delete
[70639] Fix | Delete
[70640] Fix | Delete
[70641] Fix | Delete
[70642] Fix | Delete
var emotion_element_6a883da9_browser_esm_hasOwnProperty = {}.hasOwnProperty;
[70643] Fix | Delete
[70644] Fix | Delete
var EmotionCacheContext = /* #__PURE__ */(0,external_React_.createContext)( // we're doing this to avoid preconstruct's dead code elimination in this one case
[70645] Fix | Delete
// because this module is primarily intended for the browser and node
[70646] Fix | Delete
// but it's also required in react native and similar environments sometimes
[70647] Fix | Delete
// and we could have a special build just for that
[70648] Fix | Delete
// but this is much easier and the native packages
[70649] Fix | Delete
// might use a different theme context in the future anyway
[70650] Fix | Delete
typeof HTMLElement !== 'undefined' ? /* #__PURE__ */emotion_cache_browser_esm({
[70651] Fix | Delete
key: 'css'
[70652] Fix | Delete
}) : null);
[70653] Fix | Delete
[70654] Fix | Delete
if (false) {}
[70655] Fix | Delete
[70656] Fix | Delete
var CacheProvider = EmotionCacheContext.Provider;
[70657] Fix | Delete
var __unsafe_useEmotionCache = function useEmotionCache() {
[70658] Fix | Delete
return useContext(EmotionCacheContext);
[70659] Fix | Delete
};
[70660] Fix | Delete
[70661] Fix | Delete
var withEmotionCache = function withEmotionCache(func) {
[70662] Fix | Delete
// $FlowFixMe
[70663] Fix | Delete
return /*#__PURE__*/(0,external_React_.forwardRef)(function (props, ref) {
[70664] Fix | Delete
// the cache will never be null in the browser
[70665] Fix | Delete
var cache = (0,external_React_.useContext)(EmotionCacheContext);
[70666] Fix | Delete
return func(props, cache, ref);
[70667] Fix | Delete
});
[70668] Fix | Delete
};
[70669] Fix | Delete
[70670] Fix | Delete
var ThemeContext = /* #__PURE__ */(0,external_React_.createContext)({});
[70671] Fix | Delete
[70672] Fix | Delete
if (false) {}
[70673] Fix | Delete
[70674] Fix | Delete
var useTheme = function useTheme() {
[70675] Fix | Delete
return useContext(ThemeContext);
[70676] Fix | Delete
};
[70677] Fix | Delete
[70678] Fix | Delete
var getTheme = function getTheme(outerTheme, theme) {
[70679] Fix | Delete
if (typeof theme === 'function') {
[70680] Fix | Delete
var mergedTheme = theme(outerTheme);
[70681] Fix | Delete
[70682] Fix | Delete
if (false) {}
[70683] Fix | Delete
[70684] Fix | Delete
return mergedTheme;
[70685] Fix | Delete
}
[70686] Fix | Delete
[70687] Fix | Delete
if (false) {}
[70688] Fix | Delete
[70689] Fix | Delete
return _extends({}, outerTheme, theme);
[70690] Fix | Delete
};
[70691] Fix | Delete
[70692] Fix | Delete
var createCacheWithTheme = /* #__PURE__ */(/* unused pure expression or super */ null && (weakMemoize(function (outerTheme) {
[70693] Fix | Delete
return weakMemoize(function (theme) {
[70694] Fix | Delete
return getTheme(outerTheme, theme);
[70695] Fix | Delete
});
[70696] Fix | Delete
})));
[70697] Fix | Delete
var ThemeProvider = function ThemeProvider(props) {
[70698] Fix | Delete
var theme = useContext(ThemeContext);
[70699] Fix | Delete
[70700] Fix | Delete
if (props.theme !== theme) {
[70701] Fix | Delete
theme = createCacheWithTheme(theme)(props.theme);
[70702] Fix | Delete
}
[70703] Fix | Delete
[70704] Fix | Delete
return /*#__PURE__*/createElement(ThemeContext.Provider, {
[70705] Fix | Delete
value: theme
[70706] Fix | Delete
}, props.children);
[70707] Fix | Delete
};
[70708] Fix | Delete
function withTheme(Component) {
[70709] Fix | Delete
var componentName = Component.displayName || Component.name || 'Component';
[70710] Fix | Delete
[70711] Fix | Delete
var render = function render(props, ref) {
[70712] Fix | Delete
var theme = useContext(ThemeContext);
[70713] Fix | Delete
return /*#__PURE__*/createElement(Component, _extends({
[70714] Fix | Delete
theme: theme,
[70715] Fix | Delete
ref: ref
[70716] Fix | Delete
}, props));
[70717] Fix | Delete
}; // $FlowFixMe
[70718] Fix | Delete
[70719] Fix | Delete
[70720] Fix | Delete
var WithTheme = /*#__PURE__*/forwardRef(render);
[70721] Fix | Delete
WithTheme.displayName = "WithTheme(" + componentName + ")";
[70722] Fix | Delete
return hoistNonReactStatics(WithTheme, Component);
[70723] Fix | Delete
}
[70724] Fix | Delete
[70725] Fix | Delete
var getLastPart = function getLastPart(functionName) {
[70726] Fix | Delete
// The match may be something like 'Object.createEmotionProps' or
[70727] Fix | Delete
// 'Loader.prototype.render'
[70728] Fix | Delete
var parts = functionName.split('.');
[70729] Fix | Delete
return parts[parts.length - 1];
[70730] Fix | Delete
};
[70731] Fix | Delete
[70732] Fix | Delete
var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
[70733] Fix | Delete
// V8
[70734] Fix | Delete
var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
[70735] Fix | Delete
if (match) return getLastPart(match[1]); // Safari / Firefox
[70736] Fix | Delete
[70737] Fix | Delete
match = /^([A-Za-z0-9$.]+)@/.exec(line);
[70738] Fix | Delete
if (match) return getLastPart(match[1]);
[70739] Fix | Delete
return undefined;
[70740] Fix | Delete
};
[70741] Fix | Delete
[70742] Fix | Delete
var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
[70743] Fix | Delete
// identifiers, thus we only need to replace what is a valid character for JS,
[70744] Fix | Delete
// but not for CSS.
[70745] Fix | Delete
[70746] Fix | Delete
var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
[70747] Fix | Delete
return identifier.replace(/\$/g, '-');
[70748] Fix | Delete
};
[70749] Fix | Delete
[70750] Fix | Delete
var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
[70751] Fix | Delete
if (!stackTrace) return undefined;
[70752] Fix | Delete
var lines = stackTrace.split('\n');
[70753] Fix | Delete
[70754] Fix | Delete
for (var i = 0; i < lines.length; i++) {
[70755] Fix | Delete
var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
[70756] Fix | Delete
[70757] Fix | Delete
if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
[70758] Fix | Delete
[70759] Fix | Delete
if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
[70760] Fix | Delete
// uppercase letter
[70761] Fix | Delete
[70762] Fix | Delete
if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
[70763] Fix | Delete
}
[70764] Fix | Delete
[70765] Fix | Delete
return undefined;
[70766] Fix | Delete
};
[70767] Fix | Delete
[70768] Fix | Delete
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
[70769] Fix | Delete
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
[70770] Fix | Delete
var createEmotionProps = function createEmotionProps(type, props) {
[70771] Fix | Delete
if (false) {}
[70772] Fix | Delete
[70773] Fix | Delete
var newProps = {};
[70774] Fix | Delete
[70775] Fix | Delete
for (var key in props) {
[70776] Fix | Delete
if (emotion_element_6a883da9_browser_esm_hasOwnProperty.call(props, key)) {
[70777] Fix | Delete
newProps[key] = props[key];
[70778] Fix | Delete
}
[70779] Fix | Delete
}
[70780] Fix | Delete
[70781] Fix | Delete
newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
[70782] Fix | Delete
// the label hasn't already been computed
[70783] Fix | Delete
[70784] Fix | Delete
if (false) { var label; }
[70785] Fix | Delete
[70786] Fix | Delete
return newProps;
[70787] Fix | Delete
};
[70788] Fix | Delete
[70789] Fix | Delete
var Insertion = function Insertion(_ref) {
[70790] Fix | Delete
var cache = _ref.cache,
[70791] Fix | Delete
serialized = _ref.serialized,
[70792] Fix | Delete
isStringTag = _ref.isStringTag;
[70793] Fix | Delete
registerStyles(cache, serialized, isStringTag);
[70794] Fix | Delete
var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
[70795] Fix | Delete
return insertStyles(cache, serialized, isStringTag);
[70796] Fix | Delete
});
[70797] Fix | Delete
[70798] Fix | Delete
return null;
[70799] Fix | Delete
};
[70800] Fix | Delete
[70801] Fix | Delete
var Emotion = /* #__PURE__ */(/* unused pure expression or super */ null && (withEmotionCache(function (props, cache, ref) {
[70802] Fix | Delete
var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
[70803] Fix | Delete
// not passing the registered cache to serializeStyles because it would
[70804] Fix | Delete
// make certain babel optimisations not possible
[70805] Fix | Delete
[70806] Fix | Delete
if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
[70807] Fix | Delete
cssProp = cache.registered[cssProp];
[70808] Fix | Delete
}
[70809] Fix | Delete
[70810] Fix | Delete
var WrappedComponent = props[typePropName];
[70811] Fix | Delete
var registeredStyles = [cssProp];
[70812] Fix | Delete
var className = '';
[70813] Fix | Delete
[70814] Fix | Delete
if (typeof props.className === 'string') {
[70815] Fix | Delete
className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
[70816] Fix | Delete
} else if (props.className != null) {
[70817] Fix | Delete
className = props.className + " ";
[70818] Fix | Delete
}
[70819] Fix | Delete
[70820] Fix | Delete
var serialized = serializeStyles(registeredStyles, undefined, useContext(ThemeContext));
[70821] Fix | Delete
[70822] Fix | Delete
if (false) { var labelFromStack; }
[70823] Fix | Delete
[70824] Fix | Delete
className += cache.key + "-" + serialized.name;
[70825] Fix | Delete
var newProps = {};
[70826] Fix | Delete
[70827] Fix | Delete
for (var key in props) {
[70828] Fix | Delete
if (emotion_element_6a883da9_browser_esm_hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && ( true || 0)) {
[70829] Fix | Delete
newProps[key] = props[key];
[70830] Fix | Delete
}
[70831] Fix | Delete
}
[70832] Fix | Delete
[70833] Fix | Delete
newProps.ref = ref;
[70834] Fix | Delete
newProps.className = className;
[70835] Fix | Delete
return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion, {
[70836] Fix | Delete
cache: cache,
[70837] Fix | Delete
serialized: serialized,
[70838] Fix | Delete
isStringTag: typeof WrappedComponent === 'string'
[70839] Fix | Delete
}), /*#__PURE__*/createElement(WrappedComponent, newProps));
[70840] Fix | Delete
})));
[70841] Fix | Delete
[70842] Fix | Delete
if (false) {}
[70843] Fix | Delete
[70844] Fix | Delete
[70845] Fix | Delete
[70846] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
[70847] Fix | Delete
var isBrowser = "object" !== 'undefined';
[70848] Fix | Delete
function emotion_utils_browser_esm_getRegisteredStyles(registered, registeredStyles, classNames) {
[70849] Fix | Delete
var rawClassName = '';
[70850] Fix | Delete
classNames.split(' ').forEach(function (className) {
[70851] Fix | Delete
if (registered[className] !== undefined) {
[70852] Fix | Delete
registeredStyles.push(registered[className] + ";");
[70853] Fix | Delete
} else {
[70854] Fix | Delete
rawClassName += className + " ";
[70855] Fix | Delete
}
[70856] Fix | Delete
});
[70857] Fix | Delete
return rawClassName;
[70858] Fix | Delete
}
[70859] Fix | Delete
var emotion_utils_browser_esm_registerStyles = function registerStyles(cache, serialized, isStringTag) {
[70860] Fix | Delete
var className = cache.key + "-" + serialized.name;
[70861] Fix | Delete
[70862] Fix | Delete
if ( // we only need to add the styles to the registered cache if the
[70863] Fix | Delete
// class name could be used further down
[70864] Fix | Delete
// the tree but if it's a string tag, we know it won't
[70865] Fix | Delete
// so we don't have to add it to registered cache.
[70866] Fix | Delete
// this improves memory usage since we can avoid storing the whole style string
[70867] Fix | Delete
(isStringTag === false || // we need to always store it if we're in compat mode and
[70868] Fix | Delete
// in node since emotion-server relies on whether a style is in
[70869] Fix | Delete
// the registered cache to know whether a style is global or not
[70870] Fix | Delete
// also, note that this check will be dead code eliminated in the browser
[70871] Fix | Delete
isBrowser === false ) && cache.registered[className] === undefined) {
[70872] Fix | Delete
cache.registered[className] = serialized.styles;
[70873] Fix | Delete
}
[70874] Fix | Delete
};
[70875] Fix | Delete
var emotion_utils_browser_esm_insertStyles = function insertStyles(cache, serialized, isStringTag) {
[70876] Fix | Delete
emotion_utils_browser_esm_registerStyles(cache, serialized, isStringTag);
[70877] Fix | Delete
var className = cache.key + "-" + serialized.name;
[70878] Fix | Delete
[70879] Fix | Delete
if (cache.inserted[serialized.name] === undefined) {
[70880] Fix | Delete
var current = serialized;
[70881] Fix | Delete
[70882] Fix | Delete
do {
[70883] Fix | Delete
var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
[70884] Fix | Delete
[70885] Fix | Delete
current = current.next;
[70886] Fix | Delete
} while (current !== undefined);
[70887] Fix | Delete
}
[70888] Fix | Delete
};
[70889] Fix | Delete
[70890] Fix | Delete
[70891] Fix | Delete
[70892] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
[70893] Fix | Delete
[70894] Fix | Delete
[70895] Fix | Delete
[70896] Fix | Delete
[70897] Fix | Delete
[70898] Fix | Delete
[70899] Fix | Delete
[70900] Fix | Delete
[70901] Fix | Delete
var testOmitPropsOnStringTag = isPropValid;
[70902] Fix | Delete
[70903] Fix | Delete
var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
[70904] Fix | Delete
return key !== 'theme';
[70905] Fix | Delete
};
[70906] Fix | Delete
[70907] Fix | Delete
var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
[70908] Fix | Delete
return typeof tag === 'string' && // 96 is one less than the char code
[70909] Fix | Delete
// for "a" so this is checking that
[70910] Fix | Delete
// it's a lowercase character
[70911] Fix | Delete
tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
[70912] Fix | Delete
};
[70913] Fix | Delete
var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
[70914] Fix | Delete
var shouldForwardProp;
[70915] Fix | Delete
[70916] Fix | Delete
if (options) {
[70917] Fix | Delete
var optionsShouldForwardProp = options.shouldForwardProp;
[70918] Fix | Delete
shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {
[70919] Fix | Delete
return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
[70920] Fix | Delete
} : optionsShouldForwardProp;
[70921] Fix | Delete
}
[70922] Fix | Delete
[70923] Fix | Delete
if (typeof shouldForwardProp !== 'function' && isReal) {
[70924] Fix | Delete
shouldForwardProp = tag.__emotion_forwardProp;
[70925] Fix | Delete
}
[70926] Fix | Delete
[70927] Fix | Delete
return shouldForwardProp;
[70928] Fix | Delete
};
[70929] Fix | Delete
[70930] Fix | Delete
var emotion_styled_base_browser_esm_ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
[70931] Fix | Delete
[70932] Fix | Delete
var emotion_styled_base_browser_esm_Insertion = function Insertion(_ref) {
[70933] Fix | Delete
var cache = _ref.cache,
[70934] Fix | Delete
serialized = _ref.serialized,
[70935] Fix | Delete
isStringTag = _ref.isStringTag;
[70936] Fix | Delete
emotion_utils_browser_esm_registerStyles(cache, serialized, isStringTag);
[70937] Fix | Delete
var rules = emotion_use_insertion_effect_with_fallbacks_browser_esm_useInsertionEffectAlwaysWithSyncFallback(function () {
[70938] Fix | Delete
return emotion_utils_browser_esm_insertStyles(cache, serialized, isStringTag);
[70939] Fix | Delete
});
[70940] Fix | Delete
[70941] Fix | Delete
return null;
[70942] Fix | Delete
};
[70943] Fix | Delete
[70944] Fix | Delete
var createStyled = function createStyled(tag, options) {
[70945] Fix | Delete
if (false) {}
[70946] Fix | Delete
[70947] Fix | Delete
var isReal = tag.__emotion_real === tag;
[70948] Fix | Delete
var baseTag = isReal && tag.__emotion_base || tag;
[70949] Fix | Delete
var identifierName;
[70950] Fix | Delete
var targetClassName;
[70951] Fix | Delete
[70952] Fix | Delete
if (options !== undefined) {
[70953] Fix | Delete
identifierName = options.label;
[70954] Fix | Delete
targetClassName = options.target;
[70955] Fix | Delete
}
[70956] Fix | Delete
[70957] Fix | Delete
var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
[70958] Fix | Delete
var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
[70959] Fix | Delete
var shouldUseAs = !defaultShouldForwardProp('as');
[70960] Fix | Delete
return function () {
[70961] Fix | Delete
var args = arguments;
[70962] Fix | Delete
var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];
[70963] Fix | Delete
[70964] Fix | Delete
if (identifierName !== undefined) {
[70965] Fix | Delete
styles.push("label:" + identifierName + ";");
[70966] Fix | Delete
}
[70967] Fix | Delete
[70968] Fix | Delete
if (args[0] == null || args[0].raw === undefined) {
[70969] Fix | Delete
styles.push.apply(styles, args);
[70970] Fix | Delete
} else {
[70971] Fix | Delete
if (false) {}
[70972] Fix | Delete
[70973] Fix | Delete
styles.push(args[0][0]);
[70974] Fix | Delete
var len = args.length;
[70975] Fix | Delete
var i = 1;
[70976] Fix | Delete
[70977] Fix | Delete
for (; i < len; i++) {
[70978] Fix | Delete
if (false) {}
[70979] Fix | Delete
[70980] Fix | Delete
styles.push(args[i], args[0][i]);
[70981] Fix | Delete
}
[70982] Fix | Delete
} // $FlowFixMe: we need to cast StatelessFunctionalComponent to our PrivateStyledComponent class
[70983] Fix | Delete
[70984] Fix | Delete
[70985] Fix | Delete
var Styled = withEmotionCache(function (props, cache, ref) {
[70986] Fix | Delete
var FinalTag = shouldUseAs && props.as || baseTag;
[70987] Fix | Delete
var className = '';
[70988] Fix | Delete
var classInterpolations = [];
[70989] Fix | Delete
var mergedProps = props;
[70990] Fix | Delete
[70991] Fix | Delete
if (props.theme == null) {
[70992] Fix | Delete
mergedProps = {};
[70993] Fix | Delete
[70994] Fix | Delete
for (var key in props) {
[70995] Fix | Delete
mergedProps[key] = props[key];
[70996] Fix | Delete
}
[70997] Fix | Delete
[70998] Fix | Delete
mergedProps.theme = (0,external_React_.useContext)(ThemeContext);
[70999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function