{"version":3,"file":"assignWithIgnore.mjs","sources":["../../../../src/scene/container/utils/assignWithIgnore.ts"],"sourcesContent":["/**\n * Assigns properties from one object to another, using an optional array of property names to ignore.\n * @param target - The target object to assign properties to.\n * @param options - The object to assign properties from.\n * @param ignore - An object of property names to ignore ({ propToIgnore: true }).\n * @category utils\n * @internal\n */\nexport function assignWithIgnore<T extends Record<string, any>>(\n    target: T,\n    options: T,\n    ignore: Record<string, boolean> = {}\n)\n{\n    for (const key in options)\n    {\n        if (!ignore[key] && options[key] !== undefined)\n        {\n            target[key] = options[key];\n        }\n    }\n}\n"],"names":[],"mappings":";AAQO,SAAS,gBAAA,CACZ,MAAA,EACA,OAAA,EACA,MAAA,GAAkC,EAAC,EAEvC;AACI,EAAA,KAAA,MAAW,OAAO,OAAA,EAClB;AACI,IAAA,IAAI,CAAC,MAAA,CAAO,GAAG,KAAK,OAAA,CAAQ,GAAG,MAAM,KAAA,CAAA,EACrC;AACI,MAAA,MAAA,CAAO,GAAG,CAAA,GAAI,OAAA,CAAQ,GAAG,CAAA;AAAA,IAC7B;AAAA,EACJ;AACJ;;;;"}