import{c as n,_ as r}from"./KHR_interactivity-BtMudStn.js";import{b as h,R as i}from"./declarationMapper-Lanf6XPr.js";import{R as o}from"./index-CDrXokXW.js";import"./index-DWyDLubb.js";import"./objectModelMapping-CGWnurZP.js";class u extends n{constructor(t){super(t),this.type="PointerOut",this.pointerId=this.registerDataOutput("pointerId",h),this.targetMesh=this.registerDataInput("targetMesh",i,t?.targetMesh),this.meshOutOfPointer=this.registerDataOutput("meshOutOfPointer",i)}_executeEvent(t,e){const s=this.targetMesh.getValue(t);return this.meshOutOfPointer.setValue(e.mesh,t),this.pointerId.setValue(e.pointerId,t),!(e.over&&r(e.mesh,s))&&(e.mesh===s||r(e.mesh,s))?(this._execute(t),!this.config?.stopPropagation):!0}_preparePendingTasks(t){}_cancelPendingTasks(t){}getClassName(){return"FlowGraphPointerOutEventBlock"}}o("FlowGraphPointerOutEventBlock",u);export{u as FlowGraphPointerOutEventBlock};
