Kargi-Sitesi/.angular/cache/16.2.16/babel-webpack/82abcde41be1b35ce0f161721383cbf3886af9b99ea02987eca5058b575bf09e.json

1 line
4.4 KiB
JSON
Raw Normal View History

2024-10-31 19:07:58 +00:00
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nexport function pairs(obj, scheduler) {\n if (!scheduler) {\n return new Observable(subscriber => {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length && !subscriber.closed; i++) {\n const key = keys[i];\n if (obj.hasOwnProperty(key)) {\n subscriber.next([key, obj[key]]);\n }\n }\n subscriber.complete();\n });\n } else {\n return new Observable(subscriber => {\n const keys = Object.keys(obj);\n const subscription = new Subscription();\n subscription.add(scheduler.schedule(dispatch, 0, {\n keys,\n index: 0,\n subscriber,\n subscription,\n obj\n }));\n return subscription;\n });\n }\n}\nexport function dispatch(state) {\n const {\n keys,\n index,\n subscriber,\n subscription,\n obj\n } = state;\n if (!subscriber.closed) {\n if (index < keys.length) {\n const key = keys[index];\n subscriber.next([key, obj[key]]);\n subscription.add(this.schedule({\n keys,\n index: index + 1,\n subscriber,\n subscription,\n obj\n }));\n } else {\n subscriber.complete();\n }\n }\n}","map":{"version":3,"names":["Observable","Subscription","pairs","obj","scheduler","subscriber","keys","Object","i","length","closed","key","hasOwnProperty","next","complete","subscription","add","schedule","dispatch","index","state"],"sources":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/node_modules/rxjs/_esm2015/internal/observable/pairs.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nexport function pairs(obj, scheduler) {\n if (!scheduler) {\n return new Observable(subscriber => {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length && !subscriber.closed; i++) {\n const key = keys[i];\n if (obj.hasOwnProperty(key)) {\n subscriber.next([key, obj[key]]);\n }\n }\n subscriber.complete();\n });\n }\n else {\n return new Observable(subscriber => {\n const keys = Object.keys(obj);\n const subscription = new Subscription();\n subscription.add(scheduler.schedule(dispatch, 0, { keys, index: 0, subscriber, subscription, obj }));\n return subscription;\n });\n }\n}\nexport function dispatch(state) {\n const { keys, index, subscriber, subscription, obj } = state;\n if (!subscriber.closed) {\n if (index < keys.length) {\n const key = keys[index];\n subscriber.next([key, obj[key]]);\n subscription.add(this.schedule({ keys, index: index + 1, subscriber, subscription, obj }));\n }\n else {\n subscriber.complete();\n }\n }\n}\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,eAAe;AAC1C,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,OAAO,SAASC,KAAKA,CAACC,GAAG,EAAEC,SAAS,EAAE;EAClC,IAAI,CAACA,SAAS,EAAE;IACZ,OAAO,IAAIJ,UAAU,CAACK,UAAU,IAAI;MAChC,MAAMC,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACH,GAAG,CAAC;MAC7B,KAAK,IAAIK,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,IAAI,CAACG,MAAM,IAAI,CAACJ,UAAU,CAACK,MAAM,EAAEF,CAAC,EAAE,EAAE;QACxD,MAAMG,GAAG,GAAGL,IAAI,CAACE,CAAC,CAAC;QACnB,IAAIL,GAAG,CAACS,cAAc,CAACD,GAAG,CAAC,EAAE;UACzBN,UAAU,CAACQ,IAAI,CAAC,CAACF,GAAG,EAAER,GAAG,CAACQ,GAAG,CAAC,CAAC,CAAC;QACpC;MACJ;MACAN,UAAU,CAACS,QAAQ,CAAC,CAAC;IACzB,CAAC,CAAC;EACN,CAAC,MACI;IACD,OAAO,IAAId,UAAU,CAACK,UAAU,IAAI;MAChC,MAAMC,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACH,GAAG,CAAC;MAC7B,MAAMY,YAAY,GAAG,IAAId,YAAY,CAAC,CAAC;MACvCc,YAAY,CAACC,GAAG,CAACZ,SAAS,CAACa,QAAQ,CAACC,QAAQ,EAAE,CAAC,EAAE;QAAEZ,IAAI;QAAEa,KAAK,EAAE,CAAC;QAAEd,UAAU;QAAEU,YAAY;QAAEZ;MAAI,CAAC,CAAC,CAAC;MACpG,OAAOY,YAAY;IACvB,CAAC,CAAC;EACN;AACJ;AACA,OAAO,SAASG,QAAQA,CAACE,KAAK,EAAE;EAC5B,MAAM;IAAEd,IAAI;IAAEa,KAAK;IAAEd,UAAU;IAAEU,YAAY;IAAEZ;EAAI,CAAC,GAAGiB,KAAK;EAC5D,IAAI,CAACf,UAAU,CAAC