@joy-ride/game 0.28.0 → 0.29.1

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.
Files changed (59) hide show
  1. package/README.md +1 -0
  2. package/bookmarklet.d.ts +1 -1
  3. package/bookmarklet.js +1 -1
  4. package/embed-chunks/{CodeBlock-ZJVQKkJK.js → CodeBlock-CmdFck30.js} +1 -1
  5. package/embed-chunks/{Documentation-C1avN9ar.js → Documentation-C5yd8S9T.js} +3 -3
  6. package/embed-chunks/{EmbedPanel-G7q47IIF.js → EmbedPanel-BDZ9gPAY.js} +1 -1
  7. package/embed-chunks/{JoyRideView-iI9D7qYG.js → JoyRideView-CGO2LlqF.js} +1 -1
  8. package/embed-chunks/{configuration~index~embed-yIM-mirE.js → configuration~index~embed-CRXVkf5S.js} +1 -1
  9. package/embed-chunks/configuration~index~embed~bookmarklet-6dUo7fKK.js +1 -0
  10. package/embed-chunks/configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~Documentation~JoyRideView~~n76yhyet-C39ouO-X.js +1 -0
  11. package/embed-chunks/{configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~JoyRideView~browser-sessio~iaaa3ndj-DuwqBPZc.js → configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~JoyRideView~browser-sessio~iaaa3ndj-DF2q8EGO.js} +1 -1
  12. package/embed-chunks/{runtime~JoyRideView~browser-session-core-D0evk3rV.js → runtime~JoyRideView~browser-session-core-W3T3KGBY.js} +1 -1
  13. package/embed-chunks/runtime~browser-session-core-ABdeer0k.js +1 -0
  14. package/embed-chunks/{runtime~index~embed-DRvLAw-Q.js → runtime~index~embed-Cdk1V9Yq.js} +2 -2
  15. package/embed-chunks/{runtime~index~embed~vehicle-popover~browser-session-core~renderer-7QR7zJ4G.js → runtime~index~embed~vehicle-popover~browser-session-core~renderer-DKaOSaI2.js} +1 -1
  16. package/embed-chunks/{runtime~vehicle-popover-B9yI0IDm.js → runtime~vehicle-popover-B9t-I45z.js} +1 -1
  17. package/embed-chunks/{runtime~vehicle-popover~browser-session-core-CG3br9PK.js → runtime~vehicle-popover~browser-session-core-hzAmTyN1.js} +1 -1
  18. package/embed-chunks/{runtime~vehicle-popover~browser-session-core~renderer-D9Tkkuld.js → runtime~vehicle-popover~browser-session-core~renderer-DRXQjSAc.js} +1 -1
  19. package/embed-chunks/{runtime~vehicle-popover~renderer-CucvcM5-.js → runtime~vehicle-popover~renderer-CFfqUX4J.js} +3 -3
  20. package/embed-chunks/{src-DpO0cT8m.js → src-v40jgxEo.js} +2 -2
  21. package/embed-chunks/{vehicle-catalog~index~embed-CP-EevYT.js → vehicle-catalog~index~embed-CkmzFsdm.js} +1 -1
  22. package/embed-chunks/{vehicle-popover-Dn9KYK8F.js → vehicle-popover-Cah1Jwwj.js} +1 -1
  23. package/embed.js +1 -1
  24. package/{index-CTJwxnBj.d.ts → index-Cr-53zu5.d.ts} +10 -9
  25. package/index.d.ts +2 -2
  26. package/index.js +1 -1
  27. package/npm-chunks/{Documentation-C0eIjv6u.js → Documentation-C8s_aL0s.js} +3 -3
  28. package/npm-chunks/{EmbedPanel-f5UGGrmb.js → EmbedPanel-a4F6OnOH.js} +1 -1
  29. package/npm-chunks/{JoyRideView-D5KwW5-l.js → JoyRideView-BAXi_AFI.js} +1 -1
  30. package/npm-chunks/VehicleHint-CS6L9FO9.js +1 -0
  31. package/npm-chunks/{configuration~react-DUPESsWt.js → configuration~react-B3URe5Hp.js} +1 -1
  32. package/npm-chunks/configuration~react~vehicle-popover~EmbedPanel~Documentation~JoyRideView~browser-session-co~fvauaeow-C39ouO-X.js +1 -0
  33. package/npm-chunks/{configuration~react~vehicle-popover~EmbedPanel~JoyRideView~browser-session-core-PAwcrwen.js → configuration~react~vehicle-popover~EmbedPanel~JoyRideView~browser-session-core-BLdLriTd.js} +1 -1
  34. package/npm-chunks/{configuration~react~vehicle-popover~EmbedPanel~JoyRideView~browser-session-core~renderer-DjaRQi9I.js → configuration~react~vehicle-popover~EmbedPanel~JoyRideView~browser-session-core~renderer-D5v3L-_1.js} +1 -1
  35. package/npm-chunks/configuration~react~vehicle-popover~JoyRideView~browser-session-core~renderer-BASSGxIF.js +1 -0
  36. package/npm-chunks/{runtime~JoyRideView~browser-session-core-CqexK4_9.js → runtime~JoyRideView~browser-session-core-7d-89abo.js} +1 -1
  37. package/npm-chunks/runtime~browser-session-core-CTEOkb8N.js +1 -0
  38. package/npm-chunks/{runtime~react-BiRrgv8z.js → runtime~react-DuHGu6qC.js} +1 -1
  39. package/npm-chunks/{runtime~react~browser-session-core-BwCcJzcZ.js → runtime~react~browser-session-core-BOMyEw_b.js} +1 -1
  40. package/npm-chunks/{runtime~react~vehicle-popover~browser-session-core~renderer-DKpExYhH.js → runtime~react~vehicle-popover~browser-session-core~renderer-5hzldoVR.js} +1 -1
  41. package/npm-chunks/{runtime~vehicle-popover-QsSxwpN_.js → runtime~vehicle-popover-DF_vkfqT.js} +1 -1
  42. package/npm-chunks/{runtime~vehicle-popover~browser-session-core-CrZME-1Y.js → runtime~vehicle-popover~browser-session-core-CDg6b0po.js} +1 -1
  43. package/npm-chunks/{runtime~vehicle-popover~browser-session-core~renderer-L2_7uaz1.js → runtime~vehicle-popover~browser-session-core~renderer-D_NBXTcG.js} +1 -1
  44. package/npm-chunks/{runtime~vehicle-popover~renderer-4k-iW9CG.js → runtime~vehicle-popover~renderer-C7Eq6aHr.js} +3 -3
  45. package/npm-chunks/{sync-shadow-theme-BfMjtxaN.js → sync-shadow-theme-CTVN45GY.js} +1 -1
  46. package/npm-chunks/{theme-DdVUqUf4.js → theme-CkSpDTIL.js} +1 -1
  47. package/npm-chunks/{vehicle-catalog~react~browser-session-core-Ck9lXSBn.js → vehicle-catalog~react~browser-session-core-CxP3HQ_B.js} +1 -1
  48. package/npm-chunks/{vehicle-popover-CVncA-Cd.js → vehicle-popover-CYhUl7Ae.js} +1 -1
  49. package/package.json +1 -1
  50. package/{playground-CSIrDKFk.d.ts → playground-C1crX0w5.d.ts} +4 -8
  51. package/react.d.ts +7 -5
  52. package/react.js +10 -10
  53. package/embed-chunks/configuration~index~embed~bookmarklet-D5yd-nGZ.js +0 -1
  54. package/embed-chunks/configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~Documentation~JoyRideView~~n76yhyet-CxkUNnei.js +0 -1
  55. package/embed-chunks/runtime~browser-session-core-Coi2m2K_.js +0 -1
  56. package/npm-chunks/VehicleHint-YUZ0kRNw.js +0 -1
  57. package/npm-chunks/configuration~react~vehicle-popover~EmbedPanel~Documentation~JoyRideView~browser-session-co~fvauaeow-CxkUNnei.js +0 -1
  58. package/npm-chunks/configuration~react~vehicle-popover~JoyRideView~browser-session-core~renderer-BwD100vD.js +0 -1
  59. package/npm-chunks/runtime~browser-session-core-CnigdG4N.js +0 -1
package/embed.js CHANGED
@@ -1 +1 @@
1
- import{r as e}from"./embed-chunks/controls~index~embed-x6xN6BFw.js";import{t}from"./embed-chunks/definitions~index~embed-CnmHo4Z4.js";import{i as n,n as r,r as i,t as a}from"./embed-chunks/configuration~index~embed-yIM-mirE.js";import{a as o,c as s,i as c,l,t as u}from"./embed-chunks/vehicle-catalog~index~embed-CP-EevYT.js";import{n as d,r as f}from"./embed-chunks/controls~index~embed~vehicle-popover~JoyRideView~browser-session-core~renderer-Cnf30Q_A.js";import{n as p,r as m,t as h}from"./embed-chunks/src-DpO0cT8m.js";var g=`script[data-jr-mount]`;function _(e){if(e.nodeType!==1)return!1;let t=e;return t.matches(g)||!!t.querySelector(g)}function v(e){let t=e.getAttribute(`data-jr-mount`);if(t===`false`||t===null)return null;let r=!t||t===`true`?{}:JSON.parse(t);if(!r||typeof r!=`object`||Array.isArray(r))throw TypeError(`data-jr-mount must be true or a JSON object`);let i=e.getAttribute(`data-jr-mount-preset`),a=i?n(i,r):r,o=e.getAttribute(`data-jr-dialog-theme`);if(o!==null){if(o!==`auto`&&o!==`light`&&o!==`dark`)throw TypeError(`data-jr-dialog-theme must be auto, light, or dark`);a.dialog={...a.dialog,dialogTheme:o}}let s=e.getAttribute(`data-jr-accent-color`),c=e.getAttribute(`data-jr-dialog-font-family`);if(s!==null||c!==null){if(s!==null&&!/^#[\da-f]{6}$/i.test(s))throw TypeError(`data-jr-accent-color must be six-digit hex`);if(c!==null&&!c.trim())throw TypeError(`data-jr-dialog-font-family must be a CSS font-family value`);a.dialog={...a.dialog,...s===null?{}:{accentColor:s},...c===null?{}:{dialogFontFamily:c}}}for(let[t,n]of[[`vehicle`,`data-jr-persist-vehicle`],[`audio`,`data-jr-persist-audio`]]){let r=e.getAttribute(n);if(r!==null){if(r!==``&&r!==`true`&&r!==`false`)throw TypeError(`${n} must be true or false`);a.persist={...a.persist,[t]:r!==`false`}}}return a}function y(e){let t=e.getAttribute(`data-jr-unmount`);if(t===null||t===`false`||t===`none`)return{route:!1,remove:!1};if(t===``||t===`true`)return{route:!0,remove:!0};let n=t.trim().split(/[\s,]+/);if(n.some(e=>e!==`route`&&e!==`remove`))throw TypeError(`data-jr-unmount accepts route, remove, or both`);return{route:n.includes(`route`),remove:n.includes(`remove`)}}function b(e,t){let n=e.location.href,r=e.history,i=r.pushState,a=r.replaceState,o=!0,s=()=>{o&&e.location.href!==n&&t()},c=function(...e){i.apply(this,e),s()},l=function(...e){a.apply(this,e),s()};return r.pushState=c,r.replaceState=l,e.addEventListener(`popstate`,s),e.addEventListener(`hashchange`,s),()=>{o=!1,e.removeEventListener(`popstate`,s),e.removeEventListener(`hashchange`,s),r.pushState===c&&(r.pushState=i),r.replaceState===l&&(r.replaceState=a)}}function x(e,t=document,n=window){let r=new WeakSet,i,a,o=()=>{if(!e.active){for(let s of t.querySelectorAll(g))if(!r.has(s)&&s.isConnected)try{let c=v(s),l=y(s);if(r.add(s),!c)continue;let u=e.mount(c);i={script:s,controller:u,remove:l.remove,route:l.route,href:n.location.href};let d=l.route?b(n,()=>u.dispose()):()=>{};u.on(`dispose`,()=>{d(),i?.controller===u&&(i=void 0),queueMicrotask(o)}),(l.route||l.remove)&&!a&&(a=new MutationObserver(t=>{i?.route&&n.location.href!==i.href&&i.controller.dispose(),i?.remove&&!i.script.isConnected&&i.controller.dispose(),!e.active&&t.some(e=>[...e.addedNodes].some(_))&&o()}),a.observe(t.documentElement,{childList:!0,subtree:!0}));break}catch(e){r.add(s),console.error(`Joy Ride could not mount from script attributes`,e)}}};t.readyState===`loading`?t.addEventListener(`DOMContentLoaded`,o,{once:!0}):queueMicrotask(o)}typeof window<`u`&&(window.JoyRide=h,x(h));var S=h;export{u as availableVehicleTools,S as default,t as define,p as getActive,n as getMountPreset,o as getVehiclePreset,e as keyboardControls,s as listVehicleOptions,l as listVehiclePresets,m as mount,d as overlayLayers,f as overlayZIndex,a as publicDataAttributeNames,r as publicDataAttributePrefixes,i as publicDataAttributes,c as vehicleTools};
1
+ import{r as e}from"./embed-chunks/controls~index~embed-x6xN6BFw.js";import{t}from"./embed-chunks/definitions~index~embed-CnmHo4Z4.js";import{i as n,n as r,r as i,t as a}from"./embed-chunks/configuration~index~embed-CRXVkf5S.js";import{a as o,c as s,i as c,l,t as u}from"./embed-chunks/vehicle-catalog~index~embed-CkmzFsdm.js";import{n as d,r as f}from"./embed-chunks/controls~index~embed~vehicle-popover~JoyRideView~browser-session-core~renderer-Cnf30Q_A.js";import{n as p,r as m,t as h}from"./embed-chunks/src-v40jgxEo.js";var g=`script[data-jr-mount]`;function _(e){if(e.nodeType!==1)return!1;let t=e;return t.matches(g)||!!t.querySelector(g)}function v(e){let t=e.getAttribute(`data-jr-mount`);if(t===`false`||t===null)return null;let r=!t||t===`true`?{}:JSON.parse(t);if(!r||typeof r!=`object`||Array.isArray(r))throw TypeError(`data-jr-mount must be true or a JSON object`);let i=e.getAttribute(`data-jr-mount-preset`),a=i?n(i,r):r,o=e.getAttribute(`data-jr-dialog-theme`);if(o!==null){if(o!==`auto`&&o!==`light`&&o!==`dark`)throw TypeError(`data-jr-dialog-theme must be auto, light, or dark`);a.dialog={...a.dialog,dialogTheme:o}}let s=e.getAttribute(`data-jr-accent-color`),c=e.getAttribute(`data-jr-dialog-font-family`);if(s!==null||c!==null){if(s!==null&&!/^#[\da-f]{6}$/i.test(s))throw TypeError(`data-jr-accent-color must be six-digit hex`);if(c!==null&&!c.trim())throw TypeError(`data-jr-dialog-font-family must be a CSS font-family value`);a.dialog={...a.dialog,...s===null?{}:{accentColor:s},...c===null?{}:{dialogFontFamily:c}}}for(let[t,n]of[[`vehicle`,`data-jr-persist-vehicle`],[`audio`,`data-jr-persist-audio`]]){let r=e.getAttribute(n);if(r!==null){if(r!==``&&r!==`true`&&r!==`false`)throw TypeError(`${n} must be true or false`);a.persist={...a.persist,[t]:r!==`false`}}}return a}function y(e){let t=e.getAttribute(`data-jr-unmount`);if(t===null||t===`false`||t===`none`)return{route:!1,remove:!1};if(t===``||t===`true`)return{route:!0,remove:!0};let n=t.trim().split(/[\s,]+/);if(n.some(e=>e!==`route`&&e!==`remove`))throw TypeError(`data-jr-unmount accepts route, remove, or both`);return{route:n.includes(`route`),remove:n.includes(`remove`)}}function b(e,t){let n=e.location.href,r=e.history,i=r.pushState,a=r.replaceState,o=!0,s=()=>{o&&e.location.href!==n&&t()},c=function(...e){i.apply(this,e),s()},l=function(...e){a.apply(this,e),s()};return r.pushState=c,r.replaceState=l,e.addEventListener(`popstate`,s),e.addEventListener(`hashchange`,s),()=>{o=!1,e.removeEventListener(`popstate`,s),e.removeEventListener(`hashchange`,s),r.pushState===c&&(r.pushState=i),r.replaceState===l&&(r.replaceState=a)}}function x(e,t=document,n=window){let r=new WeakSet,i,a,o=()=>{if(!e.active){for(let s of t.querySelectorAll(g))if(!r.has(s)&&s.isConnected)try{let c=v(s),l=y(s);if(r.add(s),!c)continue;let u=e.mount(c);i={script:s,controller:u,remove:l.remove,route:l.route,href:n.location.href};let d=l.route?b(n,()=>u.dispose()):()=>{};u.on(`dispose`,()=>{d(),i?.controller===u&&(i=void 0),queueMicrotask(o)}),(l.route||l.remove)&&!a&&(a=new MutationObserver(t=>{i?.route&&n.location.href!==i.href&&i.controller.dispose(),i?.remove&&!i.script.isConnected&&i.controller.dispose(),!e.active&&t.some(e=>[...e.addedNodes].some(_))&&o()}),a.observe(t.documentElement,{childList:!0,subtree:!0}));break}catch(e){r.add(s),console.error(`Joy Ride could not mount from script attributes`,e)}}};t.readyState===`loading`?t.addEventListener(`DOMContentLoaded`,o,{once:!0}):queueMicrotask(o)}typeof window<`u`&&(window.JoyRide=h,x(h));var S=h;export{u as availableVehicleTools,S as default,t as define,p as getActive,n as getMountPreset,o as getVehiclePreset,e as keyboardControls,s as listVehicleOptions,l as listVehiclePresets,m as mount,d as overlayLayers,f as overlayZIndex,a as publicDataAttributeNames,r as publicDataAttributePrefixes,i as publicDataAttributes,c as vehicleTools};
@@ -1,4 +1,4 @@
1
- import { $ as VehiclePreset, A as VehicleSlots, B as RuntimeOptionsPatch, C as VehiclePatch, D as LiquidEmission, E as VehiclePickupEffect, F as LiquidResidue, G as VehicleMasks, H as MaskRect, I as LiquidSource, J as SimulationState, K as Controls, L as CoreOptionsPatch, M as LiquidColorInput, N as LiquidKind, O as SlotNumber, P as LiquidPourOptions, Q as FlamethrowerProfile, R as DriveSettings, S as VehicleConfiguration, T as PickupPulse, U as MaskShape, W as VehicleMask, X as VehicleMode, Y as Vec2, Z as CombustibleStage, _ as ObjectiveSpec, a as PlaygroundObject, at as DebrisOptions, b as PlaygroundDefinitions, c as PlaygroundConfiguration, d as DeepReadonly, et as Debris, f as ObjectPatch, h as ObjectiveHandle, i as PlaygroundDiagnostic, j as LiquidColor, k as VehicleSlot, l as definePlayground, m as ObjectiveEventDetail, n as PlaygroundTriggerDetail, nt as DebrisBounds, o as PlaygroundRegistry, ot as DebrisParticle, q as Simulation, r as PlaygroundBinding, rt as DebrisHandle, s as PlaygroundTarget, st as DebrisVector, t as PlaygroundRouteHandle, u as Appearance, w as PickupEffectInput, x as RouteSpec, y as PlayerConfiguration, z as RuntimeOptions } from "./playground-CSIrDKFk.js";
1
+ import { $ as VehiclePreset, A as VehicleSlots, B as RuntimeOptionsPatch, C as VehiclePatch, D as LiquidEmission, E as VehiclePickupEffect, F as LiquidResidue, G as VehicleMasks, H as MaskRect, I as LiquidSource, J as SimulationState, K as Controls, L as CoreOptionsPatch, M as LiquidColorInput, N as LiquidKind, O as SlotNumber, P as LiquidPourOptions, Q as FlamethrowerProfile, R as DriveSettings, S as VehicleConfiguration, T as PickupPulse, U as MaskShape, W as VehicleMask, X as VehicleMode, Y as Vec2, Z as CombustibleStage, _ as ObjectiveSpec, a as PlaygroundObject, at as DebrisOptions, b as PlaygroundDefinitions, c as PlaygroundConfiguration, d as DeepReadonly, et as Debris, f as ObjectPatch, h as ObjectiveHandle, i as PlaygroundDiagnostic, j as LiquidColor, k as VehicleSlot, l as definePlayground, m as ObjectiveEventDetail, n as PlaygroundTriggerDetail, nt as DebrisBounds, o as PlaygroundRegistry, ot as DebrisParticle, q as Simulation, r as PlaygroundBinding, rt as DebrisHandle, s as PlaygroundTarget, st as DebrisVector, t as PlaygroundRouteHandle, u as Appearance, w as PickupEffectInput, x as RouteSpec, y as PlayerConfiguration, z as RuntimeOptions } from "./playground-C1crX0w5.js";
2
2
  /** One uniform scale anchored to body width; mirrors never squeeze the bodywork. */
3
3
  declare function vehicleImageFootprint(preset: VehiclePreset, imageWidth: number, imageHeight: number): {
4
4
  source: {
@@ -976,12 +976,12 @@ declare class VehicleEntity {
976
976
  id: string;
977
977
  label: string;
978
978
  appearance: "auto" | "light" | "dark";
979
- slots: Readonly<Partial<Record<1 | 2 | 3 | 4 | 7 | 5 | 9 | 8 | 6, false | VehicleSlot>>>;
980
- slotHeld: (1 | 2 | 3 | 4 | 7 | 5 | 9 | 8 | 6)[];
981
- slotPulses: (1 | 2 | 3 | 4 | 7 | 5 | 9 | 8 | 6)[];
982
- slotPresses: (1 | 2 | 3 | 4 | 7 | 5 | 9 | 8 | 6)[];
983
- blockedSlots: (1 | 2 | 3 | 4 | 7 | 5 | 9 | 8 | 6)[];
984
- previousSlotInput: (1 | 2 | 3 | 4 | 7 | 5 | 9 | 8 | 6)[];
979
+ slots: Readonly<Partial<Record<2 | 1 | 3 | 4 | 5 | 8 | 7 | 9 | 6, false | VehicleSlot>>>;
980
+ slotHeld: (2 | 1 | 3 | 4 | 5 | 8 | 7 | 9 | 6)[];
981
+ slotPulses: (2 | 1 | 3 | 4 | 5 | 8 | 7 | 9 | 6)[];
982
+ slotPresses: (2 | 1 | 3 | 4 | 5 | 8 | 7 | 9 | 6)[];
983
+ blockedSlots: (2 | 1 | 3 | 4 | 5 | 8 | 7 | 9 | 6)[];
984
+ previousSlotInput: (2 | 1 | 3 | 4 | 5 | 8 | 7 | 9 | 6)[];
985
985
  activeEmitters: {
986
986
  slot: SlotNumber;
987
987
  liquid: string;
@@ -1134,6 +1134,7 @@ declare class Renderer {
1134
1134
  private canvasWorld;
1135
1135
  /** Readiness of the sprite used by this renderer's vehicle painter. */
1136
1136
  vehicleImageLoadState(preset: Simulation['car']['preset']): 'ready' | 'loading' | 'failed';
1137
+ loadVehicleImage(preset: Simulation['car']['preset'], signal: AbortSignal): Promise<void>;
1137
1138
  carVisualOffset(sim: Simulation): Vec2;
1138
1139
  get cameraLock(): boolean;
1139
1140
  set cameraLock(value: boolean);
@@ -1802,7 +1803,7 @@ declare class Odometer {
1802
1803
  mode: "screen" | "print";
1803
1804
  };
1804
1805
  restoreState(state: ReturnType<Odometer['captureState']>): void;
1805
- get dpi(): 300 | 96;
1806
+ get dpi(): 96 | 300;
1806
1807
  cycleDpi(): DistanceReadout;
1807
1808
  flush(): void;
1808
1809
  get kilometers(): number;
@@ -2111,7 +2112,7 @@ type BrowserSessionOptions = CoreOptionsPatch & {
2111
2112
  onAudioInteraction?: () => void;
2112
2113
  onDriveInput?: () => void;
2113
2114
  onStartRequest?: () => void;
2114
- onPlayStart?: () => void;
2115
+ onFocusChange?: (focused: boolean) => void;
2115
2116
  onCarClick?: (anchor: CarAnchor) => void;
2116
2117
  };
2117
2118
  type PersistOptions = {
package/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { B as RuntimeOptionsPatch, C as VehiclePatch, O as SlotNumber, S as VehicleConfiguration, V as VehicleHintOptions, _ as ObjectiveSpec, at as DebrisOptions, c as PlaygroundConfiguration, d as DeepReadonly, f as ObjectPatch, g as ObjectiveProgress, h as ObjectiveHandle, it as DebrisKind, l as definePlayground, m as ObjectiveEventDetail, p as ObjectSpec, rt as DebrisHandle, tt as DebrisAnchor, u as Appearance, v as ObjectiveType, w as PickupEffectInput, y as PlayerConfiguration, z as RuntimeOptions } from "./playground-CSIrDKFk.js";
2
- import { C as listVehicleOptions, D as overlayLayers, E as vehicleTools, O as overlayZIndex, S as getVehiclePreset, T as availableVehicleTools, _ as PlayerEntryResult, a as MountPreset, b as PageDebrisHandle, c as mount, d as MountOptions, f as PlaygroundEventMap, g as PlayerEntryOptions, h as PageTarget, i as publicDataAttributes, l as keyboardControls, m as RideController, n as publicDataAttributeNames, o as getMountPreset, p as PlaygroundState, r as publicDataAttributePrefixes, s as getActive, t as api, u as MountHostOptions, v as VehicleHandle, w as listVehiclePresets, x as PageDebrisTarget, y as VehicleSpawnOptions } from "./index-CTJwxnBj.js";
1
+ import { B as RuntimeOptionsPatch, C as VehiclePatch, O as SlotNumber, S as VehicleConfiguration, V as VehicleHintOptions, _ as ObjectiveSpec, at as DebrisOptions, c as PlaygroundConfiguration, d as DeepReadonly, f as ObjectPatch, g as ObjectiveProgress, h as ObjectiveHandle, it as DebrisKind, l as definePlayground, m as ObjectiveEventDetail, p as ObjectSpec, rt as DebrisHandle, tt as DebrisAnchor, u as Appearance, v as ObjectiveType, w as PickupEffectInput, y as PlayerConfiguration, z as RuntimeOptions } from "./playground-C1crX0w5.js";
2
+ import { C as listVehicleOptions, D as overlayLayers, E as vehicleTools, O as overlayZIndex, S as getVehiclePreset, T as availableVehicleTools, _ as PlayerEntryResult, a as MountPreset, b as PageDebrisHandle, c as mount, d as MountOptions, f as PlaygroundEventMap, g as PlayerEntryOptions, h as PageTarget, i as publicDataAttributes, l as keyboardControls, m as RideController, n as publicDataAttributeNames, o as getMountPreset, p as PlaygroundState, r as publicDataAttributePrefixes, s as getActive, t as api, u as MountHostOptions, v as VehicleHandle, w as listVehiclePresets, x as PageDebrisTarget, y as VehicleSpawnOptions } from "./index-Cr-53zu5.js";
3
3
  export { type Appearance, type DebrisAnchor, type DebrisHandle, type DebrisKind, type DebrisOptions, type DeepReadonly, type MountHostOptions, type MountOptions, type MountPreset, type ObjectPatch, type ObjectSpec, type ObjectiveEventDetail, type ObjectiveHandle, type ObjectiveProgress, type ObjectiveSpec, type ObjectiveType, type PageDebrisHandle, type PageDebrisTarget, type PageTarget, type PickupEffectInput, type PlayerConfiguration, type PlayerEntryOptions, type PlayerEntryResult, type PlaygroundConfiguration, type PlaygroundEventMap, type PlaygroundState, type RideController, type RuntimeOptions, type RuntimeOptionsPatch, type SlotNumber, type VehicleConfiguration, type VehicleHandle, type VehicleHintOptions, type VehiclePatch, type VehicleSpawnOptions, availableVehicleTools, api as default, definePlayground as define, getActive, getMountPreset, getVehiclePreset, keyboardControls, listVehicleOptions, listVehiclePresets, mount, overlayLayers, overlayZIndex, publicDataAttributeNames, publicDataAttributePrefixes, publicDataAttributes, vehicleTools };
package/index.js CHANGED
@@ -1 +1 @@
1
- import{r as e}from"./embed-chunks/controls~index~embed-x6xN6BFw.js";import{t}from"./embed-chunks/definitions~index~embed-CnmHo4Z4.js";import{i as n,n as r,r as i,t as a}from"./embed-chunks/configuration~index~embed-yIM-mirE.js";import{a as o,c as s,i as c,l,t as u}from"./embed-chunks/vehicle-catalog~index~embed-CP-EevYT.js";import{n as d,r as f}from"./embed-chunks/controls~index~embed~vehicle-popover~JoyRideView~browser-session-core~renderer-Cnf30Q_A.js";import{n as p,r as m,t as h}from"./embed-chunks/src-DpO0cT8m.js";export{u as availableVehicleTools,h as default,t as define,p as getActive,n as getMountPreset,o as getVehiclePreset,e as keyboardControls,s as listVehicleOptions,l as listVehiclePresets,m as mount,d as overlayLayers,f as overlayZIndex,a as publicDataAttributeNames,r as publicDataAttributePrefixes,i as publicDataAttributes,c as vehicleTools};
1
+ import{r as e}from"./embed-chunks/controls~index~embed-x6xN6BFw.js";import{t}from"./embed-chunks/definitions~index~embed-CnmHo4Z4.js";import{i as n,n as r,r as i,t as a}from"./embed-chunks/configuration~index~embed-CRXVkf5S.js";import{a as o,c as s,i as c,l,t as u}from"./embed-chunks/vehicle-catalog~index~embed-CkmzFsdm.js";import{n as d,r as f}from"./embed-chunks/controls~index~embed~vehicle-popover~JoyRideView~browser-session-core~renderer-Cnf30Q_A.js";import{n as p,r as m,t as h}from"./embed-chunks/src-v40jgxEo.js";export{u as availableVehicleTools,h as default,t as define,p as getActive,n as getMountPreset,o as getVehiclePreset,e as keyboardControls,s as listVehicleOptions,l as listVehiclePresets,m as mount,d as overlayLayers,f as overlayZIndex,a as publicDataAttributeNames,r as publicDataAttributePrefixes,i as publicDataAttributes,c as vehicleTools};