// Module ID: 98 // Function ID: 99 // Name: _inherits // Dependencies: [99] // Module 98 (_inherits) export default function _inherits(value, fn) { if (typeof fn !== "function") { if (null !== fn) { const _TypeError = TypeError; const typeError = new TypeError("Super expression must either be null or a function"); throw typeError; } } let prototype = fn; if (fn) { prototype = fn.prototype; } value.prototype = Object.create(prototype, { constructor: { value, writable: true, configurable: true } }); Object.defineProperty(value, "prototype", { writable: false }); if (fn) { require(99) /* _setPrototypeOf */(value, fn); } };