"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = interceptAndNormalize; /** * Map webidl definition names to prototype chain parent * ex. Console -> console * * This helps generate protoChain's and protoChainId's * ex. Console.log -> console.log */ function interceptAndNormalize(parentObjectId) { const apisToLowercase = new Set(["Console", "Window", "Document", "External", "History", "Location", "Navigator", "Performance", "Screen", "defaultStatus", "Controllers"]); return apisToLowercase.has(parentObjectId) ? parentObjectId.toLowerCase() : parentObjectId; }