decord/source/3931_getStringProperty.js
2026-07-28 08:39:19 +00:00

37 lines
984 B
JavaScript

// Module ID: 3931
// Function ID: 32358
// Name: getStringProperty
// Dependencies: [57, 3916, 3929]
// Exports: useRiveString
// Module 3931 (getStringProperty)
import _slicedToArray from "_slicedToArray";
const require = arg1;
function getStringProperty(stringProperty) {
return stringProperty.stringProperty(arg1);
}
export const useRiveString = function useRiveString(LVL, instance) {
let tmp3;
let tmp4;
let tmp5;
let obj = require(3916) /* c */;
const cResult = obj.c(4);
const obj2 = require(3929) /* useRiveProperty */;
[tmp3, tmp4, tmp5] = callback(require(3929) /* useRiveProperty */.useRiveProperty(instance, LVL, getStringProperty), 3);
if (cResult[0] === tmp5) {
if (cResult[1] === tmp4) {
if (cResult[2] === tmp3) {
let tmp6 = cResult[3];
}
return tmp6;
}
}
obj = { value: tmp3, setValue: tmp4, error: tmp5 };
cResult[0] = tmp5;
cResult[1] = tmp4;
cResult[2] = tmp3;
cResult[3] = obj;
tmp6 = obj;
};