// Metro module 4306 (f4307). import { Buffer } from "./Module609"; const r4 = (typeof exports === "object" ? exports : typeof exports === "object") && !exports.nodeType && exports; const r3 = r4 && typeof module === "object" && module && !module.nodeType && module; const r7 = r3 ? r3.exports === r4 ? Buffer : void 0 : void 0; const allocUnsafe = r7 ? r7.allocUnsafe : void 0; module.exports = function cloneBuffer(a0, a1) { if (a1) { return a0.slice(); } const length = a0.length; const r11 = allocUnsafe ? allocUnsafe(length) : new a0.constructor(length); a0.copy(r11); return r11; };