UNPKG

2.48 kBJavaScriptView Raw
1"use strict";
2
3var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4Object.defineProperty(exports, "__esModule", {
5 value: true
6});
7var _exportNames = {
8 menuClasses: true
9};
10Object.defineProperty(exports, "default", {
11 enumerable: true,
12 get: function () {
13 return _Menu.default;
14 }
15});
16Object.defineProperty(exports, "menuClasses", {
17 enumerable: true,
18 get: function () {
19 return _menuClasses.default;
20 }
21});
22var _Menu = _interopRequireDefault(require("./Menu"));
23var _menuClasses = _interopRequireWildcard(require("./menuClasses"));
24Object.keys(_menuClasses).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] === _menuClasses[key]) return;
28 Object.defineProperty(exports, key, {
29 enumerable: true,
30 get: function () {
31 return _menuClasses[key];
32 }
33 });
34});
35var _Menu2 = require("./Menu.types");
36Object.keys(_Menu2).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] === _Menu2[key]) return;
40 Object.defineProperty(exports, key, {
41 enumerable: true,
42 get: function () {
43 return _Menu2[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