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
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/dist
File: components.js
/******/ (() => { // webpackBootstrap
[0] Fix | Delete
/******/ var __webpack_modules__ = ({
[1] Fix | Delete
[2] Fix | Delete
/***/ 66:
[3] Fix | Delete
/***/ ((module) => {
[4] Fix | Delete
[5] Fix | Delete
"use strict";
[6] Fix | Delete
[7] Fix | Delete
[8] Fix | Delete
var isMergeableObject = function isMergeableObject(value) {
[9] Fix | Delete
return isNonNullObject(value)
[10] Fix | Delete
&& !isSpecial(value)
[11] Fix | Delete
};
[12] Fix | Delete
[13] Fix | Delete
function isNonNullObject(value) {
[14] Fix | Delete
return !!value && typeof value === 'object'
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
function isSpecial(value) {
[18] Fix | Delete
var stringValue = Object.prototype.toString.call(value);
[19] Fix | Delete
[20] Fix | Delete
return stringValue === '[object RegExp]'
[21] Fix | Delete
|| stringValue === '[object Date]'
[22] Fix | Delete
|| isReactElement(value)
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
[26] Fix | Delete
var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
[27] Fix | Delete
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
[28] Fix | Delete
[29] Fix | Delete
function isReactElement(value) {
[30] Fix | Delete
return value.$$typeof === REACT_ELEMENT_TYPE
[31] Fix | Delete
}
[32] Fix | Delete
[33] Fix | Delete
function emptyTarget(val) {
[34] Fix | Delete
return Array.isArray(val) ? [] : {}
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
function cloneUnlessOtherwiseSpecified(value, options) {
[38] Fix | Delete
return (options.clone !== false && options.isMergeableObject(value))
[39] Fix | Delete
? deepmerge(emptyTarget(value), value, options)
[40] Fix | Delete
: value
[41] Fix | Delete
}
[42] Fix | Delete
[43] Fix | Delete
function defaultArrayMerge(target, source, options) {
[44] Fix | Delete
return target.concat(source).map(function(element) {
[45] Fix | Delete
return cloneUnlessOtherwiseSpecified(element, options)
[46] Fix | Delete
})
[47] Fix | Delete
}
[48] Fix | Delete
[49] Fix | Delete
function getMergeFunction(key, options) {
[50] Fix | Delete
if (!options.customMerge) {
[51] Fix | Delete
return deepmerge
[52] Fix | Delete
}
[53] Fix | Delete
var customMerge = options.customMerge(key);
[54] Fix | Delete
return typeof customMerge === 'function' ? customMerge : deepmerge
[55] Fix | Delete
}
[56] Fix | Delete
[57] Fix | Delete
function getEnumerableOwnPropertySymbols(target) {
[58] Fix | Delete
return Object.getOwnPropertySymbols
[59] Fix | Delete
? Object.getOwnPropertySymbols(target).filter(function(symbol) {
[60] Fix | Delete
return Object.propertyIsEnumerable.call(target, symbol)
[61] Fix | Delete
})
[62] Fix | Delete
: []
[63] Fix | Delete
}
[64] Fix | Delete
[65] Fix | Delete
function getKeys(target) {
[66] Fix | Delete
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))
[67] Fix | Delete
}
[68] Fix | Delete
[69] Fix | Delete
function propertyIsOnObject(object, property) {
[70] Fix | Delete
try {
[71] Fix | Delete
return property in object
[72] Fix | Delete
} catch(_) {
[73] Fix | Delete
return false
[74] Fix | Delete
}
[75] Fix | Delete
}
[76] Fix | Delete
[77] Fix | Delete
// Protects from prototype poisoning and unexpected merging up the prototype chain.
[78] Fix | Delete
function propertyIsUnsafe(target, key) {
[79] Fix | Delete
return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
[80] Fix | Delete
&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
[81] Fix | Delete
&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
[82] Fix | Delete
}
[83] Fix | Delete
[84] Fix | Delete
function mergeObject(target, source, options) {
[85] Fix | Delete
var destination = {};
[86] Fix | Delete
if (options.isMergeableObject(target)) {
[87] Fix | Delete
getKeys(target).forEach(function(key) {
[88] Fix | Delete
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
[89] Fix | Delete
});
[90] Fix | Delete
}
[91] Fix | Delete
getKeys(source).forEach(function(key) {
[92] Fix | Delete
if (propertyIsUnsafe(target, key)) {
[93] Fix | Delete
return
[94] Fix | Delete
}
[95] Fix | Delete
[96] Fix | Delete
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
[97] Fix | Delete
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
[98] Fix | Delete
} else {
[99] Fix | Delete
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
[100] Fix | Delete
}
[101] Fix | Delete
});
[102] Fix | Delete
return destination
[103] Fix | Delete
}
[104] Fix | Delete
[105] Fix | Delete
function deepmerge(target, source, options) {
[106] Fix | Delete
options = options || {};
[107] Fix | Delete
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
[108] Fix | Delete
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
[109] Fix | Delete
// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
[110] Fix | Delete
// implementations can use it. The caller may not replace it.
[111] Fix | Delete
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
[112] Fix | Delete
[113] Fix | Delete
var sourceIsArray = Array.isArray(source);
[114] Fix | Delete
var targetIsArray = Array.isArray(target);
[115] Fix | Delete
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
[116] Fix | Delete
[117] Fix | Delete
if (!sourceAndTargetTypesMatch) {
[118] Fix | Delete
return cloneUnlessOtherwiseSpecified(source, options)
[119] Fix | Delete
} else if (sourceIsArray) {
[120] Fix | Delete
return options.arrayMerge(target, source, options)
[121] Fix | Delete
} else {
[122] Fix | Delete
return mergeObject(target, source, options)
[123] Fix | Delete
}
[124] Fix | Delete
}
[125] Fix | Delete
[126] Fix | Delete
deepmerge.all = function deepmergeAll(array, options) {
[127] Fix | Delete
if (!Array.isArray(array)) {
[128] Fix | Delete
throw new Error('first argument should be an array')
[129] Fix | Delete
}
[130] Fix | Delete
[131] Fix | Delete
return array.reduce(function(prev, next) {
[132] Fix | Delete
return deepmerge(prev, next, options)
[133] Fix | Delete
}, {})
[134] Fix | Delete
};
[135] Fix | Delete
[136] Fix | Delete
var deepmerge_1 = deepmerge;
[137] Fix | Delete
[138] Fix | Delete
module.exports = deepmerge_1;
[139] Fix | Delete
[140] Fix | Delete
[141] Fix | Delete
/***/ }),
[142] Fix | Delete
[143] Fix | Delete
/***/ 2287:
[144] Fix | Delete
/***/ ((__unused_webpack_module, exports) => {
[145] Fix | Delete
[146] Fix | Delete
"use strict";
[147] Fix | Delete
var __webpack_unused_export__;
[148] Fix | Delete
/** @license React v17.0.2
[149] Fix | Delete
* react-is.production.min.js
[150] Fix | Delete
*
[151] Fix | Delete
* Copyright (c) Facebook, Inc. and its affiliates.
[152] Fix | Delete
*
[153] Fix | Delete
* This source code is licensed under the MIT license found in the
[154] Fix | Delete
* LICENSE file in the root directory of this source tree.
[155] Fix | Delete
*/
[156] Fix | Delete
var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
[157] Fix | Delete
if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden")}
[158] Fix | Delete
function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;__webpack_unused_export__=h;__webpack_unused_export__=z;__webpack_unused_export__=A;__webpack_unused_export__=B;__webpack_unused_export__=C;__webpack_unused_export__=D;__webpack_unused_export__=E;__webpack_unused_export__=F;__webpack_unused_export__=G;__webpack_unused_export__=H;
[159] Fix | Delete
__webpack_unused_export__=I;__webpack_unused_export__=function(){return!1};__webpack_unused_export__=function(){return!1};__webpack_unused_export__=function(a){return y(a)===h};__webpack_unused_export__=function(a){return y(a)===g};__webpack_unused_export__=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};__webpack_unused_export__=function(a){return y(a)===k};__webpack_unused_export__=function(a){return y(a)===d};__webpack_unused_export__=function(a){return y(a)===p};__webpack_unused_export__=function(a){return y(a)===n};
[160] Fix | Delete
__webpack_unused_export__=function(a){return y(a)===c};__webpack_unused_export__=function(a){return y(a)===f};__webpack_unused_export__=function(a){return y(a)===e};__webpack_unused_export__=function(a){return y(a)===l};__webpack_unused_export__=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
[161] Fix | Delete
__webpack_unused_export__=y;
[162] Fix | Delete
[163] Fix | Delete
[164] Fix | Delete
/***/ }),
[165] Fix | Delete
[166] Fix | Delete
/***/ 1915:
[167] Fix | Delete
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
[168] Fix | Delete
[169] Fix | Delete
"use strict";
[170] Fix | Delete
[171] Fix | Delete
[172] Fix | Delete
if (true) {
[173] Fix | Delete
/* unused reexport */ __webpack_require__(2287);
[174] Fix | Delete
} else {}
[175] Fix | Delete
[176] Fix | Delete
[177] Fix | Delete
/***/ }),
[178] Fix | Delete
[179] Fix | Delete
/***/ 7734:
[180] Fix | Delete
/***/ ((module) => {
[181] Fix | Delete
[182] Fix | Delete
"use strict";
[183] Fix | Delete
[184] Fix | Delete
[185] Fix | Delete
// do not edit .js files directly - edit src/index.jst
[186] Fix | Delete
[187] Fix | Delete
[188] Fix | Delete
var envHasBigInt64Array = typeof BigInt64Array !== 'undefined';
[189] Fix | Delete
[190] Fix | Delete
[191] Fix | Delete
module.exports = function equal(a, b) {
[192] Fix | Delete
if (a === b) return true;
[193] Fix | Delete
[194] Fix | Delete
if (a && b && typeof a == 'object' && typeof b == 'object') {
[195] Fix | Delete
if (a.constructor !== b.constructor) return false;
[196] Fix | Delete
[197] Fix | Delete
var length, i, keys;
[198] Fix | Delete
if (Array.isArray(a)) {
[199] Fix | Delete
length = a.length;
[200] Fix | Delete
if (length != b.length) return false;
[201] Fix | Delete
for (i = length; i-- !== 0;)
[202] Fix | Delete
if (!equal(a[i], b[i])) return false;
[203] Fix | Delete
return true;
[204] Fix | Delete
}
[205] Fix | Delete
[206] Fix | Delete
[207] Fix | Delete
if ((a instanceof Map) && (b instanceof Map)) {
[208] Fix | Delete
if (a.size !== b.size) return false;
[209] Fix | Delete
for (i of a.entries())
[210] Fix | Delete
if (!b.has(i[0])) return false;
[211] Fix | Delete
for (i of a.entries())
[212] Fix | Delete
if (!equal(i[1], b.get(i[0]))) return false;
[213] Fix | Delete
return true;
[214] Fix | Delete
}
[215] Fix | Delete
[216] Fix | Delete
if ((a instanceof Set) && (b instanceof Set)) {
[217] Fix | Delete
if (a.size !== b.size) return false;
[218] Fix | Delete
for (i of a.entries())
[219] Fix | Delete
if (!b.has(i[0])) return false;
[220] Fix | Delete
return true;
[221] Fix | Delete
}
[222] Fix | Delete
[223] Fix | Delete
if (ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
[224] Fix | Delete
length = a.length;
[225] Fix | Delete
if (length != b.length) return false;
[226] Fix | Delete
for (i = length; i-- !== 0;)
[227] Fix | Delete
if (a[i] !== b[i]) return false;
[228] Fix | Delete
return true;
[229] Fix | Delete
}
[230] Fix | Delete
[231] Fix | Delete
[232] Fix | Delete
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
[233] Fix | Delete
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
[234] Fix | Delete
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
[235] Fix | Delete
[236] Fix | Delete
keys = Object.keys(a);
[237] Fix | Delete
length = keys.length;
[238] Fix | Delete
if (length !== Object.keys(b).length) return false;
[239] Fix | Delete
[240] Fix | Delete
for (i = length; i-- !== 0;)
[241] Fix | Delete
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
[242] Fix | Delete
[243] Fix | Delete
for (i = length; i-- !== 0;) {
[244] Fix | Delete
var key = keys[i];
[245] Fix | Delete
[246] Fix | Delete
if (!equal(a[key], b[key])) return false;
[247] Fix | Delete
}
[248] Fix | Delete
[249] Fix | Delete
return true;
[250] Fix | Delete
}
[251] Fix | Delete
[252] Fix | Delete
// true if both NaN, false otherwise
[253] Fix | Delete
return a!==a && b!==b;
[254] Fix | Delete
};
[255] Fix | Delete
[256] Fix | Delete
[257] Fix | Delete
/***/ }),
[258] Fix | Delete
[259] Fix | Delete
/***/ 8924:
[260] Fix | Delete
/***/ ((__unused_webpack_module, exports) => {
[261] Fix | Delete
[262] Fix | Delete
// Copyright (c) 2014 Rafael Caricio. All rights reserved.
[263] Fix | Delete
// Use of this source code is governed by a BSD-style license that can be
[264] Fix | Delete
// found in the LICENSE file.
[265] Fix | Delete
[266] Fix | Delete
var GradientParser = {};
[267] Fix | Delete
[268] Fix | Delete
GradientParser.parse = (function() {
[269] Fix | Delete
[270] Fix | Delete
var tokens = {
[271] Fix | Delete
linearGradient: /^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,
[272] Fix | Delete
repeatingLinearGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,
[273] Fix | Delete
radialGradient: /^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,
[274] Fix | Delete
repeatingRadialGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,
[275] Fix | Delete
sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,
[276] Fix | Delete
extentKeywords: /^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,
[277] Fix | Delete
positionKeywords: /^(left|center|right|top|bottom)/i,
[278] Fix | Delete
pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,
[279] Fix | Delete
percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,
[280] Fix | Delete
emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,
[281] Fix | Delete
angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,
[282] Fix | Delete
startCall: /^\(/,
[283] Fix | Delete
endCall: /^\)/,
[284] Fix | Delete
comma: /^,/,
[285] Fix | Delete
hexColor: /^\#([0-9a-fA-F]+)/,
[286] Fix | Delete
literalColor: /^([a-zA-Z]+)/,
[287] Fix | Delete
rgbColor: /^rgb/i,
[288] Fix | Delete
rgbaColor: /^rgba/i,
[289] Fix | Delete
number: /^(([0-9]*\.[0-9]+)|([0-9]+\.?))/
[290] Fix | Delete
};
[291] Fix | Delete
[292] Fix | Delete
var input = '';
[293] Fix | Delete
[294] Fix | Delete
function error(msg) {
[295] Fix | Delete
var err = new Error(input + ': ' + msg);
[296] Fix | Delete
err.source = input;
[297] Fix | Delete
throw err;
[298] Fix | Delete
}
[299] Fix | Delete
[300] Fix | Delete
function getAST() {
[301] Fix | Delete
var ast = matchListDefinitions();
[302] Fix | Delete
[303] Fix | Delete
if (input.length > 0) {
[304] Fix | Delete
error('Invalid input not EOF');
[305] Fix | Delete
}
[306] Fix | Delete
[307] Fix | Delete
return ast;
[308] Fix | Delete
}
[309] Fix | Delete
[310] Fix | Delete
function matchListDefinitions() {
[311] Fix | Delete
return matchListing(matchDefinition);
[312] Fix | Delete
}
[313] Fix | Delete
[314] Fix | Delete
function matchDefinition() {
[315] Fix | Delete
return matchGradient(
[316] Fix | Delete
'linear-gradient',
[317] Fix | Delete
tokens.linearGradient,
[318] Fix | Delete
matchLinearOrientation) ||
[319] Fix | Delete
[320] Fix | Delete
matchGradient(
[321] Fix | Delete
'repeating-linear-gradient',
[322] Fix | Delete
tokens.repeatingLinearGradient,
[323] Fix | Delete
matchLinearOrientation) ||
[324] Fix | Delete
[325] Fix | Delete
matchGradient(
[326] Fix | Delete
'radial-gradient',
[327] Fix | Delete
tokens.radialGradient,
[328] Fix | Delete
matchListRadialOrientations) ||
[329] Fix | Delete
[330] Fix | Delete
matchGradient(
[331] Fix | Delete
'repeating-radial-gradient',
[332] Fix | Delete
tokens.repeatingRadialGradient,
[333] Fix | Delete
matchListRadialOrientations);
[334] Fix | Delete
}
[335] Fix | Delete
[336] Fix | Delete
function matchGradient(gradientType, pattern, orientationMatcher) {
[337] Fix | Delete
return matchCall(pattern, function(captures) {
[338] Fix | Delete
[339] Fix | Delete
var orientation = orientationMatcher();
[340] Fix | Delete
if (orientation) {
[341] Fix | Delete
if (!scan(tokens.comma)) {
[342] Fix | Delete
error('Missing comma before color stops');
[343] Fix | Delete
}
[344] Fix | Delete
}
[345] Fix | Delete
[346] Fix | Delete
return {
[347] Fix | Delete
type: gradientType,
[348] Fix | Delete
orientation: orientation,
[349] Fix | Delete
colorStops: matchListing(matchColorStop)
[350] Fix | Delete
};
[351] Fix | Delete
});
[352] Fix | Delete
}
[353] Fix | Delete
[354] Fix | Delete
function matchCall(pattern, callback) {
[355] Fix | Delete
var captures = scan(pattern);
[356] Fix | Delete
[357] Fix | Delete
if (captures) {
[358] Fix | Delete
if (!scan(tokens.startCall)) {
[359] Fix | Delete
error('Missing (');
[360] Fix | Delete
}
[361] Fix | Delete
[362] Fix | Delete
result = callback(captures);
[363] Fix | Delete
[364] Fix | Delete
if (!scan(tokens.endCall)) {
[365] Fix | Delete
error('Missing )');
[366] Fix | Delete
}
[367] Fix | Delete
[368] Fix | Delete
return result;
[369] Fix | Delete
}
[370] Fix | Delete
}
[371] Fix | Delete
[372] Fix | Delete
function matchLinearOrientation() {
[373] Fix | Delete
return matchSideOrCorner() ||
[374] Fix | Delete
matchAngle();
[375] Fix | Delete
}
[376] Fix | Delete
[377] Fix | Delete
function matchSideOrCorner() {
[378] Fix | Delete
return match('directional', tokens.sideOrCorner, 1);
[379] Fix | Delete
}
[380] Fix | Delete
[381] Fix | Delete
function matchAngle() {
[382] Fix | Delete
return match('angular', tokens.angleValue, 1);
[383] Fix | Delete
}
[384] Fix | Delete
[385] Fix | Delete
function matchListRadialOrientations() {
[386] Fix | Delete
var radialOrientations,
[387] Fix | Delete
radialOrientation = matchRadialOrientation(),
[388] Fix | Delete
lookaheadCache;
[389] Fix | Delete
[390] Fix | Delete
if (radialOrientation) {
[391] Fix | Delete
radialOrientations = [];
[392] Fix | Delete
radialOrientations.push(radialOrientation);
[393] Fix | Delete
[394] Fix | Delete
lookaheadCache = input;
[395] Fix | Delete
if (scan(tokens.comma)) {
[396] Fix | Delete
radialOrientation = matchRadialOrientation();
[397] Fix | Delete
if (radialOrientation) {
[398] Fix | Delete
radialOrientations.push(radialOrientation);
[399] Fix | Delete
} else {
[400] Fix | Delete
input = lookaheadCache;
[401] Fix | Delete
}
[402] Fix | Delete
}
[403] Fix | Delete
}
[404] Fix | Delete
[405] Fix | Delete
return radialOrientations;
[406] Fix | Delete
}
[407] Fix | Delete
[408] Fix | Delete
function matchRadialOrientation() {
[409] Fix | Delete
var radialType = matchCircle() ||
[410] Fix | Delete
matchEllipse();
[411] Fix | Delete
[412] Fix | Delete
if (radialType) {
[413] Fix | Delete
radialType.at = matchAtPosition();
[414] Fix | Delete
} else {
[415] Fix | Delete
var defaultPosition = matchPositioning();
[416] Fix | Delete
if (defaultPosition) {
[417] Fix | Delete
radialType = {
[418] Fix | Delete
type: 'default-radial',
[419] Fix | Delete
at: defaultPosition
[420] Fix | Delete
};
[421] Fix | Delete
}
[422] Fix | Delete
}
[423] Fix | Delete
[424] Fix | Delete
return radialType;
[425] Fix | Delete
}
[426] Fix | Delete
[427] Fix | Delete
function matchCircle() {
[428] Fix | Delete
var circle = match('shape', /^(circle)/i, 0);
[429] Fix | Delete
[430] Fix | Delete
if (circle) {
[431] Fix | Delete
circle.style = matchLength() || matchExtentKeyword();
[432] Fix | Delete
}
[433] Fix | Delete
[434] Fix | Delete
return circle;
[435] Fix | Delete
}
[436] Fix | Delete
[437] Fix | Delete
function matchEllipse() {
[438] Fix | Delete
var ellipse = match('shape', /^(ellipse)/i, 0);
[439] Fix | Delete
[440] Fix | Delete
if (ellipse) {
[441] Fix | Delete
ellipse.style = matchDistance() || matchExtentKeyword();
[442] Fix | Delete
}
[443] Fix | Delete
[444] Fix | Delete
return ellipse;
[445] Fix | Delete
}
[446] Fix | Delete
[447] Fix | Delete
function matchExtentKeyword() {
[448] Fix | Delete
return match('extent-keyword', tokens.extentKeywords, 1);
[449] Fix | Delete
}
[450] Fix | Delete
[451] Fix | Delete
function matchAtPosition() {
[452] Fix | Delete
if (match('position', /^at/, 0)) {
[453] Fix | Delete
var positioning = matchPositioning();
[454] Fix | Delete
[455] Fix | Delete
if (!positioning) {
[456] Fix | Delete
error('Missing positioning value');
[457] Fix | Delete
}
[458] Fix | Delete
[459] Fix | Delete
return positioning;
[460] Fix | Delete
}
[461] Fix | Delete
}
[462] Fix | Delete
[463] Fix | Delete
function matchPositioning() {
[464] Fix | Delete
var location = matchCoordinates();
[465] Fix | Delete
[466] Fix | Delete
if (location.x || location.y) {
[467] Fix | Delete
return {
[468] Fix | Delete
type: 'position',
[469] Fix | Delete
value: location
[470] Fix | Delete
};
[471] Fix | Delete
}
[472] Fix | Delete
}
[473] Fix | Delete
[474] Fix | Delete
function matchCoordinates() {
[475] Fix | Delete
return {
[476] Fix | Delete
x: matchDistance(),
[477] Fix | Delete
y: matchDistance()
[478] Fix | Delete
};
[479] Fix | Delete
}
[480] Fix | Delete
[481] Fix | Delete
function matchListing(matcher) {
[482] Fix | Delete
var captures = matcher(),
[483] Fix | Delete
result = [];
[484] Fix | Delete
[485] Fix | Delete
if (captures) {
[486] Fix | Delete
result.push(captures);
[487] Fix | Delete
while (scan(tokens.comma)) {
[488] Fix | Delete
captures = matcher();
[489] Fix | Delete
if (captures) {
[490] Fix | Delete
result.push(captures);
[491] Fix | Delete
} else {
[492] Fix | Delete
error('One extra comma');
[493] Fix | Delete
}
[494] Fix | Delete
}
[495] Fix | Delete
}
[496] Fix | Delete
[497] Fix | Delete
return result;
[498] Fix | Delete
}
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function