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

1 line
No EOL
2.4 KiB
JSON

{"ast":null,"code":"import { map } from './map';\nexport function pluck(...properties) {\n const length = properties.length;\n if (length === 0) {\n throw new Error('list of properties cannot be empty.');\n }\n return source => map(plucker(properties, length))(source);\n}\nfunction plucker(props, length) {\n const mapper = x => {\n let currentProp = x;\n for (let i = 0; i < length; i++) {\n const p = currentProp != null ? currentProp[props[i]] : undefined;\n if (p !== void 0) {\n currentProp = p;\n } else {\n return undefined;\n }\n }\n return currentProp;\n };\n return mapper;\n}","map":{"version":3,"names":["map","pluck","properties","length","Error","source","plucker","props","mapper","x","currentProp","i","p","undefined"],"sources":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/node_modules/rxjs/_esm2015/internal/operators/pluck.js"],"sourcesContent":["import { map } from './map';\nexport function pluck(...properties) {\n const length = properties.length;\n if (length === 0) {\n throw new Error('list of properties cannot be empty.');\n }\n return (source) => map(plucker(properties, length))(source);\n}\nfunction plucker(props, length) {\n const mapper = (x) => {\n let currentProp = x;\n for (let i = 0; i < length; i++) {\n const p = currentProp != null ? currentProp[props[i]] : undefined;\n if (p !== void 0) {\n currentProp = p;\n }\n else {\n return undefined;\n }\n }\n return currentProp;\n };\n return mapper;\n}\n"],"mappings":"AAAA,SAASA,GAAG,QAAQ,OAAO;AAC3B,OAAO,SAASC,KAAKA,CAAC,GAAGC,UAAU,EAAE;EACjC,MAAMC,MAAM,GAAGD,UAAU,CAACC,MAAM;EAChC,IAAIA,MAAM,KAAK,CAAC,EAAE;IACd,MAAM,IAAIC,KAAK,CAAC,qCAAqC,CAAC;EAC1D;EACA,OAAQC,MAAM,IAAKL,GAAG,CAACM,OAAO,CAACJ,UAAU,EAAEC,MAAM,CAAC,CAAC,CAACE,MAAM,CAAC;AAC/D;AACA,SAASC,OAAOA,CAACC,KAAK,EAAEJ,MAAM,EAAE;EAC5B,MAAMK,MAAM,GAAIC,CAAC,IAAK;IAClB,IAAIC,WAAW,GAAGD,CAAC;IACnB,KAAK,IAAIE,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGR,MAAM,EAAEQ,CAAC,EAAE,EAAE;MAC7B,MAAMC,CAAC,GAAGF,WAAW,IAAI,IAAI,GAAGA,WAAW,CAACH,KAAK,CAACI,CAAC,CAAC,CAAC,GAAGE,SAAS;MACjE,IAAID,CAAC,KAAK,KAAK,CAAC,EAAE;QACdF,WAAW,GAAGE,CAAC;MACnB,CAAC,MACI;QACD,OAAOC,SAAS;MACpB;IACJ;IACA,OAAOH,WAAW;EACtB,CAAC;EACD,OAAOF,MAAM;AACjB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}