Grabbed dndbeyond's source code

```
~/go/bin/sourcemapper -output ddb -jsurl https://media.dndbeyond.com/character-app/static/js/main.90aa78c5.js
```
This commit is contained in:
2025-05-28 11:50:03 -07:00
commit 8df9031d27
3592 changed files with 319051 additions and 0 deletions
@@ -0,0 +1,38 @@
import React from "react";
import { Constants } from "@dndbeyond/character-rules-engine/es";
import { GD_VehicleBlockShellProps } from "../../../utils/Component";
import VehicleBlockShellCap from "../VehicleBlockShellCap";
interface Props extends GD_VehicleBlockShellProps {}
export default class VehicleBlockShell extends React.PureComponent<Props> {
render() {
const { children, displayType } = this.props;
let type: string | null = null;
switch (displayType) {
case Constants.VehicleConfigurationDisplayTypeEnum.INFERNAL_WAR_MACHINE:
type = "infernal";
break;
case Constants.VehicleConfigurationDisplayTypeEnum.SHIP:
default:
type = "ship";
break;
}
return (
<div className="ct-vehicle-block">
<VehicleBlockShellCap displayType={displayType} />
<div
className={`ct-vehicle-block__block ct-vehicle-block__block--${type}`}
>
{children}
</div>
<VehicleBlockShellCap displayType={displayType} invertY={true} />
</div>
);
}
}
@@ -0,0 +1,4 @@
import VehicleBlockShell from "./VehicleBlockShell";
export default VehicleBlockShell;
export { VehicleBlockShell };