1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[56268],{56268:(e,t,i)=>{i.r(t),i.d(t,{FlowGraphGetLinearVelocityBlock:()=>u,RegisterFlowGraphGetLinearVelocityBlock:()=>o});var a=i(12939),l=i(83302),s=i(55758),r=i(88473);class u extends l.r{constructor(e){super(a.Dx,e),this.body=this.registerDataInput("body",a.Vv)}_doOperation(e){let t=this.body.getValue(e);if(!t)return;let i=e._getExecutionVariable(this,"_cachedVelocity",null);return i||(i=new s.Pq,e._setExecutionVariable(this,"_cachedVelocity",i)),t.getLinearVelocityToRef(i),i}getClassName(){return"FlowGraphGetLinearVelocityBlock"}}let c=!1;function o(){c||(c=!0,(0,r.Y5)("FlowGraphGetLinearVelocityBlock",u))}o()},83302:(e,t,i)=>{i.d(t,{r:()=>u});var a=i(32650),l=i(12939);let s="cachedOperationValue",r="cachedExecutionId";class u extends a.e{constructor(e,t){super(t),this.value=this.registerDataOutput("value",e),this.isValid=this.registerDataOutput("isValid",l.RI)}_updateOutputs(e){let t=e._getExecutionVariable(this,r,-1),i=e._getExecutionVariable(this,s,null);if(null!=i&&t===e.executionId)this.isValid.setValue(!0,e),this.value.setValue(i,e);else try{let t=this._doOperation(e);if(null==t)return void this.isValid.setValue(!1,e);e._setExecutionVariable(this,s,t),e._setExecutionVariable(this,r,e.executionId),this.value.setValue(t,e),this.isValid.setValue(!0,e)}catch(t){this.isValid.setValue(!1,e)}}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.