GoScrobble/web/node_modules/.cache/babel-loader/fdf3638949c5ac3fbee713e1545447f3.json

1 line
1.6 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 `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_cloneDataView.js"],"names":["cloneArrayBuffer","cloneDataView","dataView","isDeep","buffer","constructor","byteOffset","byteLength"],"mappings":"AAAA,OAAOA,gBAAP,MAA6B,wBAA7B;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,aAAT,CAAuBC,QAAvB,EAAiCC,MAAjC,EAAyC;AACvC,MAAIC,MAAM,GAAGD,MAAM,GAAGH,gBAAgB,CAACE,QAAQ,CAACE,MAAV,CAAnB,GAAuCF,QAAQ,CAACE,MAAnE;AACA,SAAO,IAAIF,QAAQ,CAACG,WAAb,CAAyBD,MAAzB,EAAiCF,QAAQ,CAACI,UAA1C,EAAsDJ,QAAQ,CAACK,UAA/D,CAAP;AACD;;AAED,eAAeN,aAAf","sourcesContent":["import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n"]},"metadata":{},"sourceType":"module"}