PATH:
usr
/
local
/
lib
/
node_modules
/
knex-migrator
/
node_modules
/
core-js
/
modules
'use strict'; // https://github.com/zenparsing/es-observable var $export = require('./_export'); var global = require('./_global'); var core = require('./_core'); var microtask = require('./_microtask')(); var OBSERVABLE = require('./_wks')('observable'); var aFunction = require('./_a-function'); var anObject = require('./_an-object'); var anInstance = require('./_an-instance'); var redefineAll = require('./_redefine-all'); var hide = require('./_hide'); var forOf = require('./_for-of'); var RETURN = forOf.RETURN; var getMethod = function (fn) { return fn == null ? undefined : aFunction(fn); }; var cleanupSubscription = function (subscription) { var cleanup = subscription._c; if (cleanup) { subscription._c = undefined; cleanup(); } }; var subscriptionClosed = function (subscription) { return subscription._o === undefined; }; var closeSubscription = function (subscription) { if (!subscriptionClosed(subscription)) { subscription._o = undefined; cleanupSubscription(subscription); } }; var Subscription = function (observer, subscriber) { anObject(observer); this._c = undefined; this._o = observer; observer = new SubscriptionObserver(this); try { var cleanup = subscriber(observer); var subscription = cleanup; if (cleanup != null) { if (typeof cleanup.unsubscribe === 'function') cleanup = function () { subscription.unsubscribe(); }; else aFunction(cleanup); this._c = cleanup; } } catch (e) { observer.error(e); return; } if (subscriptionClosed(this)) cleanupSubscription(this); }; Subscription.prototype = redefineAll({}, { unsubscribe: function unsubscribe() { closeSubscription(this); } }); var SubscriptionObserver = function (subscription) { this._s = subscription; }; SubscriptionObserver.prototype = redefineAll({}, { next: function next(value) { var subscription = this._s; if (!subscriptionClosed(subscription)) { var observer = subscription._o; try { var m = getMethod(observer.next); if (m) return m.call(observer, value); } catch (e) { try { closeSubscription(subscription); } finally { throw e; } } } }, error: function error(value) { var subscription = this._s; if (subscriptionClosed(subscription)) throw value; var observer = subscription._o; subscription._o = undefined; try { var m = getMethod(observer.error); if (!m) throw value; value = m.call(observer, value); } catch (e) { try { cleanupSubscription(subscription); } finally { throw e; } } cleanupSubscription(subscription); return value; }, complete: function complete(value) { var subscription = this._s; if (!subscriptionClosed(subscription)) { var observer = subscription._o; subscription._o = undefined; try { var m = getMethod(observer.complete); value = m ? m.call(observer, value) : undefined; } catch (e) { try { cleanupSubscription(subscription); } finally { throw e; } } cleanupSubscription(subscription); return value; } } }); var $Observable = function Observable(subscriber) { anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber); }; redefineAll($Observable.prototype, { subscribe: function subscribe(observer) { return new Subscription(observer, this._f); }, forEach: function forEach(fn) { var that = this; return new (core.Promise || global.Promise)(function (resolve, reject) { aFunction(fn); var subscription = that.subscribe({ next: function (value) { try { return fn(value); } catch (e) { reject(e); subscription.unsubscribe(); } }, error: reject, complete: resolve }); }); } }); redefineAll($Observable, { from: function from(x) { var C = typeof this === 'function' ? this : $Observable; var method = getMethod(anObject(x)[OBSERVABLE]); if (method) { var observable = anObject(method.call(x)); return observable.constructor === C ? observable : new C(function (observer) { return observable.subscribe(observer); }); } return new C(function (observer) { var done = false; microtask(function () { if (!done) { try { if (forOf(x, false, function (it) { observer.next(it); if (done) return RETURN; }) === RETURN) return; } catch (e) { if (done) throw e; observer.error(e); return; } observer.complete(); } }); return function () { done = true; }; }); }, of: function of() { for (var i = 0, l = arguments.length, items = new Array(l); i < l;) items[i] = arguments[i++]; return new (typeof this === 'function' ? this : $Observable)(function (observer) { var done = false; microtask(function () { if (!done) { for (var j = 0; j < items.length; ++j) { observer.next(items[j]); if (done) return; } observer.complete(); } }); return function () { done = true; }; }); } }); hide($Observable.prototype, OBSERVABLE, function () { return this; }); $export($export.G, { Observable: $Observable }); require('./_set-species')('Observable');
[+]
..
[-] es6.weak-set.js
[edit]
[-] _invoke.js
[edit]
[-] _to-object.js
[edit]
[-] es6.typed.array-buffer.js
[edit]
[-] _set-to-string-tag.js
[edit]
[-] es7.set.from.js
[edit]
[-] es7.string.pad-end.js
[edit]
[-] es6.math.fround.js
[edit]
[-] _to-integer.js
[edit]
[-] _object-pie.js
[edit]
[-] _enum-bug-keys.js
[edit]
[-] es6.regexp.constructor.js
[edit]
[-] _is-regexp.js
[edit]
[-] _date-to-primitive.js
[edit]
[-] es6.object.prevent-extensions.js
[edit]
[-] es6.reflect.own-keys.js
[edit]
[-] _validate-collection.js
[edit]
[-] _set-species.js
[edit]
[-] es6.reflect.define-property.js
[edit]
[-] es6.number.max-safe-integer.js
[edit]
[-] core.string.unescape-html.js
[edit]
[-] _regexp-exec.js
[edit]
[-] es6.date.to-string.js
[edit]
[-] _is-array-iter.js
[edit]
[-] _same-value.js
[edit]
[-] _object-sap.js
[edit]
[-] es6.math.sign.js
[edit]
[-] _object-dp.js
[edit]
[-] _collection-weak.js
[edit]
[-] es6.math.imul.js
[edit]
[-] es6.array.is-array.js
[edit]
[-] _classof.js
[edit]
[-] _collection.js
[edit]
[-] es6.array.iterator.js
[edit]
[-] _keyof.js
[edit]
[-] es7.object.define-setter.js
[edit]
[-] _collection-strong.js
[edit]
[-] es6.parse-float.js
[edit]
[-] es6.string.italics.js
[edit]
[-] es7.weak-map.of.js
[edit]
[-] es6.regexp.search.js
[edit]
[-] _object-assign.js
[edit]
[-] es6.string.includes.js
[edit]
[-] es6.typed.data-view.js
[edit]
[-] es6.number.to-precision.js
[edit]
[-] es6.string.trim.js
[edit]
[-] es6.reflect.has.js
[edit]
[-] es6.typed.float32-array.js
[edit]
[-] es6.string.blink.js
[edit]
[-] _create-property.js
[edit]
[-] es7.promise.try.js
[edit]
[-] es6.object.get-prototype-of.js
[edit]
[-] es6.array.reduce-right.js
[edit]
[-] es6.array.find.js
[edit]
[-] _global.js
[edit]
[-] _partial.js
[edit]
[-] es6.weak-map.js
[edit]
[-] es6.reflect.set-prototype-of.js
[edit]
[-] es6.reflect.enumerate.js
[edit]
[-] _string-pad.js
[edit]
[-] es6.array.fill.js
[edit]
[-] _inherit-if-required.js
[edit]
[-] es7.array.flat-map.js
[edit]
[-] _object-gopn.js
[edit]
[-] es7.object.lookup-getter.js
[edit]
[-] _core.js
[edit]
[-] es6.object.get-own-property-descriptor.js
[edit]
[-] es7.object.get-own-property-descriptors.js
[edit]
[-] _iterators.js
[edit]
[-] _enum-keys.js
[edit]
[-] _array-from-iterable.js
[edit]
[-] es6.reflect.get-own-property-descriptor.js
[edit]
[-] es6.regexp.exec.js
[edit]
[-] _to-absolute-index.js
[edit]
[-] es7.string.at.js
[edit]
[-] es6.object.is-extensible.js
[edit]
[-] es7.math.signbit.js
[edit]
[-] _fails-is-regexp.js
[edit]
[-] _collection-to-json.js
[edit]
[-] _array-copy-within.js
[edit]
[-] es6.string.link.js
[edit]
[-] _date-to-iso-string.js
[edit]
[-] _parse-int.js
[edit]
[-] es7.weak-set.from.js
[edit]
[-] web.dom.iterable.js
[edit]
[-] _parse-float.js
[edit]
[-] es6.number.epsilon.js
[edit]
[-] es6.reflect.get-prototype-of.js
[edit]
[-] _function-to-string.js
[edit]
[-] _object-to-array.js
[edit]
[-] es6.object.is-frozen.js
[edit]
[-] core.object.is-object.js
[edit]
[-] _string-repeat.js
[edit]
[-] es7.map.to-json.js
[edit]
[-] es7.math.iaddh.js
[edit]
[-] _string-context.js
[edit]
[-] _iter-detect.js
[edit]
[-] es6.math.sinh.js
[edit]
[-] es7.reflect.has-metadata.js
[edit]
[-] core.number.iterator.js
[edit]
[-] es7.math.clamp.js
[edit]
[-] es7.string.trim-left.js
[edit]
[-] es6.object.create.js
[edit]
[-] es6.object.get-own-property-names.js
[edit]
[-] es6.math.trunc.js
[edit]
[-] es6.reflect.construct.js
[edit]
[-] _array-methods.js
[edit]
[-] web.immediate.js
[edit]
[-] es7.reflect.delete-metadata.js
[edit]
[-] es5.js
[edit]
[-] es7.weak-map.from.js
[edit]
[-] web.timers.js
[edit]
[-] _to-primitive.js
[edit]
[-] _fix-re-wks.js
[edit]
[-] es6.number.is-nan.js
[edit]
[-] _shared.js
[edit]
[-] es6.object.keys.js
[edit]
[-] _a-number-value.js
[edit]
[-] _new-promise-capability.js
[edit]
[-] es7.reflect.get-own-metadata-keys.js
[edit]
[-] es6.string.ends-with.js
[edit]
[-] _iobject.js
[edit]
[-] _strict-method.js
[edit]
[-] _ie8-dom-define.js
[edit]
[-] _math-scale.js
[edit]
[-] es6.function.name.js
[edit]
[-] core.dict.js
[edit]
[-] _replacer.js
[edit]
[-] es6.string.fixed.js
[edit]
[-] _advance-string-index.js
[edit]
[-] es6.parse-int.js
[edit]
[-] _set-collection-from.js
[edit]
[-] es7.map.of.js
[edit]
[-] _uid.js
[edit]
[-] _object-dps.js
[edit]
[-] es7.reflect.has-own-metadata.js
[edit]
[-] _promise-resolve.js
[edit]
[-] core.get-iterator.js
[edit]
[-] es6.object.is.js
[edit]
[-] core.get-iterator-method.js
[edit]
[-] _redefine-all.js
[edit]
[-] _string-ws.js
[edit]
[-] es7.object.lookup-setter.js
[edit]
[-] _object-gopn-ext.js
[edit]
[-] _for-of.js
[edit]
[-] es6.array.some.js
[edit]
[-] _set-collection-of.js
[edit]
[-] es6.set.js
[edit]
[-] es6.number.parse-int.js
[edit]
[-] es6.number.is-finite.js
[edit]
[-] _iter-create.js
[edit]
[-] es6.math.clz32.js
[edit]
[-] es7.math.scale.js
[edit]
[-] es7.math.isubh.js
[edit]
[-] _shared-key.js
[edit]
[-] es6.regexp.split.js
[edit]
[-] es6.function.bind.js
[edit]
[-] es6.object.assign.js
[edit]
[-] _to-iobject.js
[edit]
[-] es6.object.define-property.js
[edit]
[-] es6.function.has-instance.js
[edit]
[-] es6.object.is-sealed.js
[edit]
[-] es6.string.strike.js
[edit]
[-] es7.set.to-json.js
[edit]
[-] _typed-array.js
[edit]
[-] es6.typed.uint32-array.js
[edit]
[-] es6.array.for-each.js
[edit]
[-] _wks-ext.js
[edit]
[-] _an-instance.js
[edit]
[-] _math-fround.js
[edit]
[-] es6.typed.int8-array.js
[edit]
[-] es6.math.atanh.js
[edit]
[-] core.is-iterable.js
[edit]
[-] es7.math.radians.js
[edit]
[-] es6.reflect.delete-property.js
[edit]
[-] es6.array.filter.js
[edit]
[-] es7.reflect.get-metadata.js
[edit]
[-] es6.typed.int16-array.js
[edit]
[-] _object-gops.js
[edit]
[-] _math-log1p.js
[edit]
[-] es6.date.to-iso-string.js
[edit]
[-] _array-species-create.js
[edit]
[-] es6.string.raw.js
[edit]
[-] es6.date.to-json.js
[edit]
[-] _has.js
[edit]
[-] _to-index.js
[edit]
[-] _ctx.js
[edit]
[-] _entry-virtual.js
[edit]
[-] es6.math.acosh.js
[edit]
[-] es6.typed.uint8-clamped-array.js
[edit]
[-] es6.math.expm1.js
[edit]
[-] es6.array.copy-within.js
[edit]
[-] es6.string.sup.js
[edit]
[-] es6.array.every.js
[edit]
[-] _descriptors.js
[edit]
[-] es6.map.js
[edit]
[-] es6.typed.uint16-array.js
[edit]
[-] es7.global.js
[edit]
[-] _perform.js
[edit]
[-] es6.reflect.get.js
[edit]
[-] _dom-create.js
[edit]
[-] es6.string.code-point-at.js
[edit]
[-] es6.object.set-prototype-of.js
[edit]
[-] es7.reflect.get-own-metadata.js
[edit]
[-] es7.math.degrees.js
[edit]
[-] es6.number.constructor.js
[edit]
[-] es6.string.sub.js
[edit]
[-] _string-at.js
[edit]
[-] _flags.js
[edit]
[-] es6.string.bold.js
[edit]
[-] es7.math.rad-per-deg.js
[edit]
[-] es7.map.from.js
[edit]
[-] es6.reflect.apply.js
[edit]
[-] _iter-define.js
[edit]
[-] es6.array.species.js
[edit]
[-] core.string.escape-html.js
[edit]
[-] es6.string.repeat.js
[edit]
[-] es6.array.from.js
[edit]
[-] es7.set.of.js
[edit]
[-] _typed.js
[edit]
[-] es6.regexp.flags.js
[edit]
[-] es6.array.sort.js
[edit]
[-] _meta.js
[edit]
[-] _flatten-into-array.js
[edit]
[-] _object-keys.js
[edit]
[-] _string-trim.js
[edit]
[-] _microtask.js
[edit]
[-] _math-expm1.js
[edit]
[-] es6.array.join.js
[edit]
[-] core.object.make.js
[edit]
[-] es6.number.min-safe-integer.js
[edit]
[-] es6.string.big.js
[edit]
[-] _object-forced-pam.js
[edit]
[-] es7.weak-set.of.js
[edit]
[-] _native-weak-map.js
[edit]
[-] _object-gpo.js
[edit]
[-] es6.string.fontsize.js
[edit]
[-] es6.reflect.set.js
[edit]
[-] _cof.js
[edit]
[-] es6.math.cbrt.js
[edit]
[-] _wks-define.js
[edit]
[-] es7.math.deg-per-rad.js
[edit]
[-] es6.object.seal.js
[edit]
[-] es7.math.imulh.js
[edit]
[-] es7.error.is-error.js
[edit]
[-] _is-array.js
[edit]
[-] _a-function.js
[edit]
[-] es6.number.is-safe-integer.js
[edit]
[-] _export.js
[edit]
[-] _object-gopd.js
[edit]
[-] es7.object.entries.js
[edit]
[-] _object-define.js
[edit]
[-] es6.number.to-fixed.js
[edit]
[-] _string-html.js
[edit]
[-] _typed-buffer.js
[edit]
[-] es6.math.hypot.js
[edit]
[-] _fails.js
[edit]
[-] es7.string.match-all.js
[edit]
[-] _html.js
[edit]
[-] es6.string.anchor.js
[edit]
[-] _is-integer.js
[edit]
[-] es6.regexp.to-string.js
[edit]
[+]
library
[-] _array-reduce.js
[edit]
[-] es7.object.define-getter.js
[edit]
[-] es6.symbol.js
[edit]
[-] _iter-step.js
[edit]
[-] es6.array.map.js
[edit]
[-] es6.array.last-index-of.js
[edit]
[-] es6.object.to-string.js
[edit]
[-] es6.string.fontcolor.js
[edit]
[-] es6.number.parse-float.js
[edit]
[-] es7.observable.js
[edit]
[-] _an-object.js
[edit]
[-] _array-fill.js
[edit]
[-] es7.object.values.js
[edit]
[-] _object-keys-internal.js
[edit]
[-] es7.math.umulh.js
[edit]
[-] _wks.js
[edit]
[-] es6.string.starts-with.js
[edit]
[-] es6.object.define-properties.js
[edit]
[-] es7.math.fscale.js
[edit]
[-] es6.math.asinh.js
[edit]
[-] core.function.part.js
[edit]
[-] _add-to-unscopables.js
[edit]
[-] es7.string.trim-right.js
[edit]
[-] _array-species-constructor.js
[edit]
[-] _array-includes.js
[edit]
[-] _set-proto.js
[edit]
[-] es7.reflect.get-metadata-keys.js
[edit]
[-] es6.string.from-code-point.js
[edit]
[-] es6.regexp.match.js
[edit]
[-] es6.number.is-integer.js
[edit]
[-] es6.regexp.replace.js
[edit]
[-] es7.system.global.js
[edit]
[-] _bind.js
[edit]
[-] es6.object.freeze.js
[edit]
[-] es7.promise.finally.js
[edit]
[-] es6.typed.int32-array.js
[edit]
[-] _regexp-exec-abstract.js
[edit]
[-] core.delay.js
[edit]
[-] es6.array.find-index.js
[edit]
[-] es7.reflect.define-metadata.js
[edit]
[-] es7.reflect.metadata.js
[edit]
[-] _is-object.js
[edit]
[-] es7.array.flatten.js
[edit]
[-] core.object.define.js
[edit]
[-] _iter-call.js
[edit]
[-] _species-constructor.js
[edit]
[-] es6.math.tanh.js
[edit]
[-] core.regexp.escape.js
[edit]
[-] _object-create.js
[edit]
[-] es6.reflect.prevent-extensions.js
[edit]
[-] es6.array.index-of.js
[edit]
[-] es6.array.slice.js
[edit]
[-] es6.math.cosh.js
[edit]
[-] _task.js
[edit]
[-] es6.string.iterator.js
[edit]
[-] es6.date.now.js
[edit]
[-] _path.js
[edit]
[-] _hide.js
[edit]
[-] es7.asap.js
[edit]
[-] _defined.js
[edit]
[-] core.object.classof.js
[edit]
[-] es6.reflect.is-extensible.js
[edit]
[-] es6.math.log1p.js
[edit]
[-] es6.typed.uint8-array.js
[edit]
[-] es6.date.to-primitive.js
[edit]
[-] _property-desc.js
[edit]
[-] es6.promise.js
[edit]
[-] _redefine.js
[edit]
[-] es7.string.pad-start.js
[edit]
[-] es6.math.log10.js
[edit]
[-] es6.string.small.js
[edit]
[-] _math-sign.js
[edit]
[-] _metadata.js
[edit]
[-] _own-keys.js
[edit]
[-] es6.math.log2.js
[edit]
[-] _to-length.js
[edit]
[-] _library.js
[edit]
[-] es6.typed.float64-array.js
[edit]
[-] es7.array.includes.js
[edit]
[-] es6.array.reduce.js
[edit]
[-] es7.symbol.observable.js
[edit]
[-] _user-agent.js
[edit]
[-] es6.array.of.js
[edit]
[-] es7.symbol.async-iterator.js
[edit]