1import{R as a,W as p,r as i}from"./index-Mr_XUsoJ.js";import{F as u}from"./flowGraphCachedOperationBlock-CZ0rL8Ca.js";class l extends u{constructor(t){super(a,t),this.config=t,this.object=this.registerDataInput("object",a,t.object),this.propertyName=this.registerDataInput("propertyName",p,t.propertyName),this.customGetFunction=this.registerDataInput("customGetFunction",a)}_doOperation(t){const o=this.customGetFunction.getValue(t);let r;if(o)r=o(this.object.getValue(t),this.propertyName.getValue(t),t);else{const e=this.object.getValue(t),s=this.propertyName.getValue(t);r=e&&s?this._getPropertyValue(e,s):void 0}return r}_getPropertyValue(t,o){const r=o.split(".");let e=t;for(const s of r)if(e=e[s],e===void 0)return;return e}getClassName(){return"FlowGraphGetPropertyBlock"}}i("FlowGraphGetPropertyBlock",l);export{l as FlowGraphGetPropertyBlock};
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.