{"version":3,"names":["extend","obj","definitions","descriptors","Object","getOwnPropertyDescriptors","propName","descriptor","entries","existingDescriptor","getOwnPropertyDescriptor","console","warn","enumerable","defineProperty"],"sources":["utils.js"],"sourcesContent":["\nexport function extend(obj, definitions) {\n  const descriptors = Object.getOwnPropertyDescriptors(definitions);\n  for (let [propName, descriptor] of Object.entries(descriptors)) {\n    const existingDescriptor = Object.getOwnPropertyDescriptor(obj, propName)\n    if (existingDescriptor) {\n      console.warn(`Overwriting existing property '${propName}'`, existingDescriptor, `of`, obj, `with new descriptor`, descriptor, `. Consider removing this behavior adaptation.`)\n    }\n\n    descriptor.enumerable = false;\n    Object.defineProperty(obj, propName, descriptor);\n  }\n}\n\n"],"mappings":";;;;EACO,SAASA,MAAM,CAACC,GAAG,EAAEC,WAAW,EAAE;IACvC,MAAMC,WAAW,GAAGC,MAAM,CAACC,yBAAyB,CAACH,WAAW,CAAC;IACjE,KAAK,IAAI,CAACI,QAAQ,EAAEC,UAAU,CAAC,IAAIH,MAAM,CAACI,OAAO,CAACL,WAAW,CAAC,EAAE;MAC9D,MAAMM,kBAAkB,GAAGL,MAAM,CAACM,wBAAwB,CAACT,GAAG,EAAEK,QAAQ,CAAC;MACzE,IAAIG,kBAAkB,EAAE;QACtBE,OAAO,CAACC,IAAI,CAAE,kCAAiCN,QAAS,GAAE,EAAEG,kBAAkB,EAAG,IAAG,EAAER,GAAG,EAAG,qBAAoB,EAAEM,UAAU,EAAG,+CAA8C,CAAC;MAChL;MAEAA,UAAU,CAACM,UAAU,GAAG,KAAK;MAC7BT,MAAM,CAACU,cAAc,CAACb,GAAG,EAAEK,QAAQ,EAAEC,UAAU,CAAC;IAClD;EACF;EAAC,kBAXeP,MAAM;EAAA;IAAA;IAAA;MAAA;MAAA;MAAA;QAAA;UAAA;QAAA;QAAA;UAAA,kBAANA,uCAAM;UAAA;QAAA;QAAA;QAAA;MAAA;IAAA;EAAA;AAAA"}