100 lines
3.3 KiB
JavaScript
100 lines
3.3 KiB
JavaScript
// Metro module 8590 (f8591).
|
|
import _classCallCheck from "./_classCallCheck";
|
|
import _createClass from "./_createClass";
|
|
import _possibleConstructorReturn from "./_possibleConstructorReturn";
|
|
import _getPrototypeOf from "./_getPrototypeOf";
|
|
import _inherits from "./_inherits";
|
|
import { warnUnimplementedFilter } from "./Module8547";
|
|
import FilterPrimitive from "./FilterPrimitive";
|
|
let FeComponentTransferFunction;
|
|
let FeFuncR;
|
|
let FeFuncG;
|
|
let FeFuncB;
|
|
let FeFuncA;
|
|
let env5541 = {};
|
|
env5541[5] = function _isNativeReflectConstruct() {
|
|
let c16655_0;
|
|
try {
|
|
c16655_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
} catch ($e) {}
|
|
const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() {
|
|
return !!c16655_0;
|
|
};
|
|
env5541[5] = _isNativeReflectConstruct2;
|
|
return _isNativeReflectConstruct2();
|
|
};
|
|
FeComponentTransferFunction = function FeComponentTransferFunction(...args) {
|
|
_classCallCheck(this, FeComponentTransferFunction);
|
|
const r9 = [...args];
|
|
const r8 = _getPrototypeOf(FeComponentTransferFunction);
|
|
const r26 = _possibleConstructorReturn(this, (0, env5541[5])() ? Reflect.construct(r8, r9, _getPrototypeOf(this).constructor) : r8.apply(this, r9));
|
|
r26.channel = "UNKNOWN";
|
|
return r26;
|
|
};
|
|
_inherits(FeComponentTransferFunction, FilterPrimitive);
|
|
const r32 = _createClass(FeComponentTransferFunction, [{
|
|
key: "render",
|
|
value: function render() {
|
|
warnUnimplementedFilter();
|
|
return null;
|
|
}
|
|
}]);
|
|
r32.defaultProps = {
|
|
type: "identity",
|
|
tableValues: [],
|
|
slope: 1,
|
|
intercept: 0,
|
|
amplitude: 1,
|
|
exponent: 1,
|
|
offset: 0
|
|
};
|
|
FeFuncR = function FeFuncR(...args) {
|
|
_classCallCheck(this, FeFuncR);
|
|
const r9 = [...args];
|
|
const r8 = _getPrototypeOf(FeFuncR);
|
|
const r26 = _possibleConstructorReturn(this, (0, env5541[5])() ? Reflect.construct(r8, r9, _getPrototypeOf(this).constructor) : r8.apply(this, r9));
|
|
r26.channel = "R";
|
|
return r26;
|
|
};
|
|
_inherits(FeFuncR, r32);
|
|
const r38 = _createClass(FeFuncR);
|
|
r38.displayName = "FeFuncR";
|
|
FeFuncG = function FeFuncG(...args) {
|
|
_classCallCheck(this, FeFuncG);
|
|
const r9 = [...args];
|
|
const r8 = _getPrototypeOf(FeFuncG);
|
|
const r26 = _possibleConstructorReturn(this, (0, env5541[5])() ? Reflect.construct(r8, r9, _getPrototypeOf(this).constructor) : r8.apply(this, r9));
|
|
r26.channel = "G";
|
|
return r26;
|
|
};
|
|
_inherits(FeFuncG, r32);
|
|
const r43 = _createClass(FeFuncG);
|
|
r43.displayName = "FeFuncG";
|
|
FeFuncB = function FeFuncB(...args) {
|
|
_classCallCheck(this, FeFuncB);
|
|
const r9 = [...args];
|
|
const r8 = _getPrototypeOf(FeFuncB);
|
|
const r26 = _possibleConstructorReturn(this, (0, env5541[5])() ? Reflect.construct(r8, r9, _getPrototypeOf(this).constructor) : r8.apply(this, r9));
|
|
r26.channel = "B";
|
|
return r26;
|
|
};
|
|
_inherits(FeFuncB, r32);
|
|
const r47 = _createClass(FeFuncB);
|
|
r47.displayName = "FeFuncB";
|
|
FeFuncA = function FeFuncA(...args) {
|
|
_classCallCheck(this, FeFuncA);
|
|
const r9 = [...args];
|
|
const r8 = _getPrototypeOf(FeFuncA);
|
|
const r26 = _possibleConstructorReturn(this, (0, env5541[5])() ? Reflect.construct(r8, r9, _getPrototypeOf(this).constructor) : r8.apply(this, r9));
|
|
r26.channel = "A";
|
|
return r26;
|
|
};
|
|
_inherits(FeFuncA, r32);
|
|
const r52 = _createClass(FeFuncA);
|
|
r52.displayName = "FeFuncA";
|
|
export default r32;
|
|
export { r38 as FeFuncR };
|
|
export { r43 as FeFuncG };
|
|
export { r47 as FeFuncB };
|
|
export { r52 as FeFuncA };
|