// Module ID: 14438 // Function ID: 110399 // Name: getYoutubeMeta // Dependencies: [7601, 4331] // Exports: getYoutubeMeta // Module 14438 (getYoutubeMeta) import module_7601 from "module_7601"; import _regeneratorRuntime from "_regeneratorRuntime"; export const getYoutubeMeta = function getYoutubeMeta(arg0) { const _regeneratorRuntime = arg0; return _regeneratorRuntime.default.async(function getYoutubeMeta$(next) { next = next.next; next.prev = next; while (0 !== next) { if (2 === next) { let sent = next.sent; next.next = 5; let tmp = mod; let _default = mod.default; let tmp2 = sent; return _default.awrap(sent.json()); } else if (5 === next) { let str = "return"; return next.abrupt("return", next.sent); } else { return next.stop(); } } next.next = 2; return mod.default.awrap(fetch("https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=" + mod + "&format=json")); }, null, null, null, Promise); };