Spaces:
Running
Running
| ; | |
| var __importDefault = (this && this.__importDefault) || function (mod) { | |
| return (mod && mod.__esModule) ? mod : { "default": mod }; | |
| }; | |
| var _a, _b, _c; | |
| exports.__esModule = true; | |
| exports.YoutubeCategoriesConfig = void 0; | |
| var path_1 = __importDefault(require("path")); | |
| var PLAY_LIST_NAMES = { | |
| SCIENCE_AND_TECHNOLOGY: 'Science & Technology', | |
| AMAZING_UNIVERSE: 'The Amazing Universe: From Microbes to Galaxies', | |
| HISTORY_AND_POLITICS: 'The Past is Present: Lessons from History and Politics', | |
| CURRENT_AND_NEWS: 'Current Events & News Digest', | |
| GADGET_REVIEWS: 'Gadget Reviews', | |
| LAPTOP_REVIEWS: 'Laptop Reviews', | |
| MOBILE_REVIEWS: 'Mobile Reviews', | |
| RAD_TECH_TODAY: 'Rad Tech Today' | |
| }; | |
| var INTRO_OUTRO_TENANT_CONFIG = { | |
| "104349087108535511186": { | |
| introFile: path_1["default"].join(__dirname, "../../public/assets/music_intro.mp4"), | |
| outroFile: path_1["default"].join(__dirname, "../../public/assets/music_outro.mp4") | |
| }, | |
| "116439292677772406470": { | |
| introFile: path_1["default"].join(__dirname, "../../public/assets/music_techrads_intro.mp4"), | |
| outroFile: path_1["default"].join(__dirname, "../../public/assets/music_techrads_outro.mp4") | |
| } | |
| }; | |
| var SOCIAL_HANDLES = { | |
| INSTAGRAM: { | |
| "104349087108535511186": 'semibit.media', | |
| "116439292677772406470": 'tech.rads' | |
| } | |
| }; | |
| var ALL_TENANT_PLAYLISTS = { | |
| "104349087108535511186": (_a = {}, | |
| _a[PLAY_LIST_NAMES.SCIENCE_AND_TECHNOLOGY] = 'PLeT-Kik6WdhQT35w5SVx1tUzM0L-U9aHy', | |
| _a[PLAY_LIST_NAMES.AMAZING_UNIVERSE] = 'PLeT-Kik6WdhQJEnsI-QapmmjxEvZEXMQ2', | |
| _a[PLAY_LIST_NAMES.HISTORY_AND_POLITICS] = 'PLeT-Kik6WdhSqoMh2dfnFpHaGTa-3PCBB', | |
| _a[PLAY_LIST_NAMES.CURRENT_AND_NEWS] = 'PLeT-Kik6WdhTHl_RxwavJ3FXBGiXlYIxq', | |
| _a), | |
| "116439292677772406470": (_b = {}, | |
| _b[PLAY_LIST_NAMES.RAD_TECH_TODAY] = 'PLNGN7S9FgPhTFGUAhPdhdSJP5Jq0ljPqE', | |
| _b[PLAY_LIST_NAMES.LAPTOP_REVIEWS] = 'PLNGN7S9FgPhSiWXNTZgoAKz9iu6zL12ox', | |
| _b[PLAY_LIST_NAMES.MOBILE_REVIEWS] = 'PLNGN7S9FgPhQRQHOdrNXpVI_5CAT9-noa', | |
| _b[PLAY_LIST_NAMES.GADGET_REVIEWS] = 'PLNGN7S9FgPhQflAC9FqdIm7_BtLWOCDHa', | |
| _b) | |
| }; | |
| var GET_PLAY_LIST_IDS = function (userId) { | |
| var playlists = ALL_TENANT_PLAYLISTS[userId] || ALL_TENANT_PLAYLISTS['104349087108535511186']; | |
| return playlists; | |
| }; | |
| var YOUTUBE_VIDEO_CATEGORY_ID = (_c = {}, | |
| _c[PLAY_LIST_NAMES.SCIENCE_AND_TECHNOLOGY] = "28", | |
| _c[PLAY_LIST_NAMES.AMAZING_UNIVERSE] = "28", | |
| _c[PLAY_LIST_NAMES.HISTORY_AND_POLITICS] = "27", | |
| _c[PLAY_LIST_NAMES.CURRENT_AND_NEWS] = "25", | |
| _c[PLAY_LIST_NAMES.RAD_TECH_TODAY] = "28", | |
| _c[PLAY_LIST_NAMES.LAPTOP_REVIEWS] = "28", | |
| _c[PLAY_LIST_NAMES.MOBILE_REVIEWS] = "28", | |
| _c[PLAY_LIST_NAMES.GADGET_REVIEWS] = "28", | |
| _c); | |
| exports.YoutubeCategoriesConfig = { | |
| PLAY_LIST_NAMES: PLAY_LIST_NAMES, | |
| ALL_TENANT_PLAYLISTS: ALL_TENANT_PLAYLISTS, | |
| GET_PLAY_LIST_IDS: GET_PLAY_LIST_IDS, | |
| YOUTUBE_VIDEO_CATEGORY_ID: YOUTUBE_VIDEO_CATEGORY_ID, | |
| INTRO_OUTRO_TENANT_CONFIG: INTRO_OUTRO_TENANT_CONFIG, | |
| SOCIAL_HANDLES: SOCIAL_HANDLES | |
| }; | |