Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
dimgrey: 0x696969ff,
[47500] Fix | Delete
dodgerblue: 0x1e90ffff,
[47501] Fix | Delete
firebrick: 0xb22222ff,
[47502] Fix | Delete
floralwhite: 0xfffaf0ff,
[47503] Fix | Delete
forestgreen: 0x228b22ff,
[47504] Fix | Delete
fuchsia: 0xff00ffff,
[47505] Fix | Delete
gainsboro: 0xdcdcdcff,
[47506] Fix | Delete
ghostwhite: 0xf8f8ffff,
[47507] Fix | Delete
gold: 0xffd700ff,
[47508] Fix | Delete
goldenrod: 0xdaa520ff,
[47509] Fix | Delete
gray: 0x808080ff,
[47510] Fix | Delete
green: 0x008000ff,
[47511] Fix | Delete
greenyellow: 0xadff2fff,
[47512] Fix | Delete
grey: 0x808080ff,
[47513] Fix | Delete
honeydew: 0xf0fff0ff,
[47514] Fix | Delete
hotpink: 0xff69b4ff,
[47515] Fix | Delete
indianred: 0xcd5c5cff,
[47516] Fix | Delete
indigo: 0x4b0082ff,
[47517] Fix | Delete
ivory: 0xfffff0ff,
[47518] Fix | Delete
khaki: 0xf0e68cff,
[47519] Fix | Delete
lavender: 0xe6e6faff,
[47520] Fix | Delete
lavenderblush: 0xfff0f5ff,
[47521] Fix | Delete
lawngreen: 0x7cfc00ff,
[47522] Fix | Delete
lemonchiffon: 0xfffacdff,
[47523] Fix | Delete
lightblue: 0xadd8e6ff,
[47524] Fix | Delete
lightcoral: 0xf08080ff,
[47525] Fix | Delete
lightcyan: 0xe0ffffff,
[47526] Fix | Delete
lightgoldenrodyellow: 0xfafad2ff,
[47527] Fix | Delete
lightgray: 0xd3d3d3ff,
[47528] Fix | Delete
lightgreen: 0x90ee90ff,
[47529] Fix | Delete
lightgrey: 0xd3d3d3ff,
[47530] Fix | Delete
lightpink: 0xffb6c1ff,
[47531] Fix | Delete
lightsalmon: 0xffa07aff,
[47532] Fix | Delete
lightseagreen: 0x20b2aaff,
[47533] Fix | Delete
lightskyblue: 0x87cefaff,
[47534] Fix | Delete
lightslategray: 0x778899ff,
[47535] Fix | Delete
lightslategrey: 0x778899ff,
[47536] Fix | Delete
lightsteelblue: 0xb0c4deff,
[47537] Fix | Delete
lightyellow: 0xffffe0ff,
[47538] Fix | Delete
lime: 0x00ff00ff,
[47539] Fix | Delete
limegreen: 0x32cd32ff,
[47540] Fix | Delete
linen: 0xfaf0e6ff,
[47541] Fix | Delete
magenta: 0xff00ffff,
[47542] Fix | Delete
maroon: 0x800000ff,
[47543] Fix | Delete
mediumaquamarine: 0x66cdaaff,
[47544] Fix | Delete
mediumblue: 0x0000cdff,
[47545] Fix | Delete
mediumorchid: 0xba55d3ff,
[47546] Fix | Delete
mediumpurple: 0x9370dbff,
[47547] Fix | Delete
mediumseagreen: 0x3cb371ff,
[47548] Fix | Delete
mediumslateblue: 0x7b68eeff,
[47549] Fix | Delete
mediumspringgreen: 0x00fa9aff,
[47550] Fix | Delete
mediumturquoise: 0x48d1ccff,
[47551] Fix | Delete
mediumvioletred: 0xc71585ff,
[47552] Fix | Delete
midnightblue: 0x191970ff,
[47553] Fix | Delete
mintcream: 0xf5fffaff,
[47554] Fix | Delete
mistyrose: 0xffe4e1ff,
[47555] Fix | Delete
moccasin: 0xffe4b5ff,
[47556] Fix | Delete
navajowhite: 0xffdeadff,
[47557] Fix | Delete
navy: 0x000080ff,
[47558] Fix | Delete
oldlace: 0xfdf5e6ff,
[47559] Fix | Delete
olive: 0x808000ff,
[47560] Fix | Delete
olivedrab: 0x6b8e23ff,
[47561] Fix | Delete
orange: 0xffa500ff,
[47562] Fix | Delete
orangered: 0xff4500ff,
[47563] Fix | Delete
orchid: 0xda70d6ff,
[47564] Fix | Delete
palegoldenrod: 0xeee8aaff,
[47565] Fix | Delete
palegreen: 0x98fb98ff,
[47566] Fix | Delete
paleturquoise: 0xafeeeeff,
[47567] Fix | Delete
palevioletred: 0xdb7093ff,
[47568] Fix | Delete
papayawhip: 0xffefd5ff,
[47569] Fix | Delete
peachpuff: 0xffdab9ff,
[47570] Fix | Delete
peru: 0xcd853fff,
[47571] Fix | Delete
pink: 0xffc0cbff,
[47572] Fix | Delete
plum: 0xdda0ddff,
[47573] Fix | Delete
powderblue: 0xb0e0e6ff,
[47574] Fix | Delete
purple: 0x800080ff,
[47575] Fix | Delete
rebeccapurple: 0x663399ff,
[47576] Fix | Delete
red: 0xff0000ff,
[47577] Fix | Delete
rosybrown: 0xbc8f8fff,
[47578] Fix | Delete
royalblue: 0x4169e1ff,
[47579] Fix | Delete
saddlebrown: 0x8b4513ff,
[47580] Fix | Delete
salmon: 0xfa8072ff,
[47581] Fix | Delete
sandybrown: 0xf4a460ff,
[47582] Fix | Delete
seagreen: 0x2e8b57ff,
[47583] Fix | Delete
seashell: 0xfff5eeff,
[47584] Fix | Delete
sienna: 0xa0522dff,
[47585] Fix | Delete
silver: 0xc0c0c0ff,
[47586] Fix | Delete
skyblue: 0x87ceebff,
[47587] Fix | Delete
slateblue: 0x6a5acdff,
[47588] Fix | Delete
slategray: 0x708090ff,
[47589] Fix | Delete
slategrey: 0x708090ff,
[47590] Fix | Delete
snow: 0xfffafaff,
[47591] Fix | Delete
springgreen: 0x00ff7fff,
[47592] Fix | Delete
steelblue: 0x4682b4ff,
[47593] Fix | Delete
tan: 0xd2b48cff,
[47594] Fix | Delete
teal: 0x008080ff,
[47595] Fix | Delete
thistle: 0xd8bfd8ff,
[47596] Fix | Delete
tomato: 0xff6347ff,
[47597] Fix | Delete
turquoise: 0x40e0d0ff,
[47598] Fix | Delete
violet: 0xee82eeff,
[47599] Fix | Delete
wheat: 0xf5deb3ff,
[47600] Fix | Delete
white: 0xffffffff,
[47601] Fix | Delete
whitesmoke: 0xf5f5f5ff,
[47602] Fix | Delete
yellow: 0xffff00ff,
[47603] Fix | Delete
yellowgreen: 0x9acd32ff
[47604] Fix | Delete
};
[47605] Fix | Delete
[47606] Fix | Delete
// const INTEGER = '[-+]?\\d+';
[47607] Fix | Delete
var NUMBER = '[-+]?\\d*\\.?\\d+';
[47608] Fix | Delete
var PERCENTAGE = NUMBER + '%';
[47609] Fix | Delete
[47610] Fix | Delete
function call() {
[47611] Fix | Delete
for (var _len = arguments.length, parts = new Array(_len), _key = 0; _key < _len; _key++) {
[47612] Fix | Delete
parts[_key] = arguments[_key];
[47613] Fix | Delete
}
[47614] Fix | Delete
[47615] Fix | Delete
return '\\(\\s*(' + parts.join(')\\s*,\\s*(') + ')\\s*\\)';
[47616] Fix | Delete
}
[47617] Fix | Delete
[47618] Fix | Delete
var rgb = new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER));
[47619] Fix | Delete
var rgba = new RegExp('rgba' + call(NUMBER, NUMBER, NUMBER, NUMBER));
[47620] Fix | Delete
var hsl = new RegExp('hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE));
[47621] Fix | Delete
var hsla = new RegExp('hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER));
[47622] Fix | Delete
var hex3 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;
[47623] Fix | Delete
var hex4 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;
[47624] Fix | Delete
var hex6 = /^#([0-9a-fA-F]{6})$/;
[47625] Fix | Delete
var hex8 = /^#([0-9a-fA-F]{8})$/;
[47626] Fix | Delete
[47627] Fix | Delete
/*
[47628] Fix | Delete
https://github.com/react-community/normalize-css-color
[47629] Fix | Delete
[47630] Fix | Delete
BSD 3-Clause License
[47631] Fix | Delete
[47632] Fix | Delete
Copyright (c) 2016, React Community
[47633] Fix | Delete
All rights reserved.
[47634] Fix | Delete
[47635] Fix | Delete
Redistribution and use in source and binary forms, with or without
[47636] Fix | Delete
modification, are permitted provided that the following conditions are met:
[47637] Fix | Delete
[47638] Fix | Delete
* Redistributions of source code must retain the above copyright notice, this
[47639] Fix | Delete
list of conditions and the following disclaimer.
[47640] Fix | Delete
[47641] Fix | Delete
* Redistributions in binary form must reproduce the above copyright notice,
[47642] Fix | Delete
this list of conditions and the following disclaimer in the documentation
[47643] Fix | Delete
and/or other materials provided with the distribution.
[47644] Fix | Delete
[47645] Fix | Delete
* Neither the name of the copyright holder nor the names of its
[47646] Fix | Delete
contributors may be used to endorse or promote products derived from
[47647] Fix | Delete
this software without specific prior written permission.
[47648] Fix | Delete
[47649] Fix | Delete
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
[47650] Fix | Delete
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[47651] Fix | Delete
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
[47652] Fix | Delete
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
[47653] Fix | Delete
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
[47654] Fix | Delete
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
[47655] Fix | Delete
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
[47656] Fix | Delete
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
[47657] Fix | Delete
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
[47658] Fix | Delete
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[47659] Fix | Delete
*/
[47660] Fix | Delete
function normalizeColor(color) {
[47661] Fix | Delete
var match;
[47662] Fix | Delete
[47663] Fix | Delete
if (typeof color === 'number') {
[47664] Fix | Delete
return color >>> 0 === color && color >= 0 && color <= 0xffffffff ? color : null;
[47665] Fix | Delete
} // Ordered based on occurrences on Facebook codebase
[47666] Fix | Delete
[47667] Fix | Delete
[47668] Fix | Delete
if (match = hex6.exec(color)) return parseInt(match[1] + 'ff', 16) >>> 0;
[47669] Fix | Delete
if (colors.hasOwnProperty(color)) return colors[color];
[47670] Fix | Delete
[47671] Fix | Delete
if (match = rgb.exec(color)) {
[47672] Fix | Delete
return (parse255(match[1]) << 24 | // r
[47673] Fix | Delete
parse255(match[2]) << 16 | // g
[47674] Fix | Delete
parse255(match[3]) << 8 | // b
[47675] Fix | Delete
0x000000ff) >>> // a
[47676] Fix | Delete
0;
[47677] Fix | Delete
}
[47678] Fix | Delete
[47679] Fix | Delete
if (match = rgba.exec(color)) {
[47680] Fix | Delete
return (parse255(match[1]) << 24 | // r
[47681] Fix | Delete
parse255(match[2]) << 16 | // g
[47682] Fix | Delete
parse255(match[3]) << 8 | // b
[47683] Fix | Delete
parse1(match[4])) >>> // a
[47684] Fix | Delete
0;
[47685] Fix | Delete
}
[47686] Fix | Delete
[47687] Fix | Delete
if (match = hex3.exec(color)) {
[47688] Fix | Delete
return parseInt(match[1] + match[1] + // r
[47689] Fix | Delete
match[2] + match[2] + // g
[47690] Fix | Delete
match[3] + match[3] + // b
[47691] Fix | Delete
'ff', // a
[47692] Fix | Delete
16) >>> 0;
[47693] Fix | Delete
} // https://drafts.csswg.org/css-color-4/#hex-notation
[47694] Fix | Delete
[47695] Fix | Delete
[47696] Fix | Delete
if (match = hex8.exec(color)) return parseInt(match[1], 16) >>> 0;
[47697] Fix | Delete
[47698] Fix | Delete
if (match = hex4.exec(color)) {
[47699] Fix | Delete
return parseInt(match[1] + match[1] + // r
[47700] Fix | Delete
match[2] + match[2] + // g
[47701] Fix | Delete
match[3] + match[3] + // b
[47702] Fix | Delete
match[4] + match[4], // a
[47703] Fix | Delete
16) >>> 0;
[47704] Fix | Delete
}
[47705] Fix | Delete
[47706] Fix | Delete
if (match = hsl.exec(color)) {
[47707] Fix | Delete
return (hslToRgb(parse360(match[1]), // h
[47708] Fix | Delete
parsePercentage(match[2]), // s
[47709] Fix | Delete
parsePercentage(match[3]) // l
[47710] Fix | Delete
) | 0x000000ff) >>> // a
[47711] Fix | Delete
0;
[47712] Fix | Delete
}
[47713] Fix | Delete
[47714] Fix | Delete
if (match = hsla.exec(color)) {
[47715] Fix | Delete
return (hslToRgb(parse360(match[1]), // h
[47716] Fix | Delete
parsePercentage(match[2]), // s
[47717] Fix | Delete
parsePercentage(match[3]) // l
[47718] Fix | Delete
) | parse1(match[4])) >>> // a
[47719] Fix | Delete
0;
[47720] Fix | Delete
}
[47721] Fix | Delete
[47722] Fix | Delete
return null;
[47723] Fix | Delete
}
[47724] Fix | Delete
[47725] Fix | Delete
function hue2rgb(p, q, t) {
[47726] Fix | Delete
if (t < 0) t += 1;
[47727] Fix | Delete
if (t > 1) t -= 1;
[47728] Fix | Delete
if (t < 1 / 6) return p + (q - p) * 6 * t;
[47729] Fix | Delete
if (t < 1 / 2) return q;
[47730] Fix | Delete
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
[47731] Fix | Delete
return p;
[47732] Fix | Delete
}
[47733] Fix | Delete
[47734] Fix | Delete
function hslToRgb(h, s, l) {
[47735] Fix | Delete
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
[47736] Fix | Delete
var p = 2 * l - q;
[47737] Fix | Delete
var r = hue2rgb(p, q, h + 1 / 3);
[47738] Fix | Delete
var g = hue2rgb(p, q, h);
[47739] Fix | Delete
var b = hue2rgb(p, q, h - 1 / 3);
[47740] Fix | Delete
return Math.round(r * 255) << 24 | Math.round(g * 255) << 16 | Math.round(b * 255) << 8;
[47741] Fix | Delete
}
[47742] Fix | Delete
[47743] Fix | Delete
function parse255(str) {
[47744] Fix | Delete
var int = parseInt(str, 10);
[47745] Fix | Delete
if (int < 0) return 0;
[47746] Fix | Delete
if (int > 255) return 255;
[47747] Fix | Delete
return int;
[47748] Fix | Delete
}
[47749] Fix | Delete
[47750] Fix | Delete
function parse360(str) {
[47751] Fix | Delete
var int = parseFloat(str);
[47752] Fix | Delete
return (int % 360 + 360) % 360 / 360;
[47753] Fix | Delete
}
[47754] Fix | Delete
[47755] Fix | Delete
function parse1(str) {
[47756] Fix | Delete
var num = parseFloat(str);
[47757] Fix | Delete
if (num < 0) return 0;
[47758] Fix | Delete
if (num > 1) return 255;
[47759] Fix | Delete
return Math.round(num * 255);
[47760] Fix | Delete
}
[47761] Fix | Delete
[47762] Fix | Delete
function parsePercentage(str) {
[47763] Fix | Delete
// parseFloat conveniently ignores the final %
[47764] Fix | Delete
var int = parseFloat(str);
[47765] Fix | Delete
if (int < 0) return 0;
[47766] Fix | Delete
if (int > 100) return 1;
[47767] Fix | Delete
return int / 100;
[47768] Fix | Delete
}
[47769] Fix | Delete
[47770] Fix | Delete
function colorToRgba(input) {
[47771] Fix | Delete
var int32Color = normalizeColor(input);
[47772] Fix | Delete
if (int32Color === null) return input;
[47773] Fix | Delete
int32Color = int32Color || 0;
[47774] Fix | Delete
var r = (int32Color & 0xff000000) >>> 24;
[47775] Fix | Delete
var g = (int32Color & 0x00ff0000) >>> 16;
[47776] Fix | Delete
var b = (int32Color & 0x0000ff00) >>> 8;
[47777] Fix | Delete
var a = (int32Color & 0x000000ff) / 255;
[47778] Fix | Delete
return "rgba(" + r + ", " + g + ", " + b + ", " + a + ")";
[47779] Fix | Delete
} // Problem: https://github.com/animatedjs/animated/pull/102
[47780] Fix | Delete
// Solution: https://stackoverflow.com/questions/638565/parsing-scientific-notation-sensibly/658662
[47781] Fix | Delete
[47782] Fix | Delete
[47783] Fix | Delete
var stringShapeRegex = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g; // Covers rgb, rgba, hsl, hsla
[47784] Fix | Delete
// Taken from https://gist.github.com/olmokramer/82ccce673f86db7cda5e
[47785] Fix | Delete
[47786] Fix | Delete
var colorRegex = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi; // Covers color names (transparent, blue, etc.)
[47787] Fix | Delete
[47788] Fix | Delete
var colorNamesRegex = new RegExp("(" + Object.keys(colors).join('|') + ")", 'g');
[47789] Fix | Delete
/**
[47790] Fix | Delete
* Supports string shapes by extracting numbers so new values can be computed,
[47791] Fix | Delete
* and recombines those values into new strings of the same shape. Supports
[47792] Fix | Delete
* things like:
[47793] Fix | Delete
*
[47794] Fix | Delete
* rgba(123, 42, 99, 0.36) // colors
[47795] Fix | Delete
* -45deg // values with units
[47796] Fix | Delete
* 0 2px 2px 0px rgba(0, 0, 0, 0.12) // box shadows
[47797] Fix | Delete
*/
[47798] Fix | Delete
[47799] Fix | Delete
var createStringInterpolator = function createStringInterpolator(config) {
[47800] Fix | Delete
// Replace colors with rgba
[47801] Fix | Delete
var outputRange = config.output.map(function (rangeValue) {
[47802] Fix | Delete
return rangeValue.replace(colorRegex, colorToRgba);
[47803] Fix | Delete
}).map(function (rangeValue) {
[47804] Fix | Delete
return rangeValue.replace(colorNamesRegex, colorToRgba);
[47805] Fix | Delete
});
[47806] Fix | Delete
var outputRanges = outputRange[0].match(stringShapeRegex).map(function () {
[47807] Fix | Delete
return [];
[47808] Fix | Delete
});
[47809] Fix | Delete
outputRange.forEach(function (value) {
[47810] Fix | Delete
value.match(stringShapeRegex).forEach(function (number, i) {
[47811] Fix | Delete
return outputRanges[i].push(+number);
[47812] Fix | Delete
});
[47813] Fix | Delete
});
[47814] Fix | Delete
var interpolations = outputRange[0].match(stringShapeRegex).map(function (_value, i) {
[47815] Fix | Delete
return createInterpolator(_extends({}, config, {
[47816] Fix | Delete
output: outputRanges[i]
[47817] Fix | Delete
}));
[47818] Fix | Delete
});
[47819] Fix | Delete
return function (input) {
[47820] Fix | Delete
var i = 0;
[47821] Fix | Delete
return outputRange[0] // 'rgba(0, 100, 200, 0)'
[47822] Fix | Delete
// ->
[47823] Fix | Delete
// 'rgba(${interpolations[0](input)}, ${interpolations[1](input)}, ...'
[47824] Fix | Delete
.replace(stringShapeRegex, function () {
[47825] Fix | Delete
return interpolations[i++](input);
[47826] Fix | Delete
}) // rgba requires that the r,g,b are integers.... so we want to round them, but we *dont* want to
[47827] Fix | Delete
// round the opacity (4th column).
[47828] Fix | Delete
.replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, function (_, p1, p2, p3, p4) {
[47829] Fix | Delete
return "rgba(" + Math.round(p1) + ", " + Math.round(p2) + ", " + Math.round(p3) + ", " + p4 + ")";
[47830] Fix | Delete
});
[47831] Fix | Delete
};
[47832] Fix | Delete
};
[47833] Fix | Delete
[47834] Fix | Delete
var isUnitlessNumber = {
[47835] Fix | Delete
animationIterationCount: true,
[47836] Fix | Delete
borderImageOutset: true,
[47837] Fix | Delete
borderImageSlice: true,
[47838] Fix | Delete
borderImageWidth: true,
[47839] Fix | Delete
boxFlex: true,
[47840] Fix | Delete
boxFlexGroup: true,
[47841] Fix | Delete
boxOrdinalGroup: true,
[47842] Fix | Delete
columnCount: true,
[47843] Fix | Delete
columns: true,
[47844] Fix | Delete
flex: true,
[47845] Fix | Delete
flexGrow: true,
[47846] Fix | Delete
flexPositive: true,
[47847] Fix | Delete
flexShrink: true,
[47848] Fix | Delete
flexNegative: true,
[47849] Fix | Delete
flexOrder: true,
[47850] Fix | Delete
gridRow: true,
[47851] Fix | Delete
gridRowEnd: true,
[47852] Fix | Delete
gridRowSpan: true,
[47853] Fix | Delete
gridRowStart: true,
[47854] Fix | Delete
gridColumn: true,
[47855] Fix | Delete
gridColumnEnd: true,
[47856] Fix | Delete
gridColumnSpan: true,
[47857] Fix | Delete
gridColumnStart: true,
[47858] Fix | Delete
fontWeight: true,
[47859] Fix | Delete
lineClamp: true,
[47860] Fix | Delete
lineHeight: true,
[47861] Fix | Delete
opacity: true,
[47862] Fix | Delete
order: true,
[47863] Fix | Delete
orphans: true,
[47864] Fix | Delete
tabSize: true,
[47865] Fix | Delete
widows: true,
[47866] Fix | Delete
zIndex: true,
[47867] Fix | Delete
zoom: true,
[47868] Fix | Delete
// SVG-related properties
[47869] Fix | Delete
fillOpacity: true,
[47870] Fix | Delete
floodOpacity: true,
[47871] Fix | Delete
stopOpacity: true,
[47872] Fix | Delete
strokeDasharray: true,
[47873] Fix | Delete
strokeDashoffset: true,
[47874] Fix | Delete
strokeMiterlimit: true,
[47875] Fix | Delete
strokeOpacity: true,
[47876] Fix | Delete
strokeWidth: true
[47877] Fix | Delete
};
[47878] Fix | Delete
[47879] Fix | Delete
var prefixKey = function prefixKey(prefix, key) {
[47880] Fix | Delete
return prefix + key.charAt(0).toUpperCase() + key.substring(1);
[47881] Fix | Delete
};
[47882] Fix | Delete
[47883] Fix | Delete
var prefixes = ['Webkit', 'Ms', 'Moz', 'O'];
[47884] Fix | Delete
isUnitlessNumber = Object.keys(isUnitlessNumber).reduce(function (acc, prop) {
[47885] Fix | Delete
prefixes.forEach(function (prefix) {
[47886] Fix | Delete
return acc[prefixKey(prefix, prop)] = acc[prop];
[47887] Fix | Delete
});
[47888] Fix | Delete
return acc;
[47889] Fix | Delete
}, isUnitlessNumber);
[47890] Fix | Delete
[47891] Fix | Delete
function dangerousStyleValue(name, value, isCustomProperty) {
[47892] Fix | Delete
if (value == null || typeof value === 'boolean' || value === '') return '';
[47893] Fix | Delete
if (!isCustomProperty && typeof value === 'number' && value !== 0 && !(isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name])) return value + 'px'; // Presumes implicit 'px' suffix for unitless numbers
[47894] Fix | Delete
[47895] Fix | Delete
return ('' + value).trim();
[47896] Fix | Delete
}
[47897] Fix | Delete
[47898] Fix | Delete
var attributeCache = {};
[47899] Fix | Delete
injectCreateAnimatedStyle(function (style) {
[47900] Fix | Delete
return new AnimatedStyle(style);
[47901] Fix | Delete
});
[47902] Fix | Delete
injectDefaultElement('div');
[47903] Fix | Delete
injectStringInterpolator(createStringInterpolator);
[47904] Fix | Delete
injectColorNames(colors);
[47905] Fix | Delete
injectApplyAnimatedValues(function (instance, props) {
[47906] Fix | Delete
if (instance.nodeType && instance.setAttribute !== undefined) {
[47907] Fix | Delete
var style = props.style,
[47908] Fix | Delete
children = props.children,
[47909] Fix | Delete
scrollTop = props.scrollTop,
[47910] Fix | Delete
scrollLeft = props.scrollLeft,
[47911] Fix | Delete
attributes = _objectWithoutPropertiesLoose(props, ["style", "children", "scrollTop", "scrollLeft"]);
[47912] Fix | Delete
[47913] Fix | Delete
var filter = instance.nodeName === 'filter' || instance.parentNode && instance.parentNode.nodeName === 'filter';
[47914] Fix | Delete
if (scrollTop !== void 0) instance.scrollTop = scrollTop;
[47915] Fix | Delete
if (scrollLeft !== void 0) instance.scrollLeft = scrollLeft; // Set textContent, if children is an animatable value
[47916] Fix | Delete
[47917] Fix | Delete
if (children !== void 0) instance.textContent = children; // Set styles ...
[47918] Fix | Delete
[47919] Fix | Delete
for (var styleName in style) {
[47920] Fix | Delete
if (!style.hasOwnProperty(styleName)) continue;
[47921] Fix | Delete
var isCustomProperty = styleName.indexOf('--') === 0;
[47922] Fix | Delete
var styleValue = dangerousStyleValue(styleName, style[styleName], isCustomProperty);
[47923] Fix | Delete
if (styleName === 'float') styleName = 'cssFloat';
[47924] Fix | Delete
if (isCustomProperty) instance.style.setProperty(styleName, styleValue);else instance.style[styleName] = styleValue;
[47925] Fix | Delete
} // Set attributes ...
[47926] Fix | Delete
[47927] Fix | Delete
[47928] Fix | Delete
for (var name in attributes) {
[47929] Fix | Delete
// Attributes are written in dash case
[47930] Fix | Delete
var dashCase = filter ? name : attributeCache[name] || (attributeCache[name] = name.replace(/([A-Z])/g, function (n) {
[47931] Fix | Delete
return '-' + n.toLowerCase();
[47932] Fix | Delete
}));
[47933] Fix | Delete
if (typeof instance.getAttribute(dashCase) !== 'undefined') instance.setAttribute(dashCase, attributes[name]);
[47934] Fix | Delete
}
[47935] Fix | Delete
[47936] Fix | Delete
return;
[47937] Fix | Delete
} else return false;
[47938] Fix | Delete
}, function (style) {
[47939] Fix | Delete
return style;
[47940] Fix | Delete
});
[47941] Fix | Delete
[47942] Fix | Delete
var domElements = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG
[47943] Fix | Delete
'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];
[47944] Fix | Delete
// Extend animated with all the available THREE elements
[47945] Fix | Delete
var apply = merge(createAnimatedComponent, false);
[47946] Fix | Delete
var extendedAnimated = apply(domElements);
[47947] Fix | Delete
[47948] Fix | Delete
exports.apply = apply;
[47949] Fix | Delete
exports.config = config;
[47950] Fix | Delete
exports.update = update;
[47951] Fix | Delete
exports.animated = extendedAnimated;
[47952] Fix | Delete
exports.a = extendedAnimated;
[47953] Fix | Delete
exports.interpolate = interpolate$1;
[47954] Fix | Delete
exports.Globals = Globals;
[47955] Fix | Delete
exports.useSpring = useSpring;
[47956] Fix | Delete
exports.useTrail = useTrail;
[47957] Fix | Delete
exports.useTransition = useTransition;
[47958] Fix | Delete
exports.useChain = useChain;
[47959] Fix | Delete
exports.useSprings = useSprings;
[47960] Fix | Delete
[47961] Fix | Delete
[47962] Fix | Delete
/***/ }),
[47963] Fix | Delete
[47964] Fix | Delete
/***/ "ZbWB":
[47965] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[47966] Fix | Delete
[47967] Fix | Delete
"use strict";
[47968] Fix | Delete
[47969] Fix | Delete
[47970] Fix | Delete
var GetIntrinsic = __webpack_require__("AM7I");
[47971] Fix | Delete
[47972] Fix | Delete
var $test = GetIntrinsic('RegExp.prototype.test');
[47973] Fix | Delete
[47974] Fix | Delete
var callBind = __webpack_require__("hZ2/");
[47975] Fix | Delete
[47976] Fix | Delete
module.exports = function regexTester(regex) {
[47977] Fix | Delete
return callBind($test, regex);
[47978] Fix | Delete
};
[47979] Fix | Delete
[47980] Fix | Delete
[47981] Fix | Delete
/***/ }),
[47982] Fix | Delete
[47983] Fix | Delete
/***/ "Zss7":
[47984] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[47985] Fix | Delete
[47986] Fix | Delete
var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.2
[47987] Fix | Delete
// https://github.com/bgrins/TinyColor
[47988] Fix | Delete
// Brian Grinstead, MIT License
[47989] Fix | Delete
[47990] Fix | Delete
(function(Math) {
[47991] Fix | Delete
[47992] Fix | Delete
var trimLeft = /^\s+/,
[47993] Fix | Delete
trimRight = /\s+$/,
[47994] Fix | Delete
tinyCounter = 0,
[47995] Fix | Delete
mathRound = Math.round,
[47996] Fix | Delete
mathMin = Math.min,
[47997] Fix | Delete
mathMax = Math.max,
[47998] Fix | Delete
mathRandom = Math.random;
[47999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function