160 lines
8.4 KiB
React
160 lines
8.4 KiB
React
// Metro module 3982 (f3983).
|
|
import { forwardRef, useCallback } from "react";
|
|
import { useBooleanBinding, useColorBinding, BaseRive } from "./Module3918";
|
|
import Module3983 from "./Module3983";
|
|
import { RiveErrorBoundary } from "./Module3969";
|
|
let CheckpointKnickKnacksRiveInner;
|
|
const _excluded = ["fallback", "artboard", "stateMachine", "defaultViewModelInstance", "dataBinding", "onDataBindingChange"];
|
|
const artboardProperties = {
|
|
Preview: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
Friends: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
Globe: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
"Globe Single Line": {},
|
|
Emojis: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
"Wave Line": {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
Games: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
Voice: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
"Looping Checkboard": {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
CheckRow: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
Quests: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
Entry: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
Messages: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
},
|
|
Servers: {
|
|
reducedMotion: "boolean",
|
|
iconColor: "color"
|
|
}
|
|
};
|
|
const artboardViewModelInstances = {
|
|
Preview: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
Friends: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
Globe: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
"Globe Single Line": [],
|
|
Emojis: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
"Wave Line": ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
Games: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
Voice: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
"Looping Checkboard": ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
CheckRow: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
Quests: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
Entry: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
Messages: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"],
|
|
Servers: ["Pink", "Orange", "Green", "Lavender", "Yellow", "Cyan"]
|
|
};
|
|
let c2269_9 = {
|
|
Preview: function PreviewBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Friends: function FriendsBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Globe: function GlobeBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Emojis: function EmojisBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
"Wave Line": function WaveLineBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Games: function GamesBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Voice: function VoiceBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
"Looping Checkboard": function LoopingCheckboardBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
CheckRow: function CheckRowBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Quests: function QuestsBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Entry: function EntryBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Messages: function MessagesBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
},
|
|
Servers: function ServersBindings({ instance, reducedMotionEnabled, dataBinding: dataBinding2, onDataBindingChange: onDataBindingChange2, playIfNeeded }) {
|
|
useBooleanBinding("reducedMotion", instance, reducedMotionEnabled, void 0, playIfNeeded);
|
|
useColorBinding("iconColor", instance, dataBinding2?.iconColor, onDataBindingChange2?.iconColor, playIfNeeded);
|
|
return null;
|
|
}
|
|
};
|
|
CheckpointKnickKnacksRiveInner = forwardRef(function CheckpointKnickKnacksRiveInner(props, a1) {
|
|
props.fallback;
|
|
const { artboard = "Preview", stateMachine, defaultViewModelInstance: defaultViewModelInstance2 = "Pink", dataBinding, onDataBindingChange, ...rest } = props;
|
|
return <BaseRive ref={a1} src={Module3983} artboard={artboard} artboardProperties={artboardProperties} artboardViewModelInstances={artboardViewModelInstances} defaultViewModelInstance={defaultViewModelInstance2} stateMachine={stateMachine} renderDataBinding={useCallback((a0) => {
|
|
const Component = c2269_9[artboard];
|
|
return Component != null ? <Component {...a0} dataBinding={dataBinding} onDataBindingChange={onDataBindingChange} /> : null;
|
|
}, [artboard, dataBinding, onDataBindingChange])} {...rest} />;
|
|
});
|
|
const r70 = forwardRef(function CheckpointKnickKnacksRiveWithBoundary(props, a1) {
|
|
return <RiveErrorBoundary fallback={props.fallback}>
|
|
<CheckpointKnickKnacksRiveInner ref={a1} {...props} />
|
|
</RiveErrorBoundary>;
|
|
});
|
|
export { r70 as CheckpointKnickKnacksRive };
|