Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/2b/3b299e77e9a95e7538682d6c6de491ae27ad87f3e2e82a8014e12988e485662494cb2d
T
2025-10-24 02:50:33 +00:00

1 line
5.0 KiB
Plaintext

{"dependencies":[{"name":"rxjs","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":131},"end":{"line":4,"column":30,"index":146}}],"key":"atDzfUGaJNRNtwyVumomzH/5ygw=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.refCountDelay = refCountDelay;\n const rxjs_1 = require(_dependencyMap[0], \"rxjs\");\n /** @internal */\n function refCountDelay(delay = 1750) {\n return source => {\n // state: 0 = disconnected, 1 = disconnecting, 2 = connecting, 3 = connected\n let [state, refCount, connection, scheduler] = [0, 0, rxjs_1.Subscription.EMPTY, rxjs_1.Subscription.EMPTY];\n return new rxjs_1.Observable(ob => {\n source.subscribe(ob);\n if (refCount++ === 0) {\n if (state === 1) {\n scheduler.unsubscribe();\n } else {\n // eslint-disable-next-line deprecation/deprecation\n connection = source.connect();\n }\n state = 3;\n }\n return () => {\n if (--refCount === 0) {\n if (state === 2) {\n state = 0;\n scheduler.unsubscribe();\n } else {\n // state === 3\n state = 1;\n scheduler = rxjs_1.asapScheduler.schedule(() => {\n state = 0;\n connection.unsubscribe();\n }, delay);\n }\n }\n };\n });\n };\n }\n});","lineCount":43,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"refCountDelay"],[7,23,3,21],[7,26,3,24,"refCountDelay"],[7,39,3,37],[8,2,4,0],[8,8,4,6,"rxjs_1"],[8,14,4,12],[8,17,4,15,"require"],[8,24,4,22],[8,25,4,22,"_dependencyMap"],[8,39,4,22],[8,50,4,29],[8,51,4,30],[9,2,5,0],[10,2,6,0],[10,11,6,9,"refCountDelay"],[10,24,6,22,"refCountDelay"],[10,25,6,23,"delay"],[10,30,6,28],[10,33,6,31],[10,37,6,35],[10,39,6,37],[11,4,7,4],[11,11,7,12,"source"],[11,17,7,18],[11,21,7,23],[12,6,8,8],[13,6,9,8],[13,10,9,12],[13,11,9,13,"state"],[13,16,9,18],[13,18,9,20,"refCount"],[13,26,9,28],[13,28,9,30,"connection"],[13,38,9,40],[13,40,9,42,"scheduler"],[13,49,9,51],[13,50,9,52],[13,53,9,55],[13,54,9,56],[13,55,9,57],[13,57,9,59],[13,58,9,60],[13,60,9,62,"rxjs_1"],[13,66,9,68],[13,67,9,69,"Subscription"],[13,79,9,81],[13,80,9,82,"EMPTY"],[13,85,9,87],[13,87,9,89,"rxjs_1"],[13,93,9,95],[13,94,9,96,"Subscription"],[13,106,9,108],[13,107,9,109,"EMPTY"],[13,112,9,114],[13,113,9,115],[14,6,10,8],[14,13,10,15],[14,17,10,19,"rxjs_1"],[14,23,10,25],[14,24,10,26,"Observable"],[14,34,10,36],[14,35,10,38,"ob"],[14,37,10,40],[14,41,10,45],[15,8,11,12,"source"],[15,14,11,18],[15,15,11,19,"subscribe"],[15,24,11,28],[15,25,11,29,"ob"],[15,27,11,31],[15,28,11,32],[16,8,12,12],[16,12,12,16,"refCount"],[16,20,12,24],[16,22,12,26],[16,27,12,31],[16,28,12,32],[16,30,12,34],[17,10,13,16],[17,14,13,20,"state"],[17,19,13,25],[17,24,13,30],[17,25,13,31],[17,27,13,33],[18,12,14,20,"scheduler"],[18,21,14,29],[18,22,14,30,"unsubscribe"],[18,33,14,41],[18,34,14,42],[18,35,14,43],[19,10,15,16],[19,11,15,17],[19,17,16,21],[20,12,17,20],[21,12,18,20,"connection"],[21,22,18,30],[21,25,18,33,"source"],[21,31,18,39],[21,32,18,40,"connect"],[21,39,18,47],[21,40,18,48],[21,41,18,49],[22,10,19,16],[23,10,20,16,"state"],[23,15,20,21],[23,18,20,24],[23,19,20,25],[24,8,21,12],[25,8,22,12],[25,15,22,19],[25,21,22,25],[26,10,23,16],[26,14,23,20],[26,16,23,22,"refCount"],[26,24,23,30],[26,29,23,35],[26,30,23,36],[26,32,23,38],[27,12,24,20],[27,16,24,24,"state"],[27,21,24,29],[27,26,24,34],[27,27,24,35],[27,29,24,37],[28,14,25,24,"state"],[28,19,25,29],[28,22,25,32],[28,23,25,33],[29,14,26,24,"scheduler"],[29,23,26,33],[29,24,26,34,"unsubscribe"],[29,35,26,45],[29,36,26,46],[29,37,26,47],[30,12,27,20],[30,13,27,21],[30,19,28,25],[31,14,29,24],[32,14,30,24,"state"],[32,19,30,29],[32,22,30,32],[32,23,30,33],[33,14,31,24,"scheduler"],[33,23,31,33],[33,26,31,36,"rxjs_1"],[33,32,31,42],[33,33,31,43,"asapScheduler"],[33,46,31,56],[33,47,31,57,"schedule"],[33,55,31,65],[33,56,31,66],[33,62,31,72],[34,16,32,28,"state"],[34,21,32,33],[34,24,32,36],[34,25,32,37],[35,16,33,28,"connection"],[35,26,33,38],[35,27,33,39,"unsubscribe"],[35,38,33,50],[35,39,33,51],[35,40,33,52],[36,14,34,24],[36,15,34,25],[36,17,34,27,"delay"],[36,22,34,32],[36,23,34,33],[37,12,35,20],[38,10,36,16],[39,8,37,12],[39,9,37,13],[40,6,38,8],[40,7,38,9],[40,8,38,10],[41,4,39,4],[41,5,39,5],[42,2,40,0],[43,0,40,1],[43,3]],"functionMap":{"names":["<global>","refCountDelay","<anonymous>","rxjs_1.Observable$argument_0","rxjs_1.asapScheduler.schedule$argument_0"],"mappings":"AAA;ACK;WCC;qCCG;mBDY;kEES;yBFG;aCG;SDC;KDC;CDC"},"hasCjsExports":true},"type":"js/module"}]}