This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+55
View File
@@ -0,0 +1,55 @@
// Metro module 3917 (f3918).
import { forwardRef, useCallback } from "react";
import { useBooleanBinding, BaseRive } from "./Module3918";
import Module3968 from "./Module3968";
import { RiveErrorBoundary } from "./Module3969";
let BoostThisServerRiveInner;
const _excluded = ["fallback", "artboard", "stateMachine", "defaultViewModelInstance", "dataBinding", "onDataBindingChange"];
const artboardProperties = {
"Boost Server": {
reducedMotion: "boolean"
},
"Boost Crystal": {
reducedMotion: "boolean"
},
"Crystal Side B": {},
"Crystal Side A": {},
"Boost Saved": {
reducedMotion: "boolean"
}
};
const artboardViewModelInstances = {
"Boost Server": ["Instance"],
"Boost Crystal": ["Instance"],
"Crystal Side B": [],
"Crystal Side A": [],
"Boost Saved": ["Instance"]
};
let c2228_9 = {
"Boost Server": function BoostServerBindings(a0) {
useBooleanBinding("reducedMotion", a0.instance, a0.reducedMotionEnabled, void 0, a0.playIfNeeded);
return null;
},
"Boost Crystal": function BoostCrystalBindings(a0) {
useBooleanBinding("reducedMotion", a0.instance, a0.reducedMotionEnabled, void 0, a0.playIfNeeded);
return null;
},
"Boost Saved": function BoostSavedBindings(a0) {
useBooleanBinding("reducedMotion", a0.instance, a0.reducedMotionEnabled, void 0, a0.playIfNeeded);
return null;
}
};
BoostThisServerRiveInner = forwardRef(function BoostThisServerRiveInner(props, a1) {
props.fallback;
const { artboard = "Boost Server", stateMachine, defaultViewModelInstance: defaultViewModelInstance2 = "Instance", dataBinding, onDataBindingChange, ...rest } = props;
return <BaseRive ref={a1} src={Module3968} artboard={artboard} artboardProperties={artboardProperties} artboardViewModelInstances={artboardViewModelInstances} defaultViewModelInstance={defaultViewModelInstance2} stateMachine={stateMachine} renderDataBinding={useCallback((a0) => {
const Component = c2228_9[artboard];
return Component != null ? <Component {...a0} dataBinding={dataBinding} onDataBindingChange={onDataBindingChange} /> : null;
}, [artboard, dataBinding, onDataBindingChange])} {...rest} />;
});
const r42 = forwardRef(function BoostThisServerRiveWithBoundary(props, a1) {
return <RiveErrorBoundary fallback={props.fallback}>
<BoostThisServerRiveInner ref={a1} {...props} />
</RiveErrorBoundary>;
});
export { r42 as BoostThisServerRive };