mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
1 line
5.7 KiB
JSON
1 line
5.7 KiB
JSON
|
{"ast":null,"code":"import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n/** `Object#toString` result references. */\n\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\nvar dataViewTag = '[object DataView]';\n/** Used to detect maps, sets, and weakmaps. */\n\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\nvar getTag = baseGetTag; // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n\nif (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise && getTag(Promise.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n getTag = function (value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString:\n return dataViewTag;\n\n case mapCtorString:\n return mapTag;\n\n case promiseCtorString:\n return promiseTag;\n\n case setCtorString:\n return setTag;\n\n case weakMapCtorString:\n return weakMapTag;\n }\n }\n\n return result;\n };\n}\n\nexport default getTag;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_getTag.js"],"names":["DataView","Map","Promise","Set","WeakMap","baseGetTag","toSource","mapTag","objectTag","promiseTag","setTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","ArrayBuffer","resolve","value","result","Ctor","constructor","undefined","ctorString"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,gBAArB;AACA,OAAOC,GAAP,MAAgB,WAAhB;AACA,OAAOC,OAAP,MAAoB,eAApB;AACA,OAAOC,GAAP,MAAgB,WAAhB;AACA,OAAOC,OAAP,MAAoB,eAApB;AACA,OAAOC,UAAP,MAAuB,kBAAvB;AACA,OAAOC,QAAP,MAAqB,gBAArB;AAEA;;AACA,IAAIC,MAAM,GAAG,cAAb;AAAA,IACIC,SAAS,GAAG,iBADhB;AAAA,IAEIC,UAAU,GAAG,kBAFjB;AAAA,IAGIC,MAAM,GAAG,cAHb;AAAA,IAIIC,UAAU,GAAG,kBAJjB;AAMA,IAAIC,WAAW,GAAG,mBAAlB;AAEA;;AACA,IAAIC,kBAAkB,GAAGP,QAAQ,CAACN,QAAD,CAAjC;AAAA,IACIc,aAAa,GAAGR,QAAQ,CAACL,GAAD,CAD5B;AAAA,IAEIc,iBAAiB,GAAGT,QAAQ,CAACJ,OAAD,CAFhC;AAAA,IAGIc,aAAa,GAAGV,QAAQ,CAACH,GAAD,CAH5B;AAAA,IAIIc,iBAAiB,GAAGX,QAAQ,CAACF,OAAD,CAJhC;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIc,MAAM,GAAGb,UAAb,C,CAEA;;AACA,IAAKL,QAAQ,IAAIkB,MAAM,CAAC,IAAIlB,QAAJ,CAAa,IAAImB,WAAJ,CAAgB,CAAhB,CAAb,CAAD,CAAN,IAA4CP,WAAzD,IACCX,GAAG,IAAIiB,MAAM,CAAC,IAAIjB,GAAJ,EAAD,CAAN,IAAmBM,MAD3B,IAECL,OAAO,IAAIgB,MAAM,CAAChB,OAAO,CAACkB,OAAR,EAAD,CAAN,IAA6BX,UAFzC,IAGCN,GAAG,IAAIe,MAAM,CAAC,IAAIf,GAAJ,EAAD,CAAN,IAAmBO,MAH3B,IAICN,OAAO,IAAIc,MAAM,CAAC,IAAId,OAAJ,EAAD,CAAN,IAAuBO,UAJvC,EAIoD;AAClDO,EAAAA,MAAM,GAAG,UAASG,KAAT,EAAgB;AACvB,QAAIC,MAAM,GAAGjB,UAAU,CAACgB,KAAD,CAAvB;AAAA,QACIE,IAAI,GAAGD,MAAM,IAAId,SAAV,GAAsBa,KAAK,CAACG,WAA5B,GAA0CC,SADrD;AAAA,QAEIC,UAAU,GAAGH,IAAI,GAAGjB,QAAQ,CAACiB,IAAD,CAAX,GAAoB,EAFzC;;AAIA,QAAIG,UAAJ,EAAgB;AACd,cAAQA,UAAR;AACE,aAAKb,kBAAL;AAAyB,iBAAOD,WAAP;;AACzB,aAAKE,aAAL;AAAoB,iBAAOP,MAAP;;AACpB,aAAKQ,iBAAL;AAAwB,iBAAON,UAAP;;AACxB,aAAKO,aAAL;AAAoB,iBAAON,MAAP;;AACpB,aAAKO,iBAAL;AAAwB,iBAAON,UAAP;AAL1B;AAOD;;AACD,WAAOW,MAAP;AACD,GAfD;AAgBD;;AAED,eAAeJ,MAAf","sourcesContent":["import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap fro
|