Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
if (typeof superClass !== "function" && superClass !== null) {
[6500] Fix | Delete
throw new TypeError("Super expression must either be null or a function");
[6501] Fix | Delete
}
[6502] Fix | Delete
[6503] Fix | Delete
subClass.prototype = Object.create(superClass && superClass.prototype, {
[6504] Fix | Delete
constructor: {
[6505] Fix | Delete
value: subClass,
[6506] Fix | Delete
writable: true,
[6507] Fix | Delete
configurable: true
[6508] Fix | Delete
}
[6509] Fix | Delete
});
[6510] Fix | Delete
if (superClass) Object(_babel_runtime_helpers_esm_setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(subClass, superClass);
[6511] Fix | Delete
}
[6512] Fix | Delete
[6513] Fix | Delete
/***/ }),
[6514] Fix | Delete
[6515] Fix | Delete
/***/ "Jt44":
[6516] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[6517] Fix | Delete
[6518] Fix | Delete
"use strict";
[6519] Fix | Delete
[6520] Fix | Delete
[6521] Fix | Delete
// TODO: remove, semver-major
[6522] Fix | Delete
[6523] Fix | Delete
module.exports = __webpack_require__("AM7I");
[6524] Fix | Delete
[6525] Fix | Delete
[6526] Fix | Delete
/***/ }),
[6527] Fix | Delete
[6528] Fix | Delete
/***/ "Jx1U":
[6529] Fix | Delete
/***/ (function(module, exports) {
[6530] Fix | Delete
[6531] Fix | Delete
// Copyright (c) 2014 Rafael Caricio. All rights reserved.
[6532] Fix | Delete
// Use of this source code is governed by a BSD-style license that can be
[6533] Fix | Delete
// found in the LICENSE file.
[6534] Fix | Delete
[6535] Fix | Delete
var GradientParser = {};
[6536] Fix | Delete
[6537] Fix | Delete
GradientParser.parse = (function() {
[6538] Fix | Delete
[6539] Fix | Delete
var tokens = {
[6540] Fix | Delete
linearGradient: /^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,
[6541] Fix | Delete
repeatingLinearGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,
[6542] Fix | Delete
radialGradient: /^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,
[6543] Fix | Delete
repeatingRadialGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,
[6544] Fix | Delete
sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,
[6545] Fix | Delete
extentKeywords: /^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,
[6546] Fix | Delete
positionKeywords: /^(left|center|right|top|bottom)/i,
[6547] Fix | Delete
pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,
[6548] Fix | Delete
percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,
[6549] Fix | Delete
emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,
[6550] Fix | Delete
angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,
[6551] Fix | Delete
startCall: /^\(/,
[6552] Fix | Delete
endCall: /^\)/,
[6553] Fix | Delete
comma: /^,/,
[6554] Fix | Delete
hexColor: /^\#([0-9a-fA-F]+)/,
[6555] Fix | Delete
literalColor: /^([a-zA-Z]+)/,
[6556] Fix | Delete
rgbColor: /^rgb/i,
[6557] Fix | Delete
rgbaColor: /^rgba/i,
[6558] Fix | Delete
number: /^(([0-9]*\.[0-9]+)|([0-9]+\.?))/
[6559] Fix | Delete
};
[6560] Fix | Delete
[6561] Fix | Delete
var input = '';
[6562] Fix | Delete
[6563] Fix | Delete
function error(msg) {
[6564] Fix | Delete
var err = new Error(input + ': ' + msg);
[6565] Fix | Delete
err.source = input;
[6566] Fix | Delete
throw err;
[6567] Fix | Delete
}
[6568] Fix | Delete
[6569] Fix | Delete
function getAST() {
[6570] Fix | Delete
var ast = matchListDefinitions();
[6571] Fix | Delete
[6572] Fix | Delete
if (input.length > 0) {
[6573] Fix | Delete
error('Invalid input not EOF');
[6574] Fix | Delete
}
[6575] Fix | Delete
[6576] Fix | Delete
return ast;
[6577] Fix | Delete
}
[6578] Fix | Delete
[6579] Fix | Delete
function matchListDefinitions() {
[6580] Fix | Delete
return matchListing(matchDefinition);
[6581] Fix | Delete
}
[6582] Fix | Delete
[6583] Fix | Delete
function matchDefinition() {
[6584] Fix | Delete
return matchGradient(
[6585] Fix | Delete
'linear-gradient',
[6586] Fix | Delete
tokens.linearGradient,
[6587] Fix | Delete
matchLinearOrientation) ||
[6588] Fix | Delete
[6589] Fix | Delete
matchGradient(
[6590] Fix | Delete
'repeating-linear-gradient',
[6591] Fix | Delete
tokens.repeatingLinearGradient,
[6592] Fix | Delete
matchLinearOrientation) ||
[6593] Fix | Delete
[6594] Fix | Delete
matchGradient(
[6595] Fix | Delete
'radial-gradient',
[6596] Fix | Delete
tokens.radialGradient,
[6597] Fix | Delete
matchListRadialOrientations) ||
[6598] Fix | Delete
[6599] Fix | Delete
matchGradient(
[6600] Fix | Delete
'repeating-radial-gradient',
[6601] Fix | Delete
tokens.repeatingRadialGradient,
[6602] Fix | Delete
matchListRadialOrientations);
[6603] Fix | Delete
}
[6604] Fix | Delete
[6605] Fix | Delete
function matchGradient(gradientType, pattern, orientationMatcher) {
[6606] Fix | Delete
return matchCall(pattern, function(captures) {
[6607] Fix | Delete
[6608] Fix | Delete
var orientation = orientationMatcher();
[6609] Fix | Delete
if (orientation) {
[6610] Fix | Delete
if (!scan(tokens.comma)) {
[6611] Fix | Delete
error('Missing comma before color stops');
[6612] Fix | Delete
}
[6613] Fix | Delete
}
[6614] Fix | Delete
[6615] Fix | Delete
return {
[6616] Fix | Delete
type: gradientType,
[6617] Fix | Delete
orientation: orientation,
[6618] Fix | Delete
colorStops: matchListing(matchColorStop)
[6619] Fix | Delete
};
[6620] Fix | Delete
});
[6621] Fix | Delete
}
[6622] Fix | Delete
[6623] Fix | Delete
function matchCall(pattern, callback) {
[6624] Fix | Delete
var captures = scan(pattern);
[6625] Fix | Delete
[6626] Fix | Delete
if (captures) {
[6627] Fix | Delete
if (!scan(tokens.startCall)) {
[6628] Fix | Delete
error('Missing (');
[6629] Fix | Delete
}
[6630] Fix | Delete
[6631] Fix | Delete
result = callback(captures);
[6632] Fix | Delete
[6633] Fix | Delete
if (!scan(tokens.endCall)) {
[6634] Fix | Delete
error('Missing )');
[6635] Fix | Delete
}
[6636] Fix | Delete
[6637] Fix | Delete
return result;
[6638] Fix | Delete
}
[6639] Fix | Delete
}
[6640] Fix | Delete
[6641] Fix | Delete
function matchLinearOrientation() {
[6642] Fix | Delete
return matchSideOrCorner() ||
[6643] Fix | Delete
matchAngle();
[6644] Fix | Delete
}
[6645] Fix | Delete
[6646] Fix | Delete
function matchSideOrCorner() {
[6647] Fix | Delete
return match('directional', tokens.sideOrCorner, 1);
[6648] Fix | Delete
}
[6649] Fix | Delete
[6650] Fix | Delete
function matchAngle() {
[6651] Fix | Delete
return match('angular', tokens.angleValue, 1);
[6652] Fix | Delete
}
[6653] Fix | Delete
[6654] Fix | Delete
function matchListRadialOrientations() {
[6655] Fix | Delete
var radialOrientations,
[6656] Fix | Delete
radialOrientation = matchRadialOrientation(),
[6657] Fix | Delete
lookaheadCache;
[6658] Fix | Delete
[6659] Fix | Delete
if (radialOrientation) {
[6660] Fix | Delete
radialOrientations = [];
[6661] Fix | Delete
radialOrientations.push(radialOrientation);
[6662] Fix | Delete
[6663] Fix | Delete
lookaheadCache = input;
[6664] Fix | Delete
if (scan(tokens.comma)) {
[6665] Fix | Delete
radialOrientation = matchRadialOrientation();
[6666] Fix | Delete
if (radialOrientation) {
[6667] Fix | Delete
radialOrientations.push(radialOrientation);
[6668] Fix | Delete
} else {
[6669] Fix | Delete
input = lookaheadCache;
[6670] Fix | Delete
}
[6671] Fix | Delete
}
[6672] Fix | Delete
}
[6673] Fix | Delete
[6674] Fix | Delete
return radialOrientations;
[6675] Fix | Delete
}
[6676] Fix | Delete
[6677] Fix | Delete
function matchRadialOrientation() {
[6678] Fix | Delete
var radialType = matchCircle() ||
[6679] Fix | Delete
matchEllipse();
[6680] Fix | Delete
[6681] Fix | Delete
if (radialType) {
[6682] Fix | Delete
radialType.at = matchAtPosition();
[6683] Fix | Delete
} else {
[6684] Fix | Delete
var defaultPosition = matchPositioning();
[6685] Fix | Delete
if (defaultPosition) {
[6686] Fix | Delete
radialType = {
[6687] Fix | Delete
type: 'default-radial',
[6688] Fix | Delete
at: defaultPosition
[6689] Fix | Delete
};
[6690] Fix | Delete
}
[6691] Fix | Delete
}
[6692] Fix | Delete
[6693] Fix | Delete
return radialType;
[6694] Fix | Delete
}
[6695] Fix | Delete
[6696] Fix | Delete
function matchCircle() {
[6697] Fix | Delete
var circle = match('shape', /^(circle)/i, 0);
[6698] Fix | Delete
[6699] Fix | Delete
if (circle) {
[6700] Fix | Delete
circle.style = matchLength() || matchExtentKeyword();
[6701] Fix | Delete
}
[6702] Fix | Delete
[6703] Fix | Delete
return circle;
[6704] Fix | Delete
}
[6705] Fix | Delete
[6706] Fix | Delete
function matchEllipse() {
[6707] Fix | Delete
var ellipse = match('shape', /^(ellipse)/i, 0);
[6708] Fix | Delete
[6709] Fix | Delete
if (ellipse) {
[6710] Fix | Delete
ellipse.style = matchDistance() || matchExtentKeyword();
[6711] Fix | Delete
}
[6712] Fix | Delete
[6713] Fix | Delete
return ellipse;
[6714] Fix | Delete
}
[6715] Fix | Delete
[6716] Fix | Delete
function matchExtentKeyword() {
[6717] Fix | Delete
return match('extent-keyword', tokens.extentKeywords, 1);
[6718] Fix | Delete
}
[6719] Fix | Delete
[6720] Fix | Delete
function matchAtPosition() {
[6721] Fix | Delete
if (match('position', /^at/, 0)) {
[6722] Fix | Delete
var positioning = matchPositioning();
[6723] Fix | Delete
[6724] Fix | Delete
if (!positioning) {
[6725] Fix | Delete
error('Missing positioning value');
[6726] Fix | Delete
}
[6727] Fix | Delete
[6728] Fix | Delete
return positioning;
[6729] Fix | Delete
}
[6730] Fix | Delete
}
[6731] Fix | Delete
[6732] Fix | Delete
function matchPositioning() {
[6733] Fix | Delete
var location = matchCoordinates();
[6734] Fix | Delete
[6735] Fix | Delete
if (location.x || location.y) {
[6736] Fix | Delete
return {
[6737] Fix | Delete
type: 'position',
[6738] Fix | Delete
value: location
[6739] Fix | Delete
};
[6740] Fix | Delete
}
[6741] Fix | Delete
}
[6742] Fix | Delete
[6743] Fix | Delete
function matchCoordinates() {
[6744] Fix | Delete
return {
[6745] Fix | Delete
x: matchDistance(),
[6746] Fix | Delete
y: matchDistance()
[6747] Fix | Delete
};
[6748] Fix | Delete
}
[6749] Fix | Delete
[6750] Fix | Delete
function matchListing(matcher) {
[6751] Fix | Delete
var captures = matcher(),
[6752] Fix | Delete
result = [];
[6753] Fix | Delete
[6754] Fix | Delete
if (captures) {
[6755] Fix | Delete
result.push(captures);
[6756] Fix | Delete
while (scan(tokens.comma)) {
[6757] Fix | Delete
captures = matcher();
[6758] Fix | Delete
if (captures) {
[6759] Fix | Delete
result.push(captures);
[6760] Fix | Delete
} else {
[6761] Fix | Delete
error('One extra comma');
[6762] Fix | Delete
}
[6763] Fix | Delete
}
[6764] Fix | Delete
}
[6765] Fix | Delete
[6766] Fix | Delete
return result;
[6767] Fix | Delete
}
[6768] Fix | Delete
[6769] Fix | Delete
function matchColorStop() {
[6770] Fix | Delete
var color = matchColor();
[6771] Fix | Delete
[6772] Fix | Delete
if (!color) {
[6773] Fix | Delete
error('Expected color definition');
[6774] Fix | Delete
}
[6775] Fix | Delete
[6776] Fix | Delete
color.length = matchDistance();
[6777] Fix | Delete
return color;
[6778] Fix | Delete
}
[6779] Fix | Delete
[6780] Fix | Delete
function matchColor() {
[6781] Fix | Delete
return matchHexColor() ||
[6782] Fix | Delete
matchRGBAColor() ||
[6783] Fix | Delete
matchRGBColor() ||
[6784] Fix | Delete
matchLiteralColor();
[6785] Fix | Delete
}
[6786] Fix | Delete
[6787] Fix | Delete
function matchLiteralColor() {
[6788] Fix | Delete
return match('literal', tokens.literalColor, 0);
[6789] Fix | Delete
}
[6790] Fix | Delete
[6791] Fix | Delete
function matchHexColor() {
[6792] Fix | Delete
return match('hex', tokens.hexColor, 1);
[6793] Fix | Delete
}
[6794] Fix | Delete
[6795] Fix | Delete
function matchRGBColor() {
[6796] Fix | Delete
return matchCall(tokens.rgbColor, function() {
[6797] Fix | Delete
return {
[6798] Fix | Delete
type: 'rgb',
[6799] Fix | Delete
value: matchListing(matchNumber)
[6800] Fix | Delete
};
[6801] Fix | Delete
});
[6802] Fix | Delete
}
[6803] Fix | Delete
[6804] Fix | Delete
function matchRGBAColor() {
[6805] Fix | Delete
return matchCall(tokens.rgbaColor, function() {
[6806] Fix | Delete
return {
[6807] Fix | Delete
type: 'rgba',
[6808] Fix | Delete
value: matchListing(matchNumber)
[6809] Fix | Delete
};
[6810] Fix | Delete
});
[6811] Fix | Delete
}
[6812] Fix | Delete
[6813] Fix | Delete
function matchNumber() {
[6814] Fix | Delete
return scan(tokens.number)[1];
[6815] Fix | Delete
}
[6816] Fix | Delete
[6817] Fix | Delete
function matchDistance() {
[6818] Fix | Delete
return match('%', tokens.percentageValue, 1) ||
[6819] Fix | Delete
matchPositionKeyword() ||
[6820] Fix | Delete
matchLength();
[6821] Fix | Delete
}
[6822] Fix | Delete
[6823] Fix | Delete
function matchPositionKeyword() {
[6824] Fix | Delete
return match('position-keyword', tokens.positionKeywords, 1);
[6825] Fix | Delete
}
[6826] Fix | Delete
[6827] Fix | Delete
function matchLength() {
[6828] Fix | Delete
return match('px', tokens.pixelValue, 1) ||
[6829] Fix | Delete
match('em', tokens.emValue, 1);
[6830] Fix | Delete
}
[6831] Fix | Delete
[6832] Fix | Delete
function match(type, pattern, captureIndex) {
[6833] Fix | Delete
var captures = scan(pattern);
[6834] Fix | Delete
if (captures) {
[6835] Fix | Delete
return {
[6836] Fix | Delete
type: type,
[6837] Fix | Delete
value: captures[captureIndex]
[6838] Fix | Delete
};
[6839] Fix | Delete
}
[6840] Fix | Delete
}
[6841] Fix | Delete
[6842] Fix | Delete
function scan(regexp) {
[6843] Fix | Delete
var captures,
[6844] Fix | Delete
blankCaptures;
[6845] Fix | Delete
[6846] Fix | Delete
blankCaptures = /^[\n\r\t\s]+/.exec(input);
[6847] Fix | Delete
if (blankCaptures) {
[6848] Fix | Delete
consume(blankCaptures[0].length);
[6849] Fix | Delete
}
[6850] Fix | Delete
[6851] Fix | Delete
captures = regexp.exec(input);
[6852] Fix | Delete
if (captures) {
[6853] Fix | Delete
consume(captures[0].length);
[6854] Fix | Delete
}
[6855] Fix | Delete
[6856] Fix | Delete
return captures;
[6857] Fix | Delete
}
[6858] Fix | Delete
[6859] Fix | Delete
function consume(size) {
[6860] Fix | Delete
input = input.substr(size);
[6861] Fix | Delete
}
[6862] Fix | Delete
[6863] Fix | Delete
return function(code) {
[6864] Fix | Delete
input = code.toString();
[6865] Fix | Delete
return getAST();
[6866] Fix | Delete
};
[6867] Fix | Delete
})();
[6868] Fix | Delete
[6869] Fix | Delete
exports.parse = (GradientParser || {}).parse;
[6870] Fix | Delete
[6871] Fix | Delete
[6872] Fix | Delete
/***/ }),
[6873] Fix | Delete
[6874] Fix | Delete
/***/ "JxQ3":
[6875] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[6876] Fix | Delete
[6877] Fix | Delete
var hasMap = typeof Map === 'function' && Map.prototype;
[6878] Fix | Delete
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
[6879] Fix | Delete
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
[6880] Fix | Delete
var mapForEach = hasMap && Map.prototype.forEach;
[6881] Fix | Delete
var hasSet = typeof Set === 'function' && Set.prototype;
[6882] Fix | Delete
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
[6883] Fix | Delete
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
[6884] Fix | Delete
var setForEach = hasSet && Set.prototype.forEach;
[6885] Fix | Delete
var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
[6886] Fix | Delete
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
[6887] Fix | Delete
var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
[6888] Fix | Delete
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
[6889] Fix | Delete
var booleanValueOf = Boolean.prototype.valueOf;
[6890] Fix | Delete
var objectToString = Object.prototype.toString;
[6891] Fix | Delete
var functionToString = Function.prototype.toString;
[6892] Fix | Delete
var match = String.prototype.match;
[6893] Fix | Delete
var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
[6894] Fix | Delete
var gOPS = Object.getOwnPropertySymbols;
[6895] Fix | Delete
var symToString = typeof Symbol === 'function' ? Symbol.prototype.toString : null;
[6896] Fix | Delete
var isEnumerable = Object.prototype.propertyIsEnumerable;
[6897] Fix | Delete
[6898] Fix | Delete
var inspectCustom = __webpack_require__(3).custom;
[6899] Fix | Delete
var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
[6900] Fix | Delete
[6901] Fix | Delete
module.exports = function inspect_(obj, options, depth, seen) {
[6902] Fix | Delete
var opts = options || {};
[6903] Fix | Delete
[6904] Fix | Delete
if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
[6905] Fix | Delete
throw new TypeError('option "quoteStyle" must be "single" or "double"');
[6906] Fix | Delete
}
[6907] Fix | Delete
if (
[6908] Fix | Delete
has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
[6909] Fix | Delete
? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
[6910] Fix | Delete
: opts.maxStringLength !== null
[6911] Fix | Delete
)
[6912] Fix | Delete
) {
[6913] Fix | Delete
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
[6914] Fix | Delete
}
[6915] Fix | Delete
var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
[6916] Fix | Delete
if (typeof customInspect !== 'boolean') {
[6917] Fix | Delete
throw new TypeError('option "customInspect", if provided, must be `true` or `false`');
[6918] Fix | Delete
}
[6919] Fix | Delete
[6920] Fix | Delete
if (
[6921] Fix | Delete
has(opts, 'indent')
[6922] Fix | Delete
&& opts.indent !== null
[6923] Fix | Delete
&& opts.indent !== '\t'
[6924] Fix | Delete
&& !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
[6925] Fix | Delete
) {
[6926] Fix | Delete
throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');
[6927] Fix | Delete
}
[6928] Fix | Delete
[6929] Fix | Delete
if (typeof obj === 'undefined') {
[6930] Fix | Delete
return 'undefined';
[6931] Fix | Delete
}
[6932] Fix | Delete
if (obj === null) {
[6933] Fix | Delete
return 'null';
[6934] Fix | Delete
}
[6935] Fix | Delete
if (typeof obj === 'boolean') {
[6936] Fix | Delete
return obj ? 'true' : 'false';
[6937] Fix | Delete
}
[6938] Fix | Delete
[6939] Fix | Delete
if (typeof obj === 'string') {
[6940] Fix | Delete
return inspectString(obj, opts);
[6941] Fix | Delete
}
[6942] Fix | Delete
if (typeof obj === 'number') {
[6943] Fix | Delete
if (obj === 0) {
[6944] Fix | Delete
return Infinity / obj > 0 ? '0' : '-0';
[6945] Fix | Delete
}
[6946] Fix | Delete
return String(obj);
[6947] Fix | Delete
}
[6948] Fix | Delete
if (typeof obj === 'bigint') {
[6949] Fix | Delete
return String(obj) + 'n';
[6950] Fix | Delete
}
[6951] Fix | Delete
[6952] Fix | Delete
var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
[6953] Fix | Delete
if (typeof depth === 'undefined') { depth = 0; }
[6954] Fix | Delete
if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
[6955] Fix | Delete
return isArray(obj) ? '[Array]' : '[Object]';
[6956] Fix | Delete
}
[6957] Fix | Delete
[6958] Fix | Delete
var indent = getIndent(opts, depth);
[6959] Fix | Delete
[6960] Fix | Delete
if (typeof seen === 'undefined') {
[6961] Fix | Delete
seen = [];
[6962] Fix | Delete
} else if (indexOf(seen, obj) >= 0) {
[6963] Fix | Delete
return '[Circular]';
[6964] Fix | Delete
}
[6965] Fix | Delete
[6966] Fix | Delete
function inspect(value, from, noIndent) {
[6967] Fix | Delete
if (from) {
[6968] Fix | Delete
seen = seen.slice();
[6969] Fix | Delete
seen.push(from);
[6970] Fix | Delete
}
[6971] Fix | Delete
if (noIndent) {
[6972] Fix | Delete
var newOpts = {
[6973] Fix | Delete
depth: opts.depth
[6974] Fix | Delete
};
[6975] Fix | Delete
if (has(opts, 'quoteStyle')) {
[6976] Fix | Delete
newOpts.quoteStyle = opts.quoteStyle;
[6977] Fix | Delete
}
[6978] Fix | Delete
return inspect_(value, newOpts, depth + 1, seen);
[6979] Fix | Delete
}
[6980] Fix | Delete
return inspect_(value, opts, depth + 1, seen);
[6981] Fix | Delete
}
[6982] Fix | Delete
[6983] Fix | Delete
if (typeof obj === 'function') {
[6984] Fix | Delete
var name = nameOf(obj);
[6985] Fix | Delete
var keys = arrObjKeys(obj, inspect);
[6986] Fix | Delete
return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : '');
[6987] Fix | Delete
}
[6988] Fix | Delete
if (isSymbol(obj)) {
[6989] Fix | Delete
var symString = symToString.call(obj);
[6990] Fix | Delete
return typeof obj === 'object' ? markBoxed(symString) : symString;
[6991] Fix | Delete
}
[6992] Fix | Delete
if (isElement(obj)) {
[6993] Fix | Delete
var s = '<' + String(obj.nodeName).toLowerCase();
[6994] Fix | Delete
var attrs = obj.attributes || [];
[6995] Fix | Delete
for (var i = 0; i < attrs.length; i++) {
[6996] Fix | Delete
s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
[6997] Fix | Delete
}
[6998] Fix | Delete
s += '>';
[6999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function