@joy-ride/joy-ride 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/npm/bookmarklet.d.ts +1 -1
- package/npm/bookmarklet.js +1 -1
- package/npm/embed-assets/vehicle-popover-B6vGzw7u.css +1 -0
- package/npm/embed-chunks/{Documentation-BjYBSvnH.js → Documentation-DDwC4Ho_.js} +4 -4
- package/npm/embed-chunks/IconBase.es-CgBjh3hj.js +1 -0
- package/npm/embed-chunks/bookmarklet-Do0CfxbY.js +20 -0
- package/npm/embed-chunks/rolldown-runtime-XKyaHtl9.js +1 -0
- package/npm/embed-chunks/src-CRxTQYHS.js +1252 -0
- package/npm/embed-chunks/vehicle-popover-DzIMIbYh.js +21 -0
- package/npm/embed.js +1 -8
- package/npm/index.d.ts +17 -13
- package/npm/index.js +1 -8
- package/npm/{playground-xDP5-tDc.d.ts → playground-Bo-lQHlD.d.ts} +32 -29
- package/package.json +1 -1
- package/npm/embed-assets/src-DCczMlG6.css +0 -1
- package/npm/embed-chunks/bookmarklet-BcOPb3dX.js +0 -1237
- package/npm/embed-chunks/src-C16hi476.js +0 -53
package/npm/embed.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
if
|
|
2
|
-
const link = document.createElement('link');
|
|
3
|
-
link.rel = 'stylesheet';
|
|
4
|
-
link.dataset.jrStyles = '';
|
|
5
|
-
link.href = new URL("embed-assets/src-DCczMlG6.css", import.meta.url).href;
|
|
6
|
-
document.head.append(link);
|
|
7
|
-
}
|
|
8
|
-
import{t as e}from"./embed-chunks/src-C16hi476.js";if(typeof window<`u`&&(window.JoyRide=e,document.querySelector(`script[data-jr-auto]`))){let t=()=>{e.active||e.mount()};document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,t,{once:!0}):queueMicrotask(t)}var t=e;export{t as default};
|
|
1
|
+
import{t as e}from"./embed-chunks/src-CRxTQYHS.js";if(typeof window<`u`&&(window.JoyRide=e,document.querySelector(`script[data-jr-auto]`))){let t=()=>{e.active||e.mount()};document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,t,{once:!0}):queueMicrotask(t)}var t=e;export{t as default};
|
package/npm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as FlamethrowerProfile, A as VehiclePatch, B as LiquidColorInput, C as DeepReadonly, D as PlaygroundDefinitions, E as PlayerConfiguration, F as DebrisKind, G as VehicleTool, H as LiquidPourOptions, I as DebrisOptions, J as availableVehicleTools, K as VehicleToolDefinition, L as DebrisParticle, M as DebrisAnchor, N as DebrisBounds, O as RouteSpec, P as DebrisHandle, Q as VehicleSlots, R as DebrisVector, S as Appearance, T as ObjectSpec, U as LiquidResidue, V as LiquidKind, W as LiquidSource, X as SlotNumber, Y as LiquidEmission, Z as VehicleSlot, _ as FluidWall, a as PlaygroundObject, at as Vec2, b as VehicleLightingOptions, c as PlaygroundConfiguration, d as RuntimeOptionsPatch, et as VehiclePreset, f as WorkModeConfiguration, g as FluidView, h as FluidQuality, i as PlaygroundDiagnostic, it as SimulationState, j as Debris, k as VehicleConfiguration, l as PortableVehicleConfiguration, m as SurfaceTone, n as PlaygroundTriggerDetail, nt as Controls, o as PlaygroundRegistry, ot as VehicleMode, p as SpeedZoomMode, q as VehicleToolPolicy, r as PlaygroundBinding, rt as Simulation, s as PlaygroundTarget, st as CombustibleStage, t as PlaygroundRouteHandle, tt as LightningWeapon, u as RuntimeOptions, v as SmokeTint, w as ObjectPatch, x as definePlayground, y as VehicleLightToggle, z as LiquidColor } from "./playground-Bo-lQHlD.js";
|
|
2
2
|
/** Full tuning and presentation data for a host-owned vehicle selector. */
|
|
3
3
|
declare function listVehiclePresets(): VehiclePreset[];
|
|
4
4
|
declare function getVehiclePreset(id: string): VehiclePreset | undefined;
|
|
@@ -422,7 +422,7 @@ declare class VehicleWeapons {
|
|
|
422
422
|
ignitionDuration: number;
|
|
423
423
|
};
|
|
424
424
|
machineGuns: {
|
|
425
|
-
phase: "
|
|
425
|
+
phase: "opening" | "closing" | "closed" | "active";
|
|
426
426
|
phaseTime: number;
|
|
427
427
|
shotClock: number;
|
|
428
428
|
flashAge: number;
|
|
@@ -434,7 +434,7 @@ declare class VehicleWeapons {
|
|
|
434
434
|
}[];
|
|
435
435
|
};
|
|
436
436
|
flamethrower: {
|
|
437
|
-
phase: "
|
|
437
|
+
phase: "opening" | "closing" | "closed" | "active";
|
|
438
438
|
phaseTime: number;
|
|
439
439
|
emitting: boolean;
|
|
440
440
|
presetId: string | null;
|
|
@@ -583,9 +583,12 @@ declare class VehicleEntity {
|
|
|
583
583
|
label: string;
|
|
584
584
|
appearance: 'auto' | 'light' | 'dark';
|
|
585
585
|
private slotConfiguration;
|
|
586
|
+
private toolPolicy;
|
|
587
|
+
private numberedSlots;
|
|
586
588
|
private slotHeld;
|
|
587
589
|
private slotPulses;
|
|
588
590
|
private slotPresses;
|
|
591
|
+
private blockedSlots;
|
|
589
592
|
private disposed;
|
|
590
593
|
private previousSlotInput;
|
|
591
594
|
private activeEmitters;
|
|
@@ -623,11 +626,12 @@ declare class VehicleEntity {
|
|
|
623
626
|
id: string;
|
|
624
627
|
label: string;
|
|
625
628
|
appearance: "light" | "auto" | "dark";
|
|
626
|
-
slots: Readonly<Partial<Record<
|
|
627
|
-
slotHeld: (
|
|
628
|
-
slotPulses: (
|
|
629
|
-
slotPresses: (
|
|
630
|
-
|
|
629
|
+
slots: Readonly<Partial<Record<9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3, false | VehicleSlot>>>;
|
|
630
|
+
slotHeld: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
|
|
631
|
+
slotPulses: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
|
|
632
|
+
slotPresses: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
|
|
633
|
+
blockedSlots: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
|
|
634
|
+
previousSlotInput: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
|
|
631
635
|
activeEmitters: {
|
|
632
636
|
slot: SlotNumber;
|
|
633
637
|
liquid: string;
|
|
@@ -669,7 +673,7 @@ declare class VehicleEntity {
|
|
|
669
673
|
ignitionDuration: number;
|
|
670
674
|
};
|
|
671
675
|
machineGuns: {
|
|
672
|
-
phase: "
|
|
676
|
+
phase: "opening" | "closing" | "closed" | "active";
|
|
673
677
|
phaseTime: number;
|
|
674
678
|
shotClock: number;
|
|
675
679
|
flashAge: number;
|
|
@@ -681,7 +685,7 @@ declare class VehicleEntity {
|
|
|
681
685
|
}[];
|
|
682
686
|
};
|
|
683
687
|
flamethrower: {
|
|
684
|
-
phase: "
|
|
688
|
+
phase: "opening" | "closing" | "closed" | "active";
|
|
685
689
|
phaseTime: number;
|
|
686
690
|
emitting: boolean;
|
|
687
691
|
presetId: string | null;
|
|
@@ -2531,6 +2535,7 @@ type BrowserSessionOptions = WorkModeConfiguration & {
|
|
|
2531
2535
|
}[];
|
|
2532
2536
|
readonly initialGroundMarks?: readonly TirePaintMark[];
|
|
2533
2537
|
readonly introDriveIn?: boolean;
|
|
2538
|
+
readonly initialArrivalPending?: boolean;
|
|
2534
2539
|
idleSound?: boolean;
|
|
2535
2540
|
masterVolume?: number;
|
|
2536
2541
|
quality?: FluidQuality;
|
|
@@ -2593,7 +2598,7 @@ type ObjectEventDetail = Readonly<{
|
|
|
2593
2598
|
point?: Readonly<Vec2>;
|
|
2594
2599
|
points?: number;
|
|
2595
2600
|
}>;
|
|
2596
|
-
type SharedBrowserOptions = Pick<BrowserSessionOptions, '
|
|
2601
|
+
type SharedBrowserOptions = Pick<BrowserSessionOptions, 'bindings' | 'foregroundSelector' | 'screenShakeProfiles' | 'canPlaceManually'>;
|
|
2597
2602
|
type EmbedOptions = SharedBrowserOptions & {
|
|
2598
2603
|
root?: string | Element;
|
|
2599
2604
|
definitions?: DeepReadonly<PlaygroundDefinitions>;
|
|
@@ -2691,7 +2696,6 @@ declare const api: {
|
|
|
2691
2696
|
sfw(overrides?: EmbedOptions): EmbedOptions;
|
|
2692
2697
|
};
|
|
2693
2698
|
};
|
|
2694
|
-
resolveWorkMode: typeof resolveWorkMode;
|
|
2695
2699
|
vehicleTools: readonly VehicleToolDefinition[];
|
|
2696
2700
|
availableVehicleTools: typeof availableVehicleTools;
|
|
2697
2701
|
overlayLayers: {
|
|
@@ -2784,4 +2788,4 @@ declare const api: {
|
|
|
2784
2788
|
readonly codes: readonly ["Escape"];
|
|
2785
2789
|
}];
|
|
2786
2790
|
};
|
|
2787
|
-
export { type Appearance, type DebrisAnchor, type DebrisHandle, type DebrisKind, type DebrisOptions, type DeepReadonly, type EmbedController, type EmbedOptions, type ObjectPatch, type ObjectSpec, type PageDebrisHandle, type PageDebrisTarget, type PlayerConfiguration, type PlaygroundConfiguration, type PlaygroundEventMap, type PlaygroundState, type RuntimeOptions, type RuntimeOptionsPatch, type SlotNumber, type VehicleArrivalOptions, type VehicleArrivalResult, type VehicleConfiguration, type VehicleHandle, type VehiclePatch, type VehicleSpawnOptions,
|
|
2791
|
+
export { type Appearance, type DebrisAnchor, type DebrisHandle, type DebrisKind, type DebrisOptions, type DeepReadonly, type EmbedController, type EmbedOptions, type ObjectPatch, type ObjectSpec, type PageDebrisHandle, type PageDebrisTarget, type PlayerConfiguration, type PlaygroundConfiguration, type PlaygroundEventMap, type PlaygroundState, type RuntimeOptions, type RuntimeOptionsPatch, type SlotNumber, type VehicleArrivalOptions, type VehicleArrivalResult, type VehicleConfiguration, type VehicleHandle, type VehiclePatch, type VehicleSpawnOptions, api as default };
|
package/npm/index.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
const link = document.createElement('link');
|
|
3
|
-
link.rel = 'stylesheet';
|
|
4
|
-
link.dataset.jrStyles = '';
|
|
5
|
-
link.href = new URL("embed-assets/src-DCczMlG6.css", import.meta.url).href;
|
|
6
|
-
document.head.append(link);
|
|
7
|
-
}
|
|
8
|
-
export{t as default}from"./embed-chunks/src-C16hi476.js";
|
|
1
|
+
export{t as default}from"./embed-chunks/src-CRxTQYHS.js";
|
|
@@ -928,32 +928,6 @@ type PlaygroundDefinitions = {
|
|
|
928
928
|
};
|
|
929
929
|
/** Catalog construction has no browser storage or module-global registration side effects. */
|
|
930
930
|
declare function definePlayground(input: DeepReadonly<PlaygroundDefinitions>): DeepReadonly<PlaygroundDefinitions>;
|
|
931
|
-
declare const workModeTabs: readonly ["vehicle", "objects", "weapons", "controls", "ai", "settings", "embed", "documentation"];
|
|
932
|
-
type WorkModeTab = (typeof workModeTabs)[number];
|
|
933
|
-
/** Ordinary options produced by workMode; each can also be supplied explicitly by a host. */
|
|
934
|
-
type WorkModeSettings = {
|
|
935
|
-
showHud: boolean;
|
|
936
|
-
showHealthBars: boolean;
|
|
937
|
-
showWeaponBar: boolean;
|
|
938
|
-
showLogo: boolean;
|
|
939
|
-
showGithub: boolean;
|
|
940
|
-
allowVehicleEditing: boolean;
|
|
941
|
-
vehicleTabs: readonly WorkModeTab[];
|
|
942
|
-
vehicleDestructible: boolean;
|
|
943
|
-
weaponsEnabled: boolean;
|
|
944
|
-
enabledTools: readonly VehicleTool[];
|
|
945
|
-
brandColor?: string;
|
|
946
|
-
brandName?: string;
|
|
947
|
-
};
|
|
948
|
-
type WorkModeOptions = Partial<WorkModeSettings> & {
|
|
949
|
-
/** Passive, unbranded defaults for embedding on a workplace website. */
|
|
950
|
-
sfw?: boolean;
|
|
951
|
-
};
|
|
952
|
-
type WorkModeConfiguration = Partial<WorkModeSettings> & {
|
|
953
|
-
workMode?: WorkModeOptions;
|
|
954
|
-
};
|
|
955
|
-
/** SFW defaults < workMode customizations < explicit options. Undefined never overrides a default. */
|
|
956
|
-
declare function resolveWorkMode(options?: WorkModeConfiguration): WorkModeSettings;
|
|
957
931
|
type VehicleLightingOptions = {
|
|
958
932
|
underglow: boolean;
|
|
959
933
|
underglowColor: string;
|
|
@@ -980,6 +954,30 @@ type FluidWall = {
|
|
|
980
954
|
};
|
|
981
955
|
type SurfaceTone = 'auto' | 'light' | 'dark';
|
|
982
956
|
type SpeedZoomMode = 'auto' | boolean;
|
|
957
|
+
declare const workModeTabs: readonly ["vehicle", "objects", "weapons", "controls", "ai", "settings", "embed", "documentation"];
|
|
958
|
+
type WorkModeTab = (typeof workModeTabs)[number];
|
|
959
|
+
/** Ordinary options produced by workMode; each can also be supplied explicitly by a host. */
|
|
960
|
+
type WorkModeSettings = {
|
|
961
|
+
showHud: boolean;
|
|
962
|
+
showHealthBars: boolean;
|
|
963
|
+
showWeaponBar: boolean;
|
|
964
|
+
showLogo: boolean;
|
|
965
|
+
showGithub: boolean;
|
|
966
|
+
allowVehicleEditing: boolean;
|
|
967
|
+
vehicleTabs: readonly WorkModeTab[];
|
|
968
|
+
vehicleDestructible: boolean;
|
|
969
|
+
weaponsEnabled: boolean;
|
|
970
|
+
enabledTools: readonly VehicleTool[];
|
|
971
|
+
brandColor?: string;
|
|
972
|
+
brandName?: string;
|
|
973
|
+
};
|
|
974
|
+
type WorkModeOptions = Partial<WorkModeSettings> & {
|
|
975
|
+
/** Passive, unbranded defaults for embedding on a workplace website. */
|
|
976
|
+
sfw?: boolean;
|
|
977
|
+
};
|
|
978
|
+
type WorkModeConfiguration = Partial<WorkModeSettings> & {
|
|
979
|
+
workMode?: WorkModeOptions;
|
|
980
|
+
};
|
|
983
981
|
type DriveSettings = {
|
|
984
982
|
lighting?: VehicleLightingOptions;
|
|
985
983
|
masterVolume: number;
|
|
@@ -996,6 +994,12 @@ type DriveSettings = {
|
|
|
996
994
|
showHealthBars: boolean;
|
|
997
995
|
showVehicleMarkers: boolean;
|
|
998
996
|
showWeaponBar: boolean;
|
|
997
|
+
showLogo: boolean;
|
|
998
|
+
showGithub: boolean;
|
|
999
|
+
allowVehicleEditing: boolean;
|
|
1000
|
+
vehicleTabs: readonly WorkModeTab[];
|
|
1001
|
+
brandColor?: string;
|
|
1002
|
+
brandName?: string;
|
|
999
1003
|
weaponCooldown: boolean;
|
|
1000
1004
|
autoPaint?: boolean;
|
|
1001
1005
|
rocketBlastStrength: number;
|
|
@@ -1009,7 +1013,7 @@ type RuntimeOptions = {
|
|
|
1009
1013
|
audio: Pick<DriveSettings, 'masterVolume' | 'idleSound'>;
|
|
1010
1014
|
rendering: Pick<DriveSettings, 'quality' | 'smokeTint' | 'sparks' | 'deform' | 'screenShake' | 'surfaceTone' | 'debug'>;
|
|
1011
1015
|
policy: Pick<DriveSettings, 'weaponCooldown' | 'vehicleDestructible' | 'weaponsEnabled' | 'enabledTools' | 'rocketBlastStrength'>;
|
|
1012
|
-
ui: Pick<DriveSettings, 'showHud' | 'showTotalPoints' | 'showHealthBars' | 'showVehicleMarkers' | 'showWeaponBar'>;
|
|
1016
|
+
ui: Pick<DriveSettings, 'showHud' | 'showTotalPoints' | 'showHealthBars' | 'showVehicleMarkers' | 'showWeaponBar' | 'showLogo' | 'showGithub' | 'allowVehicleEditing' | 'vehicleTabs' | 'brandColor' | 'brandName'>;
|
|
1013
1017
|
camera: Pick<DriveSettings, 'viewportWalls' | 'speedZoom'>;
|
|
1014
1018
|
lighting: VehicleLightingOptions;
|
|
1015
1019
|
autoPaint: boolean;
|
|
@@ -1032,7 +1036,6 @@ type PlaygroundConfigurationInput = {
|
|
|
1032
1036
|
bindings?: readonly SerializableBinding[];
|
|
1033
1037
|
routes?: Readonly<Record<string, RouteSpec>>;
|
|
1034
1038
|
options?: RuntimeOptionsPatch;
|
|
1035
|
-
workMode?: WorkModeOptions;
|
|
1036
1039
|
};
|
|
1037
1040
|
/** Portable authoring, never a checkpoint or a serialization of the host document. */
|
|
1038
1041
|
type PlaygroundConfiguration = DeepReadonly<Omit<PlaygroundConfigurationInput, 'options'> & {
|
|
@@ -1161,4 +1164,4 @@ type PlaygroundRouteHandle = {
|
|
|
1161
1164
|
reset(): void;
|
|
1162
1165
|
dispose(): void;
|
|
1163
1166
|
};
|
|
1164
|
-
export {
|
|
1167
|
+
export { FlamethrowerProfile as $, VehiclePatch as A, LiquidColorInput as B, DeepReadonly as C, PlaygroundDefinitions as D, PlayerConfiguration as E, DebrisKind as F, VehicleTool as G, LiquidPourOptions as H, DebrisOptions as I, availableVehicleTools as J, VehicleToolDefinition as K, DebrisParticle as L, DebrisAnchor as M, DebrisBounds as N, RouteSpec as O, DebrisHandle as P, VehicleSlots as Q, DebrisVector as R, Appearance as S, ObjectSpec as T, LiquidResidue as U, LiquidKind as V, LiquidSource as W, SlotNumber as X, LiquidEmission as Y, VehicleSlot as Z, FluidWall as _, PlaygroundObject as a, Vec2 as at, VehicleLightingOptions as b, PlaygroundConfiguration as c, RuntimeOptionsPatch as d, VehiclePreset as et, WorkModeConfiguration as f, FluidView as g, FluidQuality as h, PlaygroundDiagnostic as i, SimulationState as it, Debris as j, VehicleConfiguration as k, PortableVehicleConfiguration as l, SurfaceTone as m, PlaygroundTriggerDetail as n, Controls as nt, PlaygroundRegistry as o, VehicleMode as ot, SpeedZoomMode as p, VehicleToolPolicy as q, PlaygroundBinding as r, Simulation as rt, PlaygroundTarget as s, CombustibleStage as st, PlaygroundRouteHandle as t, LightningWeapon as tt, RuntimeOptions as u, SmokeTint as v, ObjectPatch as w, definePlayground as x, VehicleLightToggle as y, LiquidColor as z };
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.joy-code-block{--code-bg:#f5f5f5;--code-header:transparent;--code-ink:#171717;--code-muted:#737373;--code-line:#e5e5e5;--code-accent:#171717;--sh-class:#8f3c2e;--sh-identifier:var(--code-ink);--sh-sign:#72695f;--sh-property:#8f3c2e;--sh-entity:#b32d25;--sh-jsxliterals:#8f3c2e;--sh-string:#775b43;--sh-keyword:#b32d25;--sh-comment:#797267;--sh-space:inherit;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;border:1px solid var(--code-line);border-radius:var(--radius-lg,8px);background:var(--code-bg);min-width:0;color:var(--code-ink);text-align:left;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}:where(.dark,[data-jr-theme=dark],[data-theme=dark]) .joy-code-block:not([data-code-theme=light]),:host(.dark) .joy-code-block:not([data-code-theme=light]),.joy-code-block[data-code-theme=dark]{--code-bg:#1c1c1c;--code-header:transparent;--code-ink:#fafafa;--code-muted:#a3a3a3;--code-line:#333;--code-accent:#fafafa;--sh-class:#e6b49b;--sh-sign:#b5a99b;--sh-property:#e6b49b;--sh-entity:#ff998a;--sh-jsxliterals:#e6b49b;--sh-string:#d4c3aa;--sh-keyword:#ff998a;--sh-comment:#9a9389;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.joy-code-block .joy-code-header{border-bottom:1px solid var(--code-line);background:var(--code-header);align-items:center;gap:10px;min-height:43px;padding:0 16px;display:flex}.joy-code-block .joy-code-heading{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.joy-code-block .joy-code-title{color:var(--code-ink);letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font:600 11px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:hidden}.joy-code-block .joy-code-language{color:var(--code-muted);font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.joy-code-block button{min-height:32px;color:var(--code-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:6px;padding:4px 6px;font:500 10px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:inline-flex}.joy-code-block button:hover{color:var(--code-ink);text-underline-offset:4px;text-decoration:underline}.joy-code-block .joy-code-copy{flex:none;margin-left:auto}.joy-code-block .joy-code-copy>span{text-align:left;min-width:36px}.joy-code-block .joy-code-copy svg{flex:none;width:13px;height:13px}.joy-code-block :is(button,pre):focus-visible{outline:2px solid var(--code-accent);outline-offset:-3px}.joy-code-block .joy-code-tabs{flex:1;min-width:0}.joy-code-block [role=tablist]{flex-wrap:wrap;gap:2px;display:flex}.joy-code-block button[role=tab]{text-transform:uppercase;letter-spacing:.06em;border-bottom:2px solid #0000;border-radius:0;min-height:42px;padding-inline:8px;font-weight:700}.joy-code-block button[aria-selected=true]{border-bottom-color:var(--code-accent);color:var(--code-ink)}.joy-code-block .joy-code-pre{min-width:0;max-width:100%;color:var(--code-ink);text-align:left;white-space:pre;overflow-wrap:normal;font-variant-ligatures:none;tab-size:2;-webkit-overflow-scrolling:touch;background:0 0;border:0;border-radius:0;margin:0;padding:18px;font:11.5px/1.85 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;display:block;overflow:auto}.joy-code-block code{font:inherit;color:inherit;background:0 0;padding:0}.joy-code-block .sh__line{display:inline}.joy-code-block .sh__token--comment{font-style:italic}.joy-code-block[data-wrap] .joy-code-pre{white-space:pre-wrap;overflow-wrap:anywhere}.joy-code-block[data-compact] .joy-code-header{min-height:35px;padding-inline:10px}.joy-code-block[data-compact] .joy-code-pre{padding:12px;font-size:10.5px;line-height:1.75}.joy-code-block .joy-code-status{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.joy-code-block .joy-code-status[data-error]{clip-path:none;width:auto;height:auto;color:var(--code-accent);padding:10px 14px;font-size:11px;display:block;position:static}@media (width<=480px){.joy-code-block .joy-code-header{gap:6px;padding-inline:9px}.joy-code-block .joy-code-language{display:none}.joy-code-block .joy-code-pre{padding:14px;font-size:11px}.joy-code-block button[role=tab]{padding-inline:5px;font-size:9px}}.jr-showcase{--jr-slot:164px;--jr-ink:var(--drive-ink,#242521);--jr-muted:var(--drive-muted,#777a72);--jr-line:var(--drive-line,#d7d9d0);--jr-accent:var(--drive-accent,#df342a);min-width:0;color:var(--jr-ink);font-family:inherit;position:relative}.jr-showcase *,.jr-showcase :before,.jr-showcase :after{box-sizing:border-box}.jr-showcase-header{letter-spacing:.02em;justify-content:space-between;align-items:center;gap:16px;min-height:38px;font-size:11px;display:flex}.jr-showcase-count{color:var(--jr-muted);margin-left:9px;font:10px monospace}.jr-showcase-hint{color:var(--jr-muted);font-size:10px}.jr-showcase-hint>span{margin-left:8px}.jr-showcase-stage{height:182px;position:relative}.jr-showcase-spawn{pointer-events:none;width:1px;height:1px;position:absolute;top:50%;left:50%}.jr-showcase-parking-spot{pointer-events:none;place-items:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-45deg)}.jr-showcase-parking-spot>span{font:550 28px/1 sans-serif;transform:rotate(45deg)}.jr-showcase[data-driving=true] .jr-showcase-center>span{opacity:0}.jr-showcase-center{background:radial-gradient(ellipse, color-mix(in srgb, var(--jr-accent) 7%, transparent), transparent 70%);pointer-events:none;border-radius:50%;width:148px;position:absolute;top:12px;bottom:8px;left:50%;transform:translate(-50%)}.jr-showcase-center>span{background:var(--jr-accent);border-radius:50%;width:6px;height:6px;position:absolute;bottom:0;left:calc(50% - 3px)}.jr-showcase-scroll{height:100%;padding-inline:calc(50% - var(--jr-slot) / 2);scroll-padding-inline:calc(50% - var(--jr-slot) / 2);scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y;align-items:center;display:flex;position:relative;overflow:auto hidden;-webkit-mask-image:linear-gradient(90deg,#0000,#000 9% 91%,#0000);mask-image:linear-gradient(90deg,#0000,#000 9% 91%,#0000)}.jr-showcase-scroll::-webkit-scrollbar{display:none}.jr-showcase-scroll:focus-visible{outline:1px solid var(--jr-accent);outline-offset:-2px}.jr-showcase-slot{flex:0 0 var(--jr-slot);scroll-snap-align:center;cursor:pointer;height:100%;opacity:var(--presence,.6);position:relative}.jr-showcase-bay{border-inline:1px solid var(--jr-line);opacity:.5;pointer-events:none;width:88px;height:135px;transition:opacity .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(45deg)}.jr-showcase-slot[aria-selected=true] .jr-showcase-bay{opacity:.9}.jr-showcase-sprite{transform:translate(-50%, -50%) scale(var(--car-scale,.85));pointer-events:none;transition:opacity .36s;position:absolute;top:50%;left:50%}.jr-showcase-car{filter:drop-shadow(-1px 4px 3px #14171138);display:block;transform:rotate(-45deg)}.jr-showcase-footer{border-bottom:1px solid var(--jr-line);justify-content:space-between;align-items:center;gap:24px;min-height:84px;padding:12px 0 17px;display:flex}.jr-showcase-footer>div:first-child{min-width:0}.jr-showcase-eyebrow{color:var(--jr-muted);text-transform:uppercase;letter-spacing:.09em;margin-bottom:7px;font:9px/1.3 monospace;display:block}.jr-showcase-footer strong{letter-spacing:-.035em;font-size:clamp(17px,2vw,23px);font-weight:550;line-height:1.15;display:block}.jr-showcase-meta{color:var(--jr-muted);max-width:560px;margin-top:7px;font-size:11px;line-height:1.5;display:block}.jr-showcase-navigation{flex-shrink:0;align-items:center;gap:16px;display:flex}.jr-showcase-navigation>span{font:10px monospace}.jr-showcase-navigation>span>span{color:var(--jr-muted)}.jr-showcase button{font:inherit;color:inherit;cursor:pointer}.jr-showcase-navigation button{border:1px solid var(--jr-line);background:0 0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.jr-showcase-navigation button:disabled{opacity:.25;cursor:default}.jr-showcase button:focus-visible{outline:2px solid var(--jr-accent);outline-offset:3px}.jr-showcase[data-driving=true] .jr-showcase-slot[aria-selected=true] .jr-showcase-sprite{opacity:0;transition:none}@media (width<=600px){.jr-showcase{--jr-slot:108px}.jr-showcase-stage{height:168px}.jr-showcase-bay{width:72px;height:116px}.jr-showcase-footer{gap:12px}.jr-showcase-meta{font-size:10px}.jr-showcase-navigation{gap:9px}}@media (prefers-reduced-motion:reduce){.jr-showcase-sprite,.jr-showcase-bay,.jr-showcase-parking-spot{transition:none}}
|