let BaseNode=require("../Utils/BaseNode").BaseNode,GraphUtils=require("../Utils/GraphUtils").GraphUtils,APJS=require("../../../amazingpro");class CGPackNode extends BaseNode{constructor(){super(),this.valueType=null}getOutput(t){var s,i,e,u,p=this.outputs[t];return"Vector2f"===this.valueType?(s=this.inputs[0](),i=this.inputs[1](),this.outputs[t]=GraphUtils.getUpdatedValue("Vector2f",p,s,i)):"Vector3f"===this.valueType?(s=this.inputs[0](),i=this.inputs[1](),e=this.inputs[2](),this.outputs[t]=GraphUtils.getUpdatedValue("Vector3f",p,s,i,e)):"Vector4f"===this.valueType?(s=this.inputs[0](),i=this.inputs[1](),e=this.inputs[2](),u=this.inputs[3](),this.outputs[t]=GraphUtils.getUpdatedValue("Vector4f",p,s,i,e,u)):"Quaternionf"===this.valueType?(s=this.inputs[0](),i=this.inputs[1](),e=this.inputs[2](),u=this.inputs[3](),this.outputs[t]=GraphUtils.getUpdatedValue("Quaternionf",p,s,i,e,u)):"Rect"===this.valueType?(s=this.inputs[0](),i=this.inputs[1](),e=this.inputs[2](),u=this.inputs[3](),this.outputs[t]=GraphUtils.getUpdatedValue("Rect",p,s,i,e,u)):"Color"===this.valueType&&(s=this.inputs[0](),i=this.inputs[1](),e=this.inputs[2](),u=this.inputs[3](),this.outputs[t]=GraphUtils.getUpdatedValue("Color",p,s,i,e,u)),this.outputs[t]}}exports.CGPackNode=CGPackNode;