1import { ThemeComponent } from "./theme.min.js"; 2import "./vendor.min.js"; 3class LaunchesRedirect extends ThemeComponent { 4 init() { 5 console.log("run redirect"); 6 if (this.redirectUrl) { 7 console.log("redirect"); 8 this.launchesRedirect(); 9 } 10 } 11 launchesRedirect() { 12 window.location.replace(this.redirectUrl); 13 } 14} 15const ___PropTypes = { 16 "String": String 17}; 18LaunchesRedirect.prototype.$name = "LaunchesRedirect"; 19LaunchesRedirect.prototype.$info = JSON.parse('{"name":"LaunchesRedirect","meta":{"isLegacy":false,"selector":"launches-redirect"},"props":[{"attr":"redirect-url","reflectAttr":false,"propertyKey":"redirectUrl","propertyType":"String","propertyTypeName":"String","propertyTsTypeName":"string"}],"refs":[]}'); 20LaunchesRedirect.prototype.$info.component = LaunchesRedirect; 21for (const prop of LaunchesRedirect.prototype.$info.props) { 22 prop.propertyType = ___PropTypes[prop.propertyType]; 23} 24window.componentService.registerComponent("LaunchesRedirect/LaunchesRedirect.ts", { LaunchesRedirect }, void 0);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.