UNPKG

1.83 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6var _exportNames = {};
7Object.defineProperty(exports, "default", {
8 enumerable: true,
9 get: function () {
10 return _ClickAwayListener.default;
11 }
12});
13var _ClickAwayListener = _interopRequireWildcard(require("./ClickAwayListener"));
14Object.keys(_ClickAwayListener).forEach(function (key) {
15 if (key === "default" || key === "__esModule") return;
16 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
17 if (key in exports && exports[key] === _ClickAwayListener[key]) return;
18 Object.defineProperty(exports, key, {
19 enumerable: true,
20 get: function () {
21 return _ClickAwayListener[key];
22 }
23 });
24});
25function _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); }
26function _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