1 line
3.4 KiB
JSON
1 line
3.4 KiB
JSON
{"ast":null,"code":"var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n buffer.copy(result);\n return result;\n}\nmodule.exports = cloneBuffer;","map":{"version":3,"names":["root","require","freeExports","exports","nodeType","freeModule","module","moduleExports","Buffer","undefined","allocUnsafe","cloneBuffer","buffer","isDeep","slice","length","result","constructor","copy"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/lodash/_cloneBuffer.js"],"sourcesContent":["var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n"],"mappings":"AAAA,IAAIA,IAAI,GAAGC,OAAO,CAAC,SAAS,CAAC;;AAE7B;AACA,IAAIC,WAAW,GAAG,OAAOC,OAAO,IAAI,QAAQ,IAAIA,OAAO,IAAI,CAACA,OAAO,CAACC,QAAQ,IAAID,OAAO;;AAEvF;AACA,IAAIE,UAAU,GAAGH,WAAW,IAAI,OAAOI,MAAM,IAAI,QAAQ,IAAIA,MAAM,IAAI,CAACA,MAAM,CAACF,QAAQ,IAAIE,MAAM;;AAEjG;AACA,IAAIC,aAAa,GAAGF,UAAU,IAAIA,UAAU,CAACF,OAAO,KAAKD,WAAW;;AAEpE;AACA,IAAIM,MAAM,GAAGD,aAAa,GAAGP,IAAI,CAACQ,MAAM,GAAGC,SAAS;EAChDC,WAAW,GAAGF,MAAM,GAAGA,MAAM,CAACE,WAAW,GAAGD,SAAS;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASE,WAAWA,CAACC,MAAM,EAAEC,MAAM,EAAE;EACnC,IAAIA,MAAM,EAAE;IACV,OAAOD,MAAM,CAACE,KAAK,CAAC,CAAC;EACvB;EACA,IAAIC,MAAM,GAAGH,MAAM,CAACG,MAAM;IACtBC,MAAM,GAAGN,WAAW,GAAGA,WAAW,CAACK,MAAM,CAAC,GAAG,IAAIH,MAAM,CAACK,WAAW,CAACF,MAAM,CAAC;EAE/EH,MAAM,CAACM,IAAI,CAACF,MAAM,CAAC;EACnB,OAAOA,MAAM;AACf;AAEAV,MAAM,CAACH,OAAO,GAAGQ,WAAW","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]} |