Kargi-Sitesi/.angular/cache/18.2.11/babel-webpack/e6a2ce682032a94c863db55c475cbb6b2271762fc5e636fbf25e0dd6a77a7d8c.json

1 line
3.5 KiB
JSON
Raw Normal View History

2024-10-31 19:07:58 +00:00
{"ast":null,"code":"import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function exhaust() {\n return source => source.lift(new SwitchFirstOperator());\n}\nclass SwitchFirstOperator {\n call(subscriber, source) {\n return source.subscribe(new SwitchFirstSubscriber(subscriber));\n }\n}\nclass SwitchFirstSubscriber extends SimpleOuterSubscriber {\n constructor(destination) {\n super(destination);\n this.hasCompleted = false;\n this.hasSubscription = false;\n }\n _next(value) {\n if (!this.hasSubscription) {\n this.hasSubscription = true;\n this.add(innerSubscribe(value, new SimpleInnerSubscriber(this)));\n }\n }\n _complete() {\n this.hasCompleted = true;\n if (!this.hasSubscription) {\n this.destination.complete();\n }\n }\n notifyComplete() {\n this.hasSubscription = false;\n if (this.hasCompleted) {\n this.destination.complete();\n }\n }\n}","map":{"version":3,"names":["SimpleOuterSubscriber","innerSubscribe","SimpleInnerSubscriber","exhaust","source","lift","SwitchFirstOperator","call","subscriber","subscribe","SwitchFirstSubscriber","constructor","destination","hasCompleted","hasSubscription","_next","value","add","_complete","complete","notifyComplete"],"sources":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/node_modules/rxjs/_esm2015/internal/operators/exhaust.js"],"sourcesContent":["import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function exhaust() {\n return (source) => source.lift(new SwitchFirstOperator());\n}\nclass SwitchFirstOperator {\n call(subscriber, source) {\n return source.subscribe(new SwitchFirstSubscriber(subscriber));\n }\n}\nclass SwitchFirstSubscriber extends SimpleOuterSubscriber {\n constructor(destination) {\n super(destination);\n this.hasCompleted = false;\n this.hasSubscription = false;\n }\n _next(value) {\n if (!this.hasSubscription) {\n this.hasSubscription = true;\n this.add(innerSubscribe(value, new SimpleInnerSubscriber(this)));\n }\n }\n _complete() {\n this.hasCompleted = true;\n if (!this.hasSubscription) {\n this.destination.complete();\n }\n }\n notifyComplete() {\n this.hasSubscription = false;\n if (this.hasCompleted) {\n this.destination.complete();\n }\n }\n}\n"],"mappings":"AAAA,SAASA,qBAAqB,EAAEC,cAAc,EAAEC,qBAAqB,QAAQ,mBAAmB;AAChG,OAAO,SAASC,OAAOA,CAAA,EAAG;EACtB,OAAQC,MAAM,IAAKA,MAAM,CAACC,IAAI,CAAC,IAAIC,mBAAmB,CAAC,CAAC,CAAC;AAC7D;AACA,MAAMA,mBAAmB,CAAC;EACtBC,IAAIA,CAACC,UAAU,EAAEJ,MAAM,EAAE;IACrB,OAAOA,MAAM,CAACK,SAAS,CAAC,IAAIC,qBAAqB,CAACF,UAAU,CAAC,CAAC;EAClE;AACJ;AACA,MAAME,qBAAqB,SAASV,qBAAqB,CAAC;EACtDW,WAAWA,CAACC,WAAW,EAAE;IACrB,KAAK,CAACA,WAAW,CAAC;IAClB,IAAI,CAACC,YAAY,GAAG,KAAK;IACzB,IAAI,CAACC,eAAe,GAAG,KAAK;EAChC;EACAC,KAAKA,CAACC,KAAK,EAAE;IACT,IAAI,CAAC,IAAI,CAACF,eAAe,EAAE;MACvB,IAAI,CAACA,eAAe,GAAG,IAAI;MAC3B,IAAI,CAACG,GAAG,CAAChB,cAAc,CAACe,KAAK,EAAE,IAAId,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;IACpE;EACJ;EACAgB,SAASA,CAAA,EAAG;IACR,IAAI,CAACL,YAAY,GAAG,IAAI;IACxB,IAAI,CAAC,IAAI,CAACC,eAAe,EAAE;MACvB,IAAI,CAACF,WAAW,CAACO,QAAQ,CAAC,CAAC;IAC/B;EACJ;EACAC,cAAcA,CAAA,EAAG;IACb,IAAI,CAACN,eAAe,GAAG,KAAK;IAC5B,IAAI,IAAI,CAACD,YAAY,EAAE;MACnB,IAAI,CAACD,WAAW,CAACO,QAAQ,CAAC,CAAC;IAC/B;EACJ;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}