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 switchClasses: true
9};
10Object.defineProperty(exports, "default", {
11 enumerable: true,
12 get: function () {
13 return _Switch.default;
14 }
15});
16Object.defineProperty(exports, "switchClasses", {
17 enumerable: true,
18 get: function () {
19 return _switchClasses.default;
20 }
21});
22var _Switch = _interopRequireDefault(require("./Switch"));
23var _Switch2 = require("./Switch.types");
24Object.keys(_Switch2).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] === _Switch2[key]) return;
28 Object.defineProperty(exports, key, {
29 enumerable: true,
30 get: function () {
31 return _Switch2[key];
32 }
33 });
34});
35var _switchClasses = _interopRequireWildcard(require("./switchClasses"));
36Object.keys(_switchClasses).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] === _switchClasses[key]) return;
40 Object.defineProperty(exports, key, {
41 enumerable: true,
42 get: function () {
43 return _switchClasses[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