GoScrobble/web/node_modules/.cache/babel-loader/4f74cea98dc3c3d0a33b621521b1090c.json

1 line
1.7 KiB
JSON
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
{"ast":null,"code":"import cloneArrayBuffer from './_cloneArrayBuffer.js';\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_cloneTypedArray.js"],"names":["cloneArrayBuffer","cloneTypedArray","typedArray","isDeep","buffer","constructor","byteOffset","length"],"mappings":"AAAA,OAAOA,gBAAP,MAA6B,wBAA7B;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,eAAT,CAAyBC,UAAzB,EAAqCC,MAArC,EAA6C;AAC3C,MAAIC,MAAM,GAAGD,MAAM,GAAGH,gBAAgB,CAACE,UAAU,CAACE,MAAZ,CAAnB,GAAyCF,UAAU,CAACE,MAAvE;AACA,SAAO,IAAIF,UAAU,CAACG,WAAf,CAA2BD,MAA3B,EAAmCF,UAAU,CAACI,UAA9C,EAA0DJ,UAAU,CAACK,MAArE,CAAP;AACD;;AAED,eAAeN,eAAf","sourcesContent":["import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n"]},"metadata":{},"sourceType":"module"}