Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'use strict';
var _get = require('babel-runtime/helpers/get')['default'];
var _inherits = require('babel-runtime/helpers/inherits')['default'];
var _createClass = require('babel-runtime/helpers/create-class')['default'];
var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
Object.defineProperty(exports, '__esModule', {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
// TODO: default locale should be empty, not fake-English
var state = {
messages: {},
locale: { name: 'en', pluralFn: function pluralFn(c) {
return c === 1 ? 'one' : 'other';
} }
};
/* eslint max-len: 0 */
"use strict";
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
var _interopRequireWildcard = require("babel-runtime/helpers/interop-require-wildcard")["default"];
exports.__esModule = true;
var _babelHelperGetFunctionArity = require("babel-helper-get-function-arity");
var _babelHelperGetFunctionArity2 = _interopRequireDefault(_babelHelperGetFunctionArity);
var _babelTemplate = require("babel-template");
var _babelTemplate2 = _interopRequireDefault(_babelTemplate);
var _babelTypes = require("babel-types");
var t = _interopRequireWildcard(_babelTypes);
/* @flow */
"use strict";
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
var _interopRequireWildcard = require("babel-runtime/helpers/interop-require-wildcard")["default"];
exports.__esModule = true;
var _plugin = require("../plugin");
var _plugin2 = _interopRequireDefault(_plugin);
var _babelTypes = require("babel-types");
var t = _interopRequireWildcard(_babelTypes);
exports["default"] = new _plugin2["default"]({
visitor: {
ThisExpression: function ThisExpression(path) {
'use strict';
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
var _del = require('del');
var _del2 = _interopRequireDefault(_del);
var _gulpSize = require('gulp-size');
var _gulpSize2 = _interopRequireDefault(_gulpSize);
var _webpackExamplesMakeconfig = require('../webpack/examples/makeconfig');
var _webpackExamplesMakeconfig2 = _interopRequireDefault(_webpackExamplesMakeconfig);
var _webpackExamplesBuild = require('../webpack/examples/build');
var _webpackExamplesBuild2 = _interopRequireDefault(_webpackExamplesBuild);
'use strict';
var _get = require('babel-runtime/helpers/get')['default'];
var _inherits = require('babel-runtime/helpers/inherits')['default'];
var _createClass = require('babel-runtime/helpers/create-class')['default'];
var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
Object.defineProperty(exports, '__esModule', {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _jquery = require('jquery');
var _jquery2 = _interopRequireDefault(_jquery);
var _reactBootstrap = require('react-bootstrap');
var BaseComponent = (function (_React$Component) {
'use strict';
var _get = require('babel-runtime/helpers/get')['default'];
var _inherits = require('babel-runtime/helpers/inherits')['default'];
var _createClass = require('babel-runtime/helpers/create-class')['default'];
var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
Object.defineProperty(exports, '__esModule', {
value: true
});
var _baseShape = require('./base-shape');
var _baseShape2 = _interopRequireDefault(_baseShape);
/**
* A shape to display dots in a trace visualization (mean / range).
*
* [example usage](./examples/layer-trace.html)
*/
var TraceDots = (function (_BaseShape) {
'use strict';
var _get = require('babel-runtime/helpers/get')['default'];
var _inherits = require('babel-runtime/helpers/inherits')['default'];
var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default'];
var _Object$assign = require('babel-runtime/core-js/object/assign')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
Object.defineProperty(exports, '__esModule', {
value: true
});
var _axisAxisLayer = require('../axis/axis-layer');
var _axisAxisLayer2 = _interopRequireDefault(_axisAxisLayer);
var _shapesTicks = require('../shapes/ticks');
var _shapesTicks2 = _interopRequireDefault(_shapesTicks);
var _axisGridAxisGenerator = require('../axis/grid-axis-generator');
var _axisGridAxisGenerator2 = _interopRequireDefault(_axisGridAxisGenerator);
'use strict';
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
Object.defineProperty(exports, '__esModule', {
value: true
});
var _gulpUtil = require('gulp-util');
var _gulpUtil2 = _interopRequireDefault(_gulpUtil);
var _open = require('open');
var _open2 = _interopRequireDefault(_open);
exports['default'] = function (gulp, config) {
var port = config.example.port;
"use strict";
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
var _interopRequireWildcard = require("babel-runtime/helpers/interop-require-wildcard")["default"];
var _interopRequire = require("babel-runtime/helpers/interop-require")["default"];
exports.__esModule = true;
exports.transformFile = transformFile;
exports.transformFileSync = transformFileSync;
var _lodashLangIsFunction = require("lodash/lang/isFunction");
var _lodashLangIsFunction2 = _interopRequireDefault(_lodashLangIsFunction);
var _fs = require("fs");
var _fs2 = _interopRequireDefault(_fs);
"use strict";
var _classCallCheck = require("babel-runtime/helpers/class-call-check")["default"];
var _Symbol = require("babel-runtime/core-js/symbol")["default"];
var _getIterator = require("babel-runtime/core-js/get-iterator")["default"];
var _Object$create = require("babel-runtime/core-js/object/create")["default"];
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
var _interopRequireWildcard = require("babel-runtime/helpers/interop-require-wildcard")["default"];
exports.__esModule = true;
var _lodashCollectionIncludes = require("lodash/collection/includes");
var _lodashCollectionIncludes2 = _interopRequireDefault(_lodashCollectionIncludes);
var _repeating = require("repeating");
var _repeating2 = _interopRequireDefault(_repeating);
var _libRenamer = require("./lib/renamer");
var _libRenamer2 = _interopRequireDefault(_libRenamer);