{"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 */\nexport function assignWithIgnore>(\n target: T,\n options: T,\n ignore: Record = {}\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":";AAMO,SAAS,gBACZ,CAAA,MAAA,EACA,OACA,EAAA,MAAA,GAAkC,EAEtC,EAAA;AACI,EAAA,KAAA,MAAW,OAAO,OAClB,EAAA;AACI,IAAA,IAAI,CAAC,MAAO,CAAA,GAAG,KAAK,OAAQ,CAAA,GAAG,MAAM,KACrC,CAAA,EAAA;AACI,MAAO,MAAA,CAAA,GAAG,CAAI,GAAA,OAAA,CAAQ,GAAG,CAAA,CAAA;AAAA,KAC7B;AAAA,GACJ;AACJ;;;;"}