import{R as t}from"./index-CDrXokXW.js";import{b as l,g as r}from"./KHR_interactivity-BtMudStn.js";import{i as s}from"./declarationMapper-Lanf6XPr.js";import"./index-DWyDLubb.js";import"./objectModelMapping-CGWnurZP.js";class o extends l{constructor(e){super(e),this.delayIndex=this.registerDataInput("delayIndex",s)}_execute(e,p){const a=r(this.delayIndex.getValue(e));if(a<=0||isNaN(a)||!isFinite(a))return this._reportError(e,"Invalid delay index");const i=e._getGlobalContextVariable("pendingDelays",[])[a];i&&i.dispose(),this.out._activateSignal(e)}getClassName(){return"FlowGraphCancelDelayBlock"}}t("FlowGraphCancelDelayBlock",o);export{o as FlowGraphCancelDelayBlock};
