import{F as u}from"./KHR_interactivity-BtMudStn.js";import{q as r,R as o}from"./declarationMapper-Lanf6XPr.js";import{R as a}from"./index-CDrXokXW.js";import"./index-DWyDLubb.js";import"./objectModelMapping-CGWnurZP.js";class c extends u{constructor(t){super(t),this.functionName=this.registerDataInput("functionName",r),this.object=this.registerDataInput("object",o),this.context=this.registerDataInput("context",o,null),this.output=this.registerDataOutput("output",o)}_updateOutputs(t){const i=this.functionName.getValue(t),s=this.object.getValue(t),n=this.context.getValue(t);if(s&&i){const e=s[i];e&&typeof e=="function"&&this.output.setValue(e.bind(n),t)}}getClassName(){return"FlowGraphFunctionReference"}}a("FlowGraphFunctionReference",c);export{c as FlowGraphFunctionReferenceBlock};
