ng-implementation/implem/.angular/cache/20.1.4/babel-webpack/3dd6def3c9b51c42689e746fe7479197.json
2025-08-19 12:05:42 +02:00

1 line
No EOL
2.4 KiB
JSON

{"ast":null,"code":"import { Subject } from '../Subject';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { fromSubscribable } from '../observable/fromSubscribable';\nvar DEFAULT_CONFIG = {\n connector: function () {\n return new Subject();\n }\n};\nexport function connect(selector, config) {\n if (config === void 0) {\n config = DEFAULT_CONFIG;\n }\n var connector = config.connector;\n return operate(function (source, subscriber) {\n var subject = connector();\n innerFrom(selector(fromSubscribable(subject))).subscribe(subscriber);\n subscriber.add(source.subscribe(subject));\n });\n}\n//# sourceMappingURL=connect.js.map","map":{"version":3,"names":["Subject","innerFrom","operate","fromSubscribable","DEFAULT_CONFIG","connector","connect","selector","config","source","subscriber","subject","subscribe","add"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/connect.js"],"sourcesContent":["import { Subject } from '../Subject';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { fromSubscribable } from '../observable/fromSubscribable';\nvar DEFAULT_CONFIG = {\n connector: function () { return new Subject(); },\n};\nexport function connect(selector, config) {\n if (config === void 0) { config = DEFAULT_CONFIG; }\n var connector = config.connector;\n return operate(function (source, subscriber) {\n var subject = connector();\n innerFrom(selector(fromSubscribable(subject))).subscribe(subscriber);\n subscriber.add(source.subscribe(subject));\n });\n}\n//# sourceMappingURL=connect.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,YAAY;AACpC,SAASC,SAAS,QAAQ,yBAAyB;AACnD,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,gBAAgB,QAAQ,gCAAgC;AACjE,IAAIC,cAAc,GAAG;EACjBC,SAAS,EAAE,SAAAA,CAAA,EAAY;IAAE,OAAO,IAAIL,OAAO,CAAC,CAAC;EAAE;AACnD,CAAC;AACD,OAAO,SAASM,OAAOA,CAACC,QAAQ,EAAEC,MAAM,EAAE;EACtC,IAAIA,MAAM,KAAK,KAAK,CAAC,EAAE;IAAEA,MAAM,GAAGJ,cAAc;EAAE;EAClD,IAAIC,SAAS,GAAGG,MAAM,CAACH,SAAS;EAChC,OAAOH,OAAO,CAAC,UAAUO,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,OAAO,GAAGN,SAAS,CAAC,CAAC;IACzBJ,SAAS,CAACM,QAAQ,CAACJ,gBAAgB,CAACQ,OAAO,CAAC,CAAC,CAAC,CAACC,SAAS,CAACF,UAAU,CAAC;IACpEA,UAAU,CAACG,GAAG,CAACJ,MAAM,CAACG,SAAS,CAACD,OAAO,CAAC,CAAC;EAC7C,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}