{"ast":null,"code":"import _inherits from \"C:/Users/kgamal/Downloads/HijriGregorianDatepicker-master/HijriGregorianDatepicker-master/node_modules/@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"C:/Users/kgamal/Downloads/HijriGregorianDatepicker-master/HijriGregorianDatepicker-master/node_modules/@babel/runtime/helpers/esm/createSuper\";\nimport _classCallCheck from \"C:/Users/kgamal/Downloads/HijriGregorianDatepicker-master/HijriGregorianDatepicker-master/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"C:/Users/kgamal/Downloads/HijriGregorianDatepicker-master/HijriGregorianDatepicker-master/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport { Subscriber } from '../Subscriber';\nexport function isEmpty() {\n  return function (source) {\n    return source.lift(new IsEmptyOperator());\n  };\n}\n\nvar IsEmptyOperator = /*#__PURE__*/function () {\n  function IsEmptyOperator() {\n    _classCallCheck(this, IsEmptyOperator);\n  }\n\n  _createClass(IsEmptyOperator, [{\n    key: \"call\",\n    value: function call(observer, source) {\n      return source.subscribe(new IsEmptySubscriber(observer));\n    }\n  }]);\n\n  return IsEmptyOperator;\n}();\n\nvar IsEmptySubscriber = /*#__PURE__*/function (_Subscriber) {\n  _inherits(IsEmptySubscriber, _Subscriber);\n\n  var _super = _createSuper(IsEmptySubscriber);\n\n  function IsEmptySubscriber(destination) {\n    _classCallCheck(this, IsEmptySubscriber);\n\n    return _super.call(this, destination);\n  }\n\n  _createClass(IsEmptySubscriber, [{\n    key: \"notifyComplete\",\n    value: function notifyComplete(isEmpty) {\n      var destination = this.destination;\n      destination.next(isEmpty);\n      destination.complete();\n    }\n  }, {\n    key: \"_next\",\n    value: function _next(value) {\n      this.notifyComplete(false);\n    }\n  }, {\n    key: \"_complete\",\n    value: function _complete() {\n      this.notifyComplete(true);\n    }\n  }]);\n\n  return IsEmptySubscriber;\n}(Subscriber); //# sourceMappingURL=isEmpty.js.map","map":null,"metadata":{},"sourceType":"module"}