"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); exports.__esModule = true; exports.PlayingSong = exports.Song = exports.SongType = void 0; var SongType; (function (SongType) { SongType[SongType["YouTube"] = 0] = "YouTube"; SongType[SongType["Spotify"] = 1] = "Spotify"; })(SongType = exports.SongType || (exports.SongType = {})); var Song = /** @class */ (function () { function Song(type, title, songId, image) { this.type = type; this.title = title; this.songId = songId; this.image = image; } return Song; }()); exports.Song = Song; var PlayingSong = /** @class */ (function (_super) { __extends(PlayingSong, _super); function PlayingSong(type, title, songId, image, length, position) { var _this = _super.call(this, type, title, songId, image) || this; _this.length = length; _this.position = position; return _this; } return PlayingSong; }(Song)); exports.PlayingSong = PlayingSong;