UNPKG

2.51 kBJavaScriptView Raw
1"use strict";
2
3var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4Object.defineProperty(exports, "__esModule", {
5 value: true
6});
7var _exportNames = {
8 optionClasses: true
9};
10Object.defineProperty(exports, "default", {
11 enumerable: true,
12 get: function () {
13 return _Option.default;
14 }
15});
16Object.defineProperty(exports, "optionClasses", {
17 enumerable: true,
18 get: function () {
19 return _optionClasses.default;
20 }
21});
22var _Option = _interopRequireDefault(require("./Option"));
23var _Option2 = require("./Option.types");
24Object.keys(_Option2).forEach(function (key) {
25 if (key === "default" || key === "__esModule") return;
26 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
27 if (key in exports && exports[key] === _Option2[key]) return;
28 Object.defineProperty(exports, key, {
29 enumerable: true,
30 get: function () {
31 return _Option2[key];
32 }
33 });
34});
35var _optionClasses = _interopRequireWildcard(require("./optionClasses"));
36Object.keys(_optionClasses).forEach(function (key) {
37 if (key === "default" || key === "__esModule") return;
38 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
39 if (key in exports && exports[key] === _optionClasses[key]) return;
40 Object.defineProperty(exports, key, {
41 enumerable: true,
42 get: function () {
43 return _optionClasses[key];
44 }
45 });
46});
47function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
48function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
\No newline at end of file