decord/source/__polyfill/04xxx/module_4409.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

33 lines
889 B
JavaScript

// Module ID: 4409
// Function ID: 4410
// Dependencies: [32, 4393, 4406]
// Exports: useRiveBoolean
// Module 4409
import c from "c" /* 4393 */;
import _mod4406 from "module_4406" /* 4406 */;
import _slicedToArray from "module_32" /* 32 */;
require = arg1;
function getBooleanProperty(booleanProperty, arg1) {
return booleanProperty.booleanProperty(arg1);
}
export const useRiveBoolean = function useRiveBoolean(reducedMotion, instance) {
const cResult = c.c(4);
[tmp3, tmp4, tmp5] = _mod4406.useRiveProperty(instance, reducedMotion, getBooleanProperty);
if (cResult[0] === tmp5) {
if (cResult[1] === tmp4) {
if (cResult[2] === tmp3) {
let tmp6 = cResult[3];
}
return tmp6;
}
}
const obj3 = { value: tmp3, setValue: tmp4, error: tmp5 };
cResult[0] = tmp5;
cResult[1] = tmp4;
cResult[2] = tmp3;
cResult[3] = obj3;
tmp6 = obj3;
};