mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
1.3 KiB
JSON
1 line
1.3 KiB
JSON
{"ast":null,"code":"import isKeyable from './_isKeyable.js';\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;\n}\n\nexport default getMapData;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_getMapData.js"],"names":["isKeyable","getMapData","map","key","data","__data__"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,iBAAtB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,UAAT,CAAoBC,GAApB,EAAyBC,GAAzB,EAA8B;AAC5B,MAAIC,IAAI,GAAGF,GAAG,CAACG,QAAf;AACA,SAAOL,SAAS,CAACG,GAAD,CAAT,GACHC,IAAI,CAAC,OAAOD,GAAP,IAAc,QAAd,GAAyB,QAAzB,GAAoC,MAArC,CADD,GAEHC,IAAI,CAACF,GAFT;AAGD;;AAED,eAAeD,UAAf","sourcesContent":["import isKeyable from './_isKeyable.js';\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nexport default getMapData;\n"]},"metadata":{},"sourceType":"module"} |