//#region src/core/constants.ts /** A frozen, empty `TimeRanges`-like value for hosts with no ranges. */ const EMPTY_TIME_RANGES = Object.freeze({ length: 0, start: () => 0, end: () => 0 }); /** A frozen, empty `TextTrackList`-like value for hosts with no text tracks. */ const EMPTY_TEXT_TRACKS = Object.assign(new EventTarget(), { length: 0, *[Symbol.iterator]() {}, getTrackById: () => null }); const EMPTY_REMOTE = new EventTarget(); Object.freeze({}); //#endregion export { EMPTY_REMOTE, EMPTY_TEXT_TRACKS, EMPTY_TIME_RANGES }; //# sourceMappingURL=constants.js.map