let BaseNode=require("../Utils/BaseNode").BaseNode,APJS=require("../../../amazingpro");class CGUnpackNode extends BaseNode{constructor(){super(),this.valueType=null}getOutput(e){var t=this.inputs[0]();return"Color"===this.valueType?t[["r","g","b","a"][e]]:0===e?t.x:1===e?t.y:"Rect"!==this.valueType?2===e?t.z:3===e?t.w:void 0:2===e?t.width:3===e?t.height:void 0}}exports.CGUnpackNode=CGUnpackNode;