Files
ETB/ETB-FrontEnd/node_modules/.cache/babel-loader/fb21df34db5957cd31bac4ad2a5cc4662e6cc4037eea06716145057275ecddf8.json
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

1 line
2.4 KiB
JSON

{"ast":null,"code":"var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\nmodule.exports = property;","map":{"version":3,"names":["baseProperty","require","basePropertyDeep","isKey","toKey","property","path","module","exports"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/lodash/property.js"],"sourcesContent":["var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n"],"mappings":"AAAA,IAAIA,YAAY,GAAGC,OAAO,CAAC,iBAAiB,CAAC;EACzCC,gBAAgB,GAAGD,OAAO,CAAC,qBAAqB,CAAC;EACjDE,KAAK,GAAGF,OAAO,CAAC,UAAU,CAAC;EAC3BG,KAAK,GAAGH,OAAO,CAAC,UAAU,CAAC;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASI,QAAQA,CAACC,IAAI,EAAE;EACtB,OAAOH,KAAK,CAACG,IAAI,CAAC,GAAGN,YAAY,CAACI,KAAK,CAACE,IAAI,CAAC,CAAC,GAAGJ,gBAAgB,CAACI,IAAI,CAAC;AACzE;AAEAC,MAAM,CAACC,OAAO,GAAGH,QAAQ","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}