UNPKG

@lanaco/lnc-react-ui

Version:

React component library

91 lines (90 loc) 2.47 kB
var p = function(e, n) { return p = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, t) { r.__proto__ = t; } || function(r, t) { for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (r[o] = t[o]); }, p(e, n); }; function _(e, n) { if (typeof n != "function" && n !== null) throw new TypeError("Class extends value " + String(n) + " is not a constructor or null"); p(e, n); function r() { this.constructor = e; } e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r()); } var s = function() { return s = Object.assign || function(n) { for (var r, t = 1, o = arguments.length; t < o; t++) { r = arguments[t]; for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (n[a] = r[a]); } return n; }, s.apply(this, arguments); }; function h(e, n) { var r = {}; for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (r[t] = e[t]); if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, t = Object.getOwnPropertySymbols(e); o < t.length; o++) n.indexOf(t[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[o]) && (r[t[o]] = e[t[o]]); return r; } function d(e, n, r, t) { function o(a) { return a instanceof r ? a : new r(function(c) { c(a); }); } return new (r || (r = Promise))(function(a, c) { function f(u) { try { i(t.next(u)); } catch (l) { c(l); } } function y(u) { try { i(t.throw(u)); } catch (l) { c(l); } } function i(u) { u.done ? a(u.value) : o(u.value).then(f, y); } i((t = t.apply(e, n || [])).next()); }); } function O(e, n) { var r = typeof Symbol == "function" && e[Symbol.iterator]; if (!r) return e; var t = r.call(e), o, a = [], c; try { for (; (n === void 0 || n-- > 0) && !(o = t.next()).done; ) a.push(o.value); } catch (f) { c = { error: f }; } finally { try { o && !o.done && (r = t.return) && r.call(t); } finally { if (c) throw c.error; } } return a; } function v(e, n, r) { if (r || arguments.length === 2) for (var t = 0, o = n.length, a; t < o; t++) (a || !(t in n)) && (a || (a = Array.prototype.slice.call(n, 0, t)), a[t] = n[t]); return e.concat(a || Array.prototype.slice.call(n)); } export { O as _, v as a, d as b, s as c, h as d, _ as e };