@elyx-code/project-logic-tree 0.0.6120 → 0.0.6121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(d,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(d=typeof globalThis<"u"?globalThis:d||self,a(d["@elyx-code/project-logic-tree"]={}))})(this,function(d){"use strict";var DJ=Object.defineProperty;var SJ=(d,a,U)=>a in d?DJ(d,a,{enumerable:!0,configurable:!0,writable:!0,value:U}):d[a]=U;var c=(d,a,U)=>(SJ(d,typeof a!="symbol"?a+"":a,U),U);var a=(r=>(r.CustomEntity="custom-entity",r.BuiltInBaseEntity="built-in-base-entity",r.Project="project",r.InstalledProject="installed-project",r.GlobalEvent="global-event",r.DataType="data-type",r.FunctionCall="function-call",r.FunctionDeclaration="function-declaration",r.ActionDescriptor="action-descriptor",r.ValueDescriptor="value-descriptor",r.ArgumentDeclaration="argument-declaration",r.InputMap="input-map",r.ReturnStatement="return-statement",r.BreakStatement="break-statement",r.ContinueStatement="continue-statement",r.ReturnDeclaration="return-declaration",r.OutputMap="output-map",r.PrimitiveEntity="primitive-entity",r.LiteralValue="literal-value",r.Property="property",r.Operation="operation",r.Condition="condition",r.VariableDeclaration="variable-declaration",r.VariableInstance="variable-instance",r.Search="search",r.Loop="loop",r.InternalCall="internal-call",r.GenericReference="generic-reference",r))(a||{}),U=(r=>(r.HTTP_ENDPOINT="BUILT_IN_HTTP_ENDPOINT_ENTITY",r.RELATIONAL_DATABASE="BUILT_IN_RELATIONAL_DATABASE_ENTITY",r.PERSISTED_ENTITY="BUILT_IN_PERSISTED_ENTITY_ENTITY",r.CRON_JOB="BUILT_IN_CRON_JOB_ENTITY",r.EXECUTION="BUILT_IN_EXECUTION_ENTITY",r.KEY_VALUE_PARAM="BUILT_IN_KEY_VALUE_PARAM_ENTITY",r))(U||{}),ze=(r=>(r.CurrentDateAndTime="current-date-and-time",r.Unique="unique",r.Random="random",r))(ze||{}),C=(r=>(r.EntityTemplate="entity-template",r.ActionDescriptor="action-descriptor",r.String="string",r.Number="number",r.Boolean="boolean",r.Null="null",r.Enum="enum",r.KeyValue="key-value",r.Date="date",r.UUID="uuid",r.File="file",r.Untyped="untyped",r))(C||{}),Ge=(r=>(r.Addition="addition",r.Subtraction="subtraction",r.Multiplication="multiplication",r.Division="division",r.Remainder="remainder",r.Exponentiation="exponentiation",r))(Ge||{}),re=(r=>(r.Join="string-join",r.Split="string-split",r.DeleteLast="string-delete-last",r.DeleteFirst="string-delete-first",r.DeleteIndex="string-delete-index",r.AddIndex="string-add-index",r.ReplaceFirst="string-replace-first",r.ReplaceLast="string-replace-last",r.ReplaceIndex="string-replace-index",r.ReplaceSingleMatch="string-replace-single-match",r.ReplaceAllMatches="string-replace-all-matches",r.GetIndex="string-get-index",r.GetFirst="string-get-first",r.GetLast="string-get-last",r.Append="string-append",r.Prepend="string-prepend",r))(re||{}),X=(r=>(r.Join="list-join",r.Split="list-split",r.DeleteLast="list-delete-last",r.DeleteFirst="list-delete-first",r.DeleteIndex="list-delete-index",r.AddIndex="list-add-index",r.ReplaceFirst="list-replace-first",r.ReplaceLast="list-replace-last",r.ReplaceIndex="list-replace-index",r.ReplaceSingleMatch="list-replace-single-match",r.ReplaceAllMatches="list-replace-all-matches",r.GetIndex="list-get-index",r.GetFirst="list-get-first",r.GetLast="list-get-last",r.Append="list-append",r.Prepend="list-prepend",r))(X||{}),_e=(r=>(r.Parallel="parallel",r.Sequential="sequential",r.Wait="wait",r))(_e||{}),Ve=(r=>(r.CreateNewInstance="create-new-instance",r.Validate="validate",r))(Ve||{}),dt=(r=>(r.HttpRequest="base-http-request",r))(dt||{}),qe=(r=>(r.Equal="equal",r.NotEqual="not-equal",r.And="and",r.Or="or",r.LessThan="less-than",r.MoreThan="more-than",r.LessThanOrEqual="less-than-or-equal",r.MoreThanOrEqual="more-than-or-equal",r))(qe||{}),Jt=(r=>(r.Empty="empty",r.NotEmpty="not-empty",r))(Jt||{}),k=(r=>(r.ManualFlow="manual-flow-loop",r.Counted="counted-loop",r.List="list-loop",r.ObjectKeys="object-keys-loop",r.ObjectValues="object-values-loop",r.String="string-loop",r))(k||{}),A=(r=>(r.FixedArguments="fixed-arguments",r.FixedReturns="fixed-returns",r.ReturnedError="returned-error",r.OngoingProcessExecution="ongoing-process-execution",r.DynamicArgument="dynamic-argument-types",r.DynamicReturn="dynamic-return-types",r))(A||{}),et=(r=>(r.OrDataTypeGroup="or-data-type-group",r.AndDataTypeGroup="and-data-type-group",r))(et||{}),Dn=(r=>(r.PROJECT_PUBLICATION_COMPLETED="GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED",r))(Dn||{}),Gt=(r=>(r.DeletePersistedEntity="base-delete-persisted-entity",r.SoftDeletePersistedEntity="base-soft-delete-persisted-entity",r.AbortExecution="base-abort-execution",r))(Gt||{}),ra=(r=>(r.Error="error",r.Task="task",r.Return="return",r))(ra||{});const Sn=[a.VariableDeclaration,a.VariableInstance,a.InputMap,a.ReturnDeclaration],Ze=[a.VariableDeclaration,a.VariableInstance,a.ArgumentDeclaration,a.OutputMap],up=[...Sn,...Ze],Fe=[a.VariableDeclaration,a.VariableInstance],pp=[a.FunctionDeclaration,a.Condition,a.Loop,a.Operation,a.FunctionCall,a.Search,a.InternalCall,a.GlobalEvent,a.CustomEntity,a.ReturnStatement,a.BreakStatement,a.ContinueStatement,a.VariableDeclaration,a.VariableInstance,a.LiteralValue,a.ActionDescriptor,a.ValueDescriptor,a.Property,a.DataType,a.InstalledProject,a.ArgumentDeclaration,a.InputMap,a.OutputMap,a.ReturnDeclaration],yp=[a.FunctionDeclaration,a.Property,a.ArgumentDeclaration,a.ReturnDeclaration],bl=[a.FunctionCall,a.VariableInstance,a.InputMap,a.OutputMap,a.InternalCall],$P=[...bl,a.Condition,a.Loop,a.Operation,a.Condition],aa=[a.GlobalEvent],Je=[a.Operation,a.FunctionCall,a.Condition,a.Search,a.VariableDeclaration,a.VariableInstance,a.InternalCall,a.Loop],Rl=[a.Operation,a.FunctionCall,a.Condition,a.Search,a.VariableDeclaration,a.VariableInstance,a.Loop],We=[a.FunctionDeclaration,...aa],Xt=[...Je,a.ReturnStatement,a.BreakStatement,a.ContinueStatement],gl=[...Rl,a.ReturnStatement,a.BreakStatement,a.ContinueStatement],on=[...Je,...We],hp=[...Rl,...We],FP=[...Xt,...We],UP=[...gl,...We],pt=[...We,a.Loop],xe=[a.ReturnStatement,a.BreakStatement,a.ContinueStatement],xP=[a.CustomEntity,a.BuiltInBaseEntity,a.Project,a.InstalledProject,a.GlobalEvent,a.DataType,a.FunctionCall,a.FunctionDeclaration,a.ActionDescriptor,a.ValueDescriptor,a.ArgumentDeclaration,a.InputMap,a.ReturnStatement,a.BreakStatement,a.ContinueStatement,a.ReturnDeclaration,a.OutputMap,a.PrimitiveEntity,a.LiteralValue,a.Property,a.Operation,a.Condition,a.VariableDeclaration,a.VariableInstance,a.Search,a.Loop,a.InternalCall],ss=[a.CustomEntity,a.GlobalEvent,a.FunctionDeclaration,a.FunctionCall,a.VariableDeclaration,a.VariableInstance,a.Operation,a.Condition,a.ReturnStatement,a.BreakStatement,a.ContinueStatement,a.InstalledProject,a.Loop,a.Search],fp=[a.CustomEntity,a.FunctionDeclaration,a.ArgumentDeclaration,a.ReturnDeclaration,a.Property,a.VariableDeclaration,a.Search,a.Project,a.InstalledProject,a.ActionDescriptor,a.ValueDescriptor],Jn=[a.BuiltInBaseEntity,a.PrimitiveEntity],mp=[a.CustomEntity,a.FunctionDeclaration,a.ArgumentDeclaration,a.ReturnDeclaration,a.Property,a.VariableDeclaration,a.GlobalEvent,a.Search,a.Project,a.InstalledProject,a.ActionDescriptor,a.ValueDescriptor,a.InputMap,a.OutputMap,a.FunctionCall,a.Operation,a.Condition,a.ReturnStatement,a.BreakStatement,a.ContinueStatement,a.VariableInstance,a.LiteralValue,a.InternalCall];var os=(r=>(r.ActionOngoingProcessOutputValue="action-ongoing-process-output-value-descriptor-id",r))(os||{});const N={[a.PrimitiveEntity]:{[C.String]:{id:"8b5fbe15-4c2b-48c0-9fd8-e5efbe3978dc",properties:{}},[C.Boolean]:{id:"f596545d-1565-4faa-9969-d95fa5edfea4",properties:{}},[C.Number]:{id:"ecb84c29-6153-4b82-86a5-fce2b5f92002",properties:{}},[C.KeyValue]:{id:"b6f3c3c4-9c3d-4f9d-9e9e-1c0f6a3c8c6b",properties:{}},[C.Enum]:{id:"9542b8b4-2642-4eee-9db9-def7963a17a0",properties:{options:{id:"00ccfcae-2104-45ef-bf6c-50ddccd74286",dataType:{id:"7dd59b70-f97b-43a7-a051-fde1842ce5d6",defaultValue:{id:"enum-options-property-data-type-default-value-id"}}}}},[C.UUID]:{id:"4a6234aa-c0f6-4731-b4dd-750388029226",properties:{}},[C.Date]:{id:"dc58f38b-d574-4956-aac6-32ce9529b937",properties:{}},[C.Null]:{id:"7d698f34-5a89-4aab-846b-07ef3843b8c4",properties:{}},[C.Untyped]:{id:"4044a018-818e-49d7-bf9a-c3dd1fff2102",properties:{}}},[a.ValueDescriptor]:{"action-ongoing-process-output-value-descriptor-id":{id:"action-ongoing-process-output-value-descriptor-id",dataType:{id:"process-output-value-data-type-id"}}},[a.BuiltInBaseEntity]:{[U.KEY_VALUE_PARAM]:{id:U.KEY_VALUE_PARAM},[U.HTTP_ENDPOINT]:{id:U.HTTP_ENDPOINT,properties:{method:{id:"http-endpoint-built-in-method-property-id"},path:{id:"http-endpoint-built-in-path-property-id"},cors:{id:"http-endpoint-built-in-cors-property-id"}}},[U.PERSISTED_ENTITY]:{id:U.PERSISTED_ENTITY,properties:{database:{id:"persisted-built-in-base-entity-database-property-id"},primaryKey:{id:"persisted-built-in-base-entity-primary-key-property-id"}}},[U.RELATIONAL_DATABASE]:{id:U.RELATIONAL_DATABASE,properties:{identifier:{id:"relational-database-built-in-base-entity-identifier-property-id"},username:{id:"relational-database-built-in-base-entity-username-property-id"},password:{id:"relational-database-built-in-base-entity-password-property-id"},minSize:{id:"relational-database-built-in-base-entity-min-size-property-id"},default:{id:"relational-database-built-in-base-entity-default-property-id"},autoscaling:{id:"relational-database-built-in-base-entity-autoscaling-property-id"}}},[U.CRON_JOB]:{id:U.CRON_JOB,properties:{expression:{id:"cron-job-built-in-base-entity-expression-property-id"}}}},[a.Operation]:{[re.Join]:{id:re.Join,inputs:{separator:{id:"join-strings-separator-input-id"},first:{id:"join-strings-first-string-input-id"},second:{id:"join-strings-second-string-input-id"},dynamicString:{id:"join-strings-dynamic-string-input-id"}},outputs:{result:{id:"join-strings-result-string-return-delaration-id"},error:{id:"join-strings-error-return-delaration-id"}}},[re.Split]:{id:re.Split,inputs:{stringValue:{id:"split-string-string-input-id"},indexLocation:{id:"split-string-index-input-id"}},outputs:{firstPartResult:{id:"split-string-first-part-result-string-return-delaration-id"},secondPartResult:{id:"split-string-second-part-result-string-return-delaration-id"},error:{id:"split-string-error-return-delaration-id"}}},[Ge.Addition]:{id:Ge.Addition,inputs:{firstSummand:{id:"number-addition-first-summand-number-input-id"},secondSummand:{id:"number-addition-second-summand-number-input-id"},dynamicSummand:{id:"number-addition-dynamic-summand-number-input-id"}},outputs:{result:{id:"number-addition-result-number-return-delaration-id",dataType:{id:"number-addition-result-number-data-type-id"}},error:{id:"number-addition-error-return-delaration-id"}}},[Ge.Subtraction]:{id:Ge.Subtraction,inputs:{minuend:{id:"number-subtraction-minuend-number-input-id"},subtrahend:{id:"number-subtraction-subtrahend-number-input-id"},dynamicSubtrahend:{id:"number-subtraction-dynamic-subtrahend-number-input-id"}},outputs:{result:{id:"number-subtraction-result-number-return-delaration-id",dataType:{id:"number-subtraction-result-number-data-type-id"}},error:{id:"number-subtraction-error-return-delaration-id"}}},[dt.HttpRequest]:{id:dt.HttpRequest,inputs:{url:{id:"http-request-url-input-id"},query:{id:"http-request-query-input-id"},method:{id:"http-request-method-input-id"},headers:{id:"http-request-headers-input-id"},body:{id:"http-request-body-string-input-id"}},outputs:{code:{id:"http-response-code-return-delaration-id"},body:{id:"http-response-body-return-delaration-id"},headers:{id:"http-response-headers-return-delaration-id"},error:{id:"http-request-error-return-delaration-id"}}},[Ve.Validate]:{id:Ve.Validate,inputs:{entityToMatch:{id:"validate-data-entity-to-match-input-id"},dataToValidate:{id:"validate-data-data-to-validate-input-id"}},outputs:{outputEntity:{id:"validate-data-output-entity-return-delaration-id"},error:{id:"validate-data-error-return-delaration-id"}}},[_e.Parallel]:{id:_e.Parallel,inputs:{listOfActions:{id:"parallel-execution-list-of-actions-input-id"}},outputs:{results:{id:"parallel-execution-results-output-id",dataType:{id:"parallel-execution-results-data-type-id"}},error:{id:"parallel-execution-error-output-id"}}}},[a.Loop]:{[k.List]:{id:k.List,inputs:{list:{id:"iterate-over-list-loop-list-input-id"}},outputs:{results:{id:"iterate-over-list-loop-output-id"}},body:{id:"iterate-over-list-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-list-loop-iteration-number-input-id"},currentValue:{id:"iterate-over-list-loop-current-value-input-id"}}}},[k.String]:{id:k.String,inputs:{string:{id:"iterate-over-string-loop-string-input-id"}},outputs:{results:{id:"iterate-over-string-loop-output-id"}},body:{id:"iterate-over-string-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-string-loop-iteration-number-input-id"},currentValue:{id:"iterate-over-string-loop-current-value-input-id"}}}},[k.ObjectKeys]:{id:k.ObjectKeys,inputs:{object:{id:"iterate-over-object-keys-loop-object-input-id"}},outputs:{results:{id:"iterate-over-object-keys-loop-output-id"}},body:{id:"iterate-over-object-keys-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-object-keys-loop-iteration-number-input-id"},currentValue:{id:"iterate-over-object-keys-loop-current-value-input-id"}}}},[k.ObjectValues]:{id:k.ObjectValues,inputs:{object:{id:"iterate-over-object-values-loop-object-input-id"}},outputs:{results:{id:"iterate-over-object-values-loop-output-id"}},body:{id:"iterate-over-object-values-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-object-values-loop-iteration-number-input-id"},currentValue:{id:"iterate-over-object-values-loop-current-value-input-id"}}}},[k.ManualFlow]:{id:k.ManualFlow,inputs:{},outputs:{results:{id:"manual-flow-loop-output-id"}},body:{id:"manual-flow-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-manual-flow-loop-iteration-number-input-id"}}}},[k.Counted]:{id:k.Counted,inputs:{number:{id:"counted-loop-number-input-id"}},outputs:{results:{id:"counted-loop-output-id"}},body:{id:"counted-loop-body-descriptor-id",inputs:{iterationNumber:{id:"counted-loop-iteration-number-input-id"}}}}},[a.Condition]:{[qe.MoreThanOrEqual]:{id:qe.MoreThanOrEqual,inputs:{leftHand:{id:"condition-more-than-or-equal-left-hand-input-id",dataType:{id:"condition-more-than-or-equal-left-hand-data-type-id"}},rightHand:{id:"condition-more-than-or-equal-right-hand-input-id",dataType:{id:"condition-more-than-or-equal-right-hand-data-type-id"}}}},[Jt.NotEmpty]:{id:Jt.NotEmpty,inputs:{leftHand:{id:"condition-not-empty-input-id"}}}},[a.GlobalEvent]:{[Dn.PROJECT_PUBLICATION_COMPLETED]:{id:Dn.PROJECT_PUBLICATION_COMPLETED}}},$t=N[a.PrimitiveEntity],J={type:a.PrimitiveEntity,id:$t.string.id,description:"A string of characters.",version:1,name:C.String,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},On={type:a.PrimitiveEntity,id:$t.boolean.id,description:"A 'true' or 'false' value.",version:1,name:C.Boolean,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},ee={type:a.PrimitiveEntity,id:$t.number.id,description:"A number value.",version:1,name:C.Number,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Tp={type:a.PrimitiveEntity,id:$t.null.id,description:"An explicitly empty value.",version:1,name:C.Null,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},at={type:a.PrimitiveEntity,id:$t.untyped.id,description:"Data of any type that isn't known in advance.",version:1,name:C.Untyped,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Ep={id:"c2f52f01-8f2e-490e-8083-72289c8189c1",type:a.GenericReference,entityId:$t.enum.properties.options.id,entityType:a.Property},bp={id:"4e803941-2e6a-4227-b803-b8877c0d7fee",type:a.GenericReference,entityId:"00ccfcae-2104-45ef-bf6c-50ddccd74286",entityType:a.Property},Rp={like:!1,inferred:!1,id:$t.enum.properties.options.dataType.id,version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:J,asType:!1,parent:bp},gp={id:"a2983c4c-0286-4ef1-8b5c-5a52904d3200",type:a.GenericReference,entityId:"9542b8b4-2642-4eee-9db9-def7963a17a0",entityType:a.PrimitiveEntity},vp={hidden:!1,required:!0,id:$t.enum.properties.options.id,name:"Options",version:1,type:a.Property,private:!1,abstract:!1,implements:null,static:!1,index:0,defaultValue:{id:$t.enum.properties.options.dataType.defaultValue.id,type:a.LiteralValue,version:1,name:C.KeyValue,autogeneration:null,value:[],valueAsType:null,parent:Ep},dataType:Rp,description:"Options for the enum. Each option is a text value.",parent:gp},Pn={type:a.PrimitiveEntity,id:$t.enum.id,description:"A set of text options to choose from.",version:1,name:C.Enum,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[vp],methods:[]},ln={type:a.PrimitiveEntity,id:$t.date.id,description:"A date and time value.",version:1,name:C.Date,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},An={type:a.PrimitiveEntity,id:$t.uuid.id,description:"A unique identifier in the form of a 36-character string.",version:1,name:C.UUID,static:!1,abstract:!1,abstractMethods:[],extends:[J],properties:[],methods:[]},ia={type:a.PrimitiveEntity,id:$t[C.KeyValue].id,description:"A complex data structure with any combination of properties with names and values.",version:1,name:C.KeyValue,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Ip=[J,On,ee,Tp,at,Pn,ln,An,ia],dn=N[a.Operation][Ge.Addition],Dp={type:a.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:dn.inputs.firstSummand.id,entityType:a.ValueDescriptor},Sp={like:!1,inferred:!1,id:"number-addition-first-number-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Dp},Op={type:a.GenericReference,id:"9f486db2-a983-4293-9eef-81d4fc8d2d3e",entityId:dn.inputs.secondSummand.id,entityType:a.ValueDescriptor},Pp={like:!1,inferred:!1,id:"1d4abe83-3e87-4f74-99be-c1fd8c2f8d2d",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Op},Ap={type:a.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:dn.outputs.result.id,entityType:a.ValueDescriptor},Cp={like:!1,inferred:!1,id:dn.outputs.result.dataType.id,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Ap},wp={type:a.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:Ge.Addition,entityType:a.ActionDescriptor},vl={id:dn.inputs.firstSummand.id,type:a.ValueDescriptor,version:1,name:"Summand",description:"The first number to add",defaultValue:null,dataType:Sp,required:!0,parentRelationType:A.FixedArguments,index:0,parent:wp},Bp={type:a.GenericReference,id:"c5015128-4a65-462c-9da0-1c86e83ef897",entityId:Ge.Addition,entityType:a.ActionDescriptor},Il={id:dn.inputs.secondSummand.id,type:a.ValueDescriptor,description:"The second number to add",version:1,name:"Summand",defaultValue:null,dataType:Pp,required:!0,parentRelationType:A.FixedArguments,index:1,parent:Bp},Dl={type:a.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:Ge.Addition,entityType:a.ActionDescriptor},Sl={parentRelationType:A.FixedReturns,id:dn.outputs.result.id,type:a.ValueDescriptor,description:"The result number of the addition",version:1,name:"Result",defaultValue:null,dataType:Cp,required:!0,index:0,parent:Dl},Mp={type:a.GenericReference,id:"number-addition-operation-error-parent-ref",entityId:Ge.Addition,entityType:a.ActionDescriptor},Np={parentRelationType:A.FixedReturns,id:dn.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Mp},_p={type:a.GenericReference,id:"number-addition-operation-dynamic-summand-argument-type-parent-ref",entityId:dn.inputs.dynamicSummand.id,entityType:a.ValueDescriptor},Vp={like:!1,inferred:!1,id:"number-addition-operation-dynamic-summand-argument-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:_p},Lp={parentRelationType:A.DynamicArgument,id:dn.inputs.dynamicSummand.id,type:a.ValueDescriptor,description:"A number to add",version:1,name:"Summand",defaultValue:null,dataType:Vp,required:!0,index:2,parent:Dl},ls={id:Ge.Addition,type:a.ActionDescriptor,description:"Sum numbers",version:1,name:Ge.Addition,inputs:[vl,Il,Lp],error:Np,outputs:[Sl],parent:null},cn=N[a.Operation][Ge.Subtraction],Gp={type:a.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:cn.inputs.minuend.id,entityType:a.ValueDescriptor},$p={like:!1,inferred:!1,id:"number-subtraction-first-number-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Gp},Fp={type:a.GenericReference,id:"9f486db2-a983-4293-9eef-81d4fc8d2d3e",entityId:cn.inputs.subtrahend.id,entityType:a.ValueDescriptor},Up={like:!1,inferred:!1,id:"1d4abe83-3e87-4f74-99be-c1fd8c2f8d2d",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Fp},xp={type:a.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:cn.outputs.result.id,entityType:a.ValueDescriptor},jp={like:!1,inferred:!1,id:cn.outputs.result.dataType.id,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:xp},Ol={type:a.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:Ge.Subtraction,entityType:a.ActionDescriptor},kp={id:cn.inputs.minuend.id,type:a.ValueDescriptor,version:1,name:"Minuend",description:"Base number to substract from",defaultValue:null,dataType:$p,required:!0,parentRelationType:A.FixedArguments,index:0,parent:Ol},qp={type:a.GenericReference,id:"c5015128-4a65-462c-9da0-1c86e83ef897",entityId:Ge.Subtraction,entityType:a.ActionDescriptor},Jp={id:cn.inputs.subtrahend.id,type:a.ValueDescriptor,description:"The second number to substract",version:1,name:"Subtrahend",defaultValue:null,dataType:Up,required:!0,parentRelationType:A.FixedArguments,index:1,parent:qp},Wp={type:a.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:Ge.Subtraction,entityType:a.ActionDescriptor},Yp={parentRelationType:A.FixedReturns,id:cn.outputs.result.id,type:a.ValueDescriptor,description:"The result number of the subtraction",version:1,name:"Result",defaultValue:null,dataType:jp,required:!0,index:0,parent:Wp},Hp={type:a.GenericReference,id:"number-subtraction-operation-error-parent-ref",entityId:Ge.Subtraction,entityType:a.ActionDescriptor},zp={parentRelationType:A.FixedReturns,id:cn.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Hp},Zp={type:a.GenericReference,id:"number-subtraction-operation-dynamic-subtrahend-argument-type-parent-ref",entityId:cn.inputs.dynamicSubtrahend.id,entityType:a.ValueDescriptor},Kp={like:!1,inferred:!1,id:"number-subtraction-operation-dynamic-subtrahend-argument-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Zp},Xp={id:cn.inputs.dynamicSubtrahend.id,type:a.ValueDescriptor,version:1,name:"Subtrahend",description:"A number to substract",defaultValue:null,dataType:Kp,required:!0,parentRelationType:A.DynamicArgument,index:2,parent:Ol},Pl={id:Ge.Subtraction,type:a.ActionDescriptor,description:"Substract numbers",version:1,name:Ge.Subtraction,inputs:[kp,Jp,Xp],error:zp,outputs:[Yp],parent:null},Qp={[Ge.Addition]:ls,[Ge.Subtraction]:Pl},Wt=N[a.Operation][re.Join],ey={type:a.GenericReference,id:"join-strings-first-string-argument-declaration",entityId:Wt.inputs.first.id,entityType:a.ValueDescriptor},ty={like:!1,inferred:!1,id:"join-strings-first-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ey},ny={type:a.GenericReference,id:"join-strings-second-string-argument-declaration",entityId:Wt.inputs.second.id,entityType:a.ValueDescriptor},ry={like:!1,inferred:!1,id:"join-strings-second-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ny},ay={type:a.GenericReference,id:"join-strings-result-string-return-delaration",entityId:Wt.outputs.result.id,entityType:a.ValueDescriptor},iy={like:!1,inferred:!1,id:"join-strings-result-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ay},sy={type:a.GenericReference,id:"join-strings-operation-first-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},ds={id:Wt.inputs.first.id,type:a.ValueDescriptor,version:1,name:"Text",description:"The first text to join to the second one. Its value will be at the beginning of the resulting text.",defaultValue:null,dataType:ty,parentRelationType:A.FixedArguments,required:!0,index:1,parent:sy},oy={type:a.GenericReference,id:"join-strings-first-string-argument-declaration",entityId:Wt.inputs.first.id,entityType:a.ValueDescriptor},ly={type:a.GenericReference,id:"join-strings-separator-string-data-type-default-value-parent-ref",entityId:Wt.inputs.separator.id,entityType:a.ValueDescriptor},dy={type:a.LiteralValue,id:"join-strings-separator-string-data-type-default-value-id",version:1,name:C.String,value:"",valueAsType:null,autogeneration:null,parent:ly},cy={like:!1,inferred:!1,id:"join-strings-separator-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:oy},uy={type:a.GenericReference,id:"join-strings-operation-separator-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},py={id:Wt.inputs.separator.id,type:a.ValueDescriptor,version:1,name:"Separator",description:"The text value that will be inserted between each of the values that are joined.",defaultValue:dy,dataType:cy,parentRelationType:A.FixedArguments,required:!1,index:0,parent:uy},yy={type:a.GenericReference,id:"join-strings-operation-second-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},cs={id:Wt.inputs.second.id,type:a.ValueDescriptor,version:1,name:"Text",description:"The second text to join to the first one. Its value will be at the end of the resulting text.",defaultValue:null,dataType:ry,parentRelationType:A.FixedArguments,required:!0,index:2,parent:yy},hy={type:a.GenericReference,id:"join-strings-operation-result-string-return-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},Za={parentRelationType:A.FixedReturns,id:Wt.outputs.result.id,type:a.ValueDescriptor,version:1,name:"Result",description:"The resulting text value.",defaultValue:null,dataType:iy,required:!0,index:0,parent:hy},fy={type:a.GenericReference,id:"join-strings-operation-error-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},my={parentRelationType:A.FixedReturns,id:Wt.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:fy},Ty={type:a.GenericReference,id:"join-strings-dynamic-string-argument-declaration",entityId:Wt.inputs.dynamicString.id,entityType:a.ValueDescriptor},Ey={like:!1,inferred:!1,id:"join-strings-dynamic-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Ty},by={type:a.GenericReference,id:"join-strings-operation-dynamic-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},Ry={id:Wt.inputs.dynamicString.id,type:a.ValueDescriptor,version:1,name:"Text",description:"Text to join to the previous ones. Its value will be at the end of the resulting text.",defaultValue:null,dataType:Ey,parentRelationType:A.DynamicArgument,required:!0,index:3,parent:by},Ka={id:re.Join,type:a.ActionDescriptor,version:1,name:re.Join,description:"Join text values together, to form a single resulting text value.",inputs:[py,ds,cs,Ry],outputs:[Za],error:my,parent:null},Cn=N[a.Operation][re.Split],gy={type:a.GenericReference,id:"split-string-string-argument-declaration",entityId:Cn.inputs.stringValue.id,entityType:a.ValueDescriptor},vy={like:!1,inferred:!1,id:"split-string-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:gy},Iy={type:a.GenericReference,id:"split-string-index-argument-declaration",entityId:Cn.inputs.indexLocation.id,entityType:a.ValueDescriptor},Dy={like:!1,inferred:!1,id:"split-string-index-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Iy},Sy={type:a.GenericReference,id:"split-string-first-part-result-string-return-delaration",entityId:Cn.outputs.firstPartResult.id,entityType:a.ValueDescriptor},Oy={like:!1,inferred:!1,id:"split-string-first-part-result-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Sy},Py={type:a.GenericReference,id:"split-string-second-part-result-string-return-delaration",entityId:Cn.outputs.secondPartResult.id,entityType:a.ValueDescriptor},Ay={like:!1,inferred:!1,id:"split-string-second-part-result-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Py},Cy={type:a.GenericReference,id:"split-string-operation-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},wy={id:Cn.inputs.stringValue.id,type:a.ValueDescriptor,version:1,name:"Text value",description:"The text value that will be split into two at the given index location.",defaultValue:null,dataType:vy,parentRelationType:A.FixedArguments,required:!0,index:0,parent:Cy},By={type:a.GenericReference,id:"split-string-operation-index-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},My={id:Cn.inputs.indexLocation.id,type:a.ValueDescriptor,version:1,name:"Index location",description:"The index location where the text will be split into two. The text at this index will be the beginning of the second text.",defaultValue:null,dataType:Dy,parentRelationType:A.FixedArguments,required:!0,index:1,parent:By},Ny={type:a.GenericReference,id:"split-string-operation-second-part-result-string-return-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},jP={parentRelationType:A.FixedReturns,id:Cn.outputs.secondPartResult.id,type:a.ValueDescriptor,version:1,name:"Second part",description:"The secont part of the resulting text value.",defaultValue:null,dataType:Ay,required:!0,index:1,parent:Ny},_y={type:a.GenericReference,id:"split-string-operation-first-part-result-string-return-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},Vy={parentRelationType:A.FixedReturns,id:Cn.outputs.firstPartResult.id,type:a.ValueDescriptor,version:1,name:"First part",description:"The first part of the resulting text value.",defaultValue:null,dataType:Oy,required:!0,index:0,parent:_y},Ly={type:a.GenericReference,id:"split-string-operation-error-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},Gy={parentRelationType:A.FixedReturns,id:Cn.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Ly},Al={id:re.Split,type:a.ActionDescriptor,version:1,name:re.Split,description:"Split a text into two, at the given index location.",inputs:[wy,My],outputs:[Vy],error:Gy,parent:null},$y={[re.Join]:Ka,[re.Split]:Al};var Fy=(r=>(r.FirstInputList="join-list-first-list-argument-declaration",r.SecondInputList="join-list-second-list-argument-declaration",r))(Fy||{}),Uy=(r=>(r.ResultList="join-list-result-list-return-delaration",r.Error="join-list-error-return-delaration",r))(Uy||{});const xy={type:a.GenericReference,id:"join-list-operation-first-list-argument-ref",entityId:"join-list-first-list-argument-declaration",entityType:a.ValueDescriptor},jy={like:!1,inferred:!1,id:"join-list-first-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:xy},ky={type:a.GenericReference,id:"join-list-operation-second-list-argument-ref",entityId:"join-list-second-list-argument-declaration",entityType:a.ValueDescriptor},qy={like:!1,inferred:!1,id:"join-list-second-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:ky},Jy={type:a.GenericReference,id:"join-list-operation-result-list-return-ref",entityId:"join-list-result-list-return-delaration",entityType:a.ValueDescriptor},Wy={like:!1,inferred:!1,id:"join-list-result-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Jy},Yy={type:a.GenericReference,id:"join-list-operation-first-list-argument-parent-ref",entityId:X.Join,entityType:a.ActionDescriptor},Hy={id:"join-list-first-list-argument-declaration",type:a.ValueDescriptor,version:1,name:"First value",description:"The first list to join to the second one. Its values will be at the beginning of the resulting list.",defaultValue:null,dataType:jy,parentRelationType:A.FixedArguments,required:!0,index:0,parent:Yy},zy={type:a.GenericReference,id:"join-list-operation-second-list-argument-parent-ref",entityId:X.Join,entityType:a.ActionDescriptor},Zy={id:"join-list-second-list-argument-declaration",type:a.ValueDescriptor,version:1,name:"Second value",description:"The second list to join to the first one. Its values will be at the end of the resulting list.",defaultValue:null,dataType:qy,parentRelationType:A.FixedArguments,required:!0,index:1,parent:zy},Ky={type:a.GenericReference,id:"join-list-operation-result-list-return-parent-ref",entityId:X.Join,entityType:a.ActionDescriptor},Xy={parentRelationType:A.FixedReturns,id:"join-list-result-list-return-delaration",type:a.ValueDescriptor,version:1,name:"Result",description:"The resulting list value.",defaultValue:null,dataType:Wy,required:!0,index:0,parent:Ky},Qy={type:a.GenericReference,id:"join-list-operation-error-parent-ref",entityId:X.Join,entityType:a.ActionDescriptor},eh={parentRelationType:A.FixedReturns,id:"join-list-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Qy},Cl={id:X.Join,type:a.ActionDescriptor,version:1,name:X.Join,description:"Join two lists together, to form a single resulting list value.",inputs:[Hy,Zy],error:eh,outputs:[Xy],parent:null};var th=(r=>(r.InputList="list-to-split-argument-declaration",r.SplitIndex="split-list-index-argument-declaration",r))(th||{}),nh=(r=>(r.FirstOutputList="split-list-first-output-list-return-delaration",r.SecondOutputList="split-list-second-output-list-return-delaration",r.Error="split-list-error-return-delaration",r))(nh||{});const rh={type:a.GenericReference,id:"split-list-operation-input-list-argument-ref",entityId:"list-to-split-argument-declaration",entityType:a.ValueDescriptor},ah={like:!1,inferred:!1,id:"split-list-operation-input-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:rh},ih={type:a.GenericReference,id:"split-list-operation-split-index-argument-ref",entityId:"split-list-index-argument-declaration",entityType:a.ValueDescriptor},sh={like:!1,inferred:!1,id:"split-list-operation-split-index-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ih},wl={type:a.GenericReference,id:"split-list-operation-first-output-list-return-ref",entityId:"split-list-first-output-list-return-delaration",entityType:a.ValueDescriptor},oh={like:!1,inferred:!1,id:"split-list-operation-first-output-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:wl},lh={type:a.GenericReference,id:"split-list-operation-input-list-argument-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},dh={id:"list-to-split-argument-declaration",type:a.ValueDescriptor,version:1,name:"List to split",description:"The list to split at the given index",defaultValue:null,dataType:ah,parentRelationType:A.FixedArguments,required:!0,index:0,parent:lh},ch={type:a.GenericReference,id:"split-list-operation-split-index-argument-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},uh={id:"split-list-index-argument-declaration",type:a.ValueDescriptor,version:1,name:"Split location",description:"The index at which to split the list. The value at this index will be the first value of the second list.",defaultValue:null,dataType:sh,parentRelationType:A.FixedArguments,required:!0,index:1,parent:ch},ph={type:a.GenericReference,id:"split-list-operation-first-output-list-return-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},yh={parentRelationType:A.FixedReturns,id:"split-list-first-output-list-return-delaration",type:a.ValueDescriptor,version:1,name:"First list",description:"The list of values up to the split index",defaultValue:null,dataType:oh,required:!0,index:0,parent:ph},hh={like:!1,inferred:!1,id:"split-list-operation-second-output-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:wl},fh={type:a.GenericReference,id:"split-list-operation-second-output-list-return-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},mh={parentRelationType:A.FixedReturns,id:"split-list-second-output-list-return-delaration",type:a.ValueDescriptor,version:1,name:"Second list",description:"The list of values up to the split index",defaultValue:null,dataType:hh,required:!0,index:0,parent:fh},Th={type:a.GenericReference,id:"split-list-operation-error-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},Eh={parentRelationType:A.FixedReturns,id:"split-list-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Th},Bl={id:X.Split,type:a.ActionDescriptor,version:1,name:X.Split,description:"Splits a given list at the given index, and returns two lists, one with the values up to the index, and the other with the values after the index",inputs:[dh,uh],outputs:[yh,mh],error:Eh,parent:null};var bh=(r=>(r.InputList="get-last-in-list-input-list-argument-declaration",r))(bh||{}),Rh=(r=>(r.OutputElement="get-last-in-list-output-element-return-delaration",r.Error="get-last-in-list-error-return-delaration",r))(Rh||{});const gh={type:a.GenericReference,id:"get-last-in-list-operation-input-list-argument-ref",entityId:"get-last-in-list-input-list-argument-declaration",entityType:a.ValueDescriptor},vh={like:!1,inferred:!1,id:"get-last-in-list-input-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:gh},Ih={type:a.GenericReference,id:"get-last-in-list-operation-output-element-return-ref",entityId:"get-last-in-list-output-element-return-delaration",entityType:a.ValueDescriptor},Dh={like:!1,inferred:!1,id:"get-last-in-list-output-element-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Ih},Sh={type:a.GenericReference,id:"get-last-in-list-operation-input-list-argument-parent-ref",entityId:X.GetLast,entityType:a.ActionDescriptor},Oh={id:"get-last-in-list-input-list-argument-declaration",type:a.ValueDescriptor,version:1,name:"List",description:"The list to get the last element from.",defaultValue:null,dataType:vh,parentRelationType:A.FixedArguments,required:!0,index:0,parent:Sh},Ph={type:a.GenericReference,id:"get-last-in-list-operation-output-element-return-parent-ref",entityId:X.GetLast,entityType:a.ActionDescriptor},Ah={parentRelationType:A.FixedReturns,id:"get-last-in-list-output-element-return-delaration",type:a.ValueDescriptor,version:1,name:"Last element",description:"The last element of the given list.",defaultValue:null,dataType:Dh,required:!0,index:0,parent:Ph},Ch={type:a.GenericReference,id:"get-last-in-list-operation-error-parent-ref",entityId:X.GetLast,entityType:a.ActionDescriptor},wh={parentRelationType:A.FixedReturns,id:"get-last-in-list-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Ch},Ml={id:X.GetLast,type:a.ActionDescriptor,version:1,name:X.GetLast,description:"Outputs the last element of a given list.",inputs:[Oh],outputs:[Ah],error:wh,parent:null};var Bh=(r=>(r.List="append-to-list-lsit-argument-declaration",r.ElementToAppend="append-to-list-element-to-append-argument-declaration",r))(Bh||{}),Mh=(r=>(r.ResultList="append-to-list-result-list-return-delaration",r.Error="append-to-list-error-return-delaration",r))(Mh||{});const Nh={type:a.GenericReference,id:"append-to-list-operation-lsit-argument-ref",entityId:"append-to-list-lsit-argument-declaration",entityType:a.ValueDescriptor},_h={like:!1,inferred:!1,id:"append-to-list-lsit-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Nh},Vh={type:a.GenericReference,id:"append-to-list-operation-second-list-argument-ref",entityId:"append-to-list-element-to-append-argument-declaration",entityType:a.ValueDescriptor},Lh={like:!1,inferred:!1,id:"append-to-list-second-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Vh},Gh={type:a.GenericReference,id:"append-to-list-operation-result-list-return-ref",entityId:"append-to-list-result-list-return-delaration",entityType:a.ValueDescriptor},$h={like:!1,inferred:!1,id:"append-to-list-result-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Gh},Fh={type:a.GenericReference,id:"append-to-list-operation-lsit-argument-parent-ref",entityId:X.Append,entityType:a.ActionDescriptor},Nl={id:"append-to-list-lsit-argument-declaration",type:a.ValueDescriptor,version:1,name:"List value",description:"The list to which the element will be appended",defaultValue:null,dataType:_h,parentRelationType:A.FixedArguments,required:!0,index:0,parent:Fh},Uh={type:a.GenericReference,id:"append-to-list-operation-second-list-argument-parent-ref",entityId:X.Append,entityType:a.ActionDescriptor},_l={id:"append-to-list-element-to-append-argument-declaration",type:a.ValueDescriptor,version:1,name:"Element",description:"The element that will be added at the end of the list",defaultValue:null,dataType:Lh,parentRelationType:A.FixedArguments,required:!0,index:1,parent:Uh},xh={type:a.GenericReference,id:"append-to-list-operation-result-list-return-parent-ref",entityId:X.Append,entityType:a.ActionDescriptor},jh={parentRelationType:A.FixedReturns,id:"append-to-list-result-list-return-delaration",type:a.ValueDescriptor,version:1,name:"Result",description:"The resulting list value.",defaultValue:null,dataType:$h,required:!0,index:0,parent:xh},kh={type:a.GenericReference,id:"append-to-list-operation-error-parent-ref",entityId:X.Append,entityType:a.ActionDescriptor},qh={parentRelationType:A.FixedReturns,id:"append-to-list-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:kh},us={id:X.Append,type:a.ActionDescriptor,version:1,name:X.Append,description:"Adds a given element to the end of a list value.",inputs:[Nl,_l],error:qh,outputs:[jh],parent:null},Jh={[X.Join]:Cl,[X.Split]:Bl,[X.GetLast]:Ml,[X.Append]:us},sa=N[a.Operation][_e.Parallel],Wh={id:"parallel-execution-list-of-functions-blueprint-dynamic-output-id",type:a.ValueDescriptor,version:1,name:"Any output value",description:"An output value of any type, to be used in the action to be executed.",defaultValue:null,dataType:null,required:!1,index:0,parent:null,parentRelationType:A.DynamicArgument},Yh={id:"parallel-execution-list-of-functions-blueprint-dynamic-input-id",type:a.ValueDescriptor,version:1,name:"Any input value",description:"An input value of any type, to be used in the action to be executed.",defaultValue:null,dataType:null,required:!1,index:0,parent:null,parentRelationType:A.DynamicArgument},Hh={id:"parallel-execution-list-of-functions-blueprint-id",type:a.ActionDescriptor,version:1,name:"Action to execute",description:"An action of any type, to be executed. It can contain any number of inputs and outputs.",inputs:[Yh],outputs:[Wh],error:null,parent:null},zh={type:a.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:sa.inputs.listOfActions.id,entityType:a.ValueDescriptor},Zh={like:!1,inferred:!1,id:"parallel-execution-list-of-functions-argument-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Hh,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:zh},Kh={type:a.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:sa.outputs.results.id,entityType:a.ValueDescriptor},Xh={like:!1,inferred:!1,id:sa.outputs.results.dataType.id,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Kh},Qh={type:a.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:_e.Parallel,entityType:a.ActionDescriptor},Vl={id:sa.inputs.listOfActions.id,type:a.ValueDescriptor,version:1,name:"Actions to execute",description:"A value, of a list of actions to be executed in parallel",dataType:Zh,defaultValue:null,required:!0,index:0,parent:Qh,parentRelationType:A.FixedArguments},ef={type:a.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:_e.Parallel,entityType:a.ActionDescriptor},Ll={id:sa.outputs.results.id,type:a.ValueDescriptor,version:1,name:"List of execution results",description:"Each execution result, in the same order as the input list of actions. One item on this list for each executed action.",dataType:Xh,defaultValue:null,required:!0,index:0,parent:ef,parentRelationType:A.FixedReturns},tf={type:a.GenericReference,id:"parallel-execution-operation-error-parent-ref",entityId:_e.Parallel,entityType:a.ActionDescriptor},nf={id:sa.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:tf,parentRelationType:A.ReturnedError},Qt={id:_e.Parallel,type:a.ActionDescriptor,description:"Execute a list of actions in parallel",version:1,name:_e.Parallel,inputs:[Vl],outputs:[Ll],error:nf,parent:null};var rf=(r=>(r.MillisecondsNumber="wait-milliseconds-number-argument-declaration",r))(rf||{}),af=(r=>(r.Error="wait-operation-error-return-delaration",r))(af||{});const sf={type:a.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityType:a.ValueDescriptor,entityId:"wait-milliseconds-number-argument-declaration"},of={like:!1,inferred:!1,id:"wait-milliseconds-number-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:sf},lf={type:a.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityType:a.ActionDescriptor,entityId:_e.Wait},yr={id:"wait-milliseconds-number-argument-declaration",type:a.ValueDescriptor,version:1,name:"Milliseconds to wait",description:"The amount of milliseconds to wait before calling the next entity",defaultValue:null,dataType:of,required:!0,index:0,parent:lf,parentRelationType:A.FixedArguments},df={type:a.GenericReference,id:"wait-operation-error-parent-ref",entityId:_e.Wait,entityType:a.ActionDescriptor},cf={id:"wait-operation-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:df,parentRelationType:A.ReturnedError},bt={id:_e.Wait,type:a.ActionDescriptor,description:"Wait for the given amount of milliseconds before calling the next entity",version:1,name:_e.Wait,inputs:[yr],outputs:[],error:cf,parent:null};var uf=(r=>(r.ListOfFunctions="sequential-execution-list-of-functions-argument-declaration",r))(uf||{}),pf=(r=>(r.ListOfExecutionResults="sequential-execution-result-return-delaration",r.Error="sequential-execution-error-return-delaration",r))(pf||{});const yf={id:"sequential-execution-list-of-functions-blueprint-dynamic-output-id",type:a.ValueDescriptor,version:1,name:"Any output value",description:"An output value of any type, to be used in the action to be executed.",defaultValue:null,dataType:null,required:!1,index:0,parent:null,parentRelationType:A.DynamicArgument},hf={id:"sequential-execution-list-of-functions-blueprint-dynamic-input-id",type:a.ValueDescriptor,version:1,name:"Any input value",description:"An input value of any type, to be used in the action to be executed.",defaultValue:null,dataType:null,required:!1,index:0,parent:null,parentRelationType:A.DynamicArgument},ff={id:"sequential-execution-list-of-functions-blueprint-id",type:a.ActionDescriptor,version:1,name:"Action to execute",description:"An action of any type, to be executed. It can contain any number of inputs and outputs.",inputs:[hf],outputs:[yf],error:null,parent:null},mf={type:a.GenericReference,id:"parallel-execution-list-of-functions-argument-declaration-id",entityId:"sequential-execution-list-of-functions-argument-declaration",entityType:a.ValueDescriptor},Tf={like:!1,inferred:!1,id:"sequential-execution-list-of-functions-argument-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ff,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:mf},Ef={type:a.GenericReference,id:"sequential-execution-list-of-execution-results-return-declaration-id",entityId:"sequential-execution-result-return-delaration",entityType:a.ValueDescriptor},bf={like:!1,inferred:!1,id:"sequential-execution-list-of-execution-results-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Ef},Rf={type:a.GenericReference,id:"parallel-execution-operation-list-of-functions-argument-parent-ref",entityId:_e.Sequential,entityType:a.ActionDescriptor},Gl={id:"sequential-execution-list-of-functions-argument-declaration",type:a.ValueDescriptor,version:1,name:"Actions to execute",description:"A value, of a list of actions to be executed in parallel",defaultValue:null,dataType:Tf,required:!0,index:0,parent:Rf,parentRelationType:A.FixedArguments},gf={type:a.GenericReference,id:"parallel-execution-operation-list-of-execution-results-return-parent-ref",entityId:_e.Sequential,entityType:a.ActionDescriptor},$l={id:"sequential-execution-result-return-delaration",type:a.ValueDescriptor,version:1,name:"List of execution results",description:"Each execution result, in the same order as the input list of actions. One item on this list for each executed action.",defaultValue:null,dataType:bf,required:!0,index:0,parent:gf,parentRelationType:A.FixedReturns},vf={type:a.GenericReference,id:"sequential-execution-operation-error-parent-ref",entityId:_e.Sequential,entityType:a.ActionDescriptor},If={id:"sequential-execution-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:vf,parentRelationType:A.ReturnedError},wn={id:_e.Sequential,type:a.ActionDescriptor,description:"Execute a list of actions one after the other",version:1,name:_e.Sequential,inputs:[Gl],outputs:[$l],error:If,parent:null},Df={[_e.Parallel]:Qt,[_e.Wait]:bt,[_e.Sequential]:wn};var Sf=(r=>(r.EntityToInstanciate="entity-to-instanciate-argument-declaration",r.NewEntityData="new-entity-data-argument-declaration",r))(Sf||{}),Of=(r=>(r.Error="create-new-instance-error-return-delaration",r))(Of||{});const Pf={type:a.GenericReference,id:"new-entity-data-argument-declaration-parent-ref",entityId:Ve.CreateNewInstance,entityType:a.ActionDescriptor},Af={type:a.GenericReference,id:"new-entity-data-argument-data-type-parent-ref",entityId:"new-entity-data-argument-declaration",entityType:a.ValueDescriptor},Cf={like:!1,inferred:!1,id:"new-entity-data-argument-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Af},wf={id:"new-entity-data-argument-declaration",type:a.ValueDescriptor,version:1,name:"Data for new entity",description:"The data to be used to create the new entity, with all the required properties",dataType:Cf,required:!0,defaultValue:null,parentRelationType:A.FixedArguments,index:1,parent:Pf},Bf={type:a.GenericReference,id:"entity-to-instanciate-argument-declaration-ref",entityType:a.ValueDescriptor,entityId:"entity-to-instanciate-argument-declaration"},Mf={like:!1,inferred:!1,id:"entity-to-instanciate-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!0,isNullable:!1,constant:!1,parent:Bf},Nf={type:a.GenericReference,id:"create-new-instance-operation-ref",entityType:a.ActionDescriptor,entityId:Ve.CreateNewInstance},_f={id:"entity-to-instanciate-argument-declaration",type:a.ValueDescriptor,version:1,name:"Entity to create a new copy of",description:"The entity of which a new copy will to be created",defaultValue:null,dataType:Mf,required:!0,parentRelationType:A.FixedArguments,index:0,parent:Nf},Vf={type:a.GenericReference,id:"create-new-instance-output-entity-declaration-parent-ref",entityId:Ve.CreateNewInstance,entityType:a.ActionDescriptor},Lf={parentRelationType:A.FixedReturns,id:"create-new-instance-output-entity-declaration",type:a.ValueDescriptor,version:1,name:"Created entity",description:"The entity that was created",defaultValue:null,dataType:null,parent:Vf,required:!0,index:0},Gf={type:a.GenericReference,id:"create-new-instance-error-parent-ref",entityId:Ve.CreateNewInstance,entityType:a.ActionDescriptor},$f={parentRelationType:A.FixedReturns,id:"create-new-instance-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Gf},hr={id:Ve.CreateNewInstance,type:a.ActionDescriptor,description:"Creates a new copy of a given entity, with the given values for each property, or default values if a value is not provided",version:1,name:Ve.CreateNewInstance,inputs:[_f,wf],outputs:[Lf],error:$f,parent:null},oa=N[a.Operation][Ve.Validate],Ff={type:a.GenericReference,id:"validate-data-operation-data-to-validate-argument-declaration-ref",entityType:a.ValueDescriptor,entityId:oa.inputs.dataToValidate.id},Uf={like:!1,inferred:!1,id:"validate-data-operation-data-to-validate-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Ff},xf={type:a.GenericReference,id:"validate-data-operation-data-to-validate-argument-parent-ref",entityType:a.ActionDescriptor,entityId:Ve.Validate},jf={id:oa.inputs.dataToValidate.id,type:a.ValueDescriptor,version:1,name:"Data to validate",description:"The value to validate against the given entity type",defaultValue:null,dataType:Uf,required:!0,parentRelationType:A.FixedArguments,index:0,parent:xf},kf={type:a.GenericReference,id:"validate-data-operation-entity-to-match-type-argument-declaration-ref",entityType:a.ValueDescriptor,entityId:oa.inputs.entityToMatch.id},qf={like:!1,inferred:!1,id:"validate-data-operation-entity-to-match-type-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!0,isNullable:!1,constant:!1,parent:kf},Jf={type:a.GenericReference,id:"validate-data-operation-entity-to-match-type-argument-parent-ref",entityType:a.ActionDescriptor,entityId:Ve.Validate},Wf={id:oa.inputs.entityToMatch.id,type:a.ValueDescriptor,version:1,name:"Entity to match",description:"The entity to match the data against",dataType:qf,defaultValue:null,required:!0,index:0,parentRelationType:A.FixedArguments,parent:Jf},Yf={type:a.GenericReference,id:"validate-data-operation-output-entity-declaration-parent-ref",entityId:Ve.Validate,entityType:a.ActionDescriptor},Hf={id:oa.outputs.outputEntity.id,type:a.ValueDescriptor,version:1,dataType:null,name:"Output value",description:"A value with the type of the entity that was validated",defaultValue:null,parent:Yf,required:!0,index:0,parentRelationType:A.FixedReturns},zf={type:a.GenericReference,id:"wait-operation-error-parent-ref",entityId:Ve.Validate,entityType:a.ActionDescriptor},Zf={id:oa.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",dataType:null,defaultValue:null,required:!0,index:1,parent:zf,parentRelationType:A.ReturnedError},fr={id:Ve.Validate,type:a.ActionDescriptor,description:"Validates the given data to see if it matches the structure of a given type/entity",version:1,name:Ve.Validate,inputs:[Wf,jf],outputs:[Hf],error:Zf,parent:null},Kf={[Ve.CreateNewInstance]:hr,[Ve.Validate]:fr},Qe=N[a.Operation]["base-http-request"],Xf={type:a.GenericReference,id:"d87cf943-57e1-4d19-9f05-190fa8c8ebc4",entityType:a.ValueDescriptor,entityId:Qe.inputs.url.id},Qf={id:"http-request-url-default-value-id",type:a.LiteralValue,version:1,value:"https://some-url.com",name:C.String,valueAsType:null,parent:Xf,autogeneration:null},em={type:a.GenericReference,id:"aed50d73-eab5-42ce-b00e-7f5c45a9026f",entityId:Qe.inputs.url.id,entityType:a.ValueDescriptor},tm={like:!1,inferred:!1,id:"0deb4ef7-d739-4ddc-a4d6-50bd6fababe3",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:em},nm={type:a.GenericReference,id:"c3145af6-3387-464a-8887-272e483c856d",entityId:Qe.inputs.query.id,entityType:a.ValueDescriptor},rm={like:!1,inferred:!1,id:"2a5ba737-6335-4cc4-a2c0-16dca4052fac",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:nm},am={type:a.GenericReference,id:"075556b7-e468-48f7-8485-7159eaf389b2",entityType:a.ValueDescriptor,entityId:Qe.inputs.method.id},im={id:"http-request-method-default-value-id",type:a.LiteralValue,version:1,value:"GET",name:C.Enum,valueAsType:null,parent:am,autogeneration:null},sm={type:a.GenericReference,id:"aed647c8-a1b5-4cfc-9a3d-97887a567a80",entityId:Qe.inputs.method.id,entityType:a.ValueDescriptor},om={like:!1,inferred:!1,id:"6df7ec2b-5dbd-44af-896b-17b314e88560",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Pn,isList:!1,asType:!1,isNullable:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],constant:!1,parent:sm},lm={type:a.GenericReference,id:"77203dfa-d2f6-4804-9556-e1cce46228f3",entityId:Qe.inputs.headers.id,entityType:a.ValueDescriptor},dm={like:!1,inferred:!1,id:"2c8a2a07-69c6-40ad-b5c9-f0dc4d5955ce",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:lm},cm={type:a.GenericReference,id:"03db68a0-7ab6-4c6a-85b6-f4b95ebb53ff",entityId:Qe.inputs.body.id,entityType:a.ValueDescriptor},um={like:!1,inferred:!1,id:"0397876c-ed54-4ee9-85a4-04fd16dad973",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:cm},pm={type:a.GenericReference,id:"182f767f-50e8-4394-ba5f-43e78c232733",entityType:a.ValueDescriptor,entityId:Qe.outputs.code.id},ym={like:!1,inferred:!1,id:"45e6d0bc-0c0e-4059-a7a1-6bee925d73d0",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:pm},hm={type:a.GenericReference,id:"2baaa53a-9aef-4bd1-b06d-967c17b7b627",entityType:a.ValueDescriptor,entityId:Qe.outputs.headers.id},fm={type:a.GenericReference,id:"69f34d6c-c686-4165-b6ff-70dae8e1778b",entityType:a.ValueDescriptor,entityId:Qe.outputs.headers.id},mm={like:!1,inferred:!1,id:"dac63bfa-640d-4f4e-ba0f-86c2401bcfbe",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:fm},Tm={type:a.GenericReference,id:"744334e0-5135-4214-85d0-809437cb620b",entityType:a.ValueDescriptor,entityId:Qe.outputs.body.id},Em={type:a.GenericReference,id:"0e0e20df-1a46-432c-ba01-fd96508a6a61",entityType:a.ValueDescriptor,entityId:Qe.outputs.body.id},bm={like:!1,inferred:!1,id:"05fc1a5d-151a-479a-9c4e-4063f3456177",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Em},Rm={type:a.GenericReference,id:"26911792-f707-4bf1-b6f7-03d04a84232c",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},ps={id:Qe.inputs.method.id,type:a.ValueDescriptor,description:"A single word that represents the type of request you want to make. For example: GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD, TRACE, CONNECT, CUSTOM",version:1,name:"Method",defaultValue:im,dataType:om,required:!1,index:0,parentRelationType:A.FixedArguments,parent:Rm},gm={type:a.GenericReference,id:"eee0c501-0ae6-4448-b914-aada76d63163",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},ys={id:Qe.inputs.url.id,type:a.ValueDescriptor,description:"The base domain, or address where the request is being sent to. For example: https://some-url.com",version:1,name:"URL",dataType:tm,defaultValue:Qf,required:!1,index:1,parentRelationType:A.FixedArguments,parent:gm},vm={type:a.GenericReference,id:"670091a4-21b1-4223-ad4c-b6dada0aec49",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},Fl={id:Qe.inputs.query.id,type:a.ValueDescriptor,description:"A text with standarized format, without spaces that is added at the end of the URL path, after the ? character. It contains data that might be used to process the request. For example: /api/users?name=John&age=30",version:1,name:"Query Params",defaultValue:null,dataType:rm,required:!1,index:2,parentRelationType:A.FixedArguments,parent:vm},Im={type:a.GenericReference,id:"85aad3eb-22fe-45f9-b68c-1dc7061f41e0",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},hs={id:Qe.inputs.headers.id,type:a.ValueDescriptor,description:"A set of any properties, with names and values that represent metadata about the request, such as the server, date, content type, and more, that you want to send alongside your request data.",version:1,name:"Headers",defaultValue:null,dataType:dm,required:!1,index:3,parent:Im,parentRelationType:A.FixedArguments},Dm={type:a.GenericReference,id:"c3e2a4af-9b84-4574-8b30-5044ffc51776",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},fs={id:Qe.inputs.body.id,type:a.ValueDescriptor,description:"The main data payload of the request. This is the data that you want to send to the server. It could be anything, but it is usually a KeyValue data structure or a text value.",version:1,name:"Body",dataType:um,defaultValue:null,required:!1,index:4,parentRelationType:A.FixedArguments,parent:Dm},Sm={type:a.GenericReference,id:"92e04dc7-2145-4a31-908e-03810f7235e8",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},ms={id:Qe.outputs.code.id,type:a.ValueDescriptor,description:'A standardized status code of the response. It is a 3-digit number that represents the response status. For example, 200 means "OK", 404 means "Not Found", and 500 means "Internal Server Error".',version:1,name:"Code",defaultValue:null,dataType:ym,required:!0,index:0,parentRelationType:A.FixedReturns,parent:Sm},Om={type:a.GenericReference,id:"86aca556-bbf1-4679-9909-31db61b288e2",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},Ts={parentRelationType:A.FixedReturns,id:Qe.outputs.headers.id,type:a.ValueDescriptor,description:"A set of any properties, with names and value that the server sent back to you. It represents metadata about the response, such as the server, date, content type, and more.",version:1,name:"Headers",defaultValue:{id:"http-response-headers-default-value-id",type:a.LiteralValue,version:1,value:{},name:C.KeyValue,parent:hm,valueAsType:null,autogeneration:null},dataType:mm,required:!0,index:1,parent:Om},Pm={type:a.GenericReference,id:"ccf3d1be-04e4-4d03-99fd-5bc1e1919f90",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},Es={id:Qe.outputs.body.id,type:a.ValueDescriptor,description:"The main data payload of the response. This is the data that the server sent back to you. It could be anything, but it is usually a KeyValue data structure or a text value.",version:1,name:"Body",parentRelationType:A.FixedReturns,dataType:bm,defaultValue:{id:"http-response-body-default-value-id",type:a.LiteralValue,version:1,value:{},name:C.KeyValue,parent:Tm,valueAsType:null,autogeneration:null},required:!0,index:2,parent:Pm},Am={type:a.GenericReference,id:"21487ffc-82b9-473d-bc19-6e7d7c480ed7",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},Cm={type:a.GenericReference,id:"ad69861b-32f7-4461-b7f7-aa84a82578d9",entityType:a.ValueDescriptor,entityId:Qe.outputs.error.id},wm={like:!1,inferred:!1,id:"5da68b15-57bc-40c1-b79f-a9075e0f22c1",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Cm},Ul={parentRelationType:A.ReturnedError,id:Qe.outputs.error.id,type:a.ValueDescriptor,description:"Http request error, if any. Contains a payload describing what went wrong.",version:1,name:"Error",defaultValue:null,dataType:wm,required:!0,index:0,parent:Am},Xa={type:a.ActionDescriptor,id:dt.HttpRequest,name:dt.HttpRequest,description:"Make an HTTP request, out to the internet, to a given URL with the specified method, query parameters, headers, and body.",version:1,inputs:[ps,ys,Fl,hs,fs],outputs:[ms,Ts,Es],error:Ul,parent:null},Bm={[dt.HttpRequest]:Xa},Mm={...$y,...Qp,...Jh,...Df,...Kf,...Bm},Nm=Object.values(Mm),kP=N[a.Loop]["manual-flow-loop"],_m={id:"manual-flow-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ManualFlow,entityType:a.ActionDescriptor},Vm={id:kP.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:_m,parentRelationType:A.DynamicReturn},bs={id:k.ManualFlow,type:a.ActionDescriptor,version:1,name:k.ManualFlow,description:"A loop that is manually controlled by the continue and break statements. It runs until the break statement is called, and it can skip to the next iteration with the continue statement.",inputs:[],outputs:[Vm],error:null,parent:null},Qa=N[a.Loop]["manual-flow-loop"],Lm={id:"manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"manual-flow-loop-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},Gm={like:!1,inferred:!1,id:"manual-flow-loop-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:Lm},$m={id:"manual-flow-loop-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:Qa.body.id,entityType:a.ActionDescriptor},xl={id:Qa.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the manual flow loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:Gm,required:!0,index:0,parentRelationType:A.FixedArguments,parent:$m},Fm={id:"manual-flow-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:Qa.body.id,entityType:a.ActionDescriptor},Um={id:"manual-flow-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:1,parentRelationType:A.DynamicArgument,parent:Fm},xm={id:"manual-flow-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:Qa.body.id,entityType:a.ActionDescriptor},jm={id:"manual-flow-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:xm},jl={id:Qa.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the manual flow loop.",inputs:[xl,Um],outputs:[jm],error:null,parent:null},km=N[a.Loop]["string-loop"],qm={id:"iterate-over-string-loop-string-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-string-loop-string-argument-declaration-id",entityType:a.ValueDescriptor},Jm={like:!1,inferred:!1,id:"iterate-over-string-loop-string-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:J,asType:!1,parent:qm},Wm={id:"iterate-over-string-loop-string-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.String,entityType:a.ActionDescriptor},Ym={id:km.inputs.string.id,type:a.ValueDescriptor,version:1,name:"Texts",description:"The text to iterate over the characters of",defaultValue:null,required:!0,dataType:Jm,index:0,parent:Wm,parentRelationType:A.FixedArguments},Hm={id:"iterate-over-string-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.String,entityType:a.ActionDescriptor},zm={id:km.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:Hm,parentRelationType:A.DynamicReturn},ei={id:k.String,type:a.ActionDescriptor,version:1,name:k.String,description:"Iterates over a string of entities",inputs:[Ym],outputs:[zm],error:null,parent:null},mr=N[a.Loop]["string-loop"],Zm={id:"iterate-over-string-loop-body-current-value-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-string-loop-body-current-value-declaration-id",entityType:a.ValueDescriptor},Km={like:!1,inferred:!1,id:"iterate-over-string-loop-body-current-value-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:J,asType:!1,parent:Zm},Xm={id:"iterate-over-string-loop-body-current-value-declaration-parent-ref-id",type:a.GenericReference,entityId:mr.body.id,entityType:a.ActionDescriptor},kl={id:mr.body.inputs.currentValue.id,type:a.ValueDescriptor,version:1,name:"Current value",description:"The current value in the string that is being iterated over. This value is passed to the child actions.",defaultValue:null,dataType:Km,required:!0,index:1,parentRelationType:A.FixedArguments,parent:Xm},Qm={id:"iterate-over-string-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-string-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},eT={like:!1,inferred:!1,id:"iterate-over-string-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:Qm},tT={id:"iterate-over-string-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:mr.body.id,entityType:a.ActionDescriptor},ql={id:mr.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the string loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:eT,required:!0,index:0,parentRelationType:A.FixedArguments,parent:tT},nT={id:"iterate-over-string-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:mr.body.id,entityType:a.ActionDescriptor},rT={id:"iterate-over-string-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:2,parentRelationType:A.DynamicArgument,parent:nT},aT={id:"iterate-over-string-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:mr.body.id,entityType:a.ActionDescriptor},iT={id:"iterate-over-string-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:aT},Jl={id:mr.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the string loop.",inputs:[ql,kl,rT],outputs:[iT],error:null,parent:null},sT=N[a.Loop]["list-loop"],oT={id:"iterate-over-list-loop-list-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-list-loop-list-argument-declaration-id",entityType:a.ValueDescriptor},lT={like:!1,inferred:!1,id:"iterate-over-list-loop-list-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!0,isNullable:!1,constant:!1,entity:null,asType:!1,parent:oT},dT={id:"iterate-over-list-loop-list-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.List,entityType:a.ActionDescriptor},cT={id:sT.inputs.list.id,type:a.ValueDescriptor,version:1,name:"List",description:"The list to iterate over",required:!0,defaultValue:null,dataType:lT,index:0,parent:dT,parentRelationType:A.FixedArguments},uT={id:"iterate-over-list-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.List,entityType:a.ActionDescriptor},pT={id:sT.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",required:!1,defaultValue:null,dataType:null,index:0,parent:uT,parentRelationType:A.DynamicReturn},Wn={id:k.List,type:a.ActionDescriptor,version:1,name:k.List,description:"Iterates over a list of entities",inputs:[cT],outputs:[pT],error:null,parent:null},Tr=N[a.Loop]["list-loop"],yT={id:"iterate-over-list-loop-body-current-value-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-list-loop-body-current-value-declaration-id",entityType:a.ValueDescriptor},hT={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-value-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:null,asType:!1,parent:yT},fT={id:"iterate-over-list-loop-body-current-value-declaration-parent-ref-id",type:a.GenericReference,entityId:Tr.body.id,entityType:a.ActionDescriptor},Rs={id:Tr.body.inputs.currentValue.id,type:a.ValueDescriptor,version:1,name:"Current value",description:"The current value in the list that is being iterated over. This value is passed to the child actions.",defaultValue:null,dataType:hT,required:!0,index:1,parentRelationType:A.FixedArguments,parent:fT},mT={id:"iterate-over-list-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-list-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},TT={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:mT},ET={id:"iterate-over-list-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:Tr.body.id,entityType:a.ActionDescriptor},bT={id:Tr.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the list loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:TT,required:!0,index:0,parentRelationType:A.FixedArguments,parent:ET},RT={id:"iterate-over-list-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:Tr.body.id,entityType:a.ActionDescriptor},gT={id:"iterate-over-list-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:2,parentRelationType:A.DynamicArgument,parent:RT},vT={id:"iterate-over-list-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:Tr.body.id,entityType:a.ActionDescriptor},IT={id:"iterate-over-list-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:vT},gs={id:Tr.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the list loop.",inputs:[bT,Rs,gT],outputs:[IT],error:null,parent:null},DT=N[a.Loop]["object-keys-loop"],ST={id:"iterate-over-object-keys-loop-object-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-keys-loop-object-argument-declaration-id",entityType:a.ValueDescriptor},OT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-object-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:at,asType:!1,parent:ST},PT={id:"iterate-over-object-keys-loop-object-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ObjectKeys,entityType:a.ActionDescriptor},AT={id:DT.inputs.object.id,type:a.ValueDescriptor,version:1,name:"Object",description:"The object to iterate over",required:!0,defaultValue:null,dataType:OT,index:0,parent:PT,parentRelationType:A.FixedArguments},CT={id:"iterate-over-object-keys-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ObjectKeys,entityType:a.ActionDescriptor},wT={id:DT.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:CT,parentRelationType:A.DynamicReturn},la={id:k.ObjectKeys,type:a.ActionDescriptor,version:1,name:k.ObjectKeys,description:"Iterates over a object of entities",inputs:[AT],outputs:[wT],error:null,parent:null},Er=N[a.Loop]["object-keys-loop"],BT={id:"iterate-over-object-keys-loop-body-current-value-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-keys-loop-body-current-value-declaration-id",entityType:a.ValueDescriptor},MT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-body-current-value-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:J,asType:!1,parent:BT},NT={id:"iterate-over-object-keys-loop-body-current-value-declaration-parent-ref-id",type:a.GenericReference,entityId:Er.body.id,entityType:a.ActionDescriptor},Wl={id:Er.body.inputs.currentValue.id,type:a.ValueDescriptor,version:1,name:"Current value",description:"The current value in the object-keys that is being iterated over. This value is passed to the child actions.",defaultValue:null,dataType:MT,required:!0,index:1,parentRelationType:A.FixedArguments,parent:NT},_T={id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},VT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:_T},LT={id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:Er.body.id,entityType:a.ActionDescriptor},GT={id:Er.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the object-keys loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:VT,required:!0,index:0,parentRelationType:A.FixedArguments,parent:LT},$T={id:"iterate-over-object-keys-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:Er.body.id,entityType:a.ActionDescriptor},FT={id:"iterate-over-object-keys-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:2,parentRelationType:A.DynamicArgument,parent:$T},UT={id:"iterate-over-object-keys-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:Er.body.id,entityType:a.ActionDescriptor},xT={id:"iterate-over-object-keys-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:UT},jT={id:Er.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the object-keys loop.",inputs:[GT,Wl,FT],outputs:[xT],error:null,parent:null},kT=N[a.Loop]["object-values-loop"],qT={id:"iterate-over-object-values-loop-object-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-values-loop-object-argument-declaration-id",entityType:a.ValueDescriptor},JT={like:!1,inferred:!1,id:"iterate-over-object-values-loop-object-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:at,asType:!1,parent:qT},WT={id:"iterate-over-object-values-loop-object-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ObjectValues,entityType:a.ActionDescriptor},YT={id:kT.inputs.object.id,type:a.ValueDescriptor,version:1,name:"Object",description:"The object to iterate over",required:!0,defaultValue:null,dataType:JT,index:0,parent:WT,parentRelationType:A.FixedArguments},HT={id:"iterate-over-object-values-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ObjectValues,entityType:a.ActionDescriptor},zT={id:kT.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:HT,parentRelationType:A.DynamicReturn},da={id:k.ObjectValues,type:a.ActionDescriptor,version:1,name:k.ObjectValues,description:"Iterates over a object of entities",inputs:[YT],outputs:[zT],error:null,parent:null},br=N[a.Loop]["object-values-loop"],ZT={id:"iterate-over-object-values-loop-body-current-value-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-values-loop-body-current-value-declaration-id",entityType:a.ValueDescriptor},KT={id:"iterate-over-object-values-loop-body-current-value-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:null,isNullable:!1,constant:!1,entity:null,asType:null,like:!1,inferred:!1,parent:ZT},XT={id:"iterate-over-object-values-loop-body-current-value-declaration-parent-ref-id",type:a.GenericReference,entityId:br.body.id,entityType:a.ActionDescriptor},Yl={id:br.body.inputs.currentValue.id,type:a.ValueDescriptor,version:1,name:"Current value",description:"The current value in the object-values that is being iterated over. This value is passed to the child actions.",defaultValue:null,dataType:KT,required:!0,index:1,parentRelationType:A.FixedArguments,parent:XT},QT={id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-values-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},eE={like:!1,inferred:!1,id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:QT},tE={id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:br.body.id,entityType:a.ActionDescriptor},nE={id:br.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the object-values loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:eE,required:!0,index:0,parentRelationType:A.FixedArguments,parent:tE},rE={id:"iterate-over-object-values-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:br.body.id,entityType:a.ActionDescriptor},aE={id:"iterate-over-object-values-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:2,parentRelationType:A.DynamicArgument,parent:rE},iE={id:"iterate-over-object-values-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:br.body.id,entityType:a.ActionDescriptor},sE={id:"iterate-over-object-values-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:iE},oE={id:br.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the object-values loop.",inputs:[nE,Yl,aE],outputs:[sE],error:null,parent:null},Hl=N[a.Loop]["counted-loop"],lE={id:"counted-loop-string-argument-declaration-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:Hl.inputs.number.id,entityType:a.ValueDescriptor},dE={id:"counted-loop-string-argument-declaration-data-type-default-value-id",type:a.LiteralValue,name:C.Number,version:1,value:5,valueAsType:null,autogeneration:null,parent:lE},cE={id:"counted-loop-string-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"counted-loop-string-argument-declaration-id",entityType:a.ValueDescriptor},uE={like:!1,inferred:!1,id:"counted-loop-string-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:cE},pE={id:"counted-loop-string-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.Counted,entityType:a.ActionDescriptor},yE={id:Hl.inputs.number.id,type:a.ValueDescriptor,version:1,name:"Number of iterations",description:"The number of iterations to perform",required:!0,dataType:uE,defaultValue:dE,index:0,parent:pE,parentRelationType:A.FixedArguments},hE={id:"counted-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.Counted,entityType:a.ActionDescriptor},fE={id:Hl.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:hE,parentRelationType:A.DynamicReturn},ti={id:k.Counted,type:a.ActionDescriptor,version:1,name:k.Counted,description:"Iterates a given number of times",inputs:[yE],outputs:[fE],error:null,parent:null},ni=N[a.Loop]["counted-loop"],mE={id:"counted-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"counted-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},TE={like:!1,inferred:!1,id:"counted-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:mE},EE={id:"counted-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:ni.body.id,entityType:a.ActionDescriptor},zl={id:ni.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the string loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:TE,required:!0,index:0,parentRelationType:A.FixedArguments,parent:EE},bE={id:"counted-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:ni.body.id,entityType:a.ActionDescriptor},RE={id:"counted-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:1,parentRelationType:A.DynamicArgument,parent:bE},gE={id:"counted-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:ni.body.id,entityType:a.ActionDescriptor},vE={id:"counted-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:gE},Zl={id:ni.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the string loop.",inputs:[zl,RE],outputs:[vE],error:null,parent:null},IE=[bs,Wn,ei,la,da,ti],Yn=N[a.BuiltInBaseEntity][U.HTTP_ENDPOINT].properties,DE={id:"endpointBuiltInCorsPropertyDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:Yn.cors.id},SE={id:"endpointBuiltInCorsPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:Yn.cors.id},OE={like:!1,inferred:!1,id:"endpointBuiltInCorsPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!0,entity:J,asType:!1,parent:SE},PE={id:"endpointBuiltInBaseEntityRef",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},AE={hidden:!0,required:!0,id:Yn.cors.id,name:"Allowed origins",version:1,type:a.Property,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:OE,defaultValue:{id:"endpointBuiltInCorsPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:["*"],parent:DE,autogeneration:null,valueAsType:null},description:"The origins that are allowed to access this endpoint, use * for all origins, or http://example.com/* to be as specific as you need.",parent:PE},CE={id:"endpointBuiltInPathPropertyDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:Yn.path.id},wE={id:"endpointBuiltInPathPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:Yn.path.id},BE={like:!1,inferred:!1,id:"endpointBuiltInPathPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:wE},ME={id:"endpointBuiltInBaseEntityRefTwo",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},Kl={id:Yn.path.id,hidden:!1,required:!0,name:"Path",version:1,type:a.Property,private:!1,abstract:!0,implements:null,static:!0,index:1,dataType:BE,defaultValue:{id:"endpointBuiltInPathPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.String,value:"/",parent:CE,autogeneration:null,valueAsType:null},description:"Path to the endpoint, for example /api/users, or /api/users/{id}, or /api/users/{id}/:name. The path can contain parameters, which are defined by curly braces, and will be passed to the endpoint event as variables with the same name.",parent:ME},NE={id:"endpointBuiltInMethodPropertyDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:Yn.method.id},_E={id:"endpointBuiltInMethodPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:"endpointBuiltInMethodProperty"},VE={like:!1,inferred:!1,id:"endpointBuiltInMethodPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Pn,isList:!0,isNullable:!1,constant:!0,asType:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],parent:_E},LE={id:"endpointBuiltInBaseEntityRefThree",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},Xl={hidden:!1,required:!0,id:Yn.method.id,name:"Method",version:1,type:a.Property,private:!1,index:2,implements:null,defaultValue:{id:"endpointBuiltInMethodPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,value:"GET",name:C.Enum,parent:NE,autogeneration:null,valueAsType:null},abstract:!0,static:!0,dataType:VE,description:"The HTTP method that this endpoint will respond to, for example GET, POST, PUT, DELETE, etc.",parent:LE},GE={id:"endpointRequestHeadersVariableDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:"endpointRequestHeadersArgumentDeclaration"},$E={id:"endpointRequestHeadersArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"endpointRequestHeadersArgumentDeclaration"},FE={like:!1,inferred:!1,id:"endpointRequestHeadersVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:at,asType:!1,parent:$E},UE={id:"endpointRequestBodyArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"endpointRequestBodyArgumentDeclaration"},xE={like:!1,inferred:!1,id:"endpointRequestBodyVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:at,parent:UE},jE={id:"endpointRequestQueryParamsVariableDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:"endpointRequestQueryParamsArgumentDeclaration"},kE={id:"endpointRequestQueryParamsArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"endpointRequestQueryParamsArgumentDeclaration"},qE={like:!1,inferred:!1,id:"endpointRequestQueryParamsVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,asType:!1,entity:ia,parent:kE},JE={id:"endpointPathParamsVariableDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:"endpointPathParamsArgumentDeclaration"},WE={id:"endpointPathParamsArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"endpointPathParamsArgumentDeclaration"},YE={like:!1,inferred:!1,id:"endpointPathParamsVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:ia,asType:!1,parent:WE},HE={id:"endpointReachedTriggerActionDescriptorRef",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},Ql={id:"endpointRequestHeadersArgumentDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the request.",type:a.ValueDescriptor,name:"Request headers",dataType:FE,defaultValue:{id:"endpointRequestHeadersVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:GE,autogeneration:null,valueAsType:null},required:!0,index:0,parentRelationType:A.FixedArguments,parent:HE},zE={id:"endpointReachedTriggerActionDescriptorRefTwo",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},ed={id:"endpointPathParamsArgumentDeclaration",type:a.ValueDescriptor,description:"A standarized text, without spaces that is added at the end of the domain and routes the request to a specific resource within the target server. For example: /api/users/123, /api/users/123/:name, /api/users/123/:name/:age.",version:1,name:"Path parameters",dataType:YE,defaultValue:{id:"endpointPathParamsVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:[],parent:JE,autogeneration:null,valueAsType:null},required:!0,index:1,parentRelationType:A.FixedArguments,parent:zE},ZE={id:"endpointReachedTriggerActionDescriptorRefThree",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},td={id:"endpointRequestQueryParamsArgumentDeclaration",version:1,description:"A text with standarized format, without spaces that is added at the end of the URL path, after the ? character. It contains data that might be used to process the request. For example: /api/users?name=John&age=30",type:a.ValueDescriptor,name:"Request query params",dataType:qE,defaultValue:{id:"endpointRequestQueryParamsVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:[],parent:jE,autogeneration:null,valueAsType:null},required:!0,index:2,parentRelationType:A.FixedArguments,parent:ZE},KE={id:"endpointReachedTriggerActionDescriptorRefFour",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},nd={id:"endpointRequestBodyArgumentDeclaration",version:1,description:"The main data payload of the request.",type:a.ValueDescriptor,name:"Request body",dataType:xE,defaultValue:null,index:3,required:!0,parentRelationType:A.FixedArguments,parent:KE},XE={id:"endpointResponseCodeReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"endpointResponseCodeReturnDeclaration"},QE={like:!1,inferred:!1,id:"9ba575b0-6f8e-436d-a3de-3b843622aa17",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:XE},eb={id:"endpointReturnStatementRef",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReturnStatement"},rd={id:"endpointResponseCodeReturnDeclaration",version:1,description:"A standarized number that represents the status of the response. 200 for OK, 404 for not found, 500 for server error, etc.",type:a.ValueDescriptor,name:"Response code",dataType:QE,defaultValue:null,required:!0,index:0,parentRelationType:A.FixedReturns,parent:eb},tb={id:"endpointResponseHeadersDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:"endpointResponseHeadersReturnDeclaration"},nb={id:"endpointResponseHeadersReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"endpointResponseHeadersReturnDeclaration"},rb={like:!1,inferred:!1,id:"endpointResponseHeadersDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:at,asType:!1,parent:nb},ab={id:"endpointReturnStatementRefTwo",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReturnStatement"},ad={id:"endpointResponseHeadersReturnDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the response.",type:a.ValueDescriptor,name:"Response headers",dataType:rb,defaultValue:{id:"endpointResponseHeadersDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:tb,autogeneration:null,valueAsType:null},required:!1,index:1,parentRelationType:A.FixedReturns,parent:ab},ib={id:"endpointResponseBodyReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"endpointResponseBodyReturnDeclaration"},sb={like:!1,inferred:!1,id:"endpointResponseBodyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:at,parent:ib},ob={id:"endpointReturnStatementRefThree",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReturnStatement"},id={id:"endpointResponseBodyReturnDeclaration",version:1,description:"The main data payload of the response.",type:a.ValueDescriptor,name:"Response body",dataType:sb,defaultValue:null,required:!1,index:2,parentRelationType:A.FixedReturns,parent:ob},lb={id:"endpointBuiltInBaseEntityRefFour",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},sd={id:"endpointReachedTriggerActionDescriptor",type:a.ActionDescriptor,version:1,name:"Endpoint reached",description:"Fired when the endpoint is reached.",inputs:[Ql,ed,td,nd],outputs:[rd,ad,id],error:null,parent:lb},ri={id:U.HTTP_ENDPOINT,version:1,description:"An HTTP endpoint that can be reached by a client from the internet.",name:U.HTTP_ENDPOINT,type:a.BuiltInBaseEntity,interactive:!1,abstract:!0,static:!0,properties:[AE,Kl,Xl],abstractMethods:[sd],extends:[],methods:[]},ct=N[a.BuiltInBaseEntity].BUILT_IN_RELATIONAL_DATABASE_ENTITY,db={id:"relational-database-built-in-base-entity-identifier-property-data-type-ref-id",type:a.GenericReference,entityId:ct.properties.identifier.id,entityType:a.Property},cb={id:"relational-database-built-in-base-entity-identifier-property-ref-id",type:a.GenericReference,entityId:ct.properties.identifier.id,entityType:a.Property},ub={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-identifier-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:cb},ca={id:"relational-database-built-in-base-entity-ref-id",type:a.GenericReference,entityId:U.PERSISTED_ENTITY,entityType:a.BuiltInBaseEntity},vs={id:ct.properties.identifier.id,hidden:!1,required:!0,name:"Identifier name",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:0,defaultValue:{id:"relational-database-built-in-base-entity-identifier-property-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:null,parent:db,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:ub,description:"The name of the main database inside of the server instance where the data will be stored.",parent:ca},qP={id:"relational-database-built-in-base-entity-username-property-data-type-ref-id",type:a.GenericReference,entityId:"relational-database-built-in-base-entity-username-property-data-type-idd",entityType:a.Property},pb={id:"relational-database-built-in-base-entity-username-property-ref-id",type:a.GenericReference,entityId:ct.properties.username.id,entityType:a.Property},yb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-username-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:pb},Is={hidden:!1,required:!0,id:ct.properties.username.id,name:"Username",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:1,defaultValue:{id:"relational-database-built-in-base-entity-username-property-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"postgres",parent:{id:"relational-database-built-in-base-entity-username-property-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:ct.properties.username.id,entityType:a.Property},autogeneration:null,valueAsType:null},dataType:yb,description:"The username that will be used to connect to the database.",parent:ca},JP={id:"relational-database-built-in-base-entity-password-property-data-type-ref-id",type:a.GenericReference,entityId:"relational-database-built-in-base-entity-password-property-data-type-id",entityType:a.Property},hb={id:"relational-database-built-in-base-entity-password-property-ref-id",type:a.GenericReference,entityId:ct.properties.password.id,entityType:a.Property},fb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-password-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:hb},Ds={hidden:!1,required:!0,id:ct.properties.password.id,name:"Password",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:2,defaultValue:null,dataType:fb,description:"The password that will be used to connect to the database.",parent:ca},mb={id:"relational-database-built-in-base-entity-min-size-property-data-type-ref-id",type:a.GenericReference,entityId:ct.properties.minSize.id,entityType:a.Property},Tb={id:"relational-database-built-in-base-entity-min-size-property-ref-id",type:a.GenericReference,entityId:ct.properties.minSize.id,entityType:a.Property},Eb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-min-size-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:Tb},Ss={hidden:!0,required:!0,id:ct.properties.minSize.id,name:"Minimum GB size",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:3,defaultValue:{id:"relational-database-built-in-base-entity-min-size-property-default-value-id",type:a.LiteralValue,version:1,name:C.Number,value:6,parent:mb,autogeneration:null,valueAsType:null},dataType:Eb,description:"The minimum size of the database in GB.",parent:ca},bb={id:"relational-database-built-in-base-entity-default-property-data-type-ref-id",type:a.GenericReference,entityId:ct.properties.default.id,entityType:a.Property},Rb={id:"relational-database-built-in-base-entity-default-property-ref-id",type:a.GenericReference,entityId:ct.properties.default.id,entityType:a.Property},gb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-default-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:On,asType:!1,parent:Rb},od={hidden:!0,required:!0,id:ct.properties.default.id,name:"Default",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:4,defaultValue:{id:"relational-database-built-in-base-entity-default-property-default-value-id",type:a.LiteralValue,version:1,name:C.Boolean,value:!1,parent:bb,autogeneration:null,valueAsType:null},dataType:gb,description:"If true, this database will be the default database for the server instance and all the new entities.",parent:ca},vb={id:"relational-database-built-in-base-entity-autoscaling-property-ref-id",type:a.GenericReference,entityId:ct.properties.autoscaling.id,entityType:a.Property},Ib={id:"relational-database-built-in-base-entity-autoscaling-property-data-type-ref-id",type:a.GenericReference,entityId:ct.properties.autoscaling.id,entityType:a.Property},Db={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-autoscaling-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:On,asType:!1,parent:vb},Sb={id:"relational-database-built-in-base-entity-autoscaling-property-parent-ref-id",type:a.GenericReference,entityId:U.PERSISTED_ENTITY,entityType:a.BuiltInBaseEntity},ld={hidden:!0,required:!0,id:ct.properties.autoscaling.id,name:"Auto-scaling",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:4,defaultValue:{id:"relational-database-built-in-base-entity-autoscaling-property-default-value-id",type:a.LiteralValue,version:1,name:C.Boolean,value:!1,parent:Ib,autogeneration:null,valueAsType:null},dataType:Db,description:"If true, this database will automatically scale up or down in memory size, based on the usage.",parent:Sb},un={id:U.RELATIONAL_DATABASE,version:1,description:"This entity provisions a relational database in the cloud.",name:U.RELATIONAL_DATABASE,type:a.BuiltInBaseEntity,abstract:!0,static:!0,interactive:!1,properties:[vs,Is,Ds,Ss,od,ld],abstractMethods:[],methods:[],extends:[]},Ob={type:a.GenericReference,entityId:"persisted-built-in-base-entity-ref-id",entityType:a.BuiltInBaseEntity,id:Gt.DeletePersistedEntity},dd={type:a.FunctionDeclaration,id:Gt.DeletePersistedEntity,name:Gt.DeletePersistedEntity,description:"Permanently deletes the current copy of an entity from the database",version:1,parent:Ob,inputs:[],calls:[],implements:null,collapsed:!1,returnStatements:[],index:0,private:!1,x:0,y:0},Pb=N[a.BuiltInBaseEntity][U.PERSISTED_ENTITY].properties,WP={id:"persisted-built-in-base-entity-database-property-data-type-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-database-property-data-type-id",entityType:a.DataType},Ab={id:"persisted-built-in-base-entity-database-property-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-database-property-id",entityType:a.Property},Cb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:un,asType:!1,parent:Ab},wb={id:"persisted-built-in-base-entity-database-property-parent-ref-id",type:a.GenericReference,entityId:U.PERSISTED_ENTITY,entityType:a.BuiltInBaseEntity},ua={hidden:!0,required:!0,id:Pb.database.id,name:"Database",version:1,type:a.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:Cb,description:"The database that the entity belongs to.",parent:wb},Bb={id:"persisted-built-in-base-entity-primary-key-property-number-data-type-option-parent-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:a.DataType},Mb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-number-data-type-option-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parentRelationType:et.OrDataTypeGroup,parent:Bb},Nb={id:"persisted-built-in-base-entity-primary-key-property-string-data-type-option-parent-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:a.DataType},_b={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-string-data-type-option-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parentRelationType:et.OrDataTypeGroup,parent:Nb},Vb={id:"persisted-built-in-base-entity-primary-key-property-uuid-data-type-option-parent-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:a.DataType},Lb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-uuid-data-type-option-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parentRelationType:et.OrDataTypeGroup,parent:Vb},Gb={id:"persisted-built-in-base-entity-primary-key-property-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-id",entityType:a.Property},$b={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:[Lb,_b,Mb],isList:!1,isNullable:!1,constant:!0,entity:null,asType:null,implementationChooseOne:!0,parent:Gb},Fb={id:"persisted-built-in-base-entity-primary-key-property-parent-ref-id",type:a.GenericReference,entityId:U.PERSISTED_ENTITY,entityType:a.BuiltInBaseEntity},pa={hidden:!1,required:!0,id:Pb.primaryKey.id,name:"Primary key",version:1,type:a.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!1,index:0,dataType:$b,description:"A property with a unique value for the entity, that can be used to identify the entity among other entities of the same type.",parent:Fb},st={id:U.PERSISTED_ENTITY,version:1,description:"An entity that is permanently stored in the database and can be accessed at any point.",name:U.PERSISTED_ENTITY,type:a.BuiltInBaseEntity,abstract:!0,static:!1,interactive:!0,abstractMethods:[],properties:[ua,pa],methods:[dd],extends:[]},Ub={type:a.GenericReference,entityId:"persisted-built-in-base-entity-ref-id",entityType:a.BuiltInBaseEntity,id:Gt.SoftDeletePersistedEntity},YP={type:a.FunctionDeclaration,id:Gt.SoftDeletePersistedEntity,name:Gt.SoftDeletePersistedEntity,description:"Designates the entity as deleted, but does not remove it from the database.",version:1,parent:Ub,inputs:[],calls:[],implements:null,collapsed:!1,returnStatements:[],index:0,private:!1,x:0,y:0},xb={id:"cron-job-triggered-function-declaration-blueprint-parent-ref-id",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},cd={id:"cron-job-triggered-function-declaration-blueprint-id",name:"Cron job triggered",version:1,type:a.ActionDescriptor,description:"Executed when the cron job is triggered",inputs:[],error:null,outputs:[],parent:xb},jb=N[a.BuiltInBaseEntity].BUILT_IN_CRON_JOB_ENTITY,HP={id:"cron-job-built-in-base-entity-expression-property-data-type-ref",type:a.GenericReference,entityId:"cron-job-built-in-base-entity-expression-property-data-type",entityType:a.DataType},kb={id:"cron-job-built-in-base-entity-expression-property-ref",type:a.GenericReference,entityId:jb.properties.expression.id,entityType:a.Property},zP={like:!1,inferred:!1,id:"cron-job-built-in-base-entity-expression-property-data-type",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:kb},qb={id:"cron-job-built-in-base-entity-ref",type:a.GenericReference,entityId:U.CRON_JOB,entityType:a.BuiltInBaseEntity},Jb={hidden:!1,required:!0,id:jb.properties.expression.id,name:"Cron expression",version:1,type:a.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:zP,description:"The cron-job expression that defines when the cron-job job should be triggered. The expression should be in the format of a cron-job expression.",parent:qb},Os={id:U.CRON_JOB,version:1,description:"This entity represents a scheduled trigger. The action on this entity will be executed one the time set by the cron-job expression is reached.",name:U.CRON_JOB,type:a.BuiltInBaseEntity,abstract:!0,static:!0,interactive:!1,properties:[Jb],methods:[],abstractMethods:[cd],extends:[]},Wb={type:a.GenericReference,id:"execution-built-in-entity-abort-method-parent-ref-id",entityType:a.BuiltInBaseEntity,entityId:"execution-built-in-entity-id"},ud={id:"execution-built-in-entity-abort-method-id",type:a.FunctionDeclaration,version:1,name:Gt.AbortExecution,description:"Aborts the execution of the entity",inputs:[],returnStatements:[],calls:[],implements:null,private:!1,collapsed:!1,index:null,x:0,y:0,parent:Wb},Ps={id:U.EXECUTION,type:a.BuiltInBaseEntity,version:1,name:U.EXECUTION,description:"A reference to an ongoing execution of any entity that can be called. Eg: Operations, custom trigger calls, etc.",static:!1,abstract:!1,interactive:!0,extends:[],properties:[],methods:[ud],abstractMethods:[]},Yb=[ri,un,st,Os,Ps],ZP=N[a.Condition]["not-empty"],Hb={type:a.GenericReference,id:"not-empty-condition-ref",entityType:a.ActionDescriptor,entityId:Jt.NotEmpty},zb={id:ZP.inputs.leftHand.id,type:a.ValueDescriptor,version:1,name:"Value",description:"The value to check if it is not empty",defaultValue:null,dataType:null,required:!0,parentRelationType:A.FixedArguments,index:0,parent:Hb},Rr={type:a.ActionDescriptor,id:Jt.NotEmpty,version:1,name:Jt.NotEmpty,description:"Checks if the value is not empty",parent:null,inputs:[zb],outputs:[],error:null},Zb={[Jt.NotEmpty]:Rr},ya=N[a.Condition]["more-than-or-equal"],Kb={type:a.GenericReference,id:"more-than-or-equal-condition-left-hand-argument-data-type-parent-ref",entityType:a.ValueDescriptor,entityId:ya.inputs.leftHand.id},Xb={type:a.DataType,id:ya.inputs.leftHand.dataType.id,version:1,entity:ee,like:!1,isList:!1,inferred:!1,andChildrenGroup:null,orChildrenGroup:null,isNullable:!1,constant:!1,asType:!1,parent:Kb},Qb={type:a.GenericReference,id:"more-than-or-equal-condition-left-hand-argument-parent-ref",entityType:a.ActionDescriptor,entityId:qe.MoreThanOrEqual},eR={id:ya.inputs.leftHand.id,type:a.ValueDescriptor,version:1,name:"First value",description:"The first value to compare",defaultValue:null,dataType:Xb,required:!0,parentRelationType:A.FixedArguments,index:0,parent:Qb},tR={type:a.GenericReference,id:"more-than-or-equal-condition-right-hand-argument-data-type-parent-ref",entityType:a.ValueDescriptor,entityId:ya.inputs.rightHand.id},nR={type:a.DataType,id:ya.inputs.rightHand.dataType.id,version:1,entity:ee,like:!1,isList:!1,inferred:!1,andChildrenGroup:null,orChildrenGroup:null,isNullable:!1,constant:!1,asType:!1,parent:tR},rR={type:a.GenericReference,id:"more-than-or-equal-condition-right-hand-argument-parent-ref",entityType:a.ActionDescriptor,entityId:qe.MoreThanOrEqual},aR={id:ya.inputs.rightHand.id,type:a.ValueDescriptor,version:1,name:"Second value",description:"The second value to compare",defaultValue:null,dataType:nR,required:!0,parentRelationType:A.FixedArguments,index:1,parent:rR},ha={type:a.ActionDescriptor,id:qe.MoreThanOrEqual,version:1,name:qe.MoreThanOrEqual,description:"Checks if the value is not empty",parent:null,inputs:[eR,aR],outputs:[],error:null},iR={[qe.MoreThanOrEqual]:ha},sR={...Zb,...iR},oR=Object.values(sR),As={type:a.ActionDescriptor,id:Dn.PROJECT_PUBLICATION_COMPLETED,version:1,name:Dn.PROJECT_PUBLICATION_COMPLETED,description:"The event that is triggered when the project has completed its publication and all its code and resurces are now deployed and ready to be used by the users",parent:null,inputs:[],outputs:[],error:null},lR={[Dn.PROJECT_PUBLICATION_COMPLETED]:As},dR=Object.values(lR),pd=N[a.ValueDescriptor][os.ActionOngoingProcessOutputValue],cR={type:a.GenericReference,id:"182f767f-50e8-4394-ba5f-43e78c232733",entityType:a.ValueDescriptor,entityId:pd.id},uR={like:!1,inferred:!1,id:pd.dataType.id,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ps,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:cR},Cs={id:pd.id,type:a.ValueDescriptor,description:"A value that represents the ongoing process of the parent action",version:1,name:"Process",defaultValue:null,dataType:uR,required:!0,index:0,parent:null,parentRelationType:A.OngoingProcessExecution},pR=[Cs],yR=[...Ip,...Nm,...IE,...Yb,...oR,...dR,...pR];var le;(function(r){r.assertEqual=i=>i;function e(i){}r.assertIs=e;function t(i){throw new Error}r.assertNever=t,r.arrayToEnum=i=>{const s={};for(const o of i)s[o]=o;return s},r.getValidEnumValues=i=>{const s=r.objectKeys(i).filter(l=>typeof i[i[l]]!="number"),o={};for(const l of s)o[l]=i[l];return r.objectValues(o)},r.objectValues=i=>r.objectKeys(i).map(function(s){return i[s]}),r.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const s=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&s.push(o);return s},r.find=(i,s)=>{for(const o of i)if(s(o))return o},r.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function n(i,s=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(s)}r.joinValues=n,r.jsonStringifyReplacer=(i,s)=>typeof s=="bigint"?s.toString():s})(le||(le={}));var yd;(function(r){r.mergeShapes=(e,t)=>({...e,...t})})(yd||(yd={}));const x=le.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Hn=r=>{switch(typeof r){case"undefined":return x.undefined;case"string":return x.string;case"number":return isNaN(r)?x.nan:x.number;case"boolean":return x.boolean;case"function":return x.function;case"bigint":return x.bigint;case"symbol":return x.symbol;case"object":return Array.isArray(r)?x.array:r===null?x.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?x.promise:typeof Map<"u"&&r instanceof Map?x.map:typeof Set<"u"&&r instanceof Set?x.set:typeof Date<"u"&&r instanceof Date?x.date:x.object;default:return x.unknown}},V=le.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),KP=r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:");class wt extends Error{constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(s){return s.message},n={_errors:[]},i=s=>{for(const o of s.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)n._errors.push(t(o));else{let l=n,p=0;for(;p<o.path.length;){const u=o.path[p];p===o.path.length-1?(l[u]=l[u]||{_errors:[]},l[u]._errors.push(t(o))):l[u]=l[u]||{_errors:[]},l=l[u],p++}}};return i(this),n}static assert(e){if(!(e instanceof wt))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,le.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){const t={},n=[];for(const i of this.issues)i.path.length>0?(t[i.path[0]]=t[i.path[0]]||[],t[i.path[0]].push(e(i))):n.push(e(i));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}wt.create=r=>new wt(r);const fa=(r,e)=>{let t;switch(r.code){case V.invalid_type:r.received===x.undefined?t="Required":t=`Expected ${r.expected}, received ${r.received}`;break;case V.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(r.expected,le.jsonStringifyReplacer)}`;break;case V.unrecognized_keys:t=`Unrecognized key(s) in object: ${le.joinValues(r.keys,", ")}`;break;case V.invalid_union:t="Invalid input";break;case V.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${le.joinValues(r.options)}`;break;case V.invalid_enum_value:t=`Invalid enum value. Expected ${le.joinValues(r.options)}, received '${r.received}'`;break;case V.invalid_arguments:t="Invalid function arguments";break;case V.invalid_return_type:t="Invalid function return type";break;case V.invalid_date:t="Invalid date";break;case V.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(t=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?t=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?t=`Invalid input: must end with "${r.validation.endsWith}"`:le.assertNever(r.validation):r.validation!=="regex"?t=`Invalid ${r.validation}`:t="Invalid";break;case V.too_small:r.type==="array"?t=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?t=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?t=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?t=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:t="Invalid input";break;case V.too_big:r.type==="array"?t=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?t=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?t=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?t=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?t=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:t="Invalid input";break;case V.custom:t="Invalid input";break;case V.invalid_intersection_types:t="Intersection results could not be merged";break;case V.not_multiple_of:t=`Number must be a multiple of ${r.multipleOf}`;break;case V.not_finite:t="Number must be finite";break;default:t=e.defaultError,le.assertNever(r)}return{message:t}};let hR=fa;function XP(r){hR=r}function ws(){return hR}const Bs=r=>{const{data:e,path:t,errorMaps:n,issueData:i}=r,s=[...t,...i.path||[]],o={...i,path:s};if(i.message!==void 0)return{...i,path:s,message:i.message};let l="";const p=n.filter(u=>!!u).slice().reverse();for(const u of p)l=u(o,{data:e,defaultError:l}).message;return{...i,path:s,message:l}},QP=[];function F(r,e){const t=ws(),n=Bs({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,t,t===fa?void 0:fa].filter(i=>!!i)});r.common.issues.push(n)}class yt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const i of t){if(i.status==="aborted")return z;i.status==="dirty"&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const i of t){const s=await i.key,o=await i.value;n.push({key:s,value:o})}return yt.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const i of t){const{key:s,value:o}=i;if(s.status==="aborted"||o.status==="aborted")return z;s.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(n[s.value]=o.value)}return{status:e.value,value:n}}}const z=Object.freeze({status:"aborted"}),ma=r=>({status:"dirty",value:r}),Rt=r=>({status:"valid",value:r}),hd=r=>r.status==="aborted",fd=r=>r.status==="dirty",ai=r=>r.status==="valid",ii=r=>typeof Promise<"u"&&r instanceof Promise;function Ms(r,e,t,n){if(t==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?r!==e||!n:!e.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?n:t==="a"?n.call(r):n?n.value:e.get(r)}function fR(r,e,t,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?r!==e||!i:!e.has(r))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(r,t):i?i.value=t:e.set(r,t),t}typeof SuppressedError=="function"&&SuppressedError;var W;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(W||(W={}));var si,oi;class pn{constructor(e,t,n,i){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const mR=(r,e)=>{if(ai(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new wt(r.common.issues);return this._error=t,this._error}}};function ne(r){if(!r)return{};const{errorMap:e,invalid_type_error:t,required_error:n,description:i}=r;if(e&&(t||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(o,l)=>{var p,u;const{message:h}=r;return o.code==="invalid_enum_value"?{message:h??l.defaultError}:typeof l.data>"u"?{message:(p=h??n)!==null&&p!==void 0?p:l.defaultError}:o.code!=="invalid_type"?{message:l.defaultError}:{message:(u=h??t)!==null&&u!==void 0?u:l.defaultError}},description:i}}class ae{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Hn(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:Hn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new yt,ctx:{common:e.parent.common,data:e.data,parsedType:Hn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(ii(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;const i={common:{issues:[],async:(n=t==null?void 0:t.async)!==null&&n!==void 0?n:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Hn(e)},s=this._parseSync({data:e,path:i.path,parent:i});return mR(i,s)}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t==null?void 0:t.errorMap,async:!0},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Hn(e)},i=this._parse({data:e,path:n.path,parent:n}),s=await(ii(i)?i:Promise.resolve(i));return mR(n,s)}refine(e,t){const n=i=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(i):t;return this._refinement((i,s)=>{const o=e(i),l=()=>s.addIssue({code:V.custom,...n(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(p=>p?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(e,t){return this._refinement((n,i)=>e(n)?!0:(i.addIssue(typeof t=="function"?t(n,i):t),!1))}_refinement(e){return new nn({schema:this,typeName:Y.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return hn.create(this,this._def)}nullable(){return Xn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tn.create(this,this._def)}promise(){return Ra.create(this,this._def)}or(e){return ui.create([this,e],this._def)}and(e){return pi.create(this,e,this._def)}transform(e){return new nn({...ne(this._def),schema:this,typeName:Y.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new Ti({...ne(this._def),innerType:this,defaultValue:t,typeName:Y.ZodDefault})}brand(){return new Ed({typeName:Y.ZodBranded,type:this,...ne(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new Ei({...ne(this._def),innerType:this,catchValue:t,typeName:Y.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return bi.create(this,e)}readonly(){return Ri.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const eA=/^c[^\s-]{8,}$/i,tA=/^[0-9a-z]+$/,nA=/^[0-9A-HJKMNP-TV-Z]{26}$/,rA=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,aA=/^[a-z0-9_-]{21}$/i,iA=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,sA=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,oA="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let md;const lA=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,dA=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,cA=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,TR="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",uA=new RegExp(`^${TR}$`);function ER(r){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return r.precision?e=`${e}\\.\\d{${r.precision}}`:r.precision==null&&(e=`${e}(\\.\\d+)?`),e}function pA(r){return new RegExp(`^${ER(r)}$`)}function bR(r){let e=`${TR}T${ER(r)}`;const t=[];return t.push(r.local?"Z?":"Z"),r.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function yA(r,e){return!!((e==="v4"||!e)&&lA.test(r)||(e==="v6"||!e)&&dA.test(r))}class en extends ae{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==x.string){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_type,expected:x.string,received:s.parsedType}),z}const n=new yt;let i;for(const s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(i=this._getOrReturnCtx(e,i),F(i,{code:V.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="max")e.data.length>s.value&&(i=this._getOrReturnCtx(e,i),F(i,{code:V.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="length"){const o=e.data.length>s.value,l=e.data.length<s.value;(o||l)&&(i=this._getOrReturnCtx(e,i),o?F(i,{code:V.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):l&&F(i,{code:V.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),n.dirty())}else if(s.kind==="email")sA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"email",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="emoji")md||(md=new RegExp(oA,"u")),md.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"emoji",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="uuid")rA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"uuid",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="nanoid")aA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"nanoid",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid")eA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"cuid",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid2")tA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"cuid2",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="ulid")nA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"ulid",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),F(i,{validation:"url",code:V.invalid_string,message:s.message}),n.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"regex",code:V.invalid_string,message:s.message}),n.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),n.dirty()):s.kind==="toLowerCase"?e.data=e.data.toLowerCase():s.kind==="toUpperCase"?e.data=e.data.toUpperCase():s.kind==="startsWith"?e.data.startsWith(s.value)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:{startsWith:s.value},message:s.message}),n.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:{endsWith:s.value},message:s.message}),n.dirty()):s.kind==="datetime"?bR(s).test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:"datetime",message:s.message}),n.dirty()):s.kind==="date"?uA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:"date",message:s.message}),n.dirty()):s.kind==="time"?pA(s).test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:"time",message:s.message}),n.dirty()):s.kind==="duration"?iA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"duration",code:V.invalid_string,message:s.message}),n.dirty()):s.kind==="ip"?yA(e.data,s.version)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"ip",code:V.invalid_string,message:s.message}),n.dirty()):s.kind==="base64"?cA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"base64",code:V.invalid_string,message:s.message}),n.dirty()):le.assertNever(s);return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement(i=>e.test(i),{validation:t,code:V.invalid_string,...W.errToObj(n)})}_addCheck(e){return new en({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...W.errToObj(e)})}url(e){return this._addCheck({kind:"url",...W.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...W.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...W.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...W.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...W.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...W.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...W.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...W.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...W.errToObj(e)})}datetime(e){var t,n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(t=e==null?void 0:e.offset)!==null&&t!==void 0?t:!1,local:(n=e==null?void 0:e.local)!==null&&n!==void 0?n:!1,...W.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...W.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...W.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...W.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...W.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...W.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...W.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...W.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...W.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...W.errToObj(t)})}nonempty(e){return this.min(1,W.errToObj(e))}trim(){return new en({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new en({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new en({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get minLength(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}en.create=r=>{var e;return new en({checks:[],typeName:Y.ZodString,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...ne(r)})};function hA(r,e){const t=(r.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=t>n?t:n,s=parseInt(r.toFixed(i).replace(".","")),o=parseInt(e.toFixed(i).replace(".",""));return s%o/Math.pow(10,i)}class zn extends ae{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==x.number){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_type,expected:x.number,received:s.parsedType}),z}let n;const i=new yt;for(const s of this._def.checks)s.kind==="int"?le.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),F(n,{code:V.invalid_type,expected:"integer",received:"float",message:s.message}),i.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="multipleOf"?hA(e.data,s.value)!==0&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),F(n,{code:V.not_finite,message:s.message}),i.dirty()):le.assertNever(s);return{status:i.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,W.toString(t))}gt(e,t){return this.setLimit("min",e,!1,W.toString(t))}lte(e,t){return this.setLimit("max",e,!0,W.toString(t))}lt(e,t){return this.setLimit("max",e,!1,W.toString(t))}setLimit(e,t,n,i){return new zn({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:W.toString(i)}]})}_addCheck(e){return new zn({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:W.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:W.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:W.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:W.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:W.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:W.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:W.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:W.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:W.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&le.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}zn.create=r=>new zn({checks:[],typeName:Y.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...ne(r)});class Zn extends ae{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==x.bigint){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_type,expected:x.bigint,received:s.parsedType}),z}let n;const i=new yt;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):le.assertNever(s);return{status:i.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,W.toString(t))}gt(e,t){return this.setLimit("min",e,!1,W.toString(t))}lte(e,t){return this.setLimit("max",e,!0,W.toString(t))}lt(e,t){return this.setLimit("max",e,!1,W.toString(t))}setLimit(e,t,n,i){return new Zn({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:W.toString(i)}]})}_addCheck(e){return new Zn({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:W.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:W.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:W.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:W.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:W.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}Zn.create=r=>{var e;return new Zn({checks:[],typeName:Y.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...ne(r)})};class li extends ae{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==x.boolean){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.boolean,received:n.parsedType}),z}return Rt(e.data)}}li.create=r=>new li({typeName:Y.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...ne(r)});class gr extends ae{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==x.date){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_type,expected:x.date,received:s.parsedType}),z}if(isNaN(e.data.getTime())){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_date}),z}const n=new yt;let i;for(const s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(i=this._getOrReturnCtx(e,i),F(i,{code:V.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),n.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(i=this._getOrReturnCtx(e,i),F(i,{code:V.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),n.dirty()):le.assertNever(s);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new gr({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:W.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:W.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e!=null?new Date(e):null}}gr.create=r=>new gr({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:Y.ZodDate,...ne(r)});class Ns extends ae{_parse(e){if(this._getType(e)!==x.symbol){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.symbol,received:n.parsedType}),z}return Rt(e.data)}}Ns.create=r=>new Ns({typeName:Y.ZodSymbol,...ne(r)});class di extends ae{_parse(e){if(this._getType(e)!==x.undefined){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.undefined,received:n.parsedType}),z}return Rt(e.data)}}di.create=r=>new di({typeName:Y.ZodUndefined,...ne(r)});class ci extends ae{_parse(e){if(this._getType(e)!==x.null){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.null,received:n.parsedType}),z}return Rt(e.data)}}ci.create=r=>new ci({typeName:Y.ZodNull,...ne(r)});class Ta extends ae{constructor(){super(...arguments),this._any=!0}_parse(e){return Rt(e.data)}}Ta.create=r=>new Ta({typeName:Y.ZodAny,...ne(r)});class vr extends ae{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Rt(e.data)}}vr.create=r=>new vr({typeName:Y.ZodUnknown,...ne(r)});class Bn extends ae{_parse(e){const t=this._getOrReturnCtx(e);return F(t,{code:V.invalid_type,expected:x.never,received:t.parsedType}),z}}Bn.create=r=>new Bn({typeName:Y.ZodNever,...ne(r)});class _s extends ae{_parse(e){if(this._getType(e)!==x.undefined){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.void,received:n.parsedType}),z}return Rt(e.data)}}_s.create=r=>new _s({typeName:Y.ZodVoid,...ne(r)});class tn extends ae{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),i=this._def;if(t.parsedType!==x.array)return F(t,{code:V.invalid_type,expected:x.array,received:t.parsedType}),z;if(i.exactLength!==null){const o=t.data.length>i.exactLength.value,l=t.data.length<i.exactLength.value;(o||l)&&(F(t,{code:o?V.too_big:V.too_small,minimum:l?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&t.data.length<i.minLength.value&&(F(t,{code:V.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&t.data.length>i.maxLength.value&&(F(t,{code:V.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((o,l)=>i.type._parseAsync(new pn(t,o,t.path,l)))).then(o=>yt.mergeArray(n,o));const s=[...t.data].map((o,l)=>i.type._parseSync(new pn(t,o,t.path,l)));return yt.mergeArray(n,s)}get element(){return this._def.type}min(e,t){return new tn({...this._def,minLength:{value:e,message:W.toString(t)}})}max(e,t){return new tn({...this._def,maxLength:{value:e,message:W.toString(t)}})}length(e,t){return new tn({...this._def,exactLength:{value:e,message:W.toString(t)}})}nonempty(e){return this.min(1,e)}}tn.create=(r,e)=>new tn({type:r,minLength:null,maxLength:null,exactLength:null,typeName:Y.ZodArray,...ne(e)});function Ea(r){if(r instanceof Ke){const e={};for(const t in r.shape){const n=r.shape[t];e[t]=hn.create(Ea(n))}return new Ke({...r._def,shape:()=>e})}else return r instanceof tn?new tn({...r._def,type:Ea(r.element)}):r instanceof hn?hn.create(Ea(r.unwrap())):r instanceof Xn?Xn.create(Ea(r.unwrap())):r instanceof yn?yn.create(r.items.map(e=>Ea(e))):r}class Ke extends ae{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),t=le.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==x.object){const u=this._getOrReturnCtx(e);return F(u,{code:V.invalid_type,expected:x.object,received:u.parsedType}),z}const{status:n,ctx:i}=this._processInputParams(e),{shape:s,keys:o}=this._getCached(),l=[];if(!(this._def.catchall instanceof Bn&&this._def.unknownKeys==="strip"))for(const u in i.data)o.includes(u)||l.push(u);const p=[];for(const u of o){const h=s[u],f=i.data[u];p.push({key:{status:"valid",value:u},value:h._parse(new pn(i,f,i.path,u)),alwaysSet:u in i.data})}if(this._def.catchall instanceof Bn){const u=this._def.unknownKeys;if(u==="passthrough")for(const h of l)p.push({key:{status:"valid",value:h},value:{status:"valid",value:i.data[h]}});else if(u==="strict")l.length>0&&(F(i,{code:V.unrecognized_keys,keys:l}),n.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const h of l){const f=i.data[h];p.push({key:{status:"valid",value:h},value:u._parse(new pn(i,f,i.path,h)),alwaysSet:h in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const u=[];for(const h of p){const f=await h.key,b=await h.value;u.push({key:f,value:b,alwaysSet:h.alwaysSet})}return u}).then(u=>yt.mergeObjectSync(n,u)):yt.mergeObjectSync(n,p)}get shape(){return this._def.shape()}strict(e){return W.errToObj,new Ke({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,n)=>{var i,s,o,l;const p=(o=(s=(i=this._def).errorMap)===null||s===void 0?void 0:s.call(i,t,n).message)!==null&&o!==void 0?o:n.defaultError;return t.code==="unrecognized_keys"?{message:(l=W.errToObj(e).message)!==null&&l!==void 0?l:p}:{message:p}}}:{}})}strip(){return new Ke({...this._def,unknownKeys:"strip"})}passthrough(){return new Ke({...this._def,unknownKeys:"passthrough"})}extend(e){return new Ke({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Ke({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Y.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Ke({...this._def,catchall:e})}pick(e){const t={};return le.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new Ke({...this._def,shape:()=>t})}omit(e){const t={};return le.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new Ke({...this._def,shape:()=>t})}deepPartial(){return Ea(this)}partial(e){const t={};return le.objectKeys(this.shape).forEach(n=>{const i=this.shape[n];e&&!e[n]?t[n]=i:t[n]=i.optional()}),new Ke({...this._def,shape:()=>t})}required(e){const t={};return le.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let s=this.shape[n];for(;s instanceof hn;)s=s._def.innerType;t[n]=s}}),new Ke({...this._def,shape:()=>t})}keyof(){return RR(le.objectKeys(this.shape))}}Ke.create=(r,e)=>new Ke({shape:()=>r,unknownKeys:"strip",catchall:Bn.create(),typeName:Y.ZodObject,...ne(e)}),Ke.strictCreate=(r,e)=>new Ke({shape:()=>r,unknownKeys:"strict",catchall:Bn.create(),typeName:Y.ZodObject,...ne(e)}),Ke.lazycreate=(r,e)=>new Ke({shape:r,unknownKeys:"strip",catchall:Bn.create(),typeName:Y.ZodObject,...ne(e)});class ui extends ae{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;function i(s){for(const l of s)if(l.result.status==="valid")return l.result;for(const l of s)if(l.result.status==="dirty")return t.common.issues.push(...l.ctx.common.issues),l.result;const o=s.map(l=>new wt(l.ctx.common.issues));return F(t,{code:V.invalid_union,unionErrors:o}),z}if(t.common.async)return Promise.all(n.map(async s=>{const o={...t,common:{...t.common,issues:[]},parent:null};return{result:await s._parseAsync({data:t.data,path:t.path,parent:o}),ctx:o}})).then(i);{let s;const o=[];for(const p of n){const u={...t,common:{...t.common,issues:[]},parent:null},h=p._parseSync({data:t.data,path:t.path,parent:u});if(h.status==="valid")return h;h.status==="dirty"&&!s&&(s={result:h,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(s)return t.common.issues.push(...s.ctx.common.issues),s.result;const l=o.map(p=>new wt(p));return F(t,{code:V.invalid_union,unionErrors:l}),z}}get options(){return this._def.options}}ui.create=(r,e)=>new ui({options:r,typeName:Y.ZodUnion,...ne(e)});const Mn=r=>r instanceof hi?Mn(r.schema):r instanceof nn?Mn(r.innerType()):r instanceof fi?[r.value]:r instanceof Kn?r.options:r instanceof mi?le.objectValues(r.enum):r instanceof Ti?Mn(r._def.innerType):r instanceof di?[void 0]:r instanceof ci?[null]:r instanceof hn?[void 0,...Mn(r.unwrap())]:r instanceof Xn?[null,...Mn(r.unwrap())]:r instanceof Ed||r instanceof Ri?Mn(r.unwrap()):r instanceof Ei?Mn(r._def.innerType):[];class Vs extends ae{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==x.object)return F(t,{code:V.invalid_type,expected:x.object,received:t.parsedType}),z;const n=this.discriminator,i=t.data[n],s=this.optionsMap.get(i);return s?t.common.async?s._parseAsync({data:t.data,path:t.path,parent:t}):s._parseSync({data:t.data,path:t.path,parent:t}):(F(t,{code:V.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),z)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const i=new Map;for(const s of t){const o=Mn(s.shape[e]);if(!o.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const l of o){if(i.has(l))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(l)}`);i.set(l,s)}}return new Vs({typeName:Y.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i,...ne(n)})}}function Td(r,e){const t=Hn(r),n=Hn(e);if(r===e)return{valid:!0,data:r};if(t===x.object&&n===x.object){const i=le.objectKeys(e),s=le.objectKeys(r).filter(l=>i.indexOf(l)!==-1),o={...r,...e};for(const l of s){const p=Td(r[l],e[l]);if(!p.valid)return{valid:!1};o[l]=p.data}return{valid:!0,data:o}}else if(t===x.array&&n===x.array){if(r.length!==e.length)return{valid:!1};const i=[];for(let s=0;s<r.length;s++){const o=r[s],l=e[s],p=Td(o,l);if(!p.valid)return{valid:!1};i.push(p.data)}return{valid:!0,data:i}}else return t===x.date&&n===x.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class pi extends ae{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),i=(s,o)=>{if(hd(s)||hd(o))return z;const l=Td(s.value,o.value);return l.valid?((fd(s)||fd(o))&&t.dirty(),{status:t.value,value:l.data}):(F(n,{code:V.invalid_intersection_types}),z)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([s,o])=>i(s,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}pi.create=(r,e,t)=>new pi({left:r,right:e,typeName:Y.ZodIntersection,...ne(t)});class yn extends ae{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==x.array)return F(n,{code:V.invalid_type,expected:x.array,received:n.parsedType}),z;if(n.data.length<this._def.items.length)return F(n,{code:V.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),z;!this._def.rest&&n.data.length>this._def.items.length&&(F(n,{code:V.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const s=[...n.data].map((o,l)=>{const p=this._def.items[l]||this._def.rest;return p?p._parse(new pn(n,o,n.path,l)):null}).filter(o=>!!o);return n.common.async?Promise.all(s).then(o=>yt.mergeArray(t,o)):yt.mergeArray(t,s)}get items(){return this._def.items}rest(e){return new yn({...this._def,rest:e})}}yn.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new yn({items:r,typeName:Y.ZodTuple,rest:null,...ne(e)})};class yi extends ae{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==x.object)return F(n,{code:V.invalid_type,expected:x.object,received:n.parsedType}),z;const i=[],s=this._def.keyType,o=this._def.valueType;for(const l in n.data)i.push({key:s._parse(new pn(n,l,n.path,l)),value:o._parse(new pn(n,n.data[l],n.path,l)),alwaysSet:l in n.data});return n.common.async?yt.mergeObjectAsync(t,i):yt.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,n){return t instanceof ae?new yi({keyType:e,valueType:t,typeName:Y.ZodRecord,...ne(n)}):new yi({keyType:en.create(),valueType:e,typeName:Y.ZodRecord,...ne(t)})}}class Ls extends ae{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==x.map)return F(n,{code:V.invalid_type,expected:x.map,received:n.parsedType}),z;const i=this._def.keyType,s=this._def.valueType,o=[...n.data.entries()].map(([l,p],u)=>({key:i._parse(new pn(n,l,n.path,[u,"key"])),value:s._parse(new pn(n,p,n.path,[u,"value"]))}));if(n.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const p of o){const u=await p.key,h=await p.value;if(u.status==="aborted"||h.status==="aborted")return z;(u.status==="dirty"||h.status==="dirty")&&t.dirty(),l.set(u.value,h.value)}return{status:t.value,value:l}})}else{const l=new Map;for(const p of o){const u=p.key,h=p.value;if(u.status==="aborted"||h.status==="aborted")return z;(u.status==="dirty"||h.status==="dirty")&&t.dirty(),l.set(u.value,h.value)}return{status:t.value,value:l}}}}Ls.create=(r,e,t)=>new Ls({valueType:e,keyType:r,typeName:Y.ZodMap,...ne(t)});class Ir extends ae{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==x.set)return F(n,{code:V.invalid_type,expected:x.set,received:n.parsedType}),z;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(F(n,{code:V.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),t.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(F(n,{code:V.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());const s=this._def.valueType;function o(p){const u=new Set;for(const h of p){if(h.status==="aborted")return z;h.status==="dirty"&&t.dirty(),u.add(h.value)}return{status:t.value,value:u}}const l=[...n.data.values()].map((p,u)=>s._parse(new pn(n,p,n.path,u)));return n.common.async?Promise.all(l).then(p=>o(p)):o(l)}min(e,t){return new Ir({...this._def,minSize:{value:e,message:W.toString(t)}})}max(e,t){return new Ir({...this._def,maxSize:{value:e,message:W.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}Ir.create=(r,e)=>new Ir({valueType:r,minSize:null,maxSize:null,typeName:Y.ZodSet,...ne(e)});class ba extends ae{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==x.function)return F(t,{code:V.invalid_type,expected:x.function,received:t.parsedType}),z;function n(l,p){return Bs({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,ws(),fa].filter(u=>!!u),issueData:{code:V.invalid_arguments,argumentsError:p}})}function i(l,p){return Bs({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,ws(),fa].filter(u=>!!u),issueData:{code:V.invalid_return_type,returnTypeError:p}})}const s={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof Ra){const l=this;return Rt(async function(...p){const u=new wt([]),h=await l._def.args.parseAsync(p,s).catch(v=>{throw u.addIssue(n(p,v)),u}),f=await Reflect.apply(o,this,h);return await l._def.returns._def.type.parseAsync(f,s).catch(v=>{throw u.addIssue(i(f,v)),u})})}else{const l=this;return Rt(function(...p){const u=l._def.args.safeParse(p,s);if(!u.success)throw new wt([n(p,u.error)]);const h=Reflect.apply(o,this,u.data),f=l._def.returns.safeParse(h,s);if(!f.success)throw new wt([i(h,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ba({...this._def,args:yn.create(e).rest(vr.create())})}returns(e){return new ba({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new ba({args:e||yn.create([]).rest(vr.create()),returns:t||vr.create(),typeName:Y.ZodFunction,...ne(n)})}}class hi extends ae{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}hi.create=(r,e)=>new hi({getter:r,typeName:Y.ZodLazy,...ne(e)});class fi extends ae{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return F(t,{received:t.data,code:V.invalid_literal,expected:this._def.value}),z}return{status:"valid",value:e.data}}get value(){return this._def.value}}fi.create=(r,e)=>new fi({value:r,typeName:Y.ZodLiteral,...ne(e)});function RR(r,e){return new Kn({values:r,typeName:Y.ZodEnum,...ne(e)})}class Kn extends ae{constructor(){super(...arguments),si.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),n=this._def.values;return F(t,{expected:le.joinValues(n),received:t.parsedType,code:V.invalid_type}),z}if(Ms(this,si,"f")||fR(this,si,new Set(this._def.values),"f"),!Ms(this,si,"f").has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return F(t,{received:t.data,code:V.invalid_enum_value,options:n}),z}return Rt(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Kn.create(e,{...this._def,...t})}exclude(e,t=this._def){return Kn.create(this.options.filter(n=>!e.includes(n)),{...this._def,...t})}}si=new WeakMap,Kn.create=RR;class mi extends ae{constructor(){super(...arguments),oi.set(this,void 0)}_parse(e){const t=le.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==x.string&&n.parsedType!==x.number){const i=le.objectValues(t);return F(n,{expected:le.joinValues(i),received:n.parsedType,code:V.invalid_type}),z}if(Ms(this,oi,"f")||fR(this,oi,new Set(le.getValidEnumValues(this._def.values)),"f"),!Ms(this,oi,"f").has(e.data)){const i=le.objectValues(t);return F(n,{received:n.data,code:V.invalid_enum_value,options:i}),z}return Rt(e.data)}get enum(){return this._def.values}}oi=new WeakMap,mi.create=(r,e)=>new mi({values:r,typeName:Y.ZodNativeEnum,...ne(e)});class Ra extends ae{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==x.promise&&t.common.async===!1)return F(t,{code:V.invalid_type,expected:x.promise,received:t.parsedType}),z;const n=t.parsedType===x.promise?t.data:Promise.resolve(t.data);return Rt(n.then(i=>this._def.type.parseAsync(i,{path:t.path,errorMap:t.common.contextualErrorMap})))}}Ra.create=(r,e)=>new Ra({type:r,typeName:Y.ZodPromise,...ne(e)});class nn extends ae{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Y.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),i=this._def.effect||null,s={addIssue:o=>{F(n,o),o.fatal?t.abort():t.dirty()},get path(){return n.path}};if(s.addIssue=s.addIssue.bind(s),i.type==="preprocess"){const o=i.transform(n.data,s);if(n.common.async)return Promise.resolve(o).then(async l=>{if(t.value==="aborted")return z;const p=await this._def.schema._parseAsync({data:l,path:n.path,parent:n});return p.status==="aborted"?z:p.status==="dirty"||t.value==="dirty"?ma(p.value):p});{if(t.value==="aborted")return z;const l=this._def.schema._parseSync({data:o,path:n.path,parent:n});return l.status==="aborted"?z:l.status==="dirty"||t.value==="dirty"?ma(l.value):l}}if(i.type==="refinement"){const o=l=>{const p=i.refinement(l,s);if(n.common.async)return Promise.resolve(p);if(p instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(n.common.async===!1){const l=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return l.status==="aborted"?z:(l.status==="dirty"&&t.dirty(),o(l.value),{status:t.value,value:l.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(l=>l.status==="aborted"?z:(l.status==="dirty"&&t.dirty(),o(l.value).then(()=>({status:t.value,value:l.value}))))}if(i.type==="transform")if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!ai(o))return o;const l=i.transform(o.value,s);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:l}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>ai(o)?Promise.resolve(i.transform(o.value,s)).then(l=>({status:t.value,value:l})):o);le.assertNever(i)}}nn.create=(r,e,t)=>new nn({schema:r,typeName:Y.ZodEffects,effect:e,...ne(t)}),nn.createWithPreprocess=(r,e,t)=>new nn({schema:e,effect:{type:"preprocess",transform:r},typeName:Y.ZodEffects,...ne(t)});class hn extends ae{_parse(e){return this._getType(e)===x.undefined?Rt(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}hn.create=(r,e)=>new hn({innerType:r,typeName:Y.ZodOptional,...ne(e)});class Xn extends ae{_parse(e){return this._getType(e)===x.null?Rt(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Xn.create=(r,e)=>new Xn({innerType:r,typeName:Y.ZodNullable,...ne(e)});class Ti extends ae{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===x.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Ti.create=(r,e)=>new Ti({innerType:r,typeName:Y.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ne(e)});class Ei extends ae{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return ii(i)?i.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new wt(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new wt(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Ei.create=(r,e)=>new Ei({innerType:r,typeName:Y.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ne(e)});class Gs extends ae{_parse(e){if(this._getType(e)!==x.nan){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.nan,received:n.parsedType}),z}return{status:"valid",value:e.data}}}Gs.create=r=>new Gs({typeName:Y.ZodNaN,...ne(r)});const fA=Symbol("zod_brand");class Ed extends ae{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class bi extends ae{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?z:s.status==="dirty"?(t.dirty(),ma(s.value)):this._def.out._parseAsync({data:s.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?z:i.status==="dirty"?(t.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(e,t){return new bi({in:e,out:t,typeName:Y.ZodPipeline})}}class Ri extends ae{_parse(e){const t=this._def.innerType._parse(e),n=i=>(ai(i)&&(i.value=Object.freeze(i.value)),i);return ii(t)?t.then(i=>n(i)):n(t)}unwrap(){return this._def.innerType}}Ri.create=(r,e)=>new Ri({innerType:r,typeName:Y.ZodReadonly,...ne(e)});function gR(r,e={},t){return r?Ta.create().superRefine((n,i)=>{var s,o;if(!r(n)){const l=typeof e=="function"?e(n):typeof e=="string"?{message:e}:e,p=(o=(s=l.fatal)!==null&&s!==void 0?s:t)!==null&&o!==void 0?o:!0,u=typeof l=="string"?{message:l}:l;i.addIssue({code:"custom",...u,fatal:p})}}):Ta.create()}const mA={object:Ke.lazycreate};var Y;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(Y||(Y={}));const TA=(r,e={message:`Input not instance of ${r.name}`})=>gR(t=>t instanceof r,e),$s=en.create,bd=zn.create,EA=Gs.create,bA=Zn.create,Rd=li.create,vR=gr.create,RA=Ns.create,gA=di.create,IR=ci.create,vA=Ta.create,Fs=vr.create,IA=Bn.create,DA=_s.create,SA=tn.create,DR=Ke.create,OA=Ke.strictCreate,PA=ui.create,AA=Vs.create,CA=pi.create,wA=yn.create,SR=yi.create,BA=Ls.create,MA=Ir.create,NA=ba.create,_A=hi.create,VA=fi.create,OR=Kn.create,LA=mi.create,GA=Ra.create,PR=nn.create,$A=hn.create,FA=Xn.create,UA=nn.createWithPreprocess,xA=bi.create;var y=Object.freeze({__proto__:null,defaultErrorMap:fa,setErrorMap:XP,getErrorMap:ws,makeIssue:Bs,EMPTY_PATH:QP,addIssueToContext:F,ParseStatus:yt,INVALID:z,DIRTY:ma,OK:Rt,isAborted:hd,isDirty:fd,isValid:ai,isAsync:ii,get util(){return le},get objectUtil(){return yd},ZodParsedType:x,getParsedType:Hn,ZodType:ae,datetimeRegex:bR,ZodString:en,ZodNumber:zn,ZodBigInt:Zn,ZodBoolean:li,ZodDate:gr,ZodSymbol:Ns,ZodUndefined:di,ZodNull:ci,ZodAny:Ta,ZodUnknown:vr,ZodNever:Bn,ZodVoid:_s,ZodArray:tn,ZodObject:Ke,ZodUnion:ui,ZodDiscriminatedUnion:Vs,ZodIntersection:pi,ZodTuple:yn,ZodRecord:yi,ZodMap:Ls,ZodSet:Ir,ZodFunction:ba,ZodLazy:hi,ZodLiteral:fi,ZodEnum:Kn,ZodNativeEnum:mi,ZodPromise:Ra,ZodEffects:nn,ZodTransformer:nn,ZodOptional:hn,ZodNullable:Xn,ZodDefault:Ti,ZodCatch:Ei,ZodNaN:Gs,BRAND:fA,ZodBranded:Ed,ZodPipeline:bi,ZodReadonly:Ri,custom:gR,Schema:ae,ZodSchema:ae,late:mA,get ZodFirstPartyTypeKind(){return Y},coerce:{string:r=>en.create({...r,coerce:!0}),number:r=>zn.create({...r,coerce:!0}),boolean:r=>li.create({...r,coerce:!0}),bigint:r=>Zn.create({...r,coerce:!0}),date:r=>gr.create({...r,coerce:!0})},any:vA,array:SA,bigint:bA,boolean:Rd,date:vR,discriminatedUnion:AA,effect:PR,enum:OR,function:NA,instanceof:TA,intersection:CA,lazy:_A,literal:VA,map:BA,nan:EA,nativeEnum:LA,never:IA,null:IR,nullable:FA,number:bd,object:DR,oboolean:()=>Rd().optional(),onumber:()=>bd().optional(),optional:$A,ostring:()=>$s().optional(),pipeline:xA,preprocess:UA,promise:GA,record:SR,set:MA,strictObject:OA,string:$s,symbol:RA,transformer:PR,tuple:wA,undefined:gA,union:PA,unknown:Fs,void:DA,NEVER:z,ZodIssueCode:V,quotelessJson:KP,ZodError:wt});function AR(r){var i,s,o;if(!(r!=null&&r.dataType))return Fs();const e=r.dataType.isNullable||!1,t=r.dataType.isList||!1;let n=Fs();if(((i=r.dataType.entity)==null?void 0:i.type)===a.PrimitiveEntity)switch(r.dataType.entity.name){case C.String:n=$s();break;case C.KeyValue:n=SR(Fs());break;case C.Number:n=bd();break;case C.Boolean:n=Rd();break;case C.Date:n=vR();break;case C.Enum:{const l=r.dataType.options||[];if(l.length===0)throw new Error(`Enum property ${r.name} has no options`);n=OR(l);break}case C.Null:n=IR();break;case C.UUID:n=$s().uuid();break}else if(((s=r.dataType.entity)==null?void 0:s.type)===a.CustomEntity)n=CR(r.dataType.entity);else throw new Error(`Unsupported data type validation: ${(o=r.dataType.entity)==null?void 0:o.type}`);return e&&(n=n.nullable()),t&&(n=n.array()),n}function CR(r){const e=DR({});for(const t of r.properties){const n=AR(t);e.shape[t.name]=n}return e}function wR(r){const e=r.rangeStart;return new Date(e.getTime()+Math.random()*(Date.now()-e.getTime()))}function BR(r){const e=r.rangeEnd;return new Date(Math.random()*e.getTime())}function MR(r){const e=r.rangeStart,t=r.rangeEnd;return new Date(e.getTime()+Math.random()*(t.getTime()-e.getTime()))}function NR(r){return r.rangeStart&&r.rangeEnd?MR(r):r.rangeStart?wR(r):r.rangeEnd?BR(r):new Date}function jA(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var _R={},Us={},xs={};Object.defineProperty(xs,"__esModule",{value:!0}),xs.default=qA;let js;const kA=new Uint8Array(16);function qA(){if(!js&&(js=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!js))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return js(kA)}var Qn={},Dr={},ks={};Object.defineProperty(ks,"__esModule",{value:!0}),ks.default=void 0;var JA=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;ks.default=JA,Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.default=void 0;var WA=YA(ks);function YA(r){return r&&r.__esModule?r:{default:r}}function HA(r){return typeof r=="string"&&WA.default.test(r)}var zA=HA;Dr.default=zA,Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.default=void 0,Qn.unsafeStringify=VR;var ZA=KA(Dr);function KA(r){return r&&r.__esModule?r:{default:r}}const ut=[];for(let r=0;r<256;++r)ut.push((r+256).toString(16).slice(1));function VR(r,e=0){return ut[r[e+0]]+ut[r[e+1]]+ut[r[e+2]]+ut[r[e+3]]+"-"+ut[r[e+4]]+ut[r[e+5]]+"-"+ut[r[e+6]]+ut[r[e+7]]+"-"+ut[r[e+8]]+ut[r[e+9]]+"-"+ut[r[e+10]]+ut[r[e+11]]+ut[r[e+12]]+ut[r[e+13]]+ut[r[e+14]]+ut[r[e+15]]}function XA(r,e=0){const t=VR(r,e);if(!(0,ZA.default)(t))throw TypeError("Stringified UUID is invalid");return t}var QA=XA;Qn.default=QA,Object.defineProperty(Us,"__esModule",{value:!0}),Us.default=void 0;var eC=nC(xs),tC=Qn;function nC(r){return r&&r.__esModule?r:{default:r}}let LR,gd,vd=0,Id=0;function rC(r,e,t){let n=e&&t||0;const i=e||new Array(16);r=r||{};let s=r.node||LR,o=r.clockseq!==void 0?r.clockseq:gd;if(s==null||o==null){const b=r.random||(r.rng||eC.default)();s==null&&(s=LR=[b[0]|1,b[1],b[2],b[3],b[4],b[5]]),o==null&&(o=gd=(b[6]<<8|b[7])&16383)}let l=r.msecs!==void 0?r.msecs:Date.now(),p=r.nsecs!==void 0?r.nsecs:Id+1;const u=l-vd+(p-Id)/1e4;if(u<0&&r.clockseq===void 0&&(o=o+1&16383),(u<0||l>vd)&&r.nsecs===void 0&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");vd=l,Id=p,gd=o,l+=122192928e5;const h=((l&268435455)*1e4+p)%4294967296;i[n++]=h>>>24&255,i[n++]=h>>>16&255,i[n++]=h>>>8&255,i[n++]=h&255;const f=l/4294967296*1e4&268435455;i[n++]=f>>>8&255,i[n++]=f&255,i[n++]=f>>>24&15|16,i[n++]=f>>>16&255,i[n++]=o>>>8|128,i[n++]=o&255;for(let b=0;b<6;++b)i[n+b]=s[b];return e||(0,tC.unsafeStringify)(i)}var aC=rC;Us.default=aC;var qs={},er={},gi={};Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=void 0;var iC=sC(Dr);function sC(r){return r&&r.__esModule?r:{default:r}}function oC(r){if(!(0,iC.default)(r))throw TypeError("Invalid UUID");let e;const t=new Uint8Array(16);return t[0]=(e=parseInt(r.slice(0,8),16))>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t[4]=(e=parseInt(r.slice(9,13),16))>>>8,t[5]=e&255,t[6]=(e=parseInt(r.slice(14,18),16))>>>8,t[7]=e&255,t[8]=(e=parseInt(r.slice(19,23),16))>>>8,t[9]=e&255,t[10]=(e=parseInt(r.slice(24,36),16))/1099511627776&255,t[11]=e/4294967296&255,t[12]=e>>>24&255,t[13]=e>>>16&255,t[14]=e>>>8&255,t[15]=e&255,t}var lC=oC;gi.default=lC,Object.defineProperty(er,"__esModule",{value:!0}),er.URL=er.DNS=void 0,er.default=yC;var dC=Qn,cC=uC(gi);function uC(r){return r&&r.__esModule?r:{default:r}}function pC(r){r=unescape(encodeURIComponent(r));const e=[];for(let t=0;t<r.length;++t)e.push(r.charCodeAt(t));return e}const GR="6ba7b810-9dad-11d1-80b4-00c04fd430c8";er.DNS=GR;const $R="6ba7b811-9dad-11d1-80b4-00c04fd430c8";er.URL=$R;function yC(r,e,t){function n(i,s,o,l){var p;if(typeof i=="string"&&(i=pC(i)),typeof s=="string"&&(s=(0,cC.default)(s)),((p=s)===null||p===void 0?void 0:p.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+i.length);if(u.set(s),u.set(i,s.length),u=t(u),u[6]=u[6]&15|e,u[8]=u[8]&63|128,o){l=l||0;for(let h=0;h<16;++h)o[l+h]=u[h];return o}return(0,dC.unsafeStringify)(u)}try{n.name=r}catch{}return n.DNS=GR,n.URL=$R,n}var Js={};Object.defineProperty(Js,"__esModule",{value:!0}),Js.default=void 0;function hC(r){if(typeof r=="string"){const e=unescape(encodeURIComponent(r));r=new Uint8Array(e.length);for(let t=0;t<e.length;++t)r[t]=e.charCodeAt(t)}return fC(mC(TC(r),r.length*8))}function fC(r){const e=[],t=r.length*32,n="0123456789abcdef";for(let i=0;i<t;i+=8){const s=r[i>>5]>>>i%32&255,o=parseInt(n.charAt(s>>>4&15)+n.charAt(s&15),16);e.push(o)}return e}function FR(r){return(r+64>>>9<<4)+14+1}function mC(r,e){r[e>>5]|=128<<e%32,r[FR(e)-1]=e;let t=1732584193,n=-271733879,i=-1732584194,s=271733878;for(let o=0;o<r.length;o+=16){const l=t,p=n,u=i,h=s;t=ht(t,n,i,s,r[o],7,-680876936),s=ht(s,t,n,i,r[o+1],12,-389564586),i=ht(i,s,t,n,r[o+2],17,606105819),n=ht(n,i,s,t,r[o+3],22,-1044525330),t=ht(t,n,i,s,r[o+4],7,-176418897),s=ht(s,t,n,i,r[o+5],12,1200080426),i=ht(i,s,t,n,r[o+6],17,-1473231341),n=ht(n,i,s,t,r[o+7],22,-45705983),t=ht(t,n,i,s,r[o+8],7,1770035416),s=ht(s,t,n,i,r[o+9],12,-1958414417),i=ht(i,s,t,n,r[o+10],17,-42063),n=ht(n,i,s,t,r[o+11],22,-1990404162),t=ht(t,n,i,s,r[o+12],7,1804603682),s=ht(s,t,n,i,r[o+13],12,-40341101),i=ht(i,s,t,n,r[o+14],17,-1502002290),n=ht(n,i,s,t,r[o+15],22,1236535329),t=ft(t,n,i,s,r[o+1],5,-165796510),s=ft(s,t,n,i,r[o+6],9,-1069501632),i=ft(i,s,t,n,r[o+11],14,643717713),n=ft(n,i,s,t,r[o],20,-373897302),t=ft(t,n,i,s,r[o+5],5,-701558691),s=ft(s,t,n,i,r[o+10],9,38016083),i=ft(i,s,t,n,r[o+15],14,-660478335),n=ft(n,i,s,t,r[o+4],20,-405537848),t=ft(t,n,i,s,r[o+9],5,568446438),s=ft(s,t,n,i,r[o+14],9,-1019803690),i=ft(i,s,t,n,r[o+3],14,-187363961),n=ft(n,i,s,t,r[o+8],20,1163531501),t=ft(t,n,i,s,r[o+13],5,-1444681467),s=ft(s,t,n,i,r[o+2],9,-51403784),i=ft(i,s,t,n,r[o+7],14,1735328473),n=ft(n,i,s,t,r[o+12],20,-1926607734),t=mt(t,n,i,s,r[o+5],4,-378558),s=mt(s,t,n,i,r[o+8],11,-2022574463),i=mt(i,s,t,n,r[o+11],16,1839030562),n=mt(n,i,s,t,r[o+14],23,-35309556),t=mt(t,n,i,s,r[o+1],4,-1530992060),s=mt(s,t,n,i,r[o+4],11,1272893353),i=mt(i,s,t,n,r[o+7],16,-155497632),n=mt(n,i,s,t,r[o+10],23,-1094730640),t=mt(t,n,i,s,r[o+13],4,681279174),s=mt(s,t,n,i,r[o],11,-358537222),i=mt(i,s,t,n,r[o+3],16,-722521979),n=mt(n,i,s,t,r[o+6],23,76029189),t=mt(t,n,i,s,r[o+9],4,-640364487),s=mt(s,t,n,i,r[o+12],11,-421815835),i=mt(i,s,t,n,r[o+15],16,530742520),n=mt(n,i,s,t,r[o+2],23,-995338651),t=Tt(t,n,i,s,r[o],6,-198630844),s=Tt(s,t,n,i,r[o+7],10,1126891415),i=Tt(i,s,t,n,r[o+14],15,-1416354905),n=Tt(n,i,s,t,r[o+5],21,-57434055),t=Tt(t,n,i,s,r[o+12],6,1700485571),s=Tt(s,t,n,i,r[o+3],10,-1894986606),i=Tt(i,s,t,n,r[o+10],15,-1051523),n=Tt(n,i,s,t,r[o+1],21,-2054922799),t=Tt(t,n,i,s,r[o+8],6,1873313359),s=Tt(s,t,n,i,r[o+15],10,-30611744),i=Tt(i,s,t,n,r[o+6],15,-1560198380),n=Tt(n,i,s,t,r[o+13],21,1309151649),t=Tt(t,n,i,s,r[o+4],6,-145523070),s=Tt(s,t,n,i,r[o+11],10,-1120210379),i=Tt(i,s,t,n,r[o+2],15,718787259),n=Tt(n,i,s,t,r[o+9],21,-343485551),t=tr(t,l),n=tr(n,p),i=tr(i,u),s=tr(s,h)}return[t,n,i,s]}function TC(r){if(r.length===0)return[];const e=r.length*8,t=new Uint32Array(FR(e));for(let n=0;n<e;n+=8)t[n>>5]|=(r[n/8]&255)<<n%32;return t}function tr(r,e){const t=(r&65535)+(e&65535);return(r>>16)+(e>>16)+(t>>16)<<16|t&65535}function EC(r,e){return r<<e|r>>>32-e}function Ws(r,e,t,n,i,s){return tr(EC(tr(tr(e,r),tr(n,s)),i),t)}function ht(r,e,t,n,i,s,o){return Ws(e&t|~e&n,r,e,i,s,o)}function ft(r,e,t,n,i,s,o){return Ws(e&n|t&~n,r,e,i,s,o)}function mt(r,e,t,n,i,s,o){return Ws(e^t^n,r,e,i,s,o)}function Tt(r,e,t,n,i,s,o){return Ws(t^(e|~n),r,e,i,s,o)}var bC=hC;Js.default=bC,Object.defineProperty(qs,"__esModule",{value:!0}),qs.default=void 0;var RC=UR(er),gC=UR(Js);function UR(r){return r&&r.__esModule?r:{default:r}}var vC=(0,RC.default)("v3",48,gC.default);qs.default=vC;var Ys={},Hs={};Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.default=void 0;var IC={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};Hs.default=IC,Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.default=void 0;var xR=jR(Hs),DC=jR(xs),SC=Qn;function jR(r){return r&&r.__esModule?r:{default:r}}function OC(r,e,t){if(xR.default.randomUUID&&!e&&!r)return xR.default.randomUUID();r=r||{};const n=r.random||(r.rng||DC.default)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=n[i];return e}return(0,SC.unsafeStringify)(n)}var PC=OC;Ys.default=PC;var zs={},Zs={};Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.default=void 0;function AC(r,e,t,n){switch(r){case 0:return e&t^~e&n;case 1:return e^t^n;case 2:return e&t^e&n^t&n;case 3:return e^t^n}}function Dd(r,e){return r<<e|r>>>32-e}function CC(r){const e=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof r=="string"){const o=unescape(encodeURIComponent(r));r=[];for(let l=0;l<o.length;++l)r.push(o.charCodeAt(l))}else Array.isArray(r)||(r=Array.prototype.slice.call(r));r.push(128);const n=r.length/4+2,i=Math.ceil(n/16),s=new Array(i);for(let o=0;o<i;++o){const l=new Uint32Array(16);for(let p=0;p<16;++p)l[p]=r[o*64+p*4]<<24|r[o*64+p*4+1]<<16|r[o*64+p*4+2]<<8|r[o*64+p*4+3];s[o]=l}s[i-1][14]=(r.length-1)*8/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=(r.length-1)*8&4294967295;for(let o=0;o<i;++o){const l=new Uint32Array(80);for(let v=0;v<16;++v)l[v]=s[o][v];for(let v=16;v<80;++v)l[v]=Dd(l[v-3]^l[v-8]^l[v-14]^l[v-16],1);let p=t[0],u=t[1],h=t[2],f=t[3],b=t[4];for(let v=0;v<80;++v){const I=Math.floor(v/20),D=Dd(p,5)+AC(I,u,h,f)+b+e[I]+l[v]>>>0;b=f,f=h,h=Dd(u,30)>>>0,u=p,p=D}t[0]=t[0]+p>>>0,t[1]=t[1]+u>>>0,t[2]=t[2]+h>>>0,t[3]=t[3]+f>>>0,t[4]=t[4]+b>>>0}return[t[0]>>24&255,t[0]>>16&255,t[0]>>8&255,t[0]&255,t[1]>>24&255,t[1]>>16&255,t[1]>>8&255,t[1]&255,t[2]>>24&255,t[2]>>16&255,t[2]>>8&255,t[2]&255,t[3]>>24&255,t[3]>>16&255,t[3]>>8&255,t[3]&255,t[4]>>24&255,t[4]>>16&255,t[4]>>8&255,t[4]&255]}var wC=CC;Zs.default=wC,Object.defineProperty(zs,"__esModule",{value:!0}),zs.default=void 0;var BC=kR(er),MC=kR(Zs);function kR(r){return r&&r.__esModule?r:{default:r}}var NC=(0,BC.default)("v5",80,MC.default);zs.default=NC;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.default=void 0;var _C="00000000-0000-0000-0000-000000000000";Ks.default=_C;var Xs={};Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.default=void 0;var VC=LC(Dr);function LC(r){return r&&r.__esModule?r:{default:r}}function GC(r){if(!(0,VC.default)(r))throw TypeError("Invalid UUID");return parseInt(r.slice(14,15),16)}var $C=GC;Xs.default=$C,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return o.default}});var e=h(Us),t=h(qs),n=h(Ys),i=h(zs),s=h(Ks),o=h(Xs),l=h(Dr),p=h(Qn),u=h(gi);function h(f){return f&&f.__esModule?f:{default:f}}}(_R);function Sd(r,e){if(!r||!e||!r.length||!e.length)throw new Error("Bad alphabet");this.srcAlphabet=r,this.dstAlphabet=e}Sd.prototype.convert=function(r){var e,t,n,i={},s=this.srcAlphabet.length,o=this.dstAlphabet.length,l=r.length,p=typeof r=="string"?"":[];if(!this.isValid(r))throw new Error('Number "'+r+'" contains of non-alphabetic digits ('+this.srcAlphabet+")");if(this.srcAlphabet===this.dstAlphabet)return r;for(e=0;e<l;e++)i[e]=this.srcAlphabet.indexOf(r[e]);do{for(t=0,n=0,e=0;e<l;e++)t=t*s+i[e],t>=o?(i[n++]=parseInt(t/o,10),t=t%o):n>0&&(i[n++]=0);l=n,p=this.dstAlphabet.slice(t,t+1).concat(p)}while(n!==0);return p},Sd.prototype.isValid=function(r){for(var e=0;e<r.length;++e)if(this.srcAlphabet.indexOf(r[e])===-1)return!1;return!0};var FC=Sd,UC=FC;function vi(r,e){var t=new UC(r,e);return function(n){return t.convert(n)}}vi.BIN="01",vi.OCT="01234567",vi.DEC="0123456789",vi.HEX="0123456789abcdef";var xC=vi;const{v4:Od,validate:jC}=_R,Qs=xC,Pd={cookieBase90:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~",flickrBase58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",uuid25Base36:"0123456789abcdefghijklmnopqrstuvwxyz"},kC={consistentLength:!0};let Ad;const qR=(r,e,t)=>{const n=e(r.toLowerCase().replace(/-/g,""));return!t||!t.consistentLength?n:n.padStart(t.shortIdLength,t.paddingChar)},JR=(r,e)=>{const n=e(r).padStart(32,"0").match(/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/);return[n[1],n[2],n[3],n[4],n[5]].join("-")},qC=r=>Math.ceil(Math.log(2**128)/Math.log(r));var JC=(()=>{const r=(e,t)=>{const n=e||Pd.flickrBase58,i={...kC,...t};if([...new Set(Array.from(n))].length!==n.length)throw new Error("The provided Alphabet has duplicate characters resulting in unreliable results");const s=qC(n.length),o={shortIdLength:s,consistentLength:i.consistentLength,paddingChar:n[0]},l=Qs(Qs.HEX,n),p=Qs(n,Qs.HEX),u=()=>qR(Od(),l,o),f={alphabet:n,fromUUID:b=>qR(b,l,o),maxLength:s,generate:u,new:u,toUUID:b=>JR(b,p),uuid:Od,validate:(b,v=!1)=>{if(!b||typeof b!="string")return!1;const I=i.consistentLength?b.length===s:b.length<=s,D=b.split("").every(O=>n.includes(O));return v===!1?I&&D:I&&D&&jC(JR(b,p))}};return Object.freeze(f),f};return r.constants=Pd,r.uuid=Od,r.generate=()=>(Ad||(Ad=r(Pd.flickrBase58).generate),Ad()),r})();const eo=jA(JC);function WR(){return eo().uuid()}function YR(r){return r.rangeStart+Math.random()}function HR(r){const e=r.rangeEnd;return Math.random()*e}function zR(r){const e=r.rangeStart,t=r.rangeEnd;return Math.random()*(t-e)+e}function ZR(r){return r.rangeStart&&r.rangeEnd?zR(r):r.rangeStart?YR(r):r.rangeEnd?HR(r):Math.random()}function KR(r){const e=r.rangeStart;return Math.random().toString(36).substring(e)}function XR(r){const e=r.rangeEnd;return Math.random().toString(36).substring(0,e)}function QR(r){const e=r.rangeStart,t=r.rangeEnd;return Math.random().toString(36).substring(e,t)}function eg(r){return r.rangeStart&&r.rangeEnd?QR(r):r.rangeStart?KR(r):r.rangeEnd?XR(r):Math.random().toString(36)}function tg(r){return Math.random()>=.5}function WC(r){if(!r||!r.autogeneration)return null;switch(r.autogeneration.type){case ze.CurrentDateAndTime:if(r.name===C.Date)return new Date;case ze.Random:{if(r.name===C.Date)return NR(r.autogeneration);if(r.name===C.Number)return ZR(r.autogeneration);if(r.name===C.String)return eg(r.autogeneration);if(r.name===C.Boolean)return tg(r.autogeneration)}case ze.Unique:if(r.name===C.UUID)return WR();default:throw new Error(`Generating a ${r.autogeneration.type} value for a ${r.name} is not supported`)}}const H="e7eb5382-3d99-44fd-972a-b8b1e819f6be",ng="global-user-variable-id",Cd="last-executed-timestamp-variable-id",YC={id:"alternative-relational-database-entity-identifier-property-data-type-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-identifier-property-id",entityType:a.ValueDescriptor},HC={id:"alternative-relational-database-entity-identifier-property-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-identifier-property-id",entityType:a.Property},zC={like:!1,inferred:!1,id:"alternative-relational-database-entity-identifier-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:HC},to={id:"alternative-relational-database-entity-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-id",entityType:a.CustomEntity},ZC={hidden:!1,required:!0,id:"alternative-relational-database-entity-identifier-property-id",name:"Identifier name",version:1,type:a.Property,private:!1,abstract:!1,implements:vs,static:!0,index:0,defaultValue:{id:"alternative-relational-database-entity-identifier-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:null,parent:YC,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:zC,description:"The name of the main database inside of the server instance where the data will be stored.",parent:to};a.GenericReference,a.ValueDescriptor;const KC={id:"alternative-relational-database-entity-username-property-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-username-property-id",entityType:a.Property},XC={like:!1,inferred:!1,id:"alternative-relational-database-entity-username-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:KC},QC={hidden:!1,required:!0,id:"alternative-relational-database-entity-username-property-id",name:"Username",version:1,type:a.Property,private:!1,abstract:!1,implements:Is,static:!0,index:1,defaultValue:null,dataType:XC,description:"The username that will be used to connect to the database.",parent:to};a.GenericReference,a.ValueDescriptor;const ew={id:"alternative-relational-database-entity-password-property-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-password-property-id",entityType:a.Property},tw={like:!1,inferred:!1,id:"alternative-relational-database-entity-password-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:ew},nw={hidden:!1,required:!0,id:"alternative-relational-database-entity-password-property-id",name:"Password",version:1,type:a.Property,private:!1,abstract:!1,implements:Ds,static:!0,index:2,defaultValue:null,dataType:tw,description:"The password that will be used to connect to the database.",parent:to},rw={id:"alternative-relational-database-entity-min-size-property-data-type-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-min-size-property-id",entityType:a.ValueDescriptor},aw={id:"alternative-relational-database-entity-min-size-property-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-min-size-property-id",entityType:a.Property},iw={like:!1,inferred:!1,id:"alternative-relational-database-entity-min-size-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:aw},sw={hidden:!1,required:!0,id:"alternative-relational-database-entity-min-size-property-id",name:"Minimum GB size",version:1,type:a.Property,private:!1,abstract:!1,implements:Ss,static:!0,index:3,defaultValue:{id:"alternative-relational-database-entity-min-size-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.Number,value:6,parent:rw,autogeneration:null,valueAsType:null},dataType:iw,description:"The minimum size of the database in GB.",parent:to},ow={id:"alternative-relational-database-entity-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},wd={id:"alternative-relational-database-entity-id",type:a.CustomEntity,version:1,name:"Alternative relational Database",description:"A database that permanently stores the persisted entities attached to it.",abstract:!1,static:!0,properties:[ZC,QC,nw,sw],methods:[],abstractMethods:[],extends:[],implements:[un],x:0,y:0,parent:ow},lw={id:"animal-prototype-database-property-ref-id",type:a.GenericReference,entityId:"animal-prototype-database-property-id",entityType:a.Property},dw={id:"animal-prototype-database-property-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:"animal-prototype-database-property-id",entityType:a.Property},cw={like:!1,inferred:!1,id:"animal-prototype-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:un,asType:!1,parent:lw},uw={id:"animal-prototype-database-property-parent-ref-id",type:a.GenericReference,entityId:"83eaa847-e62b-4192-84fb-3d8d6f5ea970",entityType:a.CustomEntity},pw={hidden:!1,required:!0,id:"animal-prototype-database-property-id",name:"Database",version:1,type:a.Property,private:!1,abstract:!1,implements:ua,static:!0,index:0,defaultValue:{id:"animal-prototype-database-property-data-type-default-value-id",type:a.LiteralValue,version:1,value:null,name:C.EntityTemplate,valueAsType:wd,autogeneration:null,parent:dw},dataType:cw,description:"The database that the entity belongs to.",parent:uw},yw={type:a.GenericReference,id:"291e4d4f-01d8-40a0-90dc-5f1ac6636e9b",entityType:a.Property,entityId:"5cb617b0-92be-4dbe-a007-49093368d94f"},hw={like:!1,inferred:!1,id:"c1930577-9e79-48a6-8905-be24611015c1",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:yw},fw={type:a.GenericReference,id:"animal-name-property-parent-ref-id",entityType:a.CustomEntity,entityId:"83eaa847-e62b-4192-84fb-3d8d6f5ea970"},mw={hidden:!1,required:!0,type:a.Property,id:"5cb617b0-92be-4dbe-a007-49093368d94f",version:1,name:"Name",description:"The name of the animal",defaultValue:null,implements:pa,static:!1,private:!1,index:0,dataType:hw,abstract:!1,parent:fw},Tw={type:a.GenericReference,id:"abc565de-4c83-4936-bc48-4013bef213b8",entityType:a.Project,entityId:H},Ew={type:a.CustomEntity,id:"83eaa847-e62b-4192-84fb-3d8d6f5ea970",version:1,name:"Animal",description:"A living creature that is not human",abstract:!1,static:!1,abstractMethods:[],properties:[pw,mw],methods:[],extends:[],implements:[st],x:0,y:0,parent:Tw},Ii="base-table-entity",rg="base-table-entity-identifier-property-id";a.GenericReference,a.Property,a.GenericReference,a.Property;const bw={id:"base-table-entity-identifier-property-data-type-ref-id",type:a.GenericReference,entityId:rg,entityType:a.Property},Rw={id:"base-table-entity-identifier-property-ref-id",type:a.GenericReference,entityId:"base-table-entity-identifier-property-id",entityType:a.Property},gw={like:!1,inferred:!1,id:"base-table-entity-identifier-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parent:Rw},vw={id:"base-table-entity-identifier-property-parent-ref-id",type:a.GenericReference,entityId:Ii,entityType:a.CustomEntity};a.Property,a.LiteralValue,C.UUID,ze.Unique,a.GenericReference,a.Property;const Iw={id:"base-table-entity-deleted-at-property-ref-id",type:a.GenericReference,entityId:"base-table-entity-deleted-at-property-id",entityType:a.Property},Dw={like:!1,inferred:!1,id:"base-table-entity-deleted-at-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!0,constant:!1,entity:ln,asType:!1,parent:Iw},Sw={id:"base-table-entity-deleted-at-property-parent-ref-id",type:a.GenericReference,entityId:Ii,entityType:a.CustomEntity},Ow={hidden:!0,required:!0,id:"base-table-entity-deleted-at-property-id",name:"Deleted at",version:1,type:a.Property,private:!1,abstract:!0,implements:null,static:!1,index:0,defaultValue:null,dataType:Dw,description:"The date and time when the entity was deleted.",parent:Sw};a.GenericReference,a.Property;const Pw={id:"base-table-entity-created-at-property-ref-id",type:a.GenericReference,entityId:"base-table-entity-created-at-property-id",entityType:a.Property},Aw={like:!1,inferred:!1,id:"base-table-entity-created-at-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ln,asType:!1,parent:Pw},Cw={id:"base-table-entity-created-at-property-parent-ref-id",type:a.GenericReference,entityId:Ii,entityType:a.CustomEntity},ww={hidden:!0,required:!0,id:"base-table-entity-created-at-property-id",name:"Created at",version:1,type:a.Property,private:!1,abstract:!0,implements:null,static:!1,index:0,defaultValue:null,dataType:Aw,description:"The date and time when the entity was created.",parent:Cw};a.GenericReference,a.Property;const Bw={id:"base-table-entity-updated-at-property-ref-id",type:a.GenericReference,entityId:"base-table-entity-updated-at-property-id",entityType:a.Property},Mw={like:!1,inferred:!1,id:"base-table-entity-updated-at-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:ln,asType:!1,parent:Bw},Nw={id:"base-table-entity-updated-at-property-parent-ref-id",type:a.GenericReference,entityId:Ii,entityType:a.CustomEntity},_w={hidden:!0,required:!0,id:"base-table-entity-updated-at-property-id",name:"Updated at",version:1,type:a.Property,private:!1,implements:null,abstract:!0,static:!1,index:0,defaultValue:null,dataType:Mw,description:"The date and time when the entity was last updated.",parent:Nw},Vw={id:"base-table-entity-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},Ft={id:Ii,version:1,description:"An entity that is permanently stored in the database and can be accessed at any point.",name:"Base database table format",type:a.CustomEntity,abstract:!0,static:!1,abstractMethods:[],implements:[],properties:[Ow,ww,_w],methods:[],extends:[],x:0,y:0,parent:Vw},Lw={id:"default-relational-database-entity-identifier-property-data-type-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-identifier-property-id",entityType:a.Property},Gw={id:"default-relational-database-entity-identifier-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-identifier-property-id",entityType:a.Property},$w={like:!1,inferred:!1,id:"default-relational-database-entity-identifier-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:Gw},ga={id:"default-relational-database-entity-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-id",entityType:a.CustomEntity},Fw={id:"default-relational-database-entity-identifier-property-id",hidden:!1,required:!0,name:"Identifier name",version:1,type:a.Property,private:!1,abstract:!1,implements:vs,static:!0,index:0,defaultValue:{id:"default-relational-database-entity-identifier-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"main",parent:Lw,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:$w,description:"The name of the main database inside of the server instance where the data will be stored.",parent:ga};a.GenericReference,a.Property;const Uw={id:"default-relational-database-entity-username-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-username-property-id",entityType:a.Property},xw={id:"default-relational-database-entity-username-property-default-value-parent-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-username-property-id",entityType:a.Property},jw={like:!1,inferred:!1,id:"default-relational-database-entity-username-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:Uw},kw={hidden:!1,required:!0,id:"default-relational-database-entity-username-property-id",name:"Username",version:1,type:a.Property,private:!1,abstract:!1,implements:Is,defaultValue:{id:"default-relational-database-entity-username-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"root",parent:xw,autogeneration:null,valueAsType:null},static:!0,index:1,dataType:jw,description:"The username that will be used to connect to the database.",parent:ga};a.GenericReference,a.Property;const qw={id:"default-relational-database-entity-password-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-password-property-id",entityType:a.Property},Jw={id:"default-relational-database-entity-password-property-default-value-parent-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-password-property-id",entityType:a.Property},Ww={like:!1,inferred:!1,id:"default-relational-database-entity-password-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:qw},Yw={hidden:!1,required:!0,id:"default-relational-database-entity-password-property-id",name:"Password",version:1,type:a.Property,private:!1,abstract:!1,implements:Ds,static:!0,index:2,defaultValue:{id:"default-relational-database-entity-password-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"password",parent:Jw,autogeneration:null,valueAsType:null},dataType:Ww,description:"The password that will be used to connect to the database.",parent:ga},Hw={id:"default-relational-database-entity-min-size-property-data-type-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-min-size-property-id",entityType:a.Property},zw={id:"default-relational-database-entity-min-size-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-min-size-property-id",entityType:a.Property},Zw={like:!1,inferred:!1,id:"default-relational-database-entity-min-size-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:zw},Kw={hidden:!1,required:!0,id:"default-relational-database-entity-min-size-property-id",name:"Minimum GB size",version:1,type:a.Property,private:!1,abstract:!1,implements:Ss,static:!0,index:3,defaultValue:{id:"default-relational-database-entity-min-size-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.Number,value:6,parent:Hw,autogeneration:null,valueAsType:null},dataType:Zw,description:"The minimum size of the database in GB.",parent:ga},Xw={id:"default-relational-database-entity-default-property-data-type-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-default-property-id",entityType:a.Property},Qw={id:"default-relational-database-entity-default-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-default-property-id",entityType:a.Property},eB={like:!1,inferred:!1,id:"default-relational-database-entity-default-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:Qw},tB={id:"default-relational-database-entity-default-property-id",hidden:!0,required:!0,name:"Default",description:"Whether this database is automatically picked by other entities as the default database.",version:1,type:a.Property,private:!1,abstract:!1,implements:od,static:!0,index:4,dataType:eB,defaultValue:{id:"default-relational-database-entity-default-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.Boolean,value:!0,parent:Xw,autogeneration:null,valueAsType:null},parent:ga},nB={id:"default-relational-database-entity-autoscaling-property-data-type-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-autoscaling-property-id",entityType:a.Property},rB={id:"default-relational-database-entity-autoscaling-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-autoscaling-property-id",entityType:a.Property},aB={like:!1,inferred:!1,id:"default-relational-database-entity-autoscaling-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:rB},iB={id:"default-relational-database-entity-autoscaling-property-id",hidden:!1,required:!0,name:"Auto-scaling",version:1,type:a.Property,private:!1,abstract:!1,implements:ld,static:!0,index:5,defaultValue:{id:"default-relational-database-entity-autoscaling-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.Boolean,value:!0,parent:nB,autogeneration:null,valueAsType:null},dataType:aB,description:"If true, this database will automatically scale up or down in memory size, based on the usage.s",parent:ga},sB={id:"default-relational-database-entity-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},Bd={id:"default-relational-database-entity-id",type:a.CustomEntity,version:1,name:"Relational Database",description:"A database that permanently stores the persisted entities attached to it.",abstract:!1,static:!0,properties:[tB,iB,Fw,kw,Yw,Kw],methods:[],abstractMethods:[],extends:[],implements:[un],x:0,y:0,parent:sB},oB={id:"user-prototype-database-property-data-type-ref-id",type:a.GenericReference,entityId:"user-prototype-database-property-id",entityType:a.Property},lB={id:"user-prototype-database-property-ref-id",type:a.GenericReference,entityId:"user-prototype-database-property-id",entityType:a.Property},dB={like:!1,inferred:!1,id:"user-prototype-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:un,asType:!1,parent:lB},cB={id:"user-prototype-database-property-parent-ref-id",type:a.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:a.CustomEntity},uB={hidden:!1,required:!0,id:"user-prototype-database-property-id",name:"Database",version:1,type:a.Property,private:!1,abstract:!1,implements:ua,static:!0,index:0,defaultValue:{id:"user-prototype-database-property-data-type-default-value-id",type:a.LiteralValue,version:1,value:null,name:C.EntityTemplate,valueAsType:Bd,autogeneration:null,parent:oB},dataType:dB,description:"The database that the entity belongs to.",parent:cB},pB={type:a.GenericReference,id:"user-prototype-parent-ref-id",entityType:a.Project,entityId:H},yB={id:"user-prototype-primary-key-property-data-type-ref-id",type:a.GenericReference,entityId:"user-prototype-primary-key-property-id",entityType:a.Property},hB={id:"user-prototype-primary-key-property-ref-id",type:a.GenericReference,entityId:"user-prototype-primary-key-property-id",entityType:a.Property},fB={like:!1,inferred:!1,id:"user-prototype-primary-key-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parent:hB},mB={id:"user-prototype-primary-key-property-parent-ref-id",type:a.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:a.CustomEntity},TB={hidden:!1,required:!0,id:"user-prototype-primary-key-property-id",name:"Identifier",version:1,type:a.Property,private:!1,abstract:!1,implements:pa,static:!1,index:1,defaultValue:{id:"user-prototype-primary-key-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.UUID,value:null,parent:yB,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:fB,description:"A property with a unique value for the entity, that can be used to identify the entity among other entities of the same type.",parent:mB},Md={type:a.CustomEntity,id:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",version:1,name:"User",description:"A user of the application",implements:[st,Ft],abstract:!1,static:!1,abstractMethods:[],extends:[],properties:[uB,TB],methods:[],x:0,y:0,parent:pB},EB={type:a.GenericReference,id:"person-date-of-birth-property-data-type-parent-ref-id",entityType:a.Property,entityId:"person-date-of-birth-property-id"},bB={like:!1,inferred:!1,id:"person-date-of-birth-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ln,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:EB},RB={type:a.GenericReference,id:"person-date-of-birth-property-parent-ref-id",entityType:a.CustomEntity,entityId:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416"},gB={hidden:!1,required:!0,type:a.Property,id:"person-date-of-birth-property-id",version:1,name:"Date of birth",description:"The date of birth of the person",implements:null,private:!1,static:!1,index:0,defaultValue:null,dataType:bB,abstract:!1,parent:RB},vB={type:a.GenericReference,id:"a2867827-2f8e-4c25-b18b-d91857d7f24e",entityType:a.Property,entityId:"cacfec92-46c3-4fca-a1d9-fd1ba94d78c7"},IB={like:!1,inferred:!1,id:"1d49f41b-17b9-4f48-87aa-3ce43498e5a9",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:vB},DB={type:a.GenericReference,id:"01cbe760-40a9-4f49-8e3d-194d2f57cb1e",entityType:a.CustomEntity,entityId:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416"},SB={hidden:!1,required:!0,type:a.Property,id:"cacfec92-46c3-4fca-a1d9-fd1ba94d78c7",version:1,name:"Name",description:"The name of the person",implements:null,private:!1,static:!1,index:0,defaultValue:null,dataType:IB,abstract:!1,parent:DB},OB={type:a.GenericReference,id:"3542b22a-3a2f-41c6-876e-24c885572498",entityType:a.Project,entityId:H},gt={type:a.CustomEntity,id:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416",version:1,name:"Person",description:"A entity to store more information about a person than the user entity does, to split the responsibilities and keep it the logic clean.",properties:[SB,gB],abstract:!1,static:!1,abstractMethods:[],methods:[],implements:[],extends:[Md],x:0,y:0,parent:OB},PB={type:a.GenericReference,id:"b59c80b7-b2e9-41e9-abcd-7c5652835efc",entityType:a.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},AB={type:a.GenericReference,id:"1190b5a2-f25e-46db-884d-8a3dd1a44d94",entityType:a.ReturnStatement,entityId:"3ebc4342-c9e8-42e7-a61c-7937081e1d2e"},CB={type:a.GenericReference,id:"36c63126-7814-496f-a6cc-48662c2aabae",entityType:a.ArgumentDeclaration,entityId:"500dee3a-3435-4453-9699-0d053f646523"},wB={type:a.GenericReference,id:"c567e55d-ec12-4e4e-958e-f07522892b4b",entityType:a.ReturnDeclaration,entityId:"9e070523-7e07-4100-8637-960a187f5f14"},BB={like:!1,inferred:!1,id:"3973c5a1-f0d8-49a0-a9a9-a0009bf3f0d8",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:wB},Nd={isError:!1,id:"9e070523-7e07-4100-8637-960a187f5f14",type:a.ReturnDeclaration,version:1,name:"Output Account Owner",description:null,defaultValue:null,dataType:BB,implements:null,readsValue:CB,required:!0,index:0,parent:AB},MB={type:a.GenericReference,id:"567d923c-20da-4c1e-956d-962ea30c6d0b",entityType:a.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},NB={type:a.GenericReference,id:"da85e620-59f3-42ab-88c8-b38d33c2c833",entityType:a.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},ag={type:a.ReturnStatement,id:"3ebc4342-c9e8-42e7-a61c-7937081e1d2e",version:1,outputs:[Nd],calledByError:[],calledByEntry:[MB],calledBySuccess:[],throws:null,x:0,y:0,parent:NB},_B={type:a.GenericReference,id:"1c806bb7-4c25-4bad-963b-93dfbb7c8304",entityType:a.ArgumentDeclaration,entityId:"500dee3a-3435-4453-9699-0d053f646523"},VB={like:!1,inferred:!1,id:"d90fcc18-642b-433c-8fcb-4094b9031cd5",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:_B},ig={id:"500dee3a-3435-4453-9699-0d053f646523",type:a.ArgumentDeclaration,version:1,name:"New Account Owner",description:null,defaultValue:null,dataType:VB,implements:null,required:!0,writesValues:[Nd],index:0,parent:PB},LB={type:a.GenericReference,id:"83dceb60-f3c4-4085-824c-85f2003bfd27",entityType:a.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},sg={type:a.FunctionDeclaration,id:"36f29f96-c001-4b9a-b49c-83eff406a060",version:1,name:"Change owner of bank account",description:null,implements:null,inputs:[ig],calls:[ag],returnStatements:[ag],index:0,collapsed:!1,private:!1,x:0,y:0,parent:LB},GB={type:a.GenericReference,id:"adbaf302-ffa9-49b6-a3c6-83f9a75068e3",entityType:a.VariableDeclaration,entityId:"8e36a476-766e-4cc2-a8a7-27a07dfb5a4b"},$B={like:!1,inferred:!1,id:"79ee04aa-1ba4-4ae9-a406-ed45e5b03f7f",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:GB},FB={type:a.GenericReference,id:"55e212d1-f0ec-4bb6-acbe-60f741367daf",entityType:a.OutputMap,entityId:"dc9ddb8f-02a0-4a43-aea6-270ec7b7f8a4"},UB={type:a.GenericReference,id:"944e1171-3d9b-4559-9386-1d4974b15962",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},xB={id:"8e36a476-766e-4cc2-a8a7-27a07dfb5a4b",type:a.VariableDeclaration,version:1,name:"Output Account Owner",description:null,defaultValue:null,dataType:$B,readsValue:FB,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:UB},jB={type:a.GenericReference,id:"b89ebc83-52cf-4447-a5ae-62241f713079",entityType:a.FunctionCall,entityId:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e"},kB={id:"dc9ddb8f-02a0-4a43-aea6-270ec7b7f8a4",type:a.OutputMap,version:1,declaration:Nd,defaultValue:null,writesValues:[xB],index:0,parent:jB},qB={type:a.GenericReference,id:"c1b9e125-1aad-48b7-9687-95c57a6bc10d",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},JB={type:a.GenericReference,id:"d2deaa02-e164-4425-905c-6dee47eb4eac",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},WB={type:a.GenericReference,id:"1109a655-ac62-4110-a933-42a72106f4f0",entityType:a.VariableDeclaration,entityId:"8bea6986-8da2-487b-905d-2fb962db6728"},YB={like:!1,inferred:!1,id:"7d9a1307-512e-42ec-9797-2f7229796b97",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:WB},HB={type:a.GenericReference,id:"bb61ebf7-57b3-4d14-905d-82ec907205b5",entityType:a.ArgumentDeclaration,entityId:"38f6b236-98ac-47b0-ab9c-d2f9610137b9"},zB={type:a.GenericReference,id:"6b8c7bf2-9fc8-4ea4-9ec0-f41679d513b1",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},ZB={type:a.GenericReference,id:"6163d1a1-7a94-49b1-95bb-aecd8d6d335c",entityType:a.FunctionCall,entityId:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e"},KB={type:a.GenericReference,id:"1f900f62-4bd2-4246-94aa-b8f5aad384fd",entityType:a.VariableDeclaration,entityId:"8bea6986-8da2-487b-905d-2fb962db6728"},og={id:"be8538be-e6f9-4b94-9314-a546003ebaa0",type:a.InputMap,version:1,declaration:ig,name:null,description:null,readsValue:KB,defaultValue:null,index:0,parent:ZB},XB={type:a.VariableDeclaration,id:"8bea6986-8da2-487b-905d-2fb962db6728",version:1,name:"Changed Account Owner",description:null,defaultValue:null,dataType:YB,readsValue:HB,writesValues:[og],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:zB},QB={type:a.FunctionCall,id:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e",version:1,declaration:sg,inputs:[og],outputs:[kB],process:null,successCalls:[],errorCalls:[],calledByError:[],calledByEntry:[qB],calledBySuccess:[],parent:JB,error:null,x:0,y:0},eM={type:a.GenericReference,id:"2d47aba1-a918-46a7-8db7-78809928654a",entityType:a.ArgumentDeclaration,entityId:"38f6b236-98ac-47b0-ab9c-d2f9610137b9"},tM={like:!1,inferred:!1,id:"5583766c-e9a5-484c-8f43-f4b0a6a1876c",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:eM},nM={type:a.GenericReference,id:"3e2a81e4-55b2-49f5-94eb-39135e95c3d7",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},rM={id:"38f6b236-98ac-47b0-ab9c-d2f9610137b9",type:a.ArgumentDeclaration,version:1,description:null,name:"New Company Owner",defaultValue:null,dataType:tM,implements:null,required:!0,index:0,writesValues:[XB],parent:nM},aM={type:a.GenericReference,id:"30291b01-1b94-4d03-b434-dec122c2bc7d",entityType:a.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},iM={type:a.FunctionDeclaration,id:"15ee556d-681f-47de-a31f-16d4ba73cc4e",version:1,description:null,name:"Change Account Owner",inputs:[rM],collapsed:!0,returnStatements:[],calls:[QB],private:!1,index:0,implements:null,x:0,y:0,parent:aM},sM={type:a.GenericReference,id:"72c7ac0a-886e-4e10-b7ed-2f5a819a0233",entityType:a.Property,entityId:"b8f4656a-2b77-43ab-af51-7c32ddede044"},oM={like:!1,inferred:!1,id:"c09dd282-73f6-4077-a467-b66db20b9fc6",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:sM},lM={type:a.GenericReference,id:"8a950024-512c-4580-81db-a705410aeb99",entityType:a.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},dM={hidden:!1,required:!0,type:a.Property,id:"b8f4656a-2b77-43ab-af51-7c32ddede044",version:1,name:"Account number",description:null,private:!0,defaultValue:null,implements:pa,static:!1,index:0,dataType:oM,abstract:!1,parent:lM},cM={type:a.GenericReference,id:"b6704b6c-c3bd-49d0-8ebc-82d03e726cbb",entityType:a.Property,entityId:"733d06a6-b8c5-44f3-a1f7-a8c9bd9e44ea"},uM={like:!1,inferred:!1,id:"c03e0b0a-88ab-401a-8833-4806738bdc37",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:cM},pM={type:a.GenericReference,id:"1ef999a7-e9ed-406a-866e-e58277fc985b",entityType:a.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},yM={hidden:!1,required:!0,type:a.Property,id:"733d06a6-b8c5-44f3-a1f7-a8c9bd9e44ea",version:1,description:null,name:"Account Owner",index:1,defaultValue:null,dataType:uM,implements:null,static:!1,private:!0,abstract:!1,parent:pM},hM={type:a.GenericReference,id:"d41d7f41-98b8-4f67-be92-c349fdda5156",entityType:a.Project,entityId:H},va={type:a.CustomEntity,id:"506946aa-30da-48e6-918f-ffd9eac58813",version:1,name:"Bank Account",description:null,abstract:!1,static:!1,abstractMethods:[],properties:[dM,yM],methods:[sg,iM],extends:[],implements:[st,Ft],x:0,y:0,parent:hM},Di="bitcoin-api-response-id",lg="time-property-id",dg="disclaimer-property-id",cg="chart-name-property-id",ug="bpi-property-id",no="bpi-entity-id",pg="usd-property-id",yg="gbp-property-id",hg="eur-property-id",Ia="currency-entity-id",fg="currency-code-property-id",mg="currency-symbol-property-id",Tg="currency-rate-property-id",Eg="currency-description-property-id",bg="currency-rate-number-property-id",fM={type:a.GenericReference,id:"code-property-data-type-parent-ref-id",entityType:a.Property,entityId:fg},mM={like:!1,inferred:!1,id:"code-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Pn,isList:!1,asType:!1,isNullable:!1,options:["USD","GBP","EUR"],constant:!1,parent:fM},TM={type:a.GenericReference,id:"code-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},EM={hidden:!1,required:!0,type:a.Property,id:fg,version:1,name:"code",description:null,defaultValue:null,dataType:mM,index:0,implements:null,static:!1,private:!1,abstract:!1,parent:TM},bM={type:a.GenericReference,id:"symbol-property-data-type-parent-ref-id",entityType:a.Property,entityId:mg},RM={like:!1,inferred:!1,id:"symbol-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Pn,isList:!1,asType:!1,isNullable:!1,options:["$","£","€"],constant:!1,parent:bM},gM={type:a.GenericReference,id:"symbol-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},vM={hidden:!1,required:!0,type:a.Property,id:mg,version:1,name:"symbol",description:null,index:0,defaultValue:null,dataType:RM,implements:null,static:!1,private:!1,abstract:!1,parent:gM},IM={type:a.GenericReference,id:"rate-property-data-type-parent-ref-id",entityType:a.Property,entityId:Tg},DM={like:!1,inferred:!1,id:"rate-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:IM},SM={type:a.GenericReference,id:"rate-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},OM={hidden:!1,required:!0,type:a.Property,id:Tg,version:1,name:"rate",description:null,index:0,defaultValue:null,dataType:DM,implements:null,static:!1,private:!1,abstract:!1,parent:SM},PM={type:a.GenericReference,id:"description-property-data-type-parent-ref-id",entityType:a.Property,entityId:Eg},AM={like:!1,inferred:!1,id:"description-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:PM},CM={type:a.GenericReference,id:"description-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},wM={hidden:!1,required:!0,type:a.Property,id:Eg,version:1,name:"description",description:null,defaultValue:null,dataType:AM,implements:null,static:!1,index:0,private:!1,abstract:!1,parent:CM},BM={type:a.GenericReference,id:"rate-number-property-data-type-parent-ref-id",entityType:a.Property,entityId:bg},MM={like:!1,inferred:!1,id:"rate-number-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:BM},NM={type:a.GenericReference,id:"rate-number-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},_M={hidden:!1,required:!0,type:a.Property,id:bg,version:1,name:"rate_float",description:null,defaultValue:null,dataType:MM,implements:null,static:!1,index:0,private:!1,abstract:!1,parent:NM},VM={type:a.GenericReference,id:"currency-prototype-parent-ref-id",entityType:a.Project,entityId:H},ro={type:a.CustomEntity,id:Ia,version:1,name:"Currency",description:"This entity describes a currency in the Bitcoin Price Index.",properties:[EM,vM,OM,wM,_M],static:!1,abstract:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:VM},LM={type:a.GenericReference,id:"usd-property-data-type-parent-ref-id",entityType:a.Property,entityId:pg},GM={like:!1,inferred:!1,id:"usd-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ro,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:LM},$M={type:a.GenericReference,id:"usd-property-parent-ref-id",entityType:a.CustomEntity,entityId:no},FM={hidden:!1,required:!0,id:pg,type:a.Property,version:1,name:"USD",description:null,index:0,dataType:GM,defaultValue:null,implements:null,static:!1,private:!1,abstract:!1,parent:$M},UM={type:a.GenericReference,id:"gbp-property-data-type-parent-ref-id",entityType:a.Property,entityId:yg},xM={like:!1,inferred:!1,id:"gbp-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ro,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:UM},jM={type:a.GenericReference,id:"gbp-property-parent-ref-id",entityType:a.CustomEntity,entityId:no},kM={hidden:!1,required:!0,id:yg,type:a.Property,version:1,name:"GBP",description:null,index:0,dataType:xM,defaultValue:null,implements:null,static:!1,private:!1,abstract:!1,parent:jM},qM={type:a.GenericReference,id:"eur-property-data-type-parent-ref-id",entityType:a.Property,entityId:hg},JM={like:!1,inferred:!1,id:"eur-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ro,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:qM},WM={type:a.GenericReference,id:"eur-property-parent-ref-id",entityType:a.CustomEntity,entityId:no},YM={hidden:!1,required:!0,id:hg,type:a.Property,version:1,name:"EUR",description:null,implements:null,static:!1,index:0,defaultValue:null,dataType:JM,private:!1,abstract:!1,parent:WM},HM={type:a.GenericReference,id:"bpi-prototype-parent-ref-id",entityType:a.Project,entityId:H},Rg={type:a.CustomEntity,id:no,version:1,name:"BPI",description:"The Bitcoin Price Index",properties:[FM,kM,YM],abstract:!1,static:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:HM},zM={type:a.GenericReference,id:"time-property-data-type-parent-ref-id",entityType:a.Property,entityId:lg},ZM={like:!1,inferred:!1,id:"time-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ia,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:zM},KM={type:a.GenericReference,id:"time-property-parent-ref-id",entityType:a.CustomEntity,entityId:Di},XM={hidden:!1,required:!0,type:a.Property,id:lg,version:1,name:"time",description:null,index:0,defaultValue:null,dataType:ZM,implements:null,static:!1,private:!1,abstract:!1,parent:KM},QM={type:a.GenericReference,id:"disclaimer-property-data-type-parent-ref-id",entityType:a.Property,entityId:dg},eN={like:!1,inferred:!1,id:"disclaimer-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:QM},tN={type:a.GenericReference,id:"disclaimer-property-parent-ref-id",entityType:a.CustomEntity,entityId:Di},nN={hidden:!1,required:!0,type:a.Property,id:dg,version:1,name:"disclaimer",description:null,index:0,defaultValue:null,dataType:eN,implements:null,static:!1,private:!1,abstract:!1,parent:tN},rN={type:a.GenericReference,id:"chart-name-property-data-type-parent-ref-id",entityType:a.Property,entityId:cg},aN={like:!1,inferred:!1,id:"chart-name-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:rN},iN={type:a.GenericReference,id:"chart-name-property-parent-ref-id",entityType:a.CustomEntity,entityId:Di},sN={hidden:!1,required:!0,type:a.Property,id:cg,version:1,name:"chartName",description:null,index:0,defaultValue:null,dataType:aN,implements:null,static:!1,private:!1,abstract:!1,parent:iN},oN={type:a.GenericReference,id:"bpi-property-data-type-parent-ref-id",entityType:a.Property,entityId:ug},lN={like:!1,inferred:!1,id:"bpi-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Rg,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:oN},dN={type:a.GenericReference,id:"bpi-property-parent-ref-id",entityType:a.CustomEntity,entityId:Di},cN={hidden:!1,required:!0,type:a.Property,id:ug,version:1,name:"bpi",description:null,implements:null,index:0,defaultValue:null,dataType:lN,static:!1,private:!1,abstract:!1,parent:dN},uN={type:a.GenericReference,id:"bitcoin-api-response-parent-ref-id",entityType:a.Project,entityId:H},gg={type:a.CustomEntity,id:Di,version:1,name:"Bitcoin API Response type",description:"The type of the data structure response from the Bitcoin API call",properties:[XM,nN,sN,cN],abstract:!1,static:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:uN},pN={type:a.GenericReference,id:"eefa0147-f873-484b-b4f3-9e6493aab183",entityType:a.ArgumentDeclaration,entityId:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},yN={like:!1,inferred:!1,id:"b9f35112-dcb2-4b7c-8fb9-f196b3fa37f9",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:pN},hN={type:a.GenericReference,id:"128770d6-5e3a-4aff-bca0-ad1f32ebefa8",entityType:a.ReturnStatement,entityId:"e4e05975-c277-471a-b869-f0aed316045c"},fN={type:a.GenericReference,id:"0be84bf9-6421-42b9-980f-6a03f30cb809",entityType:a.ReturnDeclaration,entityId:"a1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},mN={like:!1,inferred:!1,id:"43daa02a-237b-4b7c-a6e9-2b8c167f6e22",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:fN},TN={type:a.GenericReference,id:"ad380383-4a47-43da-968e-75a2d603b230",entityType:a.ArgumentDeclaration,entityId:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},vg={isError:!1,id:"a1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:a.ReturnDeclaration,version:1,name:"New Company Owner",description:"The new owner of the company",implements:null,defaultValue:null,dataType:mN,readsValue:TN,required:!0,index:0,parent:hN},EN={type:a.GenericReference,id:"4f24dc27-59a1-49bf-abcc-7d72b00926e4",entityType:a.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},bN={id:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a",type:a.ArgumentDeclaration,version:1,name:"New Company Owner",description:null,implements:null,defaultValue:null,dataType:yN,writesValues:[vg],required:!0,index:0,parent:EN},RN={type:a.GenericReference,id:"5c9a02f0-d2cf-4efc-828e-467f33a74dd3",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},gN={type:a.GenericReference,id:"2ff8f3da-e0c5-4f0f-b688-2c051c588786",entityType:a.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},vN={type:a.GenericReference,id:"195ae28c-159b-42de-80b1-2ebb8be3619f",entityType:a.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},Ig={type:a.ReturnStatement,id:"e4e05975-c277-471a-b869-f0aed316045c",version:1,outputs:[vg],calledByError:[],calledByEntry:[gN],calledBySuccess:[],throws:null,x:0,y:0,parent:vN},IN={type:a.FunctionDeclaration,id:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4",version:1,name:"Change owner of company",description:"Change the owner of the company to a new person",inputs:[bN],calls:[Ig],index:0,collapsed:!1,implements:null,returnStatements:[Ig],private:!1,x:0,y:0,parent:RN},DN={type:a.GenericReference,id:"e691026f-6db0-43ec-93cd-805ae7d713e3",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},SN={type:a.GenericReference,id:"29c4e3e0-1b66-4075-b559-45b27c5cf356",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},ON={type:a.GenericReference,id:"b1289358-b185-455d-8f58-7791b15cd52a",entityType:a.ReturnStatement,entityId:"9690cd1d-ea35-4e83-823d-0c7310265fee"},PN={type:a.GenericReference,id:"d847bb49-8789-4550-bb2d-e2d551993b28",entityType:a.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},AN={type:a.GenericReference,id:"06535500-c37c-4915-8398-1d4e184fa5e7",entityType:a.ReturnDeclaration,entityId:"e7a35277-a0c4-46d5-aca2-bddd0c26e931"},CN={like:!1,inferred:!1,id:"d358dd91-35f7-4095-b728-3fb3c71dbc05",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:On,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:AN},_d={isError:!1,id:"e7a35277-a0c4-46d5-aca2-bddd0c26e931",type:a.ReturnDeclaration,version:1,name:"Is name registered",description:"Whether the company name is already registered",defaultValue:null,dataType:CN,implements:null,readsValue:PN,required:!0,index:0,parent:ON},wN={type:a.GenericReference,id:"gov-company-registry-return-statement-called-by-success-ref-id",entityType:a.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},Vd={type:a.ReturnStatement,id:"9690cd1d-ea35-4e83-823d-0c7310265fee",version:1,outputs:[_d],calledByError:[],calledByEntry:[],calledBySuccess:[DN,wN],throws:null,x:0,y:0,parent:SN},BN={type:a.GenericReference,id:"b3126414-4c9b-495f-901e-59f5073c8d67",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},MN={type:a.GenericReference,id:"35115c48-618b-411b-a290-d746d22fdd10",entityType:a.VariableDeclaration,entityId:"83e12ebb-c958-4dee-b750-8ab9930f0f4e"},Dg={id:"a0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a",type:a.InputMap,version:1,declaration:Fl,name:null,description:null,readsValue:MN,defaultValue:null,parent:BN,index:2},NN={type:a.GenericReference,id:"14f46eae-04a5-47d1-9c7f-28fb09b84d1d",entityType:a.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},_N={like:!1,inferred:!1,id:"990bd5d1-07ea-4253-acc1-d03bedd22a38",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:On,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:NN},VN={type:a.GenericReference,id:"e4c3542a-8fb0-4b72-8d6e-3fdff812dd67",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},LN={type:a.GenericReference,id:"825f9f60-22a8-4cc6-9055-d7333f8e92f4",entityType:a.OutputMap,entityId:"8f30d787-9459-4d8d-98a2-b46fbc2006d5"},GN={type:a.GenericReference,id:"is-company-name-registered-var-called-by-ref",entityType:a.Operation,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},Sg={type:a.VariableDeclaration,id:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a",version:1,name:"Is name registered",description:"Whether the company name is registered with the government company registry",defaultValue:null,dataType:_N,readsValue:LN,writesValues:[_d],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[GN],successCalls:[Vd],errorCalls:[],internalCalls:[],x:0,y:0,parent:VN},$N={type:a.GenericReference,id:"1aba021e-48ef-44ac-93d0-eaecac5895da",entityType:a.InputMap,entityId:"c3c8d6c1-3e0d-4e6c-9f9c-6b8c7d7f8e9a"},FN={type:a.GenericReference,id:"dffae7e0-0a5c-4c14-8ed2-8d680b4c4c86",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},UN={type:a.InputMap,id:"c3c8d6c1-3e0d-4e6c-9f9c-6b8c7d7f8e9a",version:1,declaration:ys,name:null,description:null,readsValue:null,defaultValue:{id:"gov-http-request-url-argument-default-value-id",type:a.LiteralValue,version:1,value:"https://api.publicapis.org/entries",name:C.String,valueAsType:null,parent:$N,autogeneration:null},index:1,parent:FN},xN={type:a.GenericReference,id:"64ae61f5-ace7-401b-926d-25f852daa60e",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},jN={id:"8f30d787-9459-4d8d-98a2-b46fbc2006d5",type:a.OutputMap,version:1,defaultValue:null,declaration:Es,index:2,writesValues:[Sg],parent:xN},kN={type:a.GenericReference,id:"62a1a086-caea-4270-9c9f-a1695503e745",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},qN={id:"48cf7654-8f3e-4fcd-abc6-740876c310a0",type:a.InputMap,version:1,declaration:ps,name:null,description:null,readsValue:null,index:0,defaultValue:null,parent:kN},JN={type:a.GenericReference,id:"b0c9c79f-f525-428d-99e7-087d3237ad62",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},WN={id:"2c1dc406-4b71-4023-87b2-abede3a111d2",type:a.InputMap,version:1,name:null,description:null,declaration:hs,index:3,readsValue:null,defaultValue:null,parent:JN},YN={type:a.GenericReference,id:"9887d6c9-d75b-4c97-b722-e2e60945ea20",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},HN={id:"3fef94b2-0278-43ae-b0c5-bc7083f0a111",type:a.InputMap,version:1,declaration:fs,name:null,description:null,readsValue:null,index:4,defaultValue:null,parent:YN},zN={type:a.GenericReference,id:"561275b6-5056-45d8-bf7d-8abaa4645593",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},ZN={id:"3efe20a7-4d63-411e-89ef-63e277f48d66",type:a.OutputMap,version:1,defaultValue:null,declaration:Ts,index:1,writesValues:[],parent:zN},KN={type:a.GenericReference,id:"3170ccc2-13de-4bfc-802a-a643be41cd42",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},XN={id:"40d34323-d7e6-440a-8016-67c05a3b66dd",type:a.OutputMap,version:1,defaultValue:null,declaration:ms,index:0,writesValues:[],parent:KN},QN={type:a.GenericReference,id:"7432fa82-f574-4c54-a8fa-4cc4376da3d5",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},e_={type:a.GenericReference,id:"8f518502-9eea-462c-8753-8bc3bf3e29a9",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},t_={type:a.GenericReference,id:"123b8f18-79d9-4166-a5f6-78ec4b461680",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},n_={type:a.GenericReference,id:"e691026f-6db0-43ec-93cd-805ae7d713e3",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},r_={type:a.GenericReference,id:"a375eedf-4811-41aa-a998-4897c69c46b9",entityType:a.ReturnDeclaration,entityId:"024a9b77-c1cd-4b67-b3ba-1935046b590d"},a_={like:!1,inferred:!1,id:"767cc5ed-20ec-4fd1-89b1-c8d19daa87d1",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:r_},i_={type:a.GenericReference,id:"e64b0c23-129d-4d74-8ab4-eec60e1e5b9b",entityType:a.ReturnStatement,entityId:"ea444a9e-6a5b-4138-b81f-0d5618c3c6f3"},Og={isError:!0,id:"024a9b77-c1cd-4b67-b3ba-1935046b590d",type:a.ReturnDeclaration,version:1,name:"Error",description:"The error that occurred during the HTTP request to the government company registry",dataType:a_,defaultValue:null,implements:null,required:!0,readsValue:null,index:0,parent:i_},Pg={type:a.ReturnStatement,id:"ea444a9e-6a5b-4138-b81f-0d5618c3c6f3",version:1,outputs:[],calledByError:[n_],calledByEntry:[],calledBySuccess:[],throws:Og,x:0,y:0,parent:t_},s_={type:a.GenericReference,id:"323814fb-9723-49ef-bbba-f882384f18e4",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},o_={id:"2f63f7ba-0ff0-458a-92bc-65d1dd4df8c3",type:a.OutputMap,declaration:Ul,defaultValue:null,version:1,writesValues:[Og],index:0,parentRelationType:ra.Error,parent:s_},l_={type:a.Operation,id:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7",version:1,declaration:Xa,inputs:[qN,UN,Dg,WN,HN],outputs:[XN,ZN,jN],process:null,calledByError:[],calledByEntry:[QN],calledBySuccess:[],successCalls:[Vd,Sg],errorCalls:[Pg],error:o_,x:0,y:0,parent:e_},d_={type:a.GenericReference,id:"597b8aa2-f6f2-4f7d-bbb9-b703d02de96a",entityType:a.InputMap,entityId:"b0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a"},c_={type:a.GenericReference,id:"546d99b3-28c4-4186-93a0-ac53c1565e07",entityType:a.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},u_={id:"b0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a",type:a.InputMap,version:1,declaration:ds,name:null,description:null,readsValue:null,defaultValue:{id:"base-query-string-map-default-value-id",type:a.LiteralValue,version:1,value:"?name=",name:C.String,parent:d_,valueAsType:null,autogeneration:null},index:0,parent:c_},p_={type:a.GenericReference,id:"6a56fb22-82e1-47c9-bf85-41c4e5986c74",entityType:a.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},y_={type:a.GenericReference,id:"191c6a6d-9bcb-441e-bf98-de0da96f5f3a",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},h_={type:a.GenericReference,id:"d8fcbb76-dae2-40cf-847a-02364721b387",entityType:a.VariableDeclaration,entityId:"83e12ebb-c958-4dee-b750-8ab9930f0f4e"},f_={like:!1,inferred:!1,id:"6a70c42b-024a-47c6-8a9d-af52be9c9b9a",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:h_},m_={type:a.GenericReference,id:"2282e2c0-ed9e-4c7b-86fc-1a364fa0fdb8",entityType:a.OutputMap,entityId:"f6c22cf8-63e4-4b2d-b649-b5ab884cf9a5"},T_={type:a.GenericReference,id:"assembled-query-string-called-by-ref",entityType:a.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},Ag={type:a.VariableDeclaration,id:"83e12ebb-c958-4dee-b750-8ab9930f0f4e",version:1,name:"Query string",description:"The final, assembled query string that will be used in the HTTP request to the government company registry",defaultValue:null,dataType:f_,readsValue:m_,writesValues:[Dg],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[T_],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:y_},E_={id:"f6c22cf8-63e4-4b2d-b649-b5ab884cf9a5",type:a.OutputMap,version:1,defaultValue:null,writesValues:[Ag],declaration:Za,index:0,parent:p_},b_={type:a.GenericReference,id:"a1b48e7c-0301-4747-b4dd-b5af79956f7f",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},R_={type:a.GenericReference,id:"487c9235-be95-4c96-b9b5-2714b374a277",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},g_={type:a.GenericReference,id:"f6471f4f-b269-46fa-80ec-885e87a449c2",entityId:"a4106e8e-ec4f-4633-a636-09ae73135f69",entityType:a.ArgumentDeclaration},v_={type:a.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:a.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},Cg={id:"08f36e2b-bad2-425c-8129-93560bec8488",version:1,type:a.InputMap,declaration:cs,name:null,description:null,readsValue:g_,defaultValue:null,index:1,parent:v_},I_={type:a.Operation,id:"8f2094c0-e27e-465e-9280-112da0de9019",declaration:Ka,version:1,inputs:[Cg,u_],outputs:[E_],process:null,calledByError:[],calledByEntry:[b_],calledBySuccess:[],successCalls:[Ag],errorCalls:[],error:null,x:0,y:0,parent:R_},D_={type:a.GenericReference,id:"c2e0e9b4-aa46-4974-bf8a-886b737b12fb",entityType:a.ArgumentDeclaration,entityId:"a4106e8e-ec4f-4633-a636-09ae73135f69"},S_={like:!1,inferred:!1,id:"a4279518-3bf3-44b7-a2ac-65142ca37f1c",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:D_},O_={type:a.GenericReference,id:"dc273f24-164b-4943-82f9-589b237141e2",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},wg={id:"a4106e8e-ec4f-4633-a636-09ae73135f69",type:a.ArgumentDeclaration,version:1,name:"Company Name to check",description:"The name of the company to check in the government registry",dataType:S_,defaultValue:null,implements:null,required:!1,writesValues:[Cg],index:0,parent:O_},P_={type:a.GenericReference,id:"2178a10c-1cc0-4dad-97c3-0941be6c9738",entityType:a.Project,entityId:H},Bg={type:a.FunctionDeclaration,id:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d",version:1,name:"Check Gov Company Registry availability",description:"Check whether the company name is already registered in the government company registry, or it is available for a new company to use.",inputs:[wg],calls:[I_,l_],returnStatements:[Vd,Pg],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:P_},A_={type:a.GenericReference,id:"4d66c53c-f0f7-496a-9955-1e6c8533c5e0",entityType:a.Condition,entityId:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b"},C_={type:a.GenericReference,id:"6fa0c8e0-d104-4b4d-a035-d4f6e0c49f09",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},w_={type:a.GenericReference,id:"146408d5-5336-4877-941a-777dd5871926",entityType:a.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},B_={type:a.GenericReference,id:"34ae8f8c-548d-4654-984a-6f36affdaf49",entityType:a.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},Mg={id:"69b1215d-9ebf-4274-b9cb-d4a5888f5122",version:1,type:a.InputMap,declaration:wg,name:null,description:null,readsValue:w_,defaultValue:null,index:0,parent:B_},M_={type:a.GenericReference,id:"07540a94-dda1-40b3-8452-f209bdc87b88",entityType:a.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},N_={type:a.GenericReference,id:"eaddf12a-a995-429e-90a0-13bf06efeb28",entityType:a.VariableDeclaration,entityId:"faaf3bf6-917d-40d7-aee6-5164f6646c4b"},__={like:!1,inferred:!1,id:"7fdaf943-3ffb-48e0-b766-b86cc24090cf",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:On,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:N_},V_={type:a.GenericReference,id:"030fb5c5-af4d-4c85-8cf0-e99edd50d2bd",entityType:a.OutputMap,entityId:"c1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},L_={type:a.GenericReference,id:"a8b618e9-c68c-48c1-8bd6-ef47c87d699e",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},G_={type:a.GenericReference,id:"is-company-name-valid-var-called-by-ref",entityType:a.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},Ng={type:a.VariableDeclaration,id:"faaf3bf6-917d-40d7-aee6-5164f6646c4b",version:1,name:"Is name valid",description:"Whether the company name is valid",defaultValue:null,dataType:__,readsValue:V_,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[G_],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:L_},$_={id:"c1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:a.OutputMap,version:1,declaration:_d,defaultValue:null,writesValues:[Ng],index:0,parent:M_},F_={type:a.FunctionCall,id:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a",version:1,declaration:Bg,inputs:[Mg],outputs:[$_],calledByError:[],calledByEntry:[],process:null,calledBySuccess:[A_],successCalls:[Ng],errorCalls:[],error:null,x:0,y:0,parent:C_},U_={type:a.GenericReference,id:"9d0b87b4-bfed-4e02-9e84-6831c21feae2",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},x_={type:a.GenericReference,id:"74345f4f-e80d-48be-adff-d12fcea25bec",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},j_={type:a.GenericReference,id:"b39279ea-969a-4efb-a9ec-353bfd13db65",entityType:a.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},k_={type:a.GenericReference,id:"549db613-f225-4c5b-9634-7d096717f0ff",entityType:a.Condition,entityId:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b"},_g={id:"358e242c-7448-442e-ab8b-fd7fa119ea71",version:1,type:a.InputMap,declaration:Rr.inputs[0],name:null,description:null,readsValue:j_,defaultValue:null,index:0,parent:k_},q_={type:a.Condition,id:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b",version:1,declaration:Rr,inputs:[_g],calledByError:[],calledByEntry:[U_],calledBySuccess:[],successCalls:[F_],errorCalls:[],x:0,y:0,parent:x_},J_={type:a.GenericReference,id:"43ba1e25-f805-488f-8ae8-c58bb6215b2f",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},W_={type:a.GenericReference,id:"eb091bed-507f-4a1e-93b5-7cd2fccfe002",entityType:a.VariableDeclaration,entityId:"9c928995-0dd5-4f97-9962-56b343bc8a45"},Y_={like:!1,inferred:!1,id:"d64152ea-831f-4426-9506-a39bfa170513",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:va,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:W_},H_={type:a.GenericReference,id:"7e79c29f-f7bd-441a-a77e-c627604dae94",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},z_={type:a.GenericReference,id:"8995ce5f-d5cf-4341-a8b1-5c046cc78b89",entityType:a.ArgumentDeclaration,entityId:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071"},Z_={type:a.GenericReference,id:"new-company-bank-account-var-decl-1-called-by-ref",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},Vg={type:a.VariableDeclaration,id:"9c928995-0dd5-4f97-9962-56b343bc8a45",version:1,name:"New bank account",description:"The new entity value representing the new bank account of the company",defaultValue:null,dataType:Y_,readsValue:z_,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[Z_],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:H_},K_={type:a.GenericReference,id:"9a4887bf-d50d-43e4-bdd5-a5262f65f04b",entityType:a.ArgumentDeclaration,entityId:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071"},X_={like:!1,inferred:!1,id:"ae148c06-3143-49e9-9614-c3aca3f6fa7b",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:va,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:K_},Q_={id:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071",type:a.ArgumentDeclaration,version:1,name:"New bank account",description:"The new bank account of the company",dataType:X_,implements:null,defaultValue:null,required:!0,index:1,writesValues:[Vg],parent:J_},eV={type:a.GenericReference,id:"caec9cf8-3133-48d4-a390-114fa71b2933",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},tV={type:a.GenericReference,id:"cebcbad8-ca87-4c4b-be8a-312293d49892",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},nV={type:a.GenericReference,id:"7b8ccfe5-f9cd-4776-a19b-80c689bbe3df",entityType:a.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},rV={like:!1,inferred:!1,id:"2a6b4703-ac8d-4d25-8abd-48a115577fec",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:nV},aV={id:"c6cf620c-1eee-4919-8578-1a0b6c088551",type:a.ArgumentDeclaration,version:1,name:"New company name",description:null,dataType:rV,implements:null,defaultValue:null,required:!0,index:0,writesValues:[_g,Mg],parent:tV},iV={type:a.FunctionDeclaration,id:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84",version:1,name:"Company changed event",description:"The event that is triggered when a company is changed",returnStatements:[],collapsed:!1,inputs:[aV,Q_],calls:[q_,Vg],index:1,private:!1,implements:null,x:0,y:0,parent:eV},sV={type:a.GenericReference,id:"employee-manager-property-data-type-entity-ref-id",entityType:a.CustomEntity,entityId:"employee-entity-id"},oV={type:a.GenericReference,id:"employee-manager-property-data-type-parent-ref-id",entityType:a.Property,entityId:"employee-manager-property-id"},lV={like:!1,inferred:!1,id:"employee-manager-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:sV,isList:!1,isNullable:!0,asType:!1,constant:!1,parent:oV},dV={type:a.GenericReference,id:"employee-manager-property-parent-ref-id",entityType:a.CustomEntity,entityId:"employee-entity-id"},cV={hidden:!1,required:!0,type:a.Property,id:"employee-manager-property-id",version:1,name:"Manager",description:"The manager of the employee",index:0,implements:null,private:!1,static:!1,defaultValue:null,dataType:lV,abstract:!1,parent:dV},uV={type:a.GenericReference,id:"employee-start-date-property-data-type-parent-ref-id",entityType:a.Property,entityId:"employee-start-date-property-id"},pV={like:!1,inferred:!1,id:"employee-start-date-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ln,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:uV},yV={type:a.GenericReference,id:"employee-start-date-property-parent-ref-id",entityType:a.CustomEntity,entityId:"employee-entity-id"},hV={hidden:!1,required:!0,type:a.Property,id:"employee-start-date-property-id",version:1,name:"Start date",description:"The date the employee started working in the company",index:0,private:!1,static:!1,defaultValue:null,implements:null,dataType:pV,abstract:!1,parent:yV},fV={type:a.GenericReference,id:"employee-department-property-ref-id",entityType:a.Property,entityId:"employee-department-property-id"},mV={like:!1,inferred:!1,id:"employee-department-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Pn,isList:!1,isNullable:!1,asType:!1,options:["Human Resources","Finance","IT","Sales","Marketing","Customer Service","Logistics","Product"],constant:!1,parent:fV},TV={type:a.GenericReference,id:"employee-department-property-parent-ref-id",entityType:a.CustomEntity,entityId:"employee-entity-id"},EV={hidden:!1,required:!0,type:a.Property,id:"employee-department-property-id",version:1,name:"Department",description:"The department the employee works in, from a list of departments in the company",index:0,defaultValue:null,implements:null,static:!1,private:!1,dataType:mV,abstract:!1,parent:TV},bV={type:a.GenericReference,id:"employee-prototype-parent-ref-id",entityType:a.Project,entityId:H},Yt={type:a.CustomEntity,id:"employee-entity-id",version:1,name:"Employee",description:"A entity that represents an employee in the company",properties:[EV,hV,cV],abstract:!1,static:!1,abstractMethods:[],methods:[],implements:[],extends:[gt],x:0,y:0,parent:bV},RV={type:a.GenericReference,id:"dec8fbfe-9124-41fd-9f1c-5b2f07cfd6ba",entityType:a.Property,entityId:"4f52d044-f3dd-4bdf-927e-637c3b92e8bd"},gV={like:!1,inferred:!1,id:"bc0b8979-6c43-4d47-a712-6742b89e3c00",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:RV},vV={type:a.GenericReference,id:"4f8c0a05-466e-4672-b4c4-6bd408c0be9a",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},IV={hidden:!1,required:!0,type:a.Property,id:"4f52d044-f3dd-4bdf-927e-637c3b92e8bd",version:1,name:"Company Name",private:!1,static:!1,description:"The name of the company",index:0,defaultValue:null,implements:null,dataType:gV,abstract:!1,parent:vV},DV={type:a.GenericReference,id:"95173fe0-a6e6-443c-94f3-f7c5cf171fcf",entityType:a.Property,entityId:"80c86e1b-caca-4ba5-9b1f-38f72d10e4a3"},SV={like:!1,inferred:!1,id:"ddbb6f5c-0cf4-41fb-83b3-b6c47c0e338d",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:va,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:DV},OV={type:a.GenericReference,id:"6a9a0b72-a05d-4169-b3f3-5afb01e8d0df",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},Ld={hidden:!1,required:!0,type:a.Property,id:"80c86e1b-caca-4ba5-9b1f-38f72d10e4a3",version:1,name:"Bank account",description:"The bank account of the company",index:1,implements:null,static:!1,private:!1,defaultValue:null,dataType:SV,abstract:!1,parent:OV},PV={type:a.GenericReference,id:"62892cc6-d227-4088-90d3-ae7c15ed4af4",entityType:a.Property,entityId:"19a31727-1fba-40a5-be25-18e0f149d5cb"},AV={like:!1,inferred:!1,id:"1f7629df-dc29-4c89-8369-c6d043e97a9e",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:PV},CV={type:a.GenericReference,id:"89384206-fd5a-4f0a-849c-f777473e5773",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},wV={hidden:!1,required:!0,type:a.Property,id:"19a31727-1fba-40a5-be25-18e0f149d5cb",version:1,name:"Company Owner",description:"The person that owns the company",index:2,static:!1,implements:null,defaultValue:null,dataType:AV,private:!0,abstract:!1,parent:CV},BV={type:a.GenericReference,id:"4d2ffb6c-5f38-436e-8339-fb9878ac2b5e",entityType:a.Property,entityId:"f8310850-a87e-405c-b182-4f1d5fa49240"},MV={like:!1,inferred:!1,id:"ad44250b-40c2-48f7-a480-381fa938f562",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Yt,isList:!0,asType:!1,isNullable:!1,constant:!1,parent:BV},NV={type:a.GenericReference,id:"aa5d4eee-6fac-4e72-bf21-9c8750024541",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},_V={hidden:!1,required:!0,type:a.Property,id:"f8310850-a87e-405c-b182-4f1d5fa49240",version:1,name:"Employees",description:null,index:3,defaultValue:null,dataType:MV,implements:null,private:!0,static:!1,abstract:!1,parent:NV},VV={id:"company-prototype-primary-key-property-data-type-ref-id",type:a.GenericReference,entityId:"company-prototype-primary-key-property-id",entityType:a.Property},LV={id:"company-prototype-primary-key-property-ref-id",type:a.GenericReference,entityId:"company-prototype-primary-key-property-id",entityType:a.Property},GV={like:!1,inferred:!1,id:"company-prototype-primary-key-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parent:LV},$V={id:"company-prototype-primary-key-property-parent-ref-id",type:a.GenericReference,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d",entityType:a.CustomEntity},FV={hidden:!1,required:!0,id:"company-prototype-primary-key-property-id",name:"Identifier",version:1,type:a.Property,private:!1,abstract:!1,implements:pa,static:!1,index:4,defaultValue:{id:"company-prototype-primary-key-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.UUID,value:null,parent:VV,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:GV,description:"A property with a unique value for the entity, that can be used to identify the entity among other entities of the same type.",parent:$V},UV={type:a.GenericReference,id:"e3c03b6b-2ea0-4d99-865d-5e6a348672d0",entityType:a.Project,entityId:H},Ht={type:a.CustomEntity,id:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d",version:1,name:"Company",description:null,properties:[IV,Ld,wV,_V,FV],static:!1,abstract:!1,abstractMethods:[],methods:[IN,iV],extends:[],implements:[st,Ft],x:0,y:0,parent:UV},xV={type:a.GenericReference,id:"ffcad334-138d-4b67-8fb3-5f0e6f5fefbd",entityType:a.Project,entityId:H},Gd={type:a.FunctionDeclaration,id:"0f89260c-8c58-4639-8629-d9ea5ab40ba7",version:1,name:"Show popup",description:null,inputs:[],calls:[],returnStatements:[],implements:null,collapsed:!1,private:!1,index:null,x:0,y:0,parent:xV};a.GenericReference,a.DataType;const jV={id:"cron-job-entity-expression-property-ref-id",type:a.GenericReference,entityId:"cron-job-entity-expression-property-id",entityType:a.Property},kV={like:!1,inferred:!1,id:"cron-job-entity-expression-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:jV},qV={id:"cron-job-entity-ref-id",type:a.GenericReference,entityId:"cron-job-entity-id",entityType:a.CustomEntity},JV={hidden:!1,required:!0,id:"cron-job-entity-expression-property-id",type:a.Property,version:1,name:"Cron expression",description:"The cron expression that defines when the cron job should be triggered",defaultValue:null,dataType:kV,implements:null,static:!0,private:!1,abstract:!1,index:0,parent:qV},WV={id:"cron-job-entity-trigger-show-popup-func-call-called-by-ref-one-id",type:a.GenericReference,entityId:"cron-job-entity-trigger-func-decl-id",entityType:a.FunctionDeclaration},YV={id:"cron-job-entity-trigger-show-popup-func-call-parent-ref-id",type:a.GenericReference,entityId:"cron-job-entity-trigger-func-decl-id",entityType:a.FunctionDeclaration},HV={id:"cron-job-entity-trigger-show-popup-func-call-id",version:1,type:a.FunctionCall,declaration:Gd,inputs:[],outputs:[],process:null,successCalls:[],calledByError:[],calledByEntry:[WV],calledBySuccess:[],errorCalls:[],error:null,x:0,y:0,parent:YV},zV={id:"cron-job-entity-trigger-func-decl-parent-ref-id",type:a.GenericReference,entityId:"cron-job-entity-id",entityType:a.CustomEntity},ZV={id:"cron-job-entity-trigger-func-decl-id",version:1,type:a.FunctionDeclaration,name:"Scheduled trigger",description:"The function that is called when the cron job is triggered",inputs:[],private:!1,implements:cd,calls:[HV],collapsed:!1,returnStatements:[],index:0,x:0,y:0,parent:zV},KV={id:"cron-job-entity-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},XV={id:"cron-job-entity-id",version:1,type:a.CustomEntity,name:"Run at 12pm on Christmas day",description:"A cron job that runs at 12pm on Christmas day",properties:[JV],static:!0,abstract:!1,abstractMethods:[],extends:[Os],implements:[],methods:[ZV],x:0,y:0,parent:KV},QV={type:a.GenericReference,id:"52dbd85c-48b1-462a-8205-2437d6fb1cb4",entityType:a.Project,entityId:H},eL={type:a.CustomEntity,id:"6f0908c2-09c6-4a8b-8f43-d2467fe6fb39",version:1,name:"Get bank all bank accounts",description:null,properties:[],static:!0,abstract:!1,abstractMethods:[],methods:[],extends:[],implements:[ri],x:0,y:0,parent:QV},ao="f558fbf8-67de-4545-9804-6ae621e0b2d4",tL={id:"getCompanyByIdEndpointPathParamsVariableDataTypeRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointPathParamsArgumentDeclaration"},nL={id:"getCompanyByIdEndpointPathParamsArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointPathParamsArgumentDeclaration"},rL={like:!1,inferred:!1,id:"getCompanyByIdEndpointPathParamsVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:J,asType:!1,parent:nL},aL={id:"getCompanyByIdEndpointReachedEntityEventRef",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},iL={id:"getCompanyByIdEndpointRequestHeadersVariableDataTypeRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration"},sL={id:"getCompanyByIdEndpointRequestHeadersArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration"},oL={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestHeadersVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:at,asType:!1,parent:sL},lL={id:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the request.",type:a.ArgumentDeclaration,writesValues:[],name:"Request headers",defaultValue:{id:"getCompanyByIdEndpointRequestHeadersVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:iL,autogeneration:null,valueAsType:null},dataType:oL,implements:Ql,required:!0,index:0,parent:aL},dL={id:"getCompanyByIdEndpointReachedEntityEventRefTwo",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},cL={id:"getCompanyByIdEndpointPathParamsArgumentDeclaration",type:a.ArgumentDeclaration,description:"A standarized text, without spaces that is added at the end of the domain and routes the request to a specific resource within the target server. For example: /api/users/123, /api/users/123/:name, /api/users/123/:name/:age.",version:1,name:"Path parameters",writesValues:[],defaultValue:{id:"getCompanyByIdEndpointPathParamsVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:tL,autogeneration:null,valueAsType:null},dataType:rL,implements:ed,required:!0,index:1,parent:dL},uL={id:"getCompanyByIdEndpointReachedEntityEventRefThree",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},pL={id:"getCompanyByIdEndpointRequestQueryParamsVariableDataTypeRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration"},yL={id:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration"},hL={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestQueryParamsVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,asType:!1,entity:J,parent:yL},fL={id:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration",version:1,description:"A text with standarized format, without spaces that is added at the end of the URL path, after the ? character. It contains data that might be used to process the request. For example: /api/users?name=John&age=30",type:a.ArgumentDeclaration,writesValues:[],name:"Request query params",defaultValue:{id:"getCompanyByIdEndpointRequestQueryParamsVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:pL,autogeneration:null,valueAsType:null},dataType:hL,implements:td,required:!0,index:2,parent:uL},mL={id:"getCompanyByIdEndpointReachedEntityEventRefFour",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},TL={id:"getCompanyByIdEndpointRequestBodyArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestBodyArgumentDeclaration"},EL={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestBodyVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:at,parent:TL},bL={id:"getCompanyByIdEndpointRequestBodyArgumentDeclaration",version:1,description:"The main data payload of the request.",type:a.ArgumentDeclaration,writesValues:[],name:"Request body",defaultValue:null,dataType:EL,implements:nd,index:3,required:!0,parent:mL},RL={id:"getCompanyByIdEndpointResponseCodeReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseCodeReturnDeclaration"},gL={like:!1,inferred:!1,id:"9ba575b0-6f8e-436d-a3de-3b843622aa17",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:RL},vL={id:"getCompanyByIdEndpointReturnStatementRef",type:a.GenericReference,entityType:a.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},IL={isError:!1,id:"getCompanyByIdEndpointResponseCodeReturnDeclaration",version:1,description:"A standarized number that represents the status of the response. 200 for OK, 404 for not found, 500 for server error, etc.",type:a.ReturnDeclaration,name:"Response code",defaultValue:null,dataType:gL,implements:rd,readsValue:null,required:!0,index:0,parent:vL},DL={id:"getCompanyByIdEndpointResponseHeadersDataTypeRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseHeadersReturnDeclaration"},SL={id:"getCompanyByIdEndpointResponseHeadersReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseHeadersReturnDeclaration"},OL={like:!1,inferred:!1,id:"getCompanyByIdEndpointResponseHeadersDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:at,asType:!1,parent:SL},PL={id:"getCompanyByIdEndpointReturnStatementRefTwo",type:a.GenericReference,entityType:a.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},AL={isError:!1,id:"getCompanyByIdEndpointResponseHeadersReturnDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the response.",type:a.ReturnDeclaration,name:"Response headers",defaultValue:{id:"getCompanyByIdEndpointResponseHeadersDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:DL,autogeneration:null,valueAsType:null},dataType:OL,implements:ad,readsValue:null,required:!0,index:1,parent:PL},CL={id:"getCompanyByIdEndpointResponseBodyReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseBodyReturnDeclaration"},wL={like:!1,inferred:!1,id:"getCompanyByIdEndpointResponseBodyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:at,parent:CL},BL={id:"getCompanyByIdEndpointReturnStatementRefThree",type:a.GenericReference,entityType:a.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},ML={isError:!1,id:"getCompanyByIdEndpointResponseBodyReturnDeclaration",version:1,description:"The main data payload of the response.",type:a.ReturnDeclaration,name:"Response body",implements:id,defaultValue:null,dataType:wL,readsValue:null,required:!0,index:2,parent:BL},NL={id:"getCompanyByIdEndpointReturnStatementCallerRef",type:a.GenericReference,entityId:"getCompanyByIdEndpointReachedEntityEvent",entityType:a.FunctionDeclaration},_L={id:"getCompanyByIdEndpointReachedEntityEventRefFive",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},VL={id:"getCompanyByIdEndpointReturnStatement",type:a.ReturnStatement,version:1,outputs:[IL,AL,ML],calledByError:[],calledByEntry:[NL],calledBySuccess:[],throws:null,x:0,y:0,parent:_L},LL={id:"endpointBuiltInBaseEntityRefFour",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:ao},GL={id:"getCompanyByIdEndpointReachedEntityEvent",name:"Endpoint reached",version:1,type:a.FunctionDeclaration,inputs:[lL,cL,fL,bL],returnStatements:[VL],description:"Fired when the endpoint is reached.",calls:[],collapsed:!1,implements:sd,index:0,private:!1,x:0,y:0,parent:LL},$L={id:"getCompanyByIdEndpointPathPropertyDataTypeRef",type:a.GenericReference,entityType:a.Property,entityId:"getCompanyByIdEndpointPathProperty"},FL={id:"getCompanyByIdEndpointPathPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:"getCompanyByIdEndpointPathProperty"},UL={like:!1,inferred:!1,id:"getCompanyByIdEndpointPathPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:FL},xL={id:"getCompanyByIdEndpointBaseEntityRefTwo",type:a.GenericReference,entityType:a.CustomEntity,entityId:ao},jL={id:"getCompanyByIdEndpointPathProperty",hidden:!1,required:!0,name:"Path",version:1,type:a.Property,private:!1,abstract:!1,static:!0,implements:Kl,defaultValue:{id:"getCompanyByIdEndpointPathPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.String,value:"/company/{id}",parent:$L,valueAsType:null,autogeneration:null},dataType:UL,index:1,description:"Path to the endpoint, for example /api/users, or /api/users/{id}, or /api/users/{id}/:name. The path can contain parameters, which are defined by curly braces, and will be passed to the endpoint event as variables with the same name.",parent:xL},kL={id:"getCompanyByIdEndpointMethodPropertyDataTypeRef",type:a.GenericReference,entityType:a.Property,entityId:"getCompanyByIdEndpointMethodProperty"},qL={id:"getCompanyByIdEndpointMethodPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:"getCompanyByIdEndpointMethodProperty"},JL={like:!1,inferred:!1,id:"getCompanyByIdEndpointMethodPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Pn,isList:!0,isNullable:!1,constant:!0,asType:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],parent:qL},WL={id:"getCompanyByIdEndpointBaseEntityRefThree",type:a.GenericReference,entityType:a.CustomEntity,entityId:ao},YL={hidden:!1,required:!0,id:"getCompanyByIdEndpointMethodProperty",name:"Method",version:1,type:a.Property,private:!1,abstract:!1,static:!0,implements:Xl,index:0,defaultValue:{id:"getCompanyByIdEndpointMethodPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,value:"GET",name:C.Enum,parent:kL,valueAsType:null,autogeneration:null},dataType:JL,description:null,parent:WL},HL={type:a.GenericReference,id:"6a905153-8aa8-4424-bd7b-6415731a2725",entityType:a.Project,entityId:H},zL={type:a.CustomEntity,id:ao,version:1,name:"Get given company data by id",description:null,properties:[jL,YL],methods:[GL],static:!0,abstract:!1,abstractMethods:[],extends:[],implements:[ri],x:0,y:0,parent:HL},ZL={id:"plant-prototype-database-property-ref-id",type:a.GenericReference,entityId:"plant-prototype-database-property-id",entityType:a.Property},KL={id:"plant-prototype-database-property-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:"plant-prototype-database-property-id",entityType:a.Property},XL={like:!1,inferred:!1,id:"plant-prototype-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:un,asType:!1,parent:ZL},QL={id:"plant-prototype-database-property-parent-ref-id",type:a.GenericReference,entityId:"plant-entity-id",entityType:a.CustomEntity},e1={hidden:!1,required:!0,id:"plant-prototype-database-property-id",name:"Database",version:1,type:a.Property,private:!1,abstract:!1,implements:ua,static:!0,index:0,defaultValue:{id:"plant-prototype-database-property-data-type-default-value-id",type:a.LiteralValue,version:1,value:null,name:C.EntityTemplate,valueAsType:wd,autogeneration:null,parent:KL},dataType:XL,description:"The database that the entity belongs to.",parent:QL},t1={type:a.GenericReference,id:"plant-name-property-ref-id",entityType:a.Property,entityId:"plant-name-property-id"},n1={like:!1,inferred:!1,id:"plant-name-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:t1},r1={type:a.GenericReference,id:"animal-name-property-parent-ref-id",entityType:a.CustomEntity,entityId:"plant-entity-id"},a1={hidden:!1,required:!0,type:a.Property,id:"plant-name-property-id",version:1,name:"Name",description:"The name of the plant",defaultValue:null,implements:null,static:!1,private:!1,index:0,dataType:n1,abstract:!1,parent:r1},i1={type:a.GenericReference,id:"plant-prototype-parent-ref-id",entityType:a.Project,entityId:H},s1={type:a.CustomEntity,id:"plant-entity-id",version:1,name:"Plant",description:"A living creature that is not an animal",abstract:!1,static:!1,abstractMethods:[],properties:[e1,a1],methods:[],extends:[],implements:[st],x:0,y:0,parent:i1},o1={id:"product-prototype-database-property-ref-id",type:a.GenericReference,entityId:"product-prototype-database-property-id",entityType:a.Property},l1={id:"product-prototype-database-property-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:"product-prototype-database-property-id",entityType:a.Property},d1={like:!1,inferred:!1,id:"product-prototype-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:un,asType:!1,parent:o1},c1={id:"product-prototype-database-property-parent-ref-id",type:a.GenericReference,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",entityType:a.CustomEntity},u1={hidden:!1,required:!0,id:"product-prototype-database-property-id",name:"Database",version:1,type:a.Property,private:!1,abstract:!1,implements:ua,static:!0,index:0,defaultValue:{id:"product-prototype-database-property-data-type-default-value-id",type:a.LiteralValue,version:1,value:null,name:C.EntityTemplate,valueAsType:Bd,autogeneration:null,parent:l1},dataType:d1,description:"The database that the entity belongs to.",parent:c1},p1={type:a.GenericReference,id:"13a4045e-dcb0-4159-8d33-10a646078b5a",entityType:a.Property,entityId:"d519c26a-15b8-40d8-ad09-13fa9342e9ba"},y1={like:!1,inferred:!1,id:"7449779e-1d4e-409c-81c6-4b611336ed18",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:p1},h1={type:a.GenericReference,id:"0969562f-d836-406f-8b48-dd9d417fbe72",entityType:a.CustomEntity,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c"},f1={hidden:!1,required:!0,type:a.Property,id:"d519c26a-15b8-40d8-ad09-13fa9342e9ba",version:1,name:"Name",description:"The name of the product",index:0,implements:null,static:!1,private:!1,defaultValue:null,dataType:y1,abstract:!1,parent:h1},m1={type:a.GenericReference,id:"833a5425-7bd0-41dd-9e97-e018acce9592",entityType:a.Project,entityId:H},T1={id:"product-prototype-primary-key-property-data-type-ref-id",type:a.GenericReference,entityId:"product-prototype-primary-key-property-id",entityType:a.Property},E1={id:"product-prototype-primary-key-property-ref-id",type:a.GenericReference,entityId:"product-prototype-primary-key-property-id",entityType:a.Property},b1={like:!1,inferred:!1,id:"product-prototype-primary-key-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parent:E1},R1={id:"product-prototype-primary-key-property-parent-ref-id",type:a.GenericReference,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",entityType:a.CustomEntity},g1={hidden:!1,required:!0,id:"product-prototype-primary-key-property-id",name:"Identifier",version:1,type:a.Property,private:!1,abstract:!1,implements:null,static:!1,index:0,defaultValue:{id:"product-prototype-primary-key-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.UUID,value:null,parent:T1,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:b1,description:"A property with a unique value for the entity, that can be used to identify the entity among other entities of the same type.",parent:R1},v1={type:a.CustomEntity,id:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",version:1,name:"Product",description:"A product that can be sold",implements:[st,Ft],extends:[],abstract:!1,static:!1,abstractMethods:[],properties:[g1,u1,f1],methods:[],x:0,y:0,parent:m1},Da="project-loaded-event-id",Nn="get-bitcoin-price-http-call-operation-id",Lg="get-bitcoin-price-http-call-response-body-id",io="validate-bitcoin-price-response-operation-ids",I1={type:a.GenericReference,id:"validate-bitcoin-data-to-validate-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Lg},D1={type:a.GenericReference,id:"validate-bitcoin-data-to-validate-input-map-parent-ref-id",entityType:a.Operation,entityId:io},Gg={id:"validate-bitcoin-data-to-validate-input-map-id",type:a.InputMap,version:1,declaration:fr.inputs[1],name:null,description:null,readsValue:I1,defaultValue:null,index:0,parent:D1},S1={type:a.GenericReference,id:"validate-bitcoin-type-to-match-input-map-default-value-parent-ref-id",entityType:a.InputMap,entityId:"validate-bitcoin-type-to-match-input-map-id"},O1={type:a.GenericReference,id:"validate-bitcoin-type-to-match-input-map-parent-ref-id",entityType:a.Operation,entityId:io},P1={id:"validate-bitcoin-type-to-match-input-map-id",type:a.InputMap,version:1,declaration:fr.inputs[0],name:null,description:null,readsValue:null,defaultValue:{id:"validate-bitcoin-type-to-match-input-map-default-value-id",type:a.LiteralValue,version:1,name:C.EntityTemplate,valueAsType:gg,value:null,parent:S1,autogeneration:null},index:0,parent:O1},A1={type:a.GenericReference,id:"validate-bitcoin-validated-entity-output-map-parent-ref-id",entityType:a.Operation,entityId:io},C1={id:"validate-bitcoin-validated-entity-output-map-id",type:a.OutputMap,version:1,defaultValue:null,declaration:fr.outputs[0],writesValues:[],index:0,parent:A1},w1={type:a.GenericReference,id:"validate-bitcoin-price-response-operation-parent-ref-id",entityType:a.GlobalEvent,entityId:Da},B1={type:a.GenericReference,id:"validate-bitcoin-price-response-operation-called-by-ref-id",entityType:a.Operation,entityId:Nn},M1={type:a.Operation,id:io,version:1,declaration:fr,inputs:[P1,Gg],outputs:[C1],process:null,successCalls:[],errorCalls:[],error:null,x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[B1],parent:w1},N1={type:a.GenericReference,id:"96edb661-3f36-406c-8921-f1679dd796a3",entityType:a.FunctionCall,entityId:Nn},_1={id:"c93e1393-9b5e-4de2-b8da-7eae647d715a",version:1,type:a.InputMap,declaration:ps,name:null,description:null,readsValue:null,defaultValue:null,index:0,parent:N1},V1={type:a.GenericReference,id:"40312b28-71b8-4b01-a654-58b87191939d",entityType:a.FunctionCall,entityId:Nn},L1={type:a.GenericReference,id:"6ea96c7d-02a7-4971-82ad-2f32a0fec8b4",entityType:a.InputMap,entityId:"9f21cbac-5a83-4983-8923-9224ffd3ba9f"},G1={id:"9f21cbac-5a83-4983-8923-9224ffd3ba9f",version:1,type:a.InputMap,declaration:ys,name:null,description:null,readsValue:null,defaultValue:{id:"get-bitcoin-price-http-request-url-argument-default-value-id",type:a.LiteralValue,version:1,value:"https://api.coindesk.com/v1/bpi/currentprice.json",name:C.String,parent:L1,valueAsType:null,autogeneration:null},index:1,parent:V1},$1={type:a.GenericReference,id:"2610bf4a-c8a2-4746-b6cc-eb15f7fa8e9c",entityType:a.FunctionCall,entityId:Nn},F1={id:"ffb3cd9d-c955-4104-bc7b-299120fe4ede",version:1,type:a.InputMap,declaration:hs,name:null,description:null,readsValue:null,defaultValue:null,index:2,parent:$1},U1={type:a.GenericReference,id:"bfd29a6a-671a-448c-9f2f-f8c7e4ad8349",entityType:a.FunctionCall,entityId:Nn},x1={id:"412bf1f3-1a8e-4665-a95f-82117540e34e",version:1,type:a.InputMap,declaration:fs,name:null,description:null,readsValue:null,defaultValue:null,index:3,parent:U1},j1={type:a.GenericReference,id:"616a15f3-c224-4b11-b95c-63314edef409",entityType:a.FunctionCall,entityId:Nn},k1={id:"4dd4651c-02e4-45f1-b50f-824f3bcb1648",version:1,type:a.OutputMap,defaultValue:null,declaration:Ts,writesValues:[],index:1,parent:j1},q1={type:a.GenericReference,id:"28793b68-4d7e-4826-aee1-f201a3499faf",entityType:a.FunctionCall,entityId:Nn},J1={id:"94fe9d35-4dd4-4729-a50c-5283ccd7e661",version:1,type:a.OutputMap,defaultValue:null,declaration:ms,writesValues:[],index:0,parent:q1},W1={type:a.GenericReference,id:"f13e04b2-49b4-4c69-85b8-cbbafafa3524",entityType:a.FunctionCall,entityId:Nn},Y1={id:Lg,type:a.OutputMap,defaultValue:null,version:1,declaration:Es,writesValues:[Gg],index:2,parent:W1},H1={type:a.GenericReference,id:"6148d6d0-caaa-45fc-b601-ff2493dfc60f",entityType:a.GlobalEvent,entityId:Da},z1={type:a.GenericReference,id:"b115f084-807b-44b3-ae01-b69cc342f761",entityType:a.GlobalEvent,entityId:Da},Z1={type:a.Operation,id:Nn,version:1,declaration:Xa,inputs:[_1,G1,F1,x1],outputs:[J1,k1,Y1],process:null,parent:z1,calledByError:[],calledByEntry:[H1],calledBySuccess:[],successCalls:[M1],errorCalls:[],error:null,x:0,y:0},K1={type:a.GenericReference,id:"24e76019-3f94-475b-91ce-297f76bbc224",entityType:a.GlobalEvent,entityId:Da},X1={type:a.GenericReference,id:"0eac8e29-cdf2-42f8-8ea7-ad76d4d79abe",entityType:a.GlobalEvent,entityId:Da},Q1={process:null,type:a.FunctionCall,id:"2d2e7593-bfbf-457c-a607-5fce18eef457",version:1,declaration:Gd,inputs:[],outputs:[],calledByError:[],calledByEntry:[K1],calledBySuccess:[],parent:X1,successCalls:[],errorCalls:[],error:null,x:0,y:0},e0={id:"793b5999-a9da-47fb-9665-0c17ebc6d5c9",type:a.GenericReference,entityType:a.Project,entityId:H},t0={type:a.GlobalEvent,id:Da,version:1,name:Dn.PROJECT_PUBLICATION_COMPLETED,returnStatements:[],collapsed:!1,implements:As,parent:e0,inputs:[],calls:[Q1,Z1],x:0,y:0},Ut="abort-execution-func-declaration-id",Si="abort-execution-func-exec-var-declaration-id",$d="abort-execution-func-small-wait-op-id",Fd="abort-execution-func-long-wait-op-id",$g="abort-execution-func-long-wait-process-output-id",Fg="abort-execution-func-exec-var-instance-write-id",Ug="abort-execution-func-long-wait-return-stmt-id",xg="abort-execution-func-small-wait-return-stmt-id",n0="abort-execution-func-exec-var-instance-abort-call-id",Ud="abort-execution-func-exec-var-instance-abort-internal-call-id",xd="abort-execution-func-exec-second-wait-op-id",r0={type:a.GenericReference,id:"short-wait-return-statement-returned-hello-string-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:"short-wait-return-statement-returned-hello-string-id"},a0={type:a.GenericReference,id:"short-wait-return-statement-returned-hello-string-data-type-default-value-parent-ref-id",entityType:a.ReturnDeclaration,entityId:"short-wait-return-statement-returned-hello-string-id"},i0={like:!1,inferred:!1,id:"short-wait-return-statement-returned-hello-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:r0},s0={type:a.GenericReference,id:"short-wait-return-statement-returned-hello-string-parent-ref-id",entityType:a.ReturnStatement,entityId:xg},o0={isError:!1,id:"short-wait-return-statement-returned-hello-string-id",type:a.ReturnDeclaration,version:1,name:"Return 1",description:"A random string that is returned by the function",defaultValue:{id:"short-wait-return-statement-returned-hello-string-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"Hello 2",autogeneration:null,valueAsType:null,parent:a0},dataType:i0,implements:null,readsValue:null,required:!0,index:0,parent:s0},l0={type:a.GenericReference,id:"short-wait-return-statement-called-by-ref-id",entityType:a.Operation,entityId:xd},d0={type:a.GenericReference,id:"short-wait-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},jg={type:a.ReturnStatement,id:xg,version:1,outputs:[o0],calledByError:[],calledByEntry:[],calledBySuccess:[l0],throws:null,x:0,y:0,parent:d0},c0={type:a.GenericReference,id:"second-wait-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:"second-wait-argument-map-id"},u0={type:a.GenericReference,id:"second-wait-argument-map-parent-ref-id",entityType:a.Operation,entityId:xd},p0={id:"second-wait-argument-map-id",type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"second-wait-argument-default-value-id",type:a.LiteralValue,version:1,value:2e3,valueAsType:null,autogeneration:null,name:C.Number,parent:c0},index:0,parent:u0},y0={type:a.GenericReference,id:"small-wait-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},h0={type:a.GenericReference,id:"small-wait-called-by-ref-one-id",entityType:a.InternalCall,entityId:Ud},f0={id:xd,type:a.Operation,version:1,declaration:bt,inputs:[p0],outputs:[],process:null,successCalls:[jg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[h0],error:null,parent:y0},m0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-abort-internal-call-called-by-ref-one-id",entityType:a.VariableInstance,entityId:Fg},T0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-abort-internal-call-called-by-ref-two-id",entityType:a.Operation,entityId:$d},E0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-main-project-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},b0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-declaration-ref-id-2",entityType:a.VariableDeclaration,entityId:Si},R0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-internal-call-ref-one-id",entityType:a.InternalCall,entityId:Ud},g0={id:n0,type:a.VariableInstance,version:1,declaration:b0,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[R0],parent:E0},kg={id:Ud,type:a.InternalCall,version:1,inputs:[],outputs:[],declaration:ud,process:null,calledByError:[],calledByEntry:[],calledBySuccess:[m0,T0],successCalls:[f0],errorCalls:[],error:null,index:0,parent:g0},v0={type:a.GenericReference,id:"abort-exec-func-var-write-instance-main-project-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},I0={type:a.GenericReference,id:"abort-exec-func-var-write-instance-called-by-ref-one-id",entityType:a.VariableDeclaration,entityId:Si},D0={type:a.GenericReference,id:"abort-exec-func-var-write-instance-called-by-ref-two-id",entityType:a.FunctionDeclaration,entityId:Ut},S0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-declaration-ref-id",entityType:a.VariableDeclaration,entityId:Si},O0={type:a.GenericReference,id:"abort-exec-func-var-write-instance-reads-value-ref-id",entityType:a.OutputMap,entityId:$g},jd={id:Fg,type:a.VariableInstance,version:1,declaration:S0,inputs:[],outputs:[],defaultValue:null,calledByError:[],calledByEntry:[D0],calledBySuccess:[I0],successCalls:[kg],errorCalls:[],x:0,y:0,readsValue:O0,writesValues:[],internalCalls:[],parent:v0},P0={type:a.GenericReference,id:"abort-exec-func-var-decl-datatype-parent-ref-id",entityType:a.VariableDeclaration,entityId:Si};a.GenericReference,a.DataType;const A0={like:!1,inferred:!1,id:"abort-exec-func-var-decl-datatype-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Ps,version:1,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:P0},C0={type:a.GenericReference,id:"abort-exec-func-var-decl-main-project-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},w0={type:a.GenericReference,id:"abort-exec-func-var-decl-called-by-ref-one-id",entityType:a.FunctionDeclaration,entityId:Ut},B0={id:Si,type:a.VariableDeclaration,version:1,name:"Execution in progress",description:"A variable that holds an ongoing execution to abort it if needed",defaultValue:null,dataType:A0,inputs:[],outputs:[],calledByError:[],calledByEntry:[w0],calledBySuccess:[],successCalls:[jd],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[],parent:C0},M0={type:a.GenericReference,id:"long-wait-return-statement-returned-hello-string-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:"long-wait-return-statement-returned-hello-string-id"},N0={type:a.GenericReference,id:"long-wait-return-statement-returned-hello-string-data-type-default-value-parent-ref-id",entityType:a.ReturnDeclaration,entityId:"long-wait-return-statement-returned-hello-string-id"},_0={like:!1,inferred:!1,id:"long-wait-return-statement-returned-hello-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:M0},V0={type:a.GenericReference,id:"long-wait-return-statement-returned-hello-string-parent-ref-id",entityType:a.ReturnStatement,entityId:Ug},L0={isError:!1,id:"long-wait-return-statement-returned-hello-string-id",type:a.ReturnDeclaration,version:1,name:"Return 2",description:"A random string that is returned by the function",implements:null,defaultValue:{id:"long-wait-return-statement-returned-hello-string-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"Hello 1",autogeneration:null,valueAsType:null,parent:N0},dataType:_0,readsValue:null,required:!0,index:0,parent:V0},G0={type:a.GenericReference,id:"long-wait-return-statement-called-by-ref-id",entityType:a.Operation,entityId:Fd},$0={type:a.GenericReference,id:"long-wait-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},qg={type:a.ReturnStatement,id:Ug,version:1,outputs:[L0],calledByError:[],calledByEntry:[],calledBySuccess:[G0],throws:null,x:0,y:0,parent:$0},F0={type:a.GenericReference,id:"long-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:"long-argument-map-id"},Jg={type:a.GenericReference,id:"long-argument-map-parent-ref-id",entityType:a.Operation,entityId:Fd},U0={id:"long-argument-map-id",type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"long-argument-default-value-id",type:a.LiteralValue,version:1,value:1500,valueAsType:null,autogeneration:null,name:C.Number,parent:F0},index:0,parent:Jg},x0={type:a.GenericReference,id:"long-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},j0={type:a.GenericReference,id:"long-called-by-ref-one-id",entityType:a.FunctionDeclaration,entityId:Ut},k0={id:$g,type:a.OutputMap,version:1,defaultValue:null,declaration:Cs,writesValues:[jd],index:0,parent:Jg},q0={id:Fd,type:a.Operation,version:1,declaration:bt,inputs:[U0],outputs:[],process:k0,successCalls:[qg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[j0],calledBySuccess:[],error:null,parent:x0},J0={type:a.GenericReference,id:"small-wait-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:"small-wait-argument-map-id"},W0={type:a.GenericReference,id:"small-wait-argument-map-parent-ref-id",entityType:a.Operation,entityId:$d},Y0={id:"small-wait-argument-map-id",type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"small-wait-argument-default-value-id",type:a.LiteralValue,version:1,value:500,valueAsType:null,autogeneration:null,name:C.Number,parent:J0},index:0,parent:W0},H0={type:a.GenericReference,id:"small-wait-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},z0={type:a.GenericReference,id:"small-wait-called-by-ref-one-id",entityType:a.FunctionDeclaration,entityId:Ut},Z0={id:$d,type:a.Operation,version:1,declaration:bt,inputs:[Y0],outputs:[],process:null,successCalls:[kg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[z0],calledBySuccess:[],error:null,parent:H0},K0={type:a.GenericReference,id:"abort-execution-func-decl-parent-ref-id",entityType:a.Project,entityId:H},Wg={id:Ut,type:a.FunctionDeclaration,version:1,name:"Test aborting execution",description:"Executes a wait and then aborts the execution of that wait",inputs:[],returnStatements:[qg,jg],calls:[Z0,B0,jd,q0],implements:null,private:!1,collapsed:!1,index:null,x:0,y:0,parent:K0},X0={type:a.GenericReference,id:"call-execution-abort-func-parent-ref-id",entityType:a.Project,entityId:H},Q0={id:"call-execution-abort-func-id",type:a.FunctionCall,version:1,declaration:Wg,inputs:[],process:null,outputs:[],successCalls:[],errorCalls:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[],x:0,y:0,parent:X0},so="manual-hello-world-loop-func-decl-id",Yg="manual-hello-world-loop-func-return-statement-id",fn="manual-hello-world-loop-id",Oi="manual-hello-world-loop-body-id",kd="manual-hello-world-loop-break-statement-id",Pi="manual-hello-world-loop-current-iteration-number-output-map-id",qd="manual-hello-world-loop-previous-iterations-results-output-map-id",Jd="assembled-hello-world-text-output-id",eG="assembled-hello-world-list-output-id",Ai="iteration-number-is-equal-or-greater-than-10-condition-id",oo="join-hello-world-and-number-operation-id",lo="append-string-to-list-operation-id",Hg="hello-world-loop-output-map-id",tG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-parent-ref",entityType:a.ReturnStatement,entityId:Yg},nG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-data-type-parent-ref",entityType:a.ReturnDeclaration,entityId:"manual-hello-world-loop-function-declaration-output-declaration"},rG={like:!1,inferred:!1,id:"manual-hello-world-loop-function-declaration-output-declaration-data-type",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!0,asType:!1,isNullable:!1,constant:!1,parent:nG},aG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-reads-value-ref",entityType:a.OutputMap,entityId:Hg},zg={isError:!1,id:"manual-hello-world-loop-function-declaration-output-declaration",version:1,type:a.ReturnDeclaration,name:"Results",description:null,defaultValue:null,dataType:rG,implements:null,readsValue:aG,required:!0,index:0,parent:tG},iG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-return-statement-called-by-ref",entityType:a.Loop,entityId:fn},sG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-parent-ref",entityType:a.FunctionDeclaration,entityId:so},Zg={type:a.ReturnStatement,id:Yg,version:1,outputs:[zg],calledByError:[],calledByEntry:[],calledBySuccess:[iG],parent:sG,throws:null,x:0,y:0},oG={type:a.GenericReference,id:"hello-world-loop-break-statement-ref-id",entityType:a.BreakStatement,entityId:kd},Kg={isError:!1,id:"hello-world-loop-break-statement-output-id",version:1,type:a.ReturnDeclaration,name:"Iteration result",description:null,defaultValue:null,dataType:null,readsValue:null,implements:null,required:!0,index:0,parent:oG},lG={type:a.GenericReference,id:"hello-world-loop-break-statement-counter-reads-value-ref-id",entityType:a.ArgumentDeclaration,entityId:Pi},dG={type:a.GenericReference,id:"hello-world-loop-break-statement-counter-ref-id",entityType:a.BreakStatement,entityId:kd},Xg={isError:!1,id:"hello-world-loop-break-statement-counter-output-id",version:1,type:a.ReturnDeclaration,name:"Iteration counter",description:null,implements:null,defaultValue:null,dataType:null,readsValue:lG,required:!0,index:1,parent:dG},cG={type:a.GenericReference,id:"hello-world-loop-break-statement-called-by-ref-id",entityType:a.Condition,entityId:Ai},uG={type:a.GenericReference,id:"hello-world-loop-break-statement-parent-ref-id",entityType:a.Loop,entityId:fn},Qg={type:a.BreakStatement,id:kd,version:1,outputs:[Kg,Xg],calledByError:[],calledByEntry:[],calledBySuccess:[cG],parent:uG,throws:null,x:0,y:0},pG={type:a.GenericReference,id:"hello-world-loop-continue-statement-ref-id",entityType:a.ContinueStatement,entityId:"hello-world-loop-continue-statement"},yG={type:a.GenericReference,id:"hello-world-loop-continue-statement-output-data-type-ref-id",entityType:a.ReturnDeclaration,entityId:"hello-world-loop-continue-statement-output-id"},hG={like:!1,inferred:!1,id:"hello-world-loop-continue-statement-output-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:yG},fG={type:a.GenericReference,id:"hello-world-loop-continue-statement-reads-value-ref-id",entityType:a.OutputMap,entityId:Jd},ev={isError:!1,id:"hello-world-loop-continue-statement-output-id",version:1,type:a.ReturnDeclaration,name:"Iteration result",description:null,defaultValue:null,implements:null,dataType:hG,readsValue:fG,required:!0,index:0,parent:pG},mG={type:a.GenericReference,id:"hello-world-loop-continue-statement-called-by-ref-id",entityType:a.Condition,entityId:Ai},TG={type:a.GenericReference,id:"hello-world-loop-continue-statement-parent-ref-id",entityType:a.Loop,entityId:fn},tv={type:a.ContinueStatement,id:"hello-world-loop-continue-statement",version:1,outputs:[ev],calledBySuccess:[],calledByError:[mG],calledByEntry:[],parent:TG,throws:null,x:0,y:0};a.GenericReference,a.InputMap;const EG={type:a.GenericReference,id:"append-string-to-list-base-string-map-parent-ref-id",entityType:a.Operation,entityId:lo},bG={type:a.GenericReference,id:"base-string-map-reads-value-ref-id",entityType:a.OutputMap,entityId:qd},nv={id:"append-string-to-list-base-string-map-id",type:a.InputMap,version:1,declaration:Nl,name:null,description:null,readsValue:bG,defaultValue:null,index:0,parent:EG},RG={type:a.GenericReference,id:"assembly-string-map-parent-ref-id",entityType:a.Operation,entityId:lo},gG={id:eG,type:a.OutputMap,version:1,defaultValue:null,writesValues:[Kg],declaration:Za,index:0,parent:RG},vG={type:a.GenericReference,id:"append-string-to-list-called-by-ref-id",entityType:a.Condition,entityId:Ai},IG={type:a.GenericReference,id:"latest-string-to-add-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Jd},DG={type:a.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:a.Operation,entityId:lo},rv={id:"latest-string-to-add-input-map-id",version:1,type:a.InputMap,declaration:_l,name:null,description:null,readsValue:IG,defaultValue:null,index:1,parent:DG},SG={type:a.GenericReference,id:"append-string-to-list-parent-ref-id",entityType:a.FunctionDeclaration,entityId:fn},OG={type:a.Operation,id:lo,declaration:us,version:1,inputs:[nv,rv],outputs:[gG],calledByError:[],process:null,calledByEntry:[],calledBySuccess:[vG],successCalls:[],errorCalls:[],error:null,x:0,y:0,parent:SG},PG={type:a.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:Oi},AG={type:a.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-parent-ref-id",entityType:a.Loop,entityId:fn},CG={type:a.GenericReference,id:"current-iteration-number-to-check-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Pi},av={type:a.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-ref-two-id",entityType:a.Condition,entityId:Ai},wG={id:"current-iteration-number-to-check-map-id",version:1,type:a.InputMap,declaration:ha.inputs[0],name:null,description:null,readsValue:CG,index:0,defaultValue:null,parent:av},BG={type:a.GenericReference,id:"max-num-iterations-value-map-default-value-parent-ref-id",entityType:a.InputMap,entityId:"max-num-iterations-value-map-id"},MG={id:"max-num-iterations-value-map-id",version:1,type:a.InputMap,declaration:ha.inputs[1],name:null,description:null,readsValue:null,index:1,defaultValue:{id:"max-num-iterations-value-map-default-value-id",type:a.LiteralValue,version:1,name:C.Number,value:10,autogeneration:null,valueAsType:null,parent:BG},parent:av},NG={type:a.Condition,id:Ai,version:1,declaration:ha,inputs:[wG,MG],calledByError:[],calledByEntry:[PG],calledBySuccess:[],successCalls:[Qg,OG],errorCalls:[tv],x:0,y:0,parent:AG},_G={type:a.GenericReference,id:"base-string-map-ref-id",entityType:a.InputMap,entityId:"join-hello-world-and-number-base-string-map-id"},VG={type:a.GenericReference,id:"join-hello-world-and-number-base-string-map-parent-ref-id",entityType:a.Operation,entityId:oo},LG={id:"join-hello-world-and-number-base-string-map-id",type:a.InputMap,version:1,declaration:ds,name:null,description:null,readsValue:null,defaultValue:{id:"join-hello-world-and-number-base-string-map-default-value-id",type:a.LiteralValue,version:1,value:"Hello world ",name:C.String,parent:_G,valueAsType:null,autogeneration:null},index:0,parent:VG},GG={type:a.GenericReference,id:"assembly-string-map-parent-ref-id",entityType:a.Operation,entityId:oo},$G={id:Jd,type:a.OutputMap,version:1,defaultValue:null,writesValues:[rv,ev],declaration:Za,index:0,parent:GG},FG={type:a.GenericReference,id:"join-hello-world-and-number-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:Oi},UG={type:a.GenericReference,id:"current-iteration-number-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Pi},xG={type:a.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:a.Operation,entityId:oo},iv={id:"current-iteration-number-input-map-id",version:1,type:a.InputMap,declaration:cs,name:null,description:null,readsValue:UG,defaultValue:null,index:1,parent:xG},jG={type:a.GenericReference,id:"join-hello-world-and-number-parent-ref-id",entityType:a.FunctionDeclaration,entityId:fn},kG={type:a.Operation,id:oo,declaration:Ka,version:1,inputs:[LG,iv],outputs:[$G],process:null,calledByError:[],calledByEntry:[FG],calledBySuccess:[],successCalls:[],errorCalls:[],error:null,x:0,y:0,parent:jG},qG={id:"manual-hello-world-loop-iterations-results-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:qd,entityType:a.ArgumentDeclaration},JG={like:!1,inferred:!1,id:"manual-hello-world-loop-iterations-results-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!0,isNullable:!1,constant:!1,entity:null,asType:!1,parent:qG},WG={id:"manual-hello-world-loop-previous-iterations-results-output-map-parent-ref-id",type:a.GenericReference,entityId:Oi,entityType:a.FunctionDeclaration},YG={id:qd,type:a.ArgumentDeclaration,version:1,name:"Previous iterations results",description:"The results of the previous iterations of the loop.",required:!0,defaultValue:null,dataType:JG,implements:null,writesValues:[nv],index:1,parent:WG},HG={id:"manual-hello-world-loop-current-iteration-number-output-map-parent-ref-id",type:a.GenericReference,entityId:Oi,entityType:a.FunctionDeclaration},zG={id:"manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:Pi,entityType:a.ArgumentDeclaration};a.DataType;const ZG={id:Pi,type:a.ArgumentDeclaration,version:1,name:"Current iteration number",description:"The number of the current iteration of the loop. Starts at 1.",required:!0,implements:xl,defaultValue:null,dataType:null,writesValues:[iv,Xg],index:0,parent:HG},KG={id:"manual-flow-loop-body-parent-ref-id",type:a.GenericReference,entityId:fn,entityType:a.Loop},XG={id:Oi,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called multiple times, once for each iteration of the loop.",inputs:[ZG,YG],calls:[NG,kG],implements:jl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:KG},QG={type:a.GenericReference,id:"hello-world-loop-iteration-result-inline-output-declaration-parent-ref-id",entityType:a.Loop,entityId:fn},sv={id:"hello-world-loop-iteration-result-inline-output-declaration-id",version:1,type:a.ValueDescriptor,name:"Iteration result",defaultValue:null,description:null,dataType:null,required:!0,parentRelationType:A.FixedReturns,index:0,parent:QG},e$={type:a.GenericReference,id:"hello-world-loop-break-statement-output-map-parent-ref-id",entityType:a.Loop,entityId:fn},t$={type:a.OutputMap,id:Hg,version:1,defaultValue:null,declaration:sv,writesValues:[zg],index:0,parent:e$},n$={id:"manual-hello-world-loop-parent-ref-id",type:a.GenericReference,entityId:so,entityType:a.FunctionDeclaration},r$={id:"manual-hello-world-loop-called-by-ref-id",type:a.GenericReference,entityId:so,entityType:a.FunctionDeclaration},a$={id:fn,type:a.Loop,version:1,declaration:bs,inputs:[],outputsDeclarations:[sv],outputs:[t$],body:XG,successCalls:[Zg],errorCalls:[],process:null,error:null,calledByError:[],calledByEntry:[r$],calledBySuccess:[],breakStatements:[Qg],continueStatements:[tv],x:0,y:0,parent:n$},i$={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-parent-ref-id",entityType:a.Project,entityId:H},ov={type:a.FunctionDeclaration,id:so,version:1,name:"Manual hello world loop",description:null,inputs:[],calls:[a$],returnStatements:[Zg],implements:null,collapsed:!1,private:!1,index:null,x:0,y:0,parent:i$},s$={type:a.GenericReference,id:"call-hello-world-loop-parent-ref-id",entityType:a.Project,entityId:H},o$={id:"call-hello-world-loop-id",type:a.FunctionCall,version:1,declaration:ov,inputs:[],outputs:[],process:null,successCalls:[],errorCalls:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[],x:0,y:0,parent:s$},_n="company-dto-function-declaration-id",Wd="company-dto-func-declaration-argument-dcl-id",mn="company-dto-function-company-variable-id",nr="company-dto-function-company-dto-variable-id",Sa="iterate-over-employee-list-loop-id",lv="iterate-over-employee-list-loop-employee-dto-output-map-id",Yd="iterate-over-employee-list-loop-body-current-employee-argument-declaration-id",co="iterate-over-employee-list-loop-body-map-employee-dto-function-call-id",dv="iterate-over-employee-list-continue-statement-employee-dto-output-decl-id",cv="iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-id",uv="iterate-over-employee-list-continue-statement-id",uo="iterate-over-employee-list-loop-body-id",pv="company-dto-func-declaration-return-statement-id",yv="company-dto-func-declaration-return-decl-id",hv="company-dto-func-declaration-company-variable-id-output-map-id",fv="company-dto-func-declaration-company-variable-employess-output-map-id",mv="company-dto-func-declaration-company-variable-name-output-map-id",l$="company-dto-func-declaration-company-dto-variable-input-map-id",d$="company-dto-func-declaration-company-dto-variable-employess-input-map-id",c$="company-dto-func-declaration-company-dto-variable-name-input-map-id",po="company-dto-func-declaration-owner-variable-id",u$="company-dto-func-declaration-company-dto-variable-owner-input-map-id",Tv="company-dto-func-declaration-company-variable-owner-output-map-id",Ev="company-dto-func-declaration-owner-variable-id-output-map-id",yo="company-dto-func-declaration-bank-account-variable-id",p$="company-dto-func-declaration-company-dto-variable-bank-account-input-map-id",bv="company-dto-func-declaration-company-variable-bank-account-output-map-id",Rv="company-dto-func-declaration-bank-account-variable-id-output-map-id",y$={type:a.GenericReference,id:"company-dto-func-returned-company-dto-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:yv},h$={like:!1,inferred:!1,id:"company-dto-func-returned-company-dto-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:y$},f$={type:a.GenericReference,id:"company-dto-func-returned-company-dto-parent-ref-id",entityType:a.ReturnStatement,entityId:pv},m$={type:a.GenericReference,id:"company-dto-func-returned-company-dto-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:nr},gv={isError:!1,id:yv,type:a.ReturnDeclaration,version:1,name:"Company DTO",description:"Output the company data in the format that it will be sent through an HTTP request.",defaultValue:null,implements:null,dataType:h$,readsValue:m$,required:!0,index:0,parent:f$},T$={type:a.GenericReference,id:"company-dto-func-return-statement-called-by-ref-id",entityType:a.Operation,entityId:nr},E$={type:a.GenericReference,id:"company-dto-func-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n},Hd={type:a.ReturnStatement,id:pv,version:1,outputs:[gv],calledByError:[],calledByEntry:[],calledBySuccess:[T$],throws:null,x:0,y:0,parent:E$},b$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-owner-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Ev},R$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-owner-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},vv={id:u$,type:a.InputMap,version:1,declaration:null,name:"owner_id",description:null,defaultValue:null,index:5,readsValue:b$,parent:R$},g$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-bank-account-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Rv},v$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-bank-account-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},Iv={id:p$,type:a.InputMap,version:1,declaration:null,name:"bank_account_id",description:null,defaultValue:null,index:4,readsValue:g$,parent:v$},I$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-name-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:mv},D$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-name-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},Dv={id:c$,type:a.InputMap,version:1,declaration:null,name:"name",description:null,defaultValue:null,index:3,readsValue:I$,parent:D$},S$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-employess-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:lv},O$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-employess-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},Sv={id:d$,type:a.InputMap,version:1,declaration:null,name:"employees",description:null,defaultValue:null,index:2,readsValue:S$,parent:O$},P$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-id-output-map-reads-value-ref-id",entityType:a.OutputMap,entityId:hv},A$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},Ov={id:l$,type:a.InputMap,version:1,declaration:null,name:"id",description:"The ID of the company",defaultValue:null,index:1,readsValue:P$,parent:A$},C$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n},w$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-one-id",entityType:a.VariableDeclaration,entityId:yo},B$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-two-id",entityType:a.VariableDeclaration,entityId:po},M$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-three-id",entityType:a.VariableDeclaration,entityId:Sa},zd={id:nr,type:a.VariableDeclaration,version:1,name:"Company DTO",dataType:null,description:"A variable holding the data of a mapped company DTO",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[w$,B$,M$],successCalls:[Hd],errorCalls:[],readsValue:null,writesValues:[gv],inputs:[Ov,Dv,Iv,vv,Sv],outputs:[],internalCalls:[],parent:C$,x:0,y:0},Sr="employee-dto-func-declaration-id",Zd="employee-dto-func-declaration-argument-dcl-id",Pv="employee-dto-func-declaration-return-statement-id",Av="employee-dto-func-declaration-return-decl-id",Or="employee-dto-func-declaration-employee-variable-id",Pr="employee-dto-func-declaration-employee-dto-variable-id",ho="employee-dto-func-declaration-manager-variable-id",Cv="employee-dto-func-declaration-employee-variable-id-output-map-id",wv="employee-dto-func-declaration-employee-variable-birth-date-output-map-id",Bv="employee-dto-func-declaration-employee-variable-department-output-map-id",Mv="employee-dto-func-declaration-employee-variable-manager-output-map-id",Nv="employee-dto-func-declaration-manager-variable-id-output-map-id",N$="employee-dto-func-declaration-employee-dto-variable-input-map-id",_$="employee-dto-func-declaration-employee-dto-variable-birth-date-input-map-id",V$="employee-dto-func-declaration-employee-dto-variable-department-input-map-id",L$="employee-dto-func-declaration-employee-dto-variable-manager-input-map-id",G$={type:a.GenericReference,id:"employee-dto-func-returned-employee-dto-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:Av},$$={like:!1,inferred:!1,id:"employee-dto-func-returned-employee-dto-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:G$},F$={type:a.GenericReference,id:"employee-dto-func-returned-employee-dto-parent-ref-id",entityType:a.ReturnStatement,entityId:Pv},U$={type:a.GenericReference,id:"employee-dto-func-returned-employee-dto-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:Pr},_v={isError:!1,id:Av,type:a.ReturnDeclaration,version:1,name:"Employee DTO",description:"Output the employee data in the format that it will be sent through an HTTP request.",defaultValue:null,dataType:$$,implements:null,readsValue:U$,required:!0,index:0,parent:F$},x$={type:a.GenericReference,id:"employee-dto-func-return-statement-called-by-ref-id",entityType:a.Operation,entityId:Pr},j$={type:a.GenericReference,id:"employee-dto-func-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Sr},Kd={type:a.ReturnStatement,id:Pv,version:1,outputs:[_v],calledByError:[],calledByEntry:[],calledBySuccess:[x$],throws:null,x:0,y:0,parent:j$},k$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-manager-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Nv},q$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-manager-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pr},Vv={id:L$,type:a.InputMap,version:1,declaration:null,name:"manager_id",description:null,defaultValue:null,index:4,readsValue:k$,parent:q$},J$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-department-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Bv},W$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-department-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pr},Lv={id:V$,type:a.InputMap,version:1,declaration:null,name:"department_name",description:null,defaultValue:null,index:3,readsValue:J$,parent:W$},Y$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-birth-date-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:wv},H$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-birth-date-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pr},Gv={id:_$,type:a.InputMap,version:1,declaration:null,name:"birth_date",description:null,defaultValue:null,index:2,readsValue:Y$,parent:H$},z$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-id-output-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Cv},Z$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pr},$v={id:N$,type:a.InputMap,version:1,declaration:null,name:"id",description:"The ID of the employee",defaultValue:null,index:1,readsValue:z$,parent:Z$},K$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Sr},X$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-called-by-ref-id",entityType:a.VariableDeclaration,entityId:ho},Q$={id:Pr,type:a.VariableDeclaration,version:1,name:"Employee DTO",dataType:null,description:"A variable holding the data of a mapped employee DTO",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[X$],successCalls:[Kd],errorCalls:[],readsValue:null,writesValues:[_v],inputs:[$v,Gv,Lv,Vv],outputs:[],internalCalls:[],parent:K$,x:0,y:0},eF={type:a.GenericReference,id:"employee-dto-func-manager-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:ho},tF={id:Nv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:0,writesValues:[Vv],parent:eF},nF={type:a.GenericReference,id:"employee-dto-func-manager-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:ho},rF={like:!1,inferred:!1,id:"employee-dto-func-manager-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Yt,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:nF},aF={type:a.GenericReference,id:"employee-dto-func-manager-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:Mv},iF={type:a.GenericReference,id:"employee-dto-func-manager-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Sr};a.GenericReference,a.VariableDeclaration;const Fv={id:ho,type:a.VariableDeclaration,version:1,name:"Manager",description:"A variable holding an inherited manager",defaultValue:null,dataType:rF,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[Q$],errorCalls:[],readsValue:aF,writesValues:[],inputs:[],outputs:[tF],internalCalls:[],parent:iF,x:0,y:0},sF={type:a.GenericReference,id:"employee-dto-func-employee-variable-manager-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},oF={id:Mv,type:a.OutputMap,version:1,defaultValue:null,declaration:Yt.properties[2],index:3,writesValues:[Fv],parent:sF},lF={type:a.GenericReference,id:"employee-dto-func-employee-variable-department-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},dF={id:Bv,type:a.OutputMap,version:1,defaultValue:null,declaration:Yt.properties[0],index:2,writesValues:[Lv],parent:lF},cF={type:a.GenericReference,id:"employee-dto-func-employee-variable-birth-date-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},uF={id:wv,type:a.OutputMap,version:1,defaultValue:null,declaration:gt.properties[1],index:1,writesValues:[Gv],parent:cF},pF={type:a.GenericReference,id:"employee-dto-func-employee-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},yF={id:Cv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:0,writesValues:[$v],parent:pF},hF={type:a.GenericReference,id:"employee-dto-func-employee-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},fF={like:!1,inferred:!1,id:"employee-dto-func-employee-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Yt,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:hF},mF={type:a.GenericReference,id:"employee-dto-func-employee-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Sr},TF={type:a.GenericReference,id:"employee-dto-func-employee-variable-reads-value-ref-id",entityType:a.ArgumentDeclaration,entityId:Zd},EF={type:a.GenericReference,id:"employee-dto-func-employee-variable-called-by-id",entityType:a.FunctionDeclaration,entityId:Sr},Uv={id:Or,type:a.VariableDeclaration,version:1,name:"Company employee",dataType:fF,description:"A variable holding a company employee",calledByError:[],defaultValue:null,calledByEntry:[EF],calledBySuccess:[],successCalls:[Fv],errorCalls:[],readsValue:TF,writesValues:[],inputs:[],outputs:[yF,uF,dF,oF],internalCalls:[],parent:mF,x:0,y:0},bF={type:a.GenericReference,id:"employee-dto-func-declaration-employee-input-declaration-data-type-parent-ref-id",entityId:Zd,entityType:a.ArgumentDeclaration},RF={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"employee-dto-func-declaration-employee-input-declaration-data-type-id",version:1,entity:Yt,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:bF},gF={type:a.GenericReference,id:"employee-dto-func-declaration-employee-input-declaration-parent-ref-id",entityId:Sr,entityType:a.FunctionDeclaration},vF={type:a.ArgumentDeclaration,id:Zd,version:1,name:"Employee",description:"The employee to create a DTO for",required:!0,implements:null,defaultValue:null,dataType:RF,index:0,writesValues:[Uv],parent:gF},IF={type:a.GenericReference,id:"employee-dto-function-declaration-parent-ref-id",entityType:a.Project,entityId:H},Xd={type:a.FunctionDeclaration,id:Sr,version:1,name:"Employee DTO",description:"Takes a employee and returns a DTO of that employee",index:null,inputs:[vF],calls:[Uv],implements:null,returnStatements:[Kd],collapsed:!1,private:!1,x:0,y:0,parent:IF},DF={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-data-type-parent-ref-id",type:a.GenericReference,entityId:dv,entityType:a.ReturnDeclaration},SF={like:!1,inferred:!1,id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:DF},OF={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-reads-value-ref-id",type:a.GenericReference,entityId:cv,entityType:a.OutputMap},PF={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-parent-ref-id",type:a.GenericReference,entityId:uv,entityType:a.ContinueStatement},xv={isError:!1,id:dv,type:a.ReturnDeclaration,version:1,name:"Employee DTO",description:"The DTO of the employee entity.",defaultValue:null,readsValue:OF,dataType:SF,implements:null,required:!0,index:0,parent:PF},AF={id:"iterate-over-employee-list-continue-statement-called-by-ref-id",type:a.GenericReference,entityId:co,entityType:a.FunctionCall},CF={id:"iterate-over-employee-list-continue-statement-parent-ref-id",type:a.GenericReference,entityId:Sa,entityType:a.Loop},jv={id:uv,type:a.ContinueStatement,version:1,calledByError:[],calledByEntry:[],calledBySuccess:[AF],outputs:[xv],throws:null,x:0,y:0,parent:CF},wF={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-parent-ref-id",type:a.GenericReference,entityId:co,entityType:a.FunctionCall},BF={id:cv,type:a.OutputMap,version:1,defaultValue:null,declaration:Kd.outputs[0],writesValues:[xv],index:0,parent:wF},MF={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-reads-value-ref-id",type:a.GenericReference,entityId:Yd,entityType:a.ArgumentDeclaration},NF={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-parent-ref-id",type:a.GenericReference,entityId:co,entityType:a.FunctionCall},kv={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:Xd.inputs[0],readsValue:MF,index:0,defaultValue:null,parent:NF},_F={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-called-by-ref-id",type:a.GenericReference,entityId:uo,entityType:a.FunctionDeclaration},VF={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-parent-ref-id",type:a.GenericReference,entityId:uo,entityType:a.FunctionDeclaration},LF={id:co,type:a.FunctionCall,version:1,declaration:Xd,inputs:[kv],process:null,outputs:[BF],calledByError:[],calledByEntry:[_F],calledBySuccess:[],successCalls:[jv],errorCalls:[],error:null,x:0,y:0,parent:VF},GF={type:a.GenericReference,id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-data-type-parent-ref-id",entityId:Yd,entityType:a.ArgumentDeclaration},$F={like:!1,inferred:!1,id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Yt,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:GF},FF={id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:uo,entityType:a.FunctionDeclaration},UF={id:Yd,type:a.ArgumentDeclaration,version:1,name:"Current employee",description:"The current employee entity being processed.",defaultValue:null,dataType:$F,required:!0,implements:Rs,index:0,writesValues:[kv],parent:FF},xF={id:"iterate-over-employee-list-loop-body-parent-ref-id",type:a.GenericReference,entityId:Sa,entityType:a.Loop},jF={id:uo,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[UF],calls:[LF],implements:gs,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:xF},kF={id:"iterate-over-employee-list-loop-iteration-list-input-map-parent-ref-id",type:a.GenericReference,entityId:Sa,entityType:a.Loop},qF={id:"iterate-over-employee-list-loop-iteration-list-input-map-reads-value-ref-id",type:a.GenericReference,entityId:fv,entityType:a.OutputMap},qv={id:"iterate-over-employee-list-loop-iteration-list-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:Wn.inputs[0],defaultValue:null,readsValue:qF,index:0,parent:kF},JF={id:"iterate-over-employee-list-loop-parent-ref-id",type:a.GenericReference,entityId:_n,entityType:a.FunctionDeclaration},WF={id:"iterate-over-employee-list-loop-employee-dto-output-map-parent-ref-id",type:a.GenericReference,entityId:Sa,entityType:a.Loop},YF={id:lv,type:a.OutputMap,version:1,defaultValue:null,declaration:Wn.outputs[0],writesValues:[Sv],index:0,parent:WF},HF={type:a.GenericReference,id:"iterate-over-employee-list-loop-called-by-ref-id",entityType:a.VariableDeclaration,entityId:mn},zF={id:Sa,type:a.Loop,version:1,declaration:Wn,inputs:[qv],successCalls:[zd],errorCalls:[],outputsDeclarations:[],outputs:[YF],body:jF,process:null,calledByError:[],calledByEntry:[],calledBySuccess:[HF],breakStatements:[],continueStatements:[jv],error:null,x:0,y:0,parent:JF},ZF={type:a.GenericReference,id:"company-dto-func-bank-account-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:yo},KF={id:Rv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:0,writesValues:[Iv],parent:ZF},XF={type:a.GenericReference,id:"company-dto-func-bank-account-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:yo},QF={like:!1,inferred:!1,id:"company-dto-func-bank-account-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:XF},eU={type:a.GenericReference,id:"company-dto-func-bank-account-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:bv},tU={type:a.GenericReference,id:"company-dto-func-bank-account-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n};a.GenericReference,a.VariableDeclaration;const Jv={id:yo,type:a.VariableDeclaration,version:1,name:"Bank account",description:"A variable holding an inherited bank account",defaultValue:null,dataType:QF,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[zd],errorCalls:[],readsValue:eU,writesValues:[],inputs:[],outputs:[KF],internalCalls:[],parent:tU,x:0,y:0},nU={type:a.GenericReference,id:"company-dto-func-owner-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:po},rU={id:Ev,type:a.OutputMap,version:1,declaration:Ft.properties[0],index:0,defaultValue:null,writesValues:[vv],parent:nU},aU={type:a.GenericReference,id:"company-dto-func-owner-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:po},iU={like:!1,inferred:!1,id:"company-dto-func-owner-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:aU},sU={type:a.GenericReference,id:"company-dto-func-owner-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:Tv},oU={type:a.GenericReference,id:"company-dto-func-owner-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n};a.GenericReference,a.VariableDeclaration;const Wv={id:po,type:a.VariableDeclaration,version:1,name:"Owner",dataType:iU,description:"A variable holding an inherited owner",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[zd],errorCalls:[],readsValue:sU,writesValues:[],inputs:[],outputs:[rU],internalCalls:[],parent:oU,x:0,y:0},lU={type:a.GenericReference,id:"company-dto-func-company-variable-owner-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},dU={id:Tv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ht.properties[2],index:4,writesValues:[Wv],parent:lU},cU={type:a.GenericReference,id:"company-dto-func-company-variable-bank-account-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},uU={id:bv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ht.properties[2],index:3,writesValues:[Jv],parent:cU},pU={type:a.GenericReference,id:"company-dto-func-company-variable-name-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},yU={id:mv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ht.properties[0],index:2,writesValues:[Dv],parent:pU},hU={type:a.GenericReference,id:"company-dto-func-company-variable-employess-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},fU={id:fv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ht.properties[3],index:1,writesValues:[qv],parent:hU},mU={type:a.GenericReference,id:"company-dto-func-company-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},TU={id:hv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:0,writesValues:[Ov],parent:mU},EU={type:a.GenericReference,id:"company-dto-func-company-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},bU={like:!1,inferred:!1,id:"company-dto-func-company-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:EU},RU={type:a.GenericReference,id:"company-dto-func-company-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n},gU={type:a.GenericReference,id:"company-dto-func-company-variable-reads-value-ref-id",entityType:a.ArgumentDeclaration,entityId:Wd},vU={type:a.GenericReference,id:"company-dto-func-company-variable-called-by-id",entityType:a.FunctionDeclaration,entityId:_n},Yv={id:mn,type:a.VariableDeclaration,version:1,name:"Company",dataType:bU,description:"A variable holding a company",defaultValue:null,calledByError:[],calledByEntry:[vU],calledBySuccess:[],successCalls:[Jv,Wv,zF],errorCalls:[],readsValue:gU,writesValues:[],inputs:[],outputs:[TU,fU,yU,uU,dU],internalCalls:[],parent:RU,x:0,y:0},IU={type:a.GenericReference,id:"company-dto-func-declaration-company-input-declaration-data-type-parent-ref-id",entityId:Wd,entityType:a.ArgumentDeclaration},DU={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"company-dto-func-declaration-company-input-declaration-data-type-id",version:1,entity:Ht,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:IU},SU={type:a.GenericReference,id:"company-dto-func-declaration-company-input-declaration-parent-ref-id",entityId:_n,entityType:a.FunctionDeclaration},OU={type:a.ArgumentDeclaration,id:Wd,version:1,name:"Company",description:"The company to create a DTO for",defaultValue:null,required:!0,implements:null,dataType:DU,index:0,writesValues:[Yv],parent:SU},PU={type:a.GenericReference,id:"company-dto-function-declaration-parent-ref-id",entityType:a.Project,entityId:H},Qd={type:a.FunctionDeclaration,id:_n,version:1,name:"Company DTO",description:"Takes a company and returns a DTO of that company",inputs:[OU],calls:[Yv],implements:null,index:null,returnStatements:[Hd],collapsed:!1,private:!1,x:0,y:0,parent:PU},Ci="exec-in-parallel-operation-call-id",wi="exec-sequentially-operation-call-id",vt="concurrency-and-wait-function-declaration-id",Hv="concurrency-and-wait-return-statement-id",zv="concurrency-and-wait-return-declaration-id",ec="exec-in-parallel-argument-map-id",Zv="exec-sequentially-argument-map-id",tc="wait-for-2-seconds-operation-id",Kv="wait-for-2-seconds-argument-map-id",nc="map-company-dto-function-call-id",Xv="map-company-dto-function-call-company-dto-output-map-id",fo="company-dto-variable-one-id",rc="company-dto-variable-one-instance-id",Qv="company-dto-variable-two-id",AU={type:a.GenericReference,id:"returned-company-dto-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:zv},CU={like:!1,inferred:!1,id:"returned-company-dto-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:AU},wU={type:a.GenericReference,id:"returned-company-dto-parent-ref-id",entityType:a.ReturnStatement,entityId:Hv},BU={type:a.GenericReference,id:"returned-company-dto-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:Qv},eI={isError:!1,id:zv,type:a.ReturnDeclaration,version:1,name:"Company DTO",description:"Output the company data in the format that it will be sent through an HTTP request.",defaultValue:null,dataType:CU,implements:null,readsValue:BU,required:!0,index:0,parent:wU},MU={type:a.GenericReference,id:"concurrency-and-wait-return-statement-called-by-ref-id",entityType:a.Operation,entityId:tc},NU={type:a.GenericReference,id:"concurrency-and-wait-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},tI={type:a.ReturnStatement,id:Hv,version:1,outputs:[eI],calledByError:[],calledByEntry:[],calledBySuccess:[MU],throws:null,x:0,y:0,parent:NU},_U={type:a.GenericReference,id:"company-dto-variable-two-called-by-ref-id",entityType:a.VariableInstance,entityId:rc},VU={type:a.GenericReference,id:"company-dto-variable-two-reads-value-ref-id",entityType:a.VariableInstance,entityId:rc},LU={type:a.GenericReference,id:"company-dto-variable-two-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},nI={id:Qv,type:a.VariableDeclaration,version:1,name:"Company DTO",description:null,defaultValue:null,dataType:null,inputs:[],outputs:[],successCalls:[],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[_U],internalCalls:[],writesValues:[eI],readsValue:VU,x:0,y:0,parent:LU},GU={type:a.GenericReference,id:"company-dto-variable-one-instance-called-by-ref-id",entityType:a.VariableDeclaration,entityId:fo},$U={type:a.GenericReference,id:"company-dto-variable-one-instance-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:fo},FU={type:a.GenericReference,id:"company-dto-variable-one-instance-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},UU={type:a.GenericReference,id:"company-dto-variable-one-instance-declaration-ref-id",entityType:a.VariableDeclaration,entityId:fo},rI={id:rc,type:a.VariableInstance,version:1,declaration:UU,inputs:[],outputs:[],successCalls:[nI],errorCalls:[],defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[GU],internalCalls:[],writesValues:[nI],readsValue:$U,x:0,y:0,parent:FU},xU={type:a.GenericReference,id:"company-dto-variable-one-called-by-ref-id",entityType:a.FunctionCall,entityId:nc},jU={type:a.GenericReference,id:"company-dto-variable-one-reads-value-ref-id",entityType:a.OutputMap,entityId:Xv},kU={type:a.GenericReference,id:"company-dto-variable-one-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},aI={id:fo,type:a.VariableDeclaration,version:1,name:"Company DTO",description:null,defaultValue:null,dataType:null,inputs:[],outputs:[],successCalls:[rI],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[xU],internalCalls:[],writesValues:[rI],readsValue:jU,x:0,y:0,parent:kU},iI={type:a.GenericReference,id:"map-company-dto-function-call-company-input-map-parent-ref-id",entityType:a.FunctionCall,entityId:nc},qU={id:"map-company-dto-function-call-company-input-map-id",type:a.InputMap,version:1,declaration:Qd.inputs[0],name:null,description:null,defaultValue:null,index:0,readsValue:null,parent:iI},JU={id:Xv,type:a.OutputMap,version:1,defaultValue:null,declaration:Hd.outputs[0],writesValues:[aI],index:0,parent:iI},WU={id:"map-company-dto-function-call-called-by-ref-id",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:vt},YU={id:"map-company-dto-function-call-parent-ref-id",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:vt},HU={id:nc,type:a.FunctionCall,version:1,declaration:Qd,successCalls:[aI],process:null,errorCalls:[],inputs:[qU],outputs:[JU],calledByError:[],calledByEntry:[WU],calledBySuccess:[],parent:YU,x:0,y:0,error:null},zU={type:a.GenericReference,id:"last-timestamp-variable-datatype-parent-ref-id",entityType:a.VariableDeclaration,entityId:Cd},ZU={type:a.GenericReference,id:"last-timestamp-variable-default-value-parent-ref-id",entityType:a.VariableDeclaration,entityId:Cd},KU={like:!1,inferred:!1,id:"last-timestamp-variable-datatype-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:ln,version:1,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:zU},XU={type:a.GenericReference,id:"last-timestamp-variable-main-project-ref-id",entityType:a.Project,entityId:H},ac={id:Cd,type:a.VariableDeclaration,version:1,name:"Last registered current time",description:"A test variable that holds the last current date and time that was registered.",defaultValue:{id:"last-timestamp-variable-default-value-id",type:a.LiteralValue,version:1,name:C.Date,value:null,autogeneration:{type:ze.CurrentDateAndTime,rangeStart:null,rangeEnd:null},valueAsType:null,parent:ZU},dataType:KU,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[],parent:XU},QU={type:a.GenericReference,id:"wait-for-2-seconds-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:Kv},e4={type:a.GenericReference,id:"wait-for-2-seconds-argument-map-parent-ref-id",entityType:a.Operation,entityId:tc},t4={id:Kv,type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"wait-for-2-seconds-argument-default-value-id",type:a.LiteralValue,version:1,value:2e3,valueAsType:null,autogeneration:null,name:C.Number,parent:QU},index:0,parent:e4},n4={type:a.GenericReference,id:"wait-for-2-seconds-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},r4={type:a.GenericReference,id:"wait-for-2-seconds-called-by-ref-one-id",entityType:a.Operation,entityId:wi},a4={type:a.GenericReference,id:"wait-for-2-seconds-called-by-ref-two-id",entityType:a.Operation,entityId:Ci},sI={id:tc,type:a.Operation,version:1,declaration:Qt,inputs:[t4],outputs:[],process:null,successCalls:[tI],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[r4,a4],error:null,parent:n4},i4={type:a.GenericReference,id:"wait-for-random-amount-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:"wait-for-random-amount-input-map-id"},s4={type:a.GenericReference,id:"wait-for-random-amount-argument-map-parent-ref-id",entityType:a.Operation,entityId:"wait-for-random-amount-id"},o4={id:"wait-for-random-amount-input-map-id",type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"wait-for-random-amount-argument-default-value-id",type:a.LiteralValue,version:1,value:null,valueAsType:null,autogeneration:{type:ze.Random,rangeStart:1e3,rangeEnd:4e3},name:C.Number,parent:i4},index:0,parent:s4},l4={type:a.GenericReference,id:"wait-for-random-amount-parent-ref-id",entityType:a.Project,entityId:H},Oa={id:"wait-for-random-amount-id",type:a.Operation,version:1,declaration:Qt,inputs:[o4],process:null,outputs:[],successCalls:[],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[],error:null,parent:l4},ic="list-of-functions-variable-id",d4={type:a.GenericReference,id:"list-of-functions-variable-action-descriptor-dynamic-argument-parent-ref-id",entityType:a.ActionDescriptor,entityId:"list-of-functions-variable-action-descriptor-id"},c4={id:"list-of-functions-variable-action-descriptor-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any input value",description:"Any input value that can be passed to the action",defaultValue:null,index:0,required:!1,dataType:null,parent:d4},u4={type:a.GenericReference,id:"list-of-functions-variable-action-descriptor-dynamic-return-parent-ref-id",entityType:a.ActionDescriptor,entityId:"list-of-functions-variable-action-descriptor-id"},p4={id:"list-of-functions-variable-action-descriptor-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any output value",description:"Any output value that can be returned to the action",defaultValue:null,index:0,required:!1,dataType:null,parent:u4},y4={type:a.GenericReference,id:"list-of-functions-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:ic},h4={id:"list-of-functions-variable-action-descriptor-id",type:a.ActionDescriptor,version:1,name:"Action to execute",description:"An action of any type, to be executed. It can contain any number of inputs and outputs.",inputs:[c4],error:null,outputs:[p4],parent:null},f4={type:a.GenericReference,id:"list-of-functions-variable-data-type-default-parent-ref-id",entityType:a.VariableDeclaration,entityId:ic},m4={like:!1,inferred:!1,id:"list-of-functions-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:h4,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:y4},T4={type:a.GenericReference,id:"list-of-functions-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt};a.GenericReference,a.InputMap;const E4={type:a.GenericReference,id:"list-of-functions-variable-writes-value-one-ref-id",entityType:a.InputMap,entityId:Zv},b4={type:a.GenericReference,id:"list-of-functions-variable-writes-value-two-ref-id",entityType:a.InputMap,entityId:ec},oI={id:ic,type:a.VariableDeclaration,version:1,name:"List of functions to execute",description:"A list of functions to be executed in parallel",defaultValue:{id:"list-of-functions-variable-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.ActionDescriptor,value:null,valueAsType:[Oa,Oa,Oa,Oa,Oa],autogeneration:null,parent:f4},dataType:m4,parent:T4,readsValue:null,writesValues:[E4,b4],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],inputs:[],outputs:[],internalCalls:[],x:0,y:0},R4={type:a.GenericReference,id:"exec-in-parallel-return-map-parent-ref-id",entityType:a.Operation,entityId:Ci},g4={type:a.GenericReference,id:"exec-in-parallel-result-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},v4={type:a.GenericReference,id:"exec-in-parallel-result-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:"exec-in-parallel-return-map-id"},I4={type:a.GenericReference,id:"exec-in-parallel-result-variable-called-by-ref-id",entityType:a.Operation,entityId:Ci},lI={id:"exec-in-parallel-result-variable-id",type:a.VariableInstance,version:1,declaration:ac,readsValue:v4,writesValues:[],defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[I4],successCalls:[],errorCalls:[],internalCalls:[],parent:g4,x:0,y:0},D4={id:"exec-in-parallel-return-map-id",type:a.OutputMap,version:1,defaultValue:null,declaration:Ll,writesValues:[lI],index:0,parent:R4},S4={type:a.GenericReference,id:"exec-in-parallel-argument-map-parent-ref-id",entityType:a.Operation,entityId:Ci},O4={id:ec,type:a.InputMap,version:1,declaration:Vl,name:null,description:null,readsValue:oI,defaultValue:null,index:0,parent:S4},P4={type:a.GenericReference,id:"exec-in-parallel-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},A4={type:a.GenericReference,id:"exec-in-parallel-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:vt},C4={process:null,id:Ci,type:a.Operation,version:1,declaration:Qt,inputs:[O4],outputs:[D4],successCalls:[sI,lI],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[A4],calledBySuccess:[],error:null,parent:P4},w4={type:a.GenericReference,id:"exec-sequentially-return-map-parent-ref-id",entityType:a.Operation,entityId:wi},B4={type:a.GenericReference,id:"exec-sequentially-result-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},M4={type:a.GenericReference,id:"exec-sequentially-result-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:"exec-sequentially-return-map-id"},N4={type:a.GenericReference,id:"exec-sequentially-result-variable-called-by-ref-id",entityType:a.Operation,entityId:wi},dI={id:"exec-sequentially-result-variable-id",type:a.VariableInstance,version:1,declaration:ac,readsValue:M4,defaultValue:null,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[N4],successCalls:[],errorCalls:[],internalCalls:[],parent:B4,x:0,y:0},_4={id:"exec-sequentially-return-map-id",type:a.OutputMap,version:1,defaultValue:null,declaration:$l,writesValues:[dI],index:0,parent:w4},V4={type:a.GenericReference,id:"exec-sequentially-argument-map-parent-ref-id",entityType:a.Operation,entityId:wi},L4={id:Zv,type:a.InputMap,version:1,declaration:Gl,name:null,description:null,readsValue:oI,defaultValue:null,index:0,parent:V4},G4={type:a.GenericReference,id:"exec-sequentially-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},$4={type:a.GenericReference,id:"exec-sequentially-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:vt},F4={id:wi,type:a.Operation,version:1,declaration:wn,inputs:[L4],process:null,outputs:[_4],successCalls:[sI,dI],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[$4],calledBySuccess:[],error:null,parent:G4},U4={type:a.GenericReference,id:"concurrency-and-wait-parent-ref-id",entityType:a.Project,entityId:H},x4={type:a.FunctionDeclaration,id:vt,version:1,name:"Execute with concurrency and wait",description:"Executes a hardcoded list of actions in parallel and waits for some time before ending the logic with some unrelated data payload as the result.",inputs:[],calls:[F4,C4,HU],returnStatements:[tI],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:U4},j4={type:a.GenericReference,id:"3521f2c8-a5c0-419c-8808-4fc6a73d0b78",entityType:a.ReturnDeclaration,entityId:"e1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},k4={like:!1,inferred:!1,id:"ce8b9a30-afe9-4d4f-879f-1677efca2c47",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:j4},q4={type:a.GenericReference,id:"8ee66e38-b060-474e-a503-594063a8ec24",entityType:a.ReturnStatement,entityId:"40a23a98-d3b2-42b1-9652-b33779ad15aa"},J4={isError:!1,id:"e1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:a.ReturnDeclaration,version:1,name:"Created company",description:"The new company that was created",defaultValue:null,implements:null,dataType:k4,readsValue:null,required:!0,index:0,parent:q4},W4={type:a.GenericReference,id:"9cb3c1e4-7250-4be6-be2a-69c2dd366d6f",entityType:a.FunctionDeclaration,entityId:"5059c093-eda2-4efc-b7b4-aaaadd4d44de"},Y4={type:a.GenericReference,id:"c065fcdd-e054-4f95-941c-7eaa65c35d04",entityType:a.FunctionDeclaration,entityId:"5059c093-eda2-4efc-b7b4-aaaadd4d44de"},cI={type:a.ReturnStatement,id:"40a23a98-d3b2-42b1-9652-b33779ad15aa",version:1,outputs:[J4],calledByError:[],calledByEntry:[Y4],calledBySuccess:[],throws:null,x:0,y:0,parent:W4},H4={type:a.GenericReference,id:"312ef836-9e40-4d57-b177-03b7145ed074",entityType:a.Project,entityId:H},z4={type:a.FunctionDeclaration,id:"5059c093-eda2-4efc-b7b4-aaaadd4d44de",version:1,name:"Create new company",description:null,inputs:[],calls:[cI],index:null,implements:null,returnStatements:[cI],collapsed:!1,private:!1,x:0,y:0,parent:H4},sc="get-current-date-and-time-func-decl-id",uI="get-current-date-and-time-return-statement-id",oc="get-current-date-and-time-return-declaration-id",Z4="get-current-date-and-time-return-declaration-data-type-id",K4={type:a.GenericReference,id:"get-current-date-and-time-return-declaration-data-type-value-parent-ref-id",entityType:a.ReturnDeclaration,entityId:oc},X4={type:a.GenericReference,id:"get-current-date-and-time-return-declaration-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:oc},Q4={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:Z4,version:1,entity:ln,asType:!1,isList:!1,isNullable:!1,like:!1,inferred:!1,constant:!1,parent:X4},ex={type:a.GenericReference,id:"get-current-date-and-time-return-declaration-parent-ref-id",entityType:a.ReturnStatement,entityId:uI};a.ReturnDeclaration,a.LiteralValue,C.Date,ze.CurrentDateAndTime;const tx={type:a.GenericReference,id:"get-current-date-and-time-return-statement-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:sc},nx={type:a.GenericReference,id:"get-current-date-and-time-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:sc};a.ReturnStatement;const rx={type:a.GenericReference,id:"concurrency-and-wait-parent-ref-id",entityType:a.Project,entityId:H},ax={type:a.FunctionDeclaration,id:sc,version:1,name:"Get current date and time",description:"Generates and returns the current date and time at the time of the execution",inputs:[],calls:[],returnStatements:[],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:rx},pI="do-math-return-statement-id",lc="do-math-return-declaration-id",ix={type:a.GenericReference,id:"do-math-func-var-to-return-one-ref-id",entityType:a.VariableDeclaration,entityId:"do-math-func-var-to-return-one-id"},sx={like:!1,inferred:!1,id:"do-math-func-var-to-return-one-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ix},ox={type:a.GenericReference,id:"do-math-func-decl-ref-two-id",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},lx={type:a.GenericReference,id:"do-math-func-var-to-return-one-map-ref-id",entityType:a.ReturnDeclaration,entityId:lc},dx={type:a.VariableDeclaration,id:"do-math-func-var-to-return-one-id",version:1,description:null,name:"Fixed result",defaultValue:null,dataType:sx,readsValue:null,writesValues:[lx],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:ox},cx={type:a.GenericReference,id:"96ec244e-594b-45f7-802b-6dc3056920f6",entityType:a.ReturnStatement,entityId:pI},ux={type:a.GenericReference,id:"d120c0cc-9d13-4e45-90e2-4e1ee825ca46",entityType:a.ReturnDeclaration,entityId:lc},px={like:!1,inferred:!1,id:"da91aa23-9985-49ac-a8bf-9d623ba1ba8f",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:ux},yx={isError:!1,id:lc,version:1,type:a.ReturnDeclaration,name:"Result",description:null,implements:null,defaultValue:null,dataType:px,readsValue:dx,required:!0,index:0,parent:cx},hx={type:a.GenericReference,id:"57fd93e4-93a1-484e-82eb-4dd15d2d0e24",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},fx={type:a.GenericReference,id:"0a86e8d5-ab21-476e-a482-b928cbf351e3",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},yI={type:a.ReturnStatement,id:pI,version:1,outputs:[yx],calledByError:[],calledByEntry:[],calledBySuccess:[hx],parent:fx,throws:null,x:0,y:0},mx={type:a.GenericReference,id:"a2db26be-57f2-48e5-9769-cdbf0d95dc7c",entityType:a.VariableDeclaration,entityId:"d0e9f1f3-7e9f-4e1f-8d8e-7b4b3e6c6a6a"},Tx={like:!1,inferred:!1,id:"c3e9d5f0-204f-45f9-85f7-e1b56b468388",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:mx},Ex={type:a.GenericReference,id:"692122c5-610a-4504-90dd-f5a5202d116c",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},bx={type:a.GenericReference,id:"do-math-func-return-one-called-by",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Rx={type:a.GenericReference,id:"6dceb501-be5b-4252-afb4-3c0d08abba33",entityType:a.OutputMap,entityId:"64752080-ee0f-4cfe-9897-a0668f2b2aca"},hI={type:a.VariableDeclaration,id:"d0e9f1f3-7e9f-4e1f-8d8e-7b4b3e6c6a6a",version:1,name:"Result",dataType:Tx,description:null,defaultValue:null,readsValue:Rx,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[bx],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:Ex},gx={type:a.GenericReference,id:"5440f523-af38-4981-8035-89d162fe8041",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},vx={type:a.GenericReference,id:"8c482c35-e674-4713-a1dd-63c3d13b611c",entityType:a.OutputMap,entityId:"64752080-ee0f-4cfe-9897-a0668f2b2aca"},Ix={type:a.GenericReference,id:"c0a299cd-5869-4930-8cf0-90e3ceb8a903",entityType:a.VariableDeclaration,entityId:"46b2fe23-b417-4887-a35d-09b186679172"},Dx={like:!1,inferred:!1,id:"51c0c1df-2ee3-41df-ae52-ac512d8cf795",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Ix},Sx={type:a.GenericReference,id:"do-math-func-return-two-called-by",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},fI={type:a.VariableDeclaration,id:"46b2fe23-b417-4887-a35d-09b186679172",version:1,name:"Total",description:null,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[Sx],successCalls:[],errorCalls:[],dataType:Dx,readsValue:vx,writesValues:[],internalCalls:[],parent:gx,x:0,y:0},mI={type:a.GenericReference,id:"6e4d776e-6af2-4321-b630-c78110fd677c",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},Ox={type:a.GenericReference,id:"5b60955b-2486-40b6-bb24-ffd97ccd8902",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Px={type:a.GenericReference,id:"1a49923f-bc6f-453f-a438-e74e5475c2a9",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Ax={type:a.GenericReference,id:"02bfde0a-b757-4072-9613-6e9c7c9a424a",entityType:a.ArgumentDeclaration,entityId:"d8895765-f705-457e-85fa-25d130926769"},TI={id:"928953b0-0e3f-4d8c-ae5a-84620b4b8c68",version:1,type:a.InputMap,declaration:vl,name:null,description:null,readsValue:Ax,defaultValue:null,index:0,parent:Px},Cx={id:"64752080-ee0f-4cfe-9897-a0668f2b2aca",type:a.OutputMap,version:1,defaultValue:null,declaration:Sl,writesValues:[hI,fI],index:0,parent:Ox},wx={type:a.GenericReference,id:"d235a7f6-07ff-4f35-98d2-8f42dd59cf9f",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Bx={id:"8827e8e9-9381-4ad7-8f61-5419c23c9136",type:a.GenericReference,entityType:a.VariableDeclaration,entityId:"72a338d8-0183-4ca2-8760-227517854595"},EI={id:"a5525249-0eb5-472b-97bc-5e4cc0d75aee",version:1,type:a.InputMap,declaration:Il,name:null,description:null,readsValue:Bx,defaultValue:null,index:1,parent:wx},Mx={type:a.Operation,id:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e",declaration:ls,version:1,inputs:[TI,EI],outputs:[Cx],calledByError:[],calledByEntry:[mI],calledBySuccess:[],process:null,successCalls:[yI,hI,fI],errorCalls:[],parent:mI,error:null,x:0,y:0},Nx={type:a.GenericReference,id:"a2c40226-2270-4963-a865-c777ba79c551",entityType:a.VariableDeclaration,entityId:"72a338d8-0183-4ca2-8760-227517854595"},_x={id:"f47731b3-f278-4ab5-aeb2-24519c1119fb",type:a.GenericReference,entityId:"72a338d8-0183-4ca2-8760-227517854595",entityType:a.ArgumentDeclaration},bI={like:!1,inferred:!1,id:"a350a9e9-25ee-477f-a83d-9e98ed2451662",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:_x},Vx={type:a.GenericReference,id:"5f5d8dd0-7f3b-40cd-9f84-83d976887eaf",entityType:a.ArgumentDeclaration,entityId:"649bf0a4-6532-44aa-9818-a03d1c6564e9"},Lx={type:a.GenericReference,id:"ca018d0f-a8b3-4c7e-a408-c8b372d04aff",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},Gx={type:a.GenericReference,id:"do-math-func-var-called-by-ref",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},RI={id:"72a338d8-0183-4ca2-8760-227517854595",type:a.VariableDeclaration,version:1,name:"Z",description:null,defaultValue:{id:"do-math-func-argument-two-default-value-id",type:a.LiteralValue,version:1,value:1,name:C.Number,valueAsType:null,autogeneration:null,parent:Nx},dataType:bI,inputs:[],outputs:[],calledByError:[],calledByEntry:[Gx],calledBySuccess:[],successCalls:[],errorCalls:[],readsValue:Vx,writesValues:[EI],internalCalls:[],x:0,y:0,parent:Lx},$x={entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b",type:a.GenericReference,id:"af0cf105-4075-425f-aecc-b25d3600fcc4"},Fx={id:"649bf0a4-6532-44aa-9818-a03d1c6564e9",type:a.ArgumentDeclaration,version:1,name:"Z",description:"The number to add",defaultValue:null,dataType:bI,implements:null,writesValues:[RI],required:!0,index:1,parent:$x},Ux={type:a.GenericReference,id:"56953b5d-3e43-4dea-a62c-f3e868ba81bb",entityType:a.Project,entityId:H},xx={id:"868defc8-5c95-48ed-942d-257e8b9b9b00",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},jx={type:a.GenericReference,id:"35167664-a793-49f1-9eaf-fb57eac30897",entityType:a.VariableDeclaration,entityId:"d8895765-f705-457e-85fa-25d130926769"},kx={id:"d47ceef6-be6f-40f1-a7b3-c73c8d8a6c6a",type:a.GenericReference,entityId:"d8895765-f705-457e-85fa-25d130926769",entityType:a.ArgumentDeclaration},qx={like:!1,inferred:!1,id:"55b12914-91b1-48b7-9a3e-9c5d0d2a2ec2",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:kx},Jx={id:"d8895765-f705-457e-85fa-25d130926769",type:a.ArgumentDeclaration,version:1,name:"N",dataType:qx,description:"The number to add",implements:null,defaultValue:{id:"do-math-func-argument-one-default-value-id",type:a.LiteralValue,version:1,value:5,name:C.Number,valueAsType:null,autogeneration:null,parent:jx},writesValues:[TI],required:!0,index:0,parent:xx},Wx={type:a.FunctionDeclaration,id:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b",version:1,name:"Do math",description:"This function does math",inputs:[Jx,Fx],calls:[Mx,RI],implements:null,index:null,collapsed:!1,returnStatements:[yI],private:!1,x:0,y:0,parent:Ux},It="replace-bank-account-in-company-func-declaration-id",dc="company-entity-to-modify-arg-declaration-id",cc="account-number-to-create-arg-decl-id",Pa="company-main-variable-id",Aa="search-person-by-id-id",gI="new-bank-account-owner-arg-decl-id",vI="search-person-by-id-output-declaration-id",uc="search-person-by-id-output-entity-map-id",Bi="person-not-empty-condition-id",mo="create-new-bank-account-instance-operation-id",II="create-new-bank-account-instance-operation-output-entity-map-id",DI="company-bank-account-output-map-id",pc="old-bank-account-var-declaration-id",SI="old-bank-account-var-instance-id",OI="company-variable-instance-id",yc="delete-bank-account-internal-call-id",Mi="new-bank-account-data-variable-declaration-id",Yx={type:a.GenericReference,id:"company-variable-instance-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},Hx={type:a.GenericReference,id:"company-variable-instance-called-by-ref-id",entityType:a.InternalCall,entityId:yc},zx={type:a.GenericReference,id:"company-variable-instance-declaration-ref-id",entityType:a.VariableDeclaration,entityId:Pa},Zx={type:a.GenericReference,id:"bank-account-input-map-parent-ref-id",entityType:a.VariableInstance,entityId:OI},Kx={type:a.GenericReference,id:"bank-account-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:II},PI={type:a.InputMap,id:"bank-account-input-map-id",version:1,readsValue:Kx,declaration:Ld,name:null,description:null,index:0,defaultValue:null,parent:Zx},Xx={type:a.VariableInstance,id:OI,version:1,defaultValue:null,declaration:zx,inputs:[PI],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[Hx],successCalls:[],errorCalls:[],internalCalls:[],parent:Yx,readsValue:null,writesValues:[],x:0,y:0},Qx={type:a.GenericReference,id:"bank-account-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pa},ej={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"bank-account-variable-data-type-id",version:1,entity:va,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:Qx},tj={type:a.GenericReference,id:"bank-account-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:DI},nj={type:a.GenericReference,id:"bank-account-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},rj={type:a.GenericReference,id:"bank-account-variable-called-by-ref-id",entityType:a.VariableDeclaration,entityId:Pa},aj={type:a.GenericReference,id:"delete-bank-account-internal-call-called-by-ref-id",entityType:a.Operation,entityId:mo};a.GenericReference,a.VariableInstance;const ij={type:a.GenericReference,id:"delete-bank-account-internal-call-called-by-ref-two-id",entityType:a.VariableDeclaration,entityId:pc},sj={type:a.GenericReference,id:"old-bank-account-variable-trigger-delete-decl-ref-id",entityType:a.VariableDeclaration,entityId:pc},oj={type:a.GenericReference,id:"bank-account-variable-parent-ref-two-id",entityType:a.FunctionDeclaration,entityId:It},lj={type:a.GenericReference,id:"old-bank-account-variable-trigger-delete-internal-call-ref-id",entityType:a.InternalCall,entityId:yc},dj={type:a.VariableInstance,id:SI,version:1,defaultValue:null,declaration:sj,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],internalCalls:[lj],errorCalls:[],parent:oj,readsValue:null,writesValues:[],x:0,y:0},AI={process:null,type:a.InternalCall,id:yc,version:1,declaration:dd,index:0,successCalls:[Xx],errorCalls:[],inputs:[],outputs:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[aj,ij],parent:dj},CI={type:a.VariableDeclaration,id:pc,version:1,name:"Old bank account",description:"The existing bank account that needs to be replaced in the company entity",dataType:ej,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[rj],successCalls:[AI],internalCalls:[],errorCalls:[],parent:nj,readsValue:tj,writesValues:[],x:0,y:0},cj={type:a.GenericReference,id:"company-variable-declaration-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pa},uj={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"company-variable-declaration-data-type-id",version:1,entity:Ht,asType:!1,isList:!1,isNullable:!1,like:!1,inferred:!1,constant:!1,parent:cj},pj={type:a.GenericReference,id:"company-variable-declaration-reads-value-ref-id",entityType:a.ArgumentDeclaration,entityId:dc},yj={type:a.GenericReference,id:"company-variable-declaration-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},hj={type:a.GenericReference,id:"company-variable-declaration-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:It},fj={type:a.GenericReference,id:"company-bank-account-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pa},mj={id:DI,version:1,type:a.OutputMap,defaultValue:null,declaration:Ld,index:0,parent:fj,writesValues:[CI]},wI={type:a.VariableDeclaration,id:Pa,version:1,name:"Company",description:"The company entity that was passed as an argument to the parent function",defaultValue:null,dataType:uj,inputs:[],outputs:[mj],calledByError:[],calledByEntry:[hj],calledBySuccess:[],successCalls:[CI],errorCalls:[],parent:yj,internalCalls:[],readsValue:pj,writesValues:[],x:0,y:0},Tj={type:a.GenericReference,id:"create-new-bank-account-account-owner-dynamic-input-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Mi},Ej={id:"create-new-bank-account-account-owner-dynamic-input-map-reads-value-ref-id",type:a.GenericReference,entityType:a.OutputMap,entityId:uc},BI={id:"create-new-bank-account-account-owner-dynamic-input-map-id",version:1,type:a.InputMap,declaration:null,name:"Account owner",description:null,readsValue:Ej,index:1,defaultValue:null,parent:Tj},bj={id:"create-new-bank-account-account-number-dynamic-input-map-reads-value-ref-id",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:cc},Rj={type:a.GenericReference,id:"create-new-bank-account-account-number-dynamic-input-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Mi},MI={id:"create-new-bank-account-account-number-dynamic-input-map-id",version:1,type:a.InputMap,declaration:null,name:"Account number",description:null,readsValue:bj,defaultValue:null,index:0,parent:Rj},NI={type:a.GenericReference,id:"create-new-bank-account-instance-operation-entity-to-create-input-map-parent-ref-id",entityType:a.Operation,entityId:mo},gj={id:"create-new-bank-account-instance-operation-entity-to-create-input-map-id",version:1,type:a.InputMap,declaration:hr.inputs[0],name:null,description:null,index:0,readsValue:null,defaultValue:{type:a.LiteralValue,name:C.EntityTemplate,value:null,valueAsType:va,autogeneration:null},parent:NI},vj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-entity-data-input-map-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:Mi},_I={id:"create-new-bank-account-instance-operation-entity-data-input-map-id",version:1,type:a.InputMap,declaration:hr.inputs[1],name:null,description:null,index:1,readsValue:vj,defaultValue:null,parent:NI},Ij={type:a.GenericReference,id:"create-new-bank-account-instance-operation-output-entity-map-parent-ref-id",entityType:a.Operation,entityId:mo},Dj={id:II,version:1,type:a.OutputMap,defaultValue:null,declaration:hr.outputs[0],index:0,writesValues:[PI],parent:Ij},Sj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:a.Condition,entityId:Bi},Oj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:a.VariableDeclaration,entityId:Mi},Pj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},VI={process:null,id:mo,type:a.Operation,version:1,declaration:hr,inputs:[gj,_I],error:null,outputs:[Dj],successCalls:[AI],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[Oj,Sj],parent:Pj,x:0,y:0},Aj={type:a.GenericReference,id:"new-bank-account-data-variable-declaration-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},Cj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:a.Condition,entityId:Bi},wj={id:Mi,type:a.VariableDeclaration,version:1,defaultValue:null,inputs:[MI,BI],dataType:null,name:"New bank Account's data",description:null,readsValue:null,outputs:[],writesValues:[_I],successCalls:[VI],errorCalls:[],internalCalls:[],calledByError:[],calledBySuccess:[Cj],calledByEntry:[],x:0,y:0,parent:Aj},Bj={id:"person-not-found-thrown-error-datatype-default-value-parent-ref-id",type:a.GenericReference,entityId:"person-not-found-thrown-error-id",entityType:a.ReturnDeclaration},Mj={id:"person-not-found-thrown-error-datatype-parent-ref-id",type:a.GenericReference,entityId:"person-not-found-thrown-error-id",entityType:a.ReturnDeclaration},Nj={like:!1,inferred:!1,id:"person-not-found-thrown-error-datatype-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Mj},_j={id:"person-not-found-thrown-error-parent-ref-id",type:a.GenericReference,entityId:"person-not-found-error-return-statement-id",entityType:a.ReturnStatement},Vj={isError:!0,id:"person-not-found-thrown-error-id",type:a.ReturnDeclaration,version:1,dataType:Nj,name:"Person not found error",description:"If the person entity was not found this error is outputted",defaultValue:{id:"person-not-found-thrown-error-datatype-default-value-id",type:a.LiteralValue,version:1,value:"Person not found",name:C.String,parent:Bj,valueAsType:null,autogeneration:null},parent:_j,implements:null,required:!0,index:0,readsValue:null},Lj={id:"person-not-found-error-return-statement-called-by-ref-id",type:a.GenericReference,entityId:Bi,entityType:a.Condition},Gj={id:"person-not-found-error-return-statement-parent-ref-id",type:a.GenericReference,entityId:It,entityType:a.FunctionDeclaration},$j={id:"person-not-found-error-return-statement-id",type:a.ReturnStatement,version:1,throws:Vj,outputs:[],calledBySuccess:[],calledByError:[Lj],calledByEntry:[],x:0,y:0,parent:Gj},Fj={type:a.GenericReference,id:"person-not-empty-condition-called-by-ref-id",entityType:a.Search,entityId:Aa},Uj={type:a.GenericReference,id:"person-not-empty-condition-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},xj={type:a.GenericReference,id:"person-entity-to-check-map-reads-value-ref-id",entityType:a.OutputMap,entityId:uc},jj={type:a.GenericReference,id:"person-not-empty-condition-ref-two-id",entityType:a.Condition,entityId:Bi},LI={id:"person-entity-to-check-map-id",version:1,type:a.InputMap,declaration:Rr.inputs[0],name:null,description:null,readsValue:xj,index:0,defaultValue:null,parent:jj},kj={type:a.Condition,id:Bi,version:1,declaration:Rr,inputs:[LI],calledByError:[],calledByEntry:[],calledBySuccess:[Fj],successCalls:[wj,VI],errorCalls:[$j],x:0,y:0,parent:Uj},qj={type:a.GenericReference,id:"search-person-by-id-output-entity-declaration-datatype-parent-ref-id",entityType:a.ValueDescriptor,entityId:vI},Jj={like:!1,inferred:!1,id:"search-person-by-id-output-entity-declaration-datatype-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,constant:!1,asType:!1,isNullable:!1,entity:gt,parent:qj},Wj={type:a.GenericReference,id:"search-person-by-id-output-entity-declaration-parent-ref-id",entityType:a.Search,entityId:Aa},GI={id:vI,type:a.ValueDescriptor,version:1,defaultValue:null,dataType:Jj,name:"Found person",description:"The person entity that was found",parent:Wj,required:!0,index:0},Yj={type:a.GenericReference,id:"search-person-by-id-output-entity-map-parent-ref-id",entityType:a.Search,entityId:Aa},Hj={type:a.OutputMap,id:uc,version:1,defaultValue:null,declaration:GI,parent:Yj,writesValues:[LI,BI],index:0},zj={id:"search-person-by-id-input-declaration-datatype-parent-ref-id",type:a.GenericReference,entityId:"search-person-by-id-input-declaration-id",entityType:a.ArgumentDeclaration};a.DataType;const Zj={type:a.GenericReference,id:"search-person-by-id-input-declaration-parent-ref-id",entityType:a.Search,entityId:Aa},$I={id:"search-person-by-id-input-declaration-id",type:a.ValueDescriptor,version:1,dataType:null,defaultValue:null,name:"Person ID",description:"The unique identifier (ID) property of the person entity",parentRelationType:A.FixedArguments,index:0,required:!0,parent:Zj},Kj={type:a.GenericReference,id:"search-person-by-id-input-map-parent-ref-id",entityType:a.Search,entityId:Aa},Xj={id:"search-person-by-id-input-map-reads-value-ref-id",type:a.GenericReference,entityId:gI,entityType:a.ArgumentDeclaration},FI={type:a.InputMap,id:"search-person-by-id-input-map",version:1,declaration:$I,name:null,description:null,readsValue:Xj,defaultValue:null,parent:Kj,index:0},Qj="SELECT * FROM Person WHERE id = your_id;",e8={type:a.GenericReference,id:"search-person-by-id-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},t8={type:a.GenericReference,id:"search-person-by-id-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:It},n8={type:a.Search,id:Aa,version:1,name:"Search person by ID",description:"Searches for a person entity given the UUID",query:Qj,inputsDeclarations:[$I],inputs:[FI],outputsDeclarations:[GI],outputs:[Hj],calledByError:[],calledByEntry:[t8],calledBySuccess:[],error:null,successCalls:[kj],errorCalls:[],parent:e8,x:0,y:0};a.GenericReference,a.DataType;const r8={id:"account-number-to-create-arg-decl-data-type-parent-ref-id",type:a.GenericReference,entityId:cc,entityType:a.ArgumentDeclaration},a8={like:!1,inferred:!1,id:"account-number-to-create-arg-decl-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:r8},i8={entityType:a.FunctionDeclaration,entityId:It,type:a.GenericReference,id:"account-number-to-create-arg-decl-parent-ref-id"},s8={id:cc,type:a.ArgumentDeclaration,version:1,name:"Account number",description:"The account number of the new bank account entity",defaultValue:null,dataType:a8,implements:null,writesValues:[MI],required:!0,index:1,parent:i8};a.GenericReference,a.DataType;const o8={id:"new-bank-account-owner-arg-decl-data-type-parent-ref-id",type:a.GenericReference,entityId:"new-bank-account-owner-arg-decl-id",entityType:a.ArgumentDeclaration},l8={like:!1,inferred:!1,id:"new-bank-account-owner-arg-decl-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:An,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:o8},d8={entityType:a.FunctionDeclaration,entityId:It,type:a.GenericReference,id:"new-bank-account-owner-arg-decl-parent-ref-id"},c8={id:gI,type:a.ArgumentDeclaration,version:1,name:"New account owner ID",description:"If it has changed, this is the new person entity, that owns of the bank account",defaultValue:null,dataType:l8,implements:null,writesValues:[FI],required:!1,index:1,parent:d8},u8={type:a.GenericReference,id:"replace-bank-account-in-company-parent-ref",entityType:a.Project,entityId:H},p8={type:a.GenericReference,id:"company-entity-to-modify-parent-ref",entityType:a.FunctionDeclaration,entityId:It};a.GenericReference,a.DataType;const y8={id:"d47ceef6-be6f-40f1-a7b3-c73c8d8a6c6a",type:a.GenericReference,entityId:dc,entityType:a.ArgumentDeclaration},h8={like:!1,inferred:!1,id:"company-entity-to-modify-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:y8},f8={id:dc,type:a.ArgumentDeclaration,version:1,name:"Company",defaultValue:null,dataType:h8,implements:null,description:"The company to replace the bank account for",writesValues:[wI],required:!0,index:0,parent:p8},m8={type:a.FunctionDeclaration,id:It,version:1,name:"Replace bank account",description:"This action takes an existing company and data to create a new bank account entity. It then creates a bank account, deletes the old one, and updates the company with the new bank account",inputs:[f8,s8,c8],index:null,implements:null,calls:[n8,wI],collapsed:!1,returnStatements:[],private:!1,x:0,y:0,parent:u8},T8={type:a.GenericReference,id:"e0a937bd-3a85-4037-a973-916985b9f94b",entityType:a.Project,entityId:H},E8={type:a.FunctionDeclaration,version:1,id:"6bedb217-f844-4332-af72-9626b2a32511",name:"Some library main function",description:null,inputs:[],calls:[],implements:null,collapsed:!0,index:null,returnStatements:[],private:!1,parent:T8,x:0,y:0},b8={type:a.GenericReference,id:"948e6869-ae5b-4914-bea0-b9f02ad6a014",entityType:a.Project,entityId:"23b23d8b-1929-4505-a350-745c8550e731"},R8={type:a.GenericReference,id:"f3d6f2c6-1b3e-4e9d-8c9d-5b5b9f0b8d9c",entityType:a.Project,entityId:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6"},g8={type:a.InstalledProject,version:1,id:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6",name:"Third Party Installed Project",description:null,functions:[E8],events:[],implements:R8,parent:b8,x:0,y:0},hc="global-counted-test-loop-id",UI="global-counted-test-loop-body-id",xI="global-counted-test-loop-body-current-iteration-value-argument-declaration-id",v8={type:a.GenericReference,id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:xI,entityType:a.ArgumentDeclaration},I8={like:!1,inferred:!1,id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:v8},D8={id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:UI,entityType:a.FunctionDeclaration},S8={id:xI,type:a.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:I8,implements:zl,required:!0,index:0,writesValues:[],parent:D8},O8={id:"global-counted-test-loop-body-parent-ref-id",type:a.GenericReference,entityId:hc,entityType:a.Loop},P8={id:UI,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[S8],calls:[],implements:Zl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:O8},Ca="random-company-employee-test-variable-id",fc="manager-global-variable-id",jI="global-user-instance-id",Tn="employee-mapped-dto-variable-id",Ar="employee-mapped-dto-variable-instance-id",kI="random-employee-id-output-map-id",qI="random-employee-birth-date-output-map-id",JI="random-employee-department-output-map-id",WI="random-employee-manager-output-map-id",YI="manager-global-id-output-map-id",HI="global-user-instance-id-output-map-id",A8="employee-mapped-dto-requester-id-input-map-id",zI="employee-mapped-dto-now-timestamp-input-map-id",C8="employee-mapped-dto-id-input-map-id",w8="employee-mapped-dto-birth-date-input-map-id",B8="employee-mapped-dto-department-input-map-id",M8="employee-mapped-dto-manager-input-map-id",N8={id:"global-counted-test-loop-iteration-number-input-map-parent-ref-id",type:a.GenericReference,entityId:hc,entityType:a.Loop};a.GenericReference,a.VariableDeclaration;const _8={id:"global-counted-test-loop-iteration-number-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:ti.inputs[0],defaultValue:null,readsValue:null,index:0,parent:N8},V8={id:"global-counted-test-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},L8={id:"global-counted-test-loop-called-by-success-ref-id",type:a.GenericReference,entityId:Ar,entityType:a.VariableDeclaration},ZI={id:hc,type:a.Loop,version:1,declaration:ti,inputs:[_8],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:P8,calledByError:[],calledByEntry:[],calledBySuccess:[L8],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:V8},mc="global-object-keys-test-loop-id",KI="global-object-keys-test-loop-body-id",XI="global-object-keys-test-loop-body-current-iteration-value-argument-declaration-id",G8={type:a.GenericReference,id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:XI,entityType:a.ArgumentDeclaration},$8={like:!1,inferred:!1,id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:G8},F8={id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:KI,entityType:a.FunctionDeclaration},U8={id:XI,type:a.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:$8,implements:Wl,required:!0,index:0,writesValues:[],parent:F8},x8={id:"global-object-keys-test-loop-body-parent-ref-id",type:a.GenericReference,entityId:mc,entityType:a.Loop},j8={id:KI,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[U8],calls:[],implements:la,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:x8},k8={id:"global-object-keys-test-loop-iteration-object-input-map-parent-ref-id",type:a.GenericReference,entityId:mc,entityType:a.Loop},q8={id:"global-object-keys-test-loop-iteration-object-input-map-reads-value-ref-id",type:a.GenericReference,entityId:Tn,entityType:a.VariableDeclaration},QI={id:"global-object-keys-test-loop-iteration-object-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:la.inputs[0],defaultValue:null,readsValue:q8,index:0,parent:k8},J8={id:"global-object-keys-test-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},W8={id:"global-object-keys-test-loop-called-by-success-ref-two-id",type:a.GenericReference,entityId:Ar,entityType:a.VariableDeclaration},Y8={id:"global-object-keys-test-loop-called-by-success-ref-one-id",type:a.GenericReference,entityId:Tn,entityType:a.VariableDeclaration},Tc={id:mc,type:a.Loop,version:1,declaration:la,inputs:[QI],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:j8,calledByError:[],calledByEntry:[],calledBySuccess:[Y8,W8],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:J8},Ec="global-object-values-test-loop-id",eD="global-object-values-test-loop-body-id",tD="global-object-values-test-loop-body-current-iteration-value-argument-declaration-id",H8={type:a.GenericReference,id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:tD,entityType:a.ArgumentDeclaration},z8={like:!1,inferred:!1,id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:H8},Z8={id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:eD,entityType:a.FunctionDeclaration},K8={id:tD,type:a.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:z8,implements:Yl,required:!0,index:0,writesValues:[],parent:Z8},X8={id:"global-object-values-test-loop-body-parent-ref-id",type:a.GenericReference,entityId:Ec,entityType:a.Loop},Q8={id:eD,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[K8],calls:[],implements:da,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:X8},e9={id:"global-object-values-test-loop-iteration-object-input-map-parent-ref-id",type:a.GenericReference,entityId:Ec,entityType:a.Loop},t9={id:"global-object-values-test-loop-iteration-object-input-map-reads-value-ref-id",type:a.GenericReference,entityId:Ar,entityType:a.VariableDeclaration},nD={id:"global-object-values-test-loop-iteration-object-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:da.inputs[0],defaultValue:null,readsValue:t9,index:0,parent:e9},n9={id:"global-object-values-test-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},r9={id:"global-object-values-test-loop-called-by-success-ref-id",type:a.GenericReference,entityId:Ar,entityType:a.VariableInstance},rD={id:Ec,type:a.Loop,version:1,declaration:da,inputs:[nD],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:Q8,calledByError:[],calledByEntry:[],calledBySuccess:[r9],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:n9},bc="global-test-iterate-over-string-loop-id",Rc="global-test-iterate-over-string-loop-body-id",To="global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-id",aD="global-test-iterate-over-string-loop-iteration-list-input-map-id",a9={type:a.GenericReference,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:To,entityType:a.ArgumentDeclaration},i9={like:!1,inferred:!1,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:a9},s9={id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:Rc,entityType:a.FunctionDeclaration},o9={id:To,type:a.ArgumentDeclaration,version:1,name:"Current character",description:"The current character value being processed.",defaultValue:null,dataType:i9,implements:kl,required:!0,index:1,writesValues:[],parent:s9},l9={type:a.GenericReference,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:To,entityType:a.ArgumentDeclaration},d9={like:!1,inferred:!1,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:l9},c9={id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:Rc,entityType:a.FunctionDeclaration},u9={id:To,type:a.ArgumentDeclaration,version:1,name:"Current character",description:"The current character value being processed.",defaultValue:null,dataType:d9,implements:ql,required:!0,index:0,writesValues:[],parent:c9},p9={id:"global-test-iterate-over-string-loop-body-parent-ref-id",type:a.GenericReference,entityId:bc,entityType:a.Loop},y9={id:Rc,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[u9,o9],calls:[],implements:Jl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:p9},h9={id:"global-test-iterate-over-string-loop-iteration-list-input-map-parent-ref-id",type:a.GenericReference,entityId:bc,entityType:a.Loop},f9={id:"global-test-iterate-over-string-loop-iteration-list-input-map-default-value-parent-ref-id",type:a.GenericReference,entityId:aD,entityType:a.InputMap},m9={id:"global-test-iterate-over-string-loop-iteration-list-input-map-default-value-id",type:a.LiteralValue,name:C.String,version:1,value:"Hello",valueAsType:null,autogeneration:{type:ze.Random,rangeStart:4,rangeEnd:5},parent:f9},T9={id:aD,type:a.InputMap,version:1,name:null,description:null,declaration:ei.inputs[0],defaultValue:m9,readsValue:null,index:0,parent:h9},E9={id:"global-test-iterate-over-string-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},b9={id:bc,type:a.Loop,version:1,declaration:ei,inputs:[T9],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:y9,calledByError:[],calledByEntry:[],calledBySuccess:[],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:E9},gc="iterate-over-list-loop-id",iD="iterate-over-list-loop-body-id",sD="iterate-over-list-loop-body-current-iteration-value-argument-declaration-id",R9={type:a.GenericReference,id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:sD,entityType:a.ArgumentDeclaration},g9={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:R9},v9={id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:iD,entityType:a.FunctionDeclaration},I9={id:sD,type:a.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:g9,implements:Rs,required:!0,index:0,writesValues:[],parent:v9},D9={id:"iterate-over-list-loop-body-parent-ref-id",type:a.GenericReference,entityId:gc,entityType:a.Loop},S9={id:iD,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[I9],calls:[],implements:gs,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:D9},O9={id:"iterate-over-list-loop-iteration-list-input-map-parent-ref-id",type:a.GenericReference,entityId:gc,entityType:a.Loop},P9={id:"iterate-over-list-loop-iteration-list-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:Wn.inputs[0],defaultValue:null,readsValue:null,index:0,parent:O9},A9={id:"iterate-over-list-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},C9={id:gc,type:a.Loop,version:1,declaration:Wn,inputs:[P9],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:S9,calledByError:[],calledByEntry:[],calledBySuccess:[],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:A9},w9=`SELECT
|
|
1
|
+
(function(d,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(d=typeof globalThis<"u"?globalThis:d||self,a(d["@elyx-code/project-logic-tree"]={}))})(this,function(d){"use strict";var DJ=Object.defineProperty;var SJ=(d,a,U)=>a in d?DJ(d,a,{enumerable:!0,configurable:!0,writable:!0,value:U}):d[a]=U;var c=(d,a,U)=>(SJ(d,typeof a!="symbol"?a+"":a,U),U);var a=(r=>(r.CustomEntity="custom-entity",r.BuiltInBaseEntity="built-in-base-entity",r.Project="project",r.InstalledProject="installed-project",r.GlobalEvent="global-event",r.DataType="data-type",r.FunctionCall="function-call",r.FunctionDeclaration="function-declaration",r.ActionDescriptor="action-descriptor",r.ValueDescriptor="value-descriptor",r.ArgumentDeclaration="argument-declaration",r.InputMap="input-map",r.ReturnStatement="return-statement",r.BreakStatement="break-statement",r.ContinueStatement="continue-statement",r.ReturnDeclaration="return-declaration",r.OutputMap="output-map",r.PrimitiveEntity="primitive-entity",r.LiteralValue="literal-value",r.Property="property",r.Operation="operation",r.Condition="condition",r.VariableDeclaration="variable-declaration",r.VariableInstance="variable-instance",r.Search="search",r.Loop="loop",r.InternalCall="internal-call",r.GenericReference="generic-reference",r))(a||{}),U=(r=>(r.HTTP_ENDPOINT="BUILT_IN_HTTP_ENDPOINT_ENTITY",r.RELATIONAL_DATABASE="BUILT_IN_RELATIONAL_DATABASE_ENTITY",r.PERSISTED_ENTITY="BUILT_IN_PERSISTED_ENTITY_ENTITY",r.CRON_JOB="BUILT_IN_CRON_JOB_ENTITY",r.EXECUTION="BUILT_IN_EXECUTION_ENTITY",r.KEY_VALUE_PARAM="BUILT_IN_KEY_VALUE_PARAM_ENTITY",r))(U||{}),ze=(r=>(r.CurrentDateAndTime="current-date-and-time",r.Unique="unique",r.Random="random",r))(ze||{}),C=(r=>(r.EntityTemplate="entity-template",r.ActionDescriptor="action-descriptor",r.String="string",r.Number="number",r.Boolean="boolean",r.Null="null",r.Enum="enum",r.KeyValue="key-value",r.Date="date",r.UUID="uuid",r.File="file",r.Untyped="untyped",r))(C||{}),Ge=(r=>(r.Addition="addition",r.Subtraction="subtraction",r.Multiplication="multiplication",r.Division="division",r.Remainder="remainder",r.Exponentiation="exponentiation",r))(Ge||{}),re=(r=>(r.Join="string-join",r.Split="string-split",r.DeleteLast="string-delete-last",r.DeleteFirst="string-delete-first",r.DeleteIndex="string-delete-index",r.AddIndex="string-add-index",r.ReplaceFirst="string-replace-first",r.ReplaceLast="string-replace-last",r.ReplaceIndex="string-replace-index",r.ReplaceSingleMatch="string-replace-single-match",r.ReplaceAllMatches="string-replace-all-matches",r.GetIndex="string-get-index",r.GetFirst="string-get-first",r.GetLast="string-get-last",r.Append="string-append",r.Prepend="string-prepend",r))(re||{}),X=(r=>(r.Join="list-join",r.Split="list-split",r.DeleteLast="list-delete-last",r.DeleteFirst="list-delete-first",r.DeleteIndex="list-delete-index",r.AddIndex="list-add-index",r.ReplaceFirst="list-replace-first",r.ReplaceLast="list-replace-last",r.ReplaceIndex="list-replace-index",r.ReplaceSingleMatch="list-replace-single-match",r.ReplaceAllMatches="list-replace-all-matches",r.GetIndex="list-get-index",r.GetFirst="list-get-first",r.GetLast="list-get-last",r.Append="list-append",r.Prepend="list-prepend",r))(X||{}),_e=(r=>(r.Parallel="parallel",r.Sequential="sequential",r.Wait="wait",r))(_e||{}),Ve=(r=>(r.CreateNewInstance="create-new-instance",r.Validate="validate",r))(Ve||{}),dt=(r=>(r.HttpRequest="base-http-request",r))(dt||{}),qe=(r=>(r.Equal="equal",r.NotEqual="not-equal",r.And="and",r.Or="or",r.LessThan="less-than",r.MoreThan="more-than",r.LessThanOrEqual="less-than-or-equal",r.MoreThanOrEqual="more-than-or-equal",r))(qe||{}),Jt=(r=>(r.Empty="empty",r.NotEmpty="not-empty",r))(Jt||{}),k=(r=>(r.ManualFlow="manual-flow-loop",r.Counted="counted-loop",r.List="list-loop",r.ObjectKeys="object-keys-loop",r.ObjectValues="object-values-loop",r.String="string-loop",r))(k||{}),A=(r=>(r.FixedArguments="fixed-arguments",r.FixedReturns="fixed-returns",r.ReturnedError="returned-error",r.OngoingProcessExecution="ongoing-process-execution",r.DynamicArgument="dynamic-argument-types",r.DynamicReturn="dynamic-return-types",r))(A||{}),et=(r=>(r.OrDataTypeGroup="or-data-type-group",r.AndDataTypeGroup="and-data-type-group",r))(et||{}),Dn=(r=>(r.PROJECT_PUBLICATION_COMPLETED="GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED",r))(Dn||{}),Gt=(r=>(r.DeletePersistedEntity="base-delete-persisted-entity",r.SoftDeletePersistedEntity="base-soft-delete-persisted-entity",r.AbortExecution="base-abort-execution",r))(Gt||{}),ra=(r=>(r.Error="error",r.Task="task",r.Return="return",r))(ra||{});const Sn=[a.VariableDeclaration,a.VariableInstance,a.InputMap,a.ReturnDeclaration],Ze=[a.VariableDeclaration,a.VariableInstance,a.ArgumentDeclaration,a.OutputMap],up=[...Sn,...Ze],Fe=[a.VariableDeclaration,a.VariableInstance],pp=[a.FunctionDeclaration,a.Condition,a.Loop,a.Operation,a.FunctionCall,a.Search,a.InternalCall,a.GlobalEvent,a.CustomEntity,a.ReturnStatement,a.BreakStatement,a.ContinueStatement,a.VariableDeclaration,a.VariableInstance,a.LiteralValue,a.ActionDescriptor,a.ValueDescriptor,a.Property,a.DataType,a.InstalledProject,a.ArgumentDeclaration,a.InputMap,a.OutputMap,a.ReturnDeclaration],yp=[a.FunctionDeclaration,a.Property,a.ArgumentDeclaration,a.ReturnDeclaration],bl=[a.FunctionCall,a.VariableInstance,a.InputMap,a.OutputMap,a.InternalCall],$P=[...bl,a.Condition,a.Loop,a.Operation,a.Condition],aa=[a.GlobalEvent],Je=[a.Operation,a.FunctionCall,a.Condition,a.Search,a.VariableDeclaration,a.VariableInstance,a.InternalCall,a.Loop],Rl=[a.Operation,a.FunctionCall,a.Condition,a.Search,a.VariableDeclaration,a.VariableInstance,a.Loop],We=[a.FunctionDeclaration,...aa],Xt=[...Je,a.ReturnStatement,a.BreakStatement,a.ContinueStatement],gl=[...Rl,a.ReturnStatement,a.BreakStatement,a.ContinueStatement],on=[...Je,...We],hp=[...Rl,...We],FP=[...Xt,...We],UP=[...gl,...We],pt=[...We,a.Loop],xe=[a.ReturnStatement,a.BreakStatement,a.ContinueStatement],xP=[a.CustomEntity,a.BuiltInBaseEntity,a.Project,a.InstalledProject,a.GlobalEvent,a.DataType,a.FunctionCall,a.FunctionDeclaration,a.ActionDescriptor,a.ValueDescriptor,a.ArgumentDeclaration,a.InputMap,a.ReturnStatement,a.BreakStatement,a.ContinueStatement,a.ReturnDeclaration,a.OutputMap,a.PrimitiveEntity,a.LiteralValue,a.Property,a.Operation,a.Condition,a.VariableDeclaration,a.VariableInstance,a.Search,a.Loop,a.InternalCall],ss=[a.CustomEntity,a.GlobalEvent,a.FunctionDeclaration,a.FunctionCall,a.VariableDeclaration,a.VariableInstance,a.Operation,a.Condition,a.ReturnStatement,a.BreakStatement,a.ContinueStatement,a.InstalledProject,a.Loop,a.Search],fp=[a.CustomEntity,a.FunctionDeclaration,a.ArgumentDeclaration,a.ReturnDeclaration,a.Property,a.VariableDeclaration,a.Search,a.Project,a.InstalledProject,a.ActionDescriptor,a.ValueDescriptor],Jn=[a.BuiltInBaseEntity,a.PrimitiveEntity],mp=[a.CustomEntity,a.FunctionDeclaration,a.ArgumentDeclaration,a.ReturnDeclaration,a.Property,a.VariableDeclaration,a.GlobalEvent,a.Search,a.Project,a.InstalledProject,a.ActionDescriptor,a.ValueDescriptor,a.InputMap,a.OutputMap,a.FunctionCall,a.Operation,a.Condition,a.ReturnStatement,a.BreakStatement,a.ContinueStatement,a.VariableInstance,a.LiteralValue,a.InternalCall];var os=(r=>(r.ActionOngoingProcessOutputValue="action-ongoing-process-output-value-descriptor-id",r))(os||{});const N={[a.PrimitiveEntity]:{[C.String]:{id:"8b5fbe15-4c2b-48c0-9fd8-e5efbe3978dc",properties:{}},[C.Boolean]:{id:"f596545d-1565-4faa-9969-d95fa5edfea4",properties:{}},[C.Number]:{id:"ecb84c29-6153-4b82-86a5-fce2b5f92002",properties:{}},[C.KeyValue]:{id:"b6f3c3c4-9c3d-4f9d-9e9e-1c0f6a3c8c6b",properties:{}},[C.Enum]:{id:"9542b8b4-2642-4eee-9db9-def7963a17a0",properties:{options:{id:"00ccfcae-2104-45ef-bf6c-50ddccd74286",dataType:{id:"7dd59b70-f97b-43a7-a051-fde1842ce5d6",defaultValue:{id:"enum-options-property-data-type-default-value-id"}}}}},[C.UUID]:{id:"4a6234aa-c0f6-4731-b4dd-750388029226",properties:{}},[C.Date]:{id:"dc58f38b-d574-4956-aac6-32ce9529b937",properties:{}},[C.Null]:{id:"7d698f34-5a89-4aab-846b-07ef3843b8c4",properties:{}},[C.Untyped]:{id:"4044a018-818e-49d7-bf9a-c3dd1fff2102",properties:{}}},[a.ValueDescriptor]:{"action-ongoing-process-output-value-descriptor-id":{id:"action-ongoing-process-output-value-descriptor-id",dataType:{id:"process-output-value-data-type-id"}}},[a.BuiltInBaseEntity]:{[U.KEY_VALUE_PARAM]:{id:U.KEY_VALUE_PARAM},[U.HTTP_ENDPOINT]:{id:U.HTTP_ENDPOINT,properties:{method:{id:"http-endpoint-built-in-method-property-id"},path:{id:"http-endpoint-built-in-path-property-id"},cors:{id:"http-endpoint-built-in-cors-property-id"}}},[U.PERSISTED_ENTITY]:{id:U.PERSISTED_ENTITY,properties:{database:{id:"persisted-built-in-base-entity-database-property-id"},primaryKey:{id:"persisted-built-in-base-entity-primary-key-property-id"}}},[U.RELATIONAL_DATABASE]:{id:U.RELATIONAL_DATABASE,properties:{identifier:{id:"relational-database-built-in-base-entity-identifier-property-id"},username:{id:"relational-database-built-in-base-entity-username-property-id"},password:{id:"relational-database-built-in-base-entity-password-property-id"},minSize:{id:"relational-database-built-in-base-entity-min-size-property-id"},default:{id:"relational-database-built-in-base-entity-default-property-id"},autoscaling:{id:"relational-database-built-in-base-entity-autoscaling-property-id"}}},[U.CRON_JOB]:{id:U.CRON_JOB,properties:{expression:{id:"cron-job-built-in-base-entity-expression-property-id"}}}},[a.Operation]:{[re.Join]:{id:re.Join,inputs:{separator:{id:"join-strings-separator-input-id"},first:{id:"join-strings-first-string-input-id"},second:{id:"join-strings-second-string-input-id"},dynamicString:{id:"join-strings-dynamic-string-input-id"}},outputs:{result:{id:"join-strings-result-string-return-delaration-id"},error:{id:"join-strings-error-return-delaration-id"}}},[re.Split]:{id:re.Split,inputs:{stringValue:{id:"split-string-string-input-id"},indexLocation:{id:"split-string-index-input-id"}},outputs:{firstPartResult:{id:"split-string-first-part-result-string-return-delaration-id"},secondPartResult:{id:"split-string-second-part-result-string-return-delaration-id"},error:{id:"split-string-error-return-delaration-id"}}},[Ge.Addition]:{id:Ge.Addition,inputs:{firstSummand:{id:"number-addition-first-summand-number-input-id"},secondSummand:{id:"number-addition-second-summand-number-input-id"},dynamicSummand:{id:"number-addition-dynamic-summand-number-input-id"}},outputs:{result:{id:"number-addition-result-number-return-delaration-id",dataType:{id:"number-addition-result-number-data-type-id"}},error:{id:"number-addition-error-return-delaration-id"}}},[Ge.Subtraction]:{id:Ge.Subtraction,inputs:{minuend:{id:"number-subtraction-minuend-number-input-id"},subtrahend:{id:"number-subtraction-subtrahend-number-input-id"},dynamicSubtrahend:{id:"number-subtraction-dynamic-subtrahend-number-input-id"}},outputs:{result:{id:"number-subtraction-result-number-return-delaration-id",dataType:{id:"number-subtraction-result-number-data-type-id"}},error:{id:"number-subtraction-error-return-delaration-id"}}},[dt.HttpRequest]:{id:dt.HttpRequest,inputs:{url:{id:"http-request-url-input-id"},query:{id:"http-request-query-input-id"},method:{id:"http-request-method-input-id"},headers:{id:"http-request-headers-input-id"},body:{id:"http-request-body-string-input-id"}},outputs:{code:{id:"http-response-code-return-delaration-id"},body:{id:"http-response-body-return-delaration-id"},headers:{id:"http-response-headers-return-delaration-id"},error:{id:"http-request-error-return-delaration-id"}}},[Ve.Validate]:{id:Ve.Validate,inputs:{entityToMatch:{id:"validate-data-entity-to-match-input-id"},dataToValidate:{id:"validate-data-data-to-validate-input-id"}},outputs:{outputEntity:{id:"validate-data-output-entity-return-delaration-id"},error:{id:"validate-data-error-return-delaration-id"}}},[_e.Parallel]:{id:_e.Parallel,inputs:{listOfActions:{id:"parallel-execution-list-of-actions-input-id"}},outputs:{results:{id:"parallel-execution-results-output-id",dataType:{id:"parallel-execution-results-data-type-id"}},error:{id:"parallel-execution-error-output-id"}}}},[a.Loop]:{[k.List]:{id:k.List,inputs:{list:{id:"iterate-over-list-loop-list-input-id"}},outputs:{results:{id:"iterate-over-list-loop-output-id"}},body:{id:"iterate-over-list-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-list-loop-iteration-number-input-id"},currentValue:{id:"iterate-over-list-loop-current-value-input-id"}}}},[k.String]:{id:k.String,inputs:{string:{id:"iterate-over-string-loop-string-input-id"}},outputs:{results:{id:"iterate-over-string-loop-output-id"}},body:{id:"iterate-over-string-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-string-loop-iteration-number-input-id"},currentValue:{id:"iterate-over-string-loop-current-value-input-id"}}}},[k.ObjectKeys]:{id:k.ObjectKeys,inputs:{object:{id:"iterate-over-object-keys-loop-object-input-id"}},outputs:{results:{id:"iterate-over-object-keys-loop-output-id"}},body:{id:"iterate-over-object-keys-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-object-keys-loop-iteration-number-input-id"},currentValue:{id:"iterate-over-object-keys-loop-current-value-input-id"}}}},[k.ObjectValues]:{id:k.ObjectValues,inputs:{object:{id:"iterate-over-object-values-loop-object-input-id"}},outputs:{results:{id:"iterate-over-object-values-loop-output-id"}},body:{id:"iterate-over-object-values-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-object-values-loop-iteration-number-input-id"},currentValue:{id:"iterate-over-object-values-loop-current-value-input-id"}}}},[k.ManualFlow]:{id:k.ManualFlow,inputs:{},outputs:{results:{id:"manual-flow-loop-output-id"}},body:{id:"manual-flow-loop-body-descriptor-id",inputs:{iterationNumber:{id:"iterate-over-manual-flow-loop-iteration-number-input-id"}}}},[k.Counted]:{id:k.Counted,inputs:{number:{id:"counted-loop-number-input-id"}},outputs:{results:{id:"counted-loop-output-id"}},body:{id:"counted-loop-body-descriptor-id",inputs:{iterationNumber:{id:"counted-loop-iteration-number-input-id"}}}}},[a.Condition]:{[qe.MoreThanOrEqual]:{id:qe.MoreThanOrEqual,inputs:{leftHand:{id:"condition-more-than-or-equal-left-hand-input-id",dataType:{id:"condition-more-than-or-equal-left-hand-data-type-id"}},rightHand:{id:"condition-more-than-or-equal-right-hand-input-id",dataType:{id:"condition-more-than-or-equal-right-hand-data-type-id"}}}},[Jt.NotEmpty]:{id:Jt.NotEmpty,inputs:{leftHand:{id:"condition-not-empty-input-id"}}}},[a.GlobalEvent]:{[Dn.PROJECT_PUBLICATION_COMPLETED]:{id:Dn.PROJECT_PUBLICATION_COMPLETED}}},$t=N[a.PrimitiveEntity],J={type:a.PrimitiveEntity,id:$t.string.id,description:"A string of characters.",version:1,name:C.String,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},On={type:a.PrimitiveEntity,id:$t.boolean.id,description:"A 'true' or 'false' value.",version:1,name:C.Boolean,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},ee={type:a.PrimitiveEntity,id:$t.number.id,description:"A number value.",version:1,name:C.Number,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Tp={type:a.PrimitiveEntity,id:$t.null.id,description:"An explicitly empty value.",version:1,name:C.Null,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},at={type:a.PrimitiveEntity,id:$t.untyped.id,description:"Data of any type that isn't known in advance.",version:1,name:C.Untyped,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Ep={id:"c2f52f01-8f2e-490e-8083-72289c8189c1",type:a.GenericReference,entityId:$t.enum.properties.options.id,entityType:a.Property},bp={id:"4e803941-2e6a-4227-b803-b8877c0d7fee",type:a.GenericReference,entityId:"00ccfcae-2104-45ef-bf6c-50ddccd74286",entityType:a.Property},Rp={like:!1,inferred:!1,id:$t.enum.properties.options.dataType.id,version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:J,asType:!1,parent:bp},gp={id:"a2983c4c-0286-4ef1-8b5c-5a52904d3200",type:a.GenericReference,entityId:"9542b8b4-2642-4eee-9db9-def7963a17a0",entityType:a.PrimitiveEntity},vp={hidden:!1,required:!0,id:$t.enum.properties.options.id,name:"Options",version:1,type:a.Property,private:!1,abstract:!1,implements:null,static:!1,index:0,defaultValue:{id:$t.enum.properties.options.dataType.defaultValue.id,type:a.LiteralValue,version:1,name:C.KeyValue,autogeneration:null,value:[],valueAsType:null,parent:Ep},dataType:Rp,description:"Options for the enum. Each option is a text value.",parent:gp},Pn={type:a.PrimitiveEntity,id:$t.enum.id,description:"A set of text options to choose from.",version:1,name:C.Enum,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[vp],methods:[]},ln={type:a.PrimitiveEntity,id:$t.date.id,description:"A date and time value.",version:1,name:C.Date,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},An={type:a.PrimitiveEntity,id:$t.uuid.id,description:"A unique identifier in the form of a 36-character string.",version:1,name:C.UUID,static:!1,abstract:!1,abstractMethods:[],extends:[J],properties:[],methods:[]},ia={type:a.PrimitiveEntity,id:$t[C.KeyValue].id,description:"A complex data structure with any combination of properties with names and values.",version:1,name:C.KeyValue,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Ip=[J,On,ee,Tp,at,Pn,ln,An,ia],dn=N[a.Operation][Ge.Addition],Dp={type:a.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:dn.inputs.firstSummand.id,entityType:a.ValueDescriptor},Sp={like:!1,inferred:!1,id:"number-addition-first-number-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Dp},Op={type:a.GenericReference,id:"9f486db2-a983-4293-9eef-81d4fc8d2d3e",entityId:dn.inputs.secondSummand.id,entityType:a.ValueDescriptor},Pp={like:!1,inferred:!1,id:"1d4abe83-3e87-4f74-99be-c1fd8c2f8d2d",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Op},Ap={type:a.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:dn.outputs.result.id,entityType:a.ValueDescriptor},Cp={like:!1,inferred:!1,id:dn.outputs.result.dataType.id,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Ap},wp={type:a.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:Ge.Addition,entityType:a.ActionDescriptor},vl={id:dn.inputs.firstSummand.id,type:a.ValueDescriptor,version:1,name:"Summand",description:"The first number to add",defaultValue:null,dataType:Sp,required:!0,parentRelationType:A.FixedArguments,index:0,parent:wp},Bp={type:a.GenericReference,id:"c5015128-4a65-462c-9da0-1c86e83ef897",entityId:Ge.Addition,entityType:a.ActionDescriptor},Il={id:dn.inputs.secondSummand.id,type:a.ValueDescriptor,description:"The second number to add",version:1,name:"Summand",defaultValue:null,dataType:Pp,required:!0,parentRelationType:A.FixedArguments,index:1,parent:Bp},Dl={type:a.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:Ge.Addition,entityType:a.ActionDescriptor},Sl={parentRelationType:A.FixedReturns,id:dn.outputs.result.id,type:a.ValueDescriptor,description:"The result number of the addition",version:1,name:"Result",defaultValue:null,dataType:Cp,required:!0,index:0,parent:Dl},Mp={type:a.GenericReference,id:"number-addition-operation-error-parent-ref",entityId:Ge.Addition,entityType:a.ActionDescriptor},Np={parentRelationType:A.FixedReturns,id:dn.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Mp},_p={type:a.GenericReference,id:"number-addition-operation-dynamic-summand-argument-type-parent-ref",entityId:dn.inputs.dynamicSummand.id,entityType:a.ValueDescriptor},Vp={like:!1,inferred:!1,id:"number-addition-operation-dynamic-summand-argument-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:_p},Lp={parentRelationType:A.DynamicArgument,id:dn.inputs.dynamicSummand.id,type:a.ValueDescriptor,description:"A number to add",version:1,name:"Summand",defaultValue:null,dataType:Vp,required:!0,index:2,parent:Dl},ls={id:Ge.Addition,type:a.ActionDescriptor,description:"Sum numbers",version:1,name:Ge.Addition,inputs:[vl,Il,Lp],error:Np,outputs:[Sl],parent:null},cn=N[a.Operation][Ge.Subtraction],Gp={type:a.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:cn.inputs.minuend.id,entityType:a.ValueDescriptor},$p={like:!1,inferred:!1,id:"number-subtraction-first-number-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Gp},Fp={type:a.GenericReference,id:"9f486db2-a983-4293-9eef-81d4fc8d2d3e",entityId:cn.inputs.subtrahend.id,entityType:a.ValueDescriptor},Up={like:!1,inferred:!1,id:"1d4abe83-3e87-4f74-99be-c1fd8c2f8d2d",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Fp},xp={type:a.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:cn.outputs.result.id,entityType:a.ValueDescriptor},jp={like:!1,inferred:!1,id:cn.outputs.result.dataType.id,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:xp},Ol={type:a.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:Ge.Subtraction,entityType:a.ActionDescriptor},kp={id:cn.inputs.minuend.id,type:a.ValueDescriptor,version:1,name:"Minuend",description:"Base number to substract from",defaultValue:null,dataType:$p,required:!0,parentRelationType:A.FixedArguments,index:0,parent:Ol},qp={type:a.GenericReference,id:"c5015128-4a65-462c-9da0-1c86e83ef897",entityId:Ge.Subtraction,entityType:a.ActionDescriptor},Jp={id:cn.inputs.subtrahend.id,type:a.ValueDescriptor,description:"The second number to substract",version:1,name:"Subtrahend",defaultValue:null,dataType:Up,required:!0,parentRelationType:A.FixedArguments,index:1,parent:qp},Wp={type:a.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:Ge.Subtraction,entityType:a.ActionDescriptor},Yp={parentRelationType:A.FixedReturns,id:cn.outputs.result.id,type:a.ValueDescriptor,description:"The result number of the subtraction",version:1,name:"Result",defaultValue:null,dataType:jp,required:!0,index:0,parent:Wp},Hp={type:a.GenericReference,id:"number-subtraction-operation-error-parent-ref",entityId:Ge.Subtraction,entityType:a.ActionDescriptor},zp={parentRelationType:A.FixedReturns,id:cn.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Hp},Zp={type:a.GenericReference,id:"number-subtraction-operation-dynamic-subtrahend-argument-type-parent-ref",entityId:cn.inputs.dynamicSubtrahend.id,entityType:a.ValueDescriptor},Kp={like:!1,inferred:!1,id:"number-subtraction-operation-dynamic-subtrahend-argument-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Zp},Xp={id:cn.inputs.dynamicSubtrahend.id,type:a.ValueDescriptor,version:1,name:"Subtrahend",description:"A number to substract",defaultValue:null,dataType:Kp,required:!0,parentRelationType:A.DynamicArgument,index:2,parent:Ol},Pl={id:Ge.Subtraction,type:a.ActionDescriptor,description:"Substract numbers",version:1,name:Ge.Subtraction,inputs:[kp,Jp,Xp],error:zp,outputs:[Yp],parent:null},Qp={[Ge.Addition]:ls,[Ge.Subtraction]:Pl},Wt=N[a.Operation][re.Join],ey={type:a.GenericReference,id:"join-strings-first-string-argument-declaration",entityId:Wt.inputs.first.id,entityType:a.ValueDescriptor},ty={like:!1,inferred:!1,id:"join-strings-first-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ey},ny={type:a.GenericReference,id:"join-strings-second-string-argument-declaration",entityId:Wt.inputs.second.id,entityType:a.ValueDescriptor},ry={like:!1,inferred:!1,id:"join-strings-second-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ny},ay={type:a.GenericReference,id:"join-strings-result-string-return-delaration",entityId:Wt.outputs.result.id,entityType:a.ValueDescriptor},iy={like:!1,inferred:!1,id:"join-strings-result-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ay},sy={type:a.GenericReference,id:"join-strings-operation-first-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},ds={id:Wt.inputs.first.id,type:a.ValueDescriptor,version:1,name:"Text",description:"The first text to join to the second one. Its value will be at the beginning of the resulting text.",defaultValue:null,dataType:ty,parentRelationType:A.FixedArguments,required:!0,index:1,parent:sy},oy={type:a.GenericReference,id:"join-strings-first-string-argument-declaration",entityId:Wt.inputs.first.id,entityType:a.ValueDescriptor},ly={type:a.GenericReference,id:"join-strings-separator-string-data-type-default-value-parent-ref",entityId:Wt.inputs.separator.id,entityType:a.ValueDescriptor},dy={type:a.LiteralValue,id:"join-strings-separator-string-data-type-default-value-id",version:1,name:C.String,value:"",valueAsType:null,autogeneration:null,parent:ly},cy={like:!1,inferred:!1,id:"join-strings-separator-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:oy},uy={type:a.GenericReference,id:"join-strings-operation-separator-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},py={id:Wt.inputs.separator.id,type:a.ValueDescriptor,version:1,name:"Separator",description:"The text value that will be inserted between each of the values that are joined.",defaultValue:dy,dataType:cy,parentRelationType:A.FixedArguments,required:!1,index:0,parent:uy},yy={type:a.GenericReference,id:"join-strings-operation-second-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},cs={id:Wt.inputs.second.id,type:a.ValueDescriptor,version:1,name:"Text",description:"The second text to join to the first one. Its value will be at the end of the resulting text.",defaultValue:null,dataType:ry,parentRelationType:A.FixedArguments,required:!0,index:2,parent:yy},hy={type:a.GenericReference,id:"join-strings-operation-result-string-return-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},Za={parentRelationType:A.FixedReturns,id:Wt.outputs.result.id,type:a.ValueDescriptor,version:1,name:"Result",description:"The resulting text value.",defaultValue:null,dataType:iy,required:!0,index:0,parent:hy},fy={type:a.GenericReference,id:"join-strings-operation-error-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},my={parentRelationType:A.FixedReturns,id:Wt.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:fy},Ty={type:a.GenericReference,id:"join-strings-dynamic-string-argument-declaration",entityId:Wt.inputs.dynamicString.id,entityType:a.ValueDescriptor},Ey={like:!1,inferred:!1,id:"join-strings-dynamic-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Ty},by={type:a.GenericReference,id:"join-strings-operation-dynamic-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},Ry={id:Wt.inputs.dynamicString.id,type:a.ValueDescriptor,version:1,name:"Text",description:"Text to join to the previous ones. Its value will be at the end of the resulting text.",defaultValue:null,dataType:Ey,parentRelationType:A.DynamicArgument,required:!0,index:3,parent:by},Ka={id:re.Join,type:a.ActionDescriptor,version:1,name:re.Join,description:"Join text values together, to form a single resulting text value.",inputs:[py,ds,cs,Ry],outputs:[Za],error:my,parent:null},Cn=N[a.Operation][re.Split],gy={type:a.GenericReference,id:"split-string-string-argument-declaration",entityId:Cn.inputs.stringValue.id,entityType:a.ValueDescriptor},vy={like:!1,inferred:!1,id:"split-string-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:gy},Iy={type:a.GenericReference,id:"split-string-index-argument-declaration",entityId:Cn.inputs.indexLocation.id,entityType:a.ValueDescriptor},Dy={like:!1,inferred:!1,id:"split-string-index-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Iy},Sy={type:a.GenericReference,id:"split-string-first-part-result-string-return-delaration",entityId:Cn.outputs.firstPartResult.id,entityType:a.ValueDescriptor},Oy={like:!1,inferred:!1,id:"split-string-first-part-result-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Sy},Py={type:a.GenericReference,id:"split-string-second-part-result-string-return-delaration",entityId:Cn.outputs.secondPartResult.id,entityType:a.ValueDescriptor},Ay={like:!1,inferred:!1,id:"split-string-second-part-result-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Py},Cy={type:a.GenericReference,id:"split-string-operation-string-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},wy={id:Cn.inputs.stringValue.id,type:a.ValueDescriptor,version:1,name:"Text value",description:"The text value that will be split into two at the given index location.",defaultValue:null,dataType:vy,parentRelationType:A.FixedArguments,required:!0,index:0,parent:Cy},By={type:a.GenericReference,id:"split-string-operation-index-argument-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},My={id:Cn.inputs.indexLocation.id,type:a.ValueDescriptor,version:1,name:"Index location",description:"The index location where the text will be split into two. The text at this index will be the beginning of the second text.",defaultValue:null,dataType:Dy,parentRelationType:A.FixedArguments,required:!0,index:1,parent:By},Ny={type:a.GenericReference,id:"split-string-operation-second-part-result-string-return-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},jP={parentRelationType:A.FixedReturns,id:Cn.outputs.secondPartResult.id,type:a.ValueDescriptor,version:1,name:"Second part",description:"The secont part of the resulting text value.",defaultValue:null,dataType:Ay,required:!0,index:1,parent:Ny},_y={type:a.GenericReference,id:"split-string-operation-first-part-result-string-return-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},Vy={parentRelationType:A.FixedReturns,id:Cn.outputs.firstPartResult.id,type:a.ValueDescriptor,version:1,name:"First part",description:"The first part of the resulting text value.",defaultValue:null,dataType:Oy,required:!0,index:0,parent:_y},Ly={type:a.GenericReference,id:"split-string-operation-error-parent-ref",entityId:re.Join,entityType:a.ActionDescriptor},Gy={parentRelationType:A.FixedReturns,id:Cn.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Ly},Al={id:re.Split,type:a.ActionDescriptor,version:1,name:re.Split,description:"Split a text into two, at the given index location.",inputs:[wy,My],outputs:[Vy],error:Gy,parent:null},$y={[re.Join]:Ka,[re.Split]:Al};var Fy=(r=>(r.FirstInputList="join-list-first-list-argument-declaration",r.SecondInputList="join-list-second-list-argument-declaration",r))(Fy||{}),Uy=(r=>(r.ResultList="join-list-result-list-return-delaration",r.Error="join-list-error-return-delaration",r))(Uy||{});const xy={type:a.GenericReference,id:"join-list-operation-first-list-argument-ref",entityId:"join-list-first-list-argument-declaration",entityType:a.ValueDescriptor},jy={like:!1,inferred:!1,id:"join-list-first-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:xy},ky={type:a.GenericReference,id:"join-list-operation-second-list-argument-ref",entityId:"join-list-second-list-argument-declaration",entityType:a.ValueDescriptor},qy={like:!1,inferred:!1,id:"join-list-second-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:ky},Jy={type:a.GenericReference,id:"join-list-operation-result-list-return-ref",entityId:"join-list-result-list-return-delaration",entityType:a.ValueDescriptor},Wy={like:!1,inferred:!1,id:"join-list-result-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Jy},Yy={type:a.GenericReference,id:"join-list-operation-first-list-argument-parent-ref",entityId:X.Join,entityType:a.ActionDescriptor},Hy={id:"join-list-first-list-argument-declaration",type:a.ValueDescriptor,version:1,name:"First value",description:"The first list to join to the second one. Its values will be at the beginning of the resulting list.",defaultValue:null,dataType:jy,parentRelationType:A.FixedArguments,required:!0,index:0,parent:Yy},zy={type:a.GenericReference,id:"join-list-operation-second-list-argument-parent-ref",entityId:X.Join,entityType:a.ActionDescriptor},Zy={id:"join-list-second-list-argument-declaration",type:a.ValueDescriptor,version:1,name:"Second value",description:"The second list to join to the first one. Its values will be at the end of the resulting list.",defaultValue:null,dataType:qy,parentRelationType:A.FixedArguments,required:!0,index:1,parent:zy},Ky={type:a.GenericReference,id:"join-list-operation-result-list-return-parent-ref",entityId:X.Join,entityType:a.ActionDescriptor},Xy={parentRelationType:A.FixedReturns,id:"join-list-result-list-return-delaration",type:a.ValueDescriptor,version:1,name:"Result",description:"The resulting list value.",defaultValue:null,dataType:Wy,required:!0,index:0,parent:Ky},Qy={type:a.GenericReference,id:"join-list-operation-error-parent-ref",entityId:X.Join,entityType:a.ActionDescriptor},eh={parentRelationType:A.FixedReturns,id:"join-list-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Qy},Cl={id:X.Join,type:a.ActionDescriptor,version:1,name:X.Join,description:"Join two lists together, to form a single resulting list value.",inputs:[Hy,Zy],error:eh,outputs:[Xy],parent:null};var th=(r=>(r.InputList="list-to-split-argument-declaration",r.SplitIndex="split-list-index-argument-declaration",r))(th||{}),nh=(r=>(r.FirstOutputList="split-list-first-output-list-return-delaration",r.SecondOutputList="split-list-second-output-list-return-delaration",r.Error="split-list-error-return-delaration",r))(nh||{});const rh={type:a.GenericReference,id:"split-list-operation-input-list-argument-ref",entityId:"list-to-split-argument-declaration",entityType:a.ValueDescriptor},ah={like:!1,inferred:!1,id:"split-list-operation-input-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:rh},ih={type:a.GenericReference,id:"split-list-operation-split-index-argument-ref",entityId:"split-list-index-argument-declaration",entityType:a.ValueDescriptor},sh={like:!1,inferred:!1,id:"split-list-operation-split-index-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ih},wl={type:a.GenericReference,id:"split-list-operation-first-output-list-return-ref",entityId:"split-list-first-output-list-return-delaration",entityType:a.ValueDescriptor},oh={like:!1,inferred:!1,id:"split-list-operation-first-output-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:wl},lh={type:a.GenericReference,id:"split-list-operation-input-list-argument-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},dh={id:"list-to-split-argument-declaration",type:a.ValueDescriptor,version:1,name:"List to split",description:"The list to split at the given index",defaultValue:null,dataType:ah,parentRelationType:A.FixedArguments,required:!0,index:0,parent:lh},ch={type:a.GenericReference,id:"split-list-operation-split-index-argument-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},uh={id:"split-list-index-argument-declaration",type:a.ValueDescriptor,version:1,name:"Split location",description:"The index at which to split the list. The value at this index will be the first value of the second list.",defaultValue:null,dataType:sh,parentRelationType:A.FixedArguments,required:!0,index:1,parent:ch},ph={type:a.GenericReference,id:"split-list-operation-first-output-list-return-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},yh={parentRelationType:A.FixedReturns,id:"split-list-first-output-list-return-delaration",type:a.ValueDescriptor,version:1,name:"First list",description:"The list of values up to the split index",defaultValue:null,dataType:oh,required:!0,index:0,parent:ph},hh={like:!1,inferred:!1,id:"split-list-operation-second-output-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:wl},fh={type:a.GenericReference,id:"split-list-operation-second-output-list-return-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},mh={parentRelationType:A.FixedReturns,id:"split-list-second-output-list-return-delaration",type:a.ValueDescriptor,version:1,name:"Second list",description:"The list of values up to the split index",defaultValue:null,dataType:hh,required:!0,index:0,parent:fh},Th={type:a.GenericReference,id:"split-list-operation-error-parent-ref",entityId:X.Split,entityType:a.ActionDescriptor},Eh={parentRelationType:A.FixedReturns,id:"split-list-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Th},Bl={id:X.Split,type:a.ActionDescriptor,version:1,name:X.Split,description:"Splits a given list at the given index, and returns two lists, one with the values up to the index, and the other with the values after the index",inputs:[dh,uh],outputs:[yh,mh],error:Eh,parent:null};var bh=(r=>(r.InputList="get-last-in-list-input-list-argument-declaration",r))(bh||{}),Rh=(r=>(r.OutputElement="get-last-in-list-output-element-return-delaration",r.Error="get-last-in-list-error-return-delaration",r))(Rh||{});const gh={type:a.GenericReference,id:"get-last-in-list-operation-input-list-argument-ref",entityId:"get-last-in-list-input-list-argument-declaration",entityType:a.ValueDescriptor},vh={like:!1,inferred:!1,id:"get-last-in-list-input-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:gh},Ih={type:a.GenericReference,id:"get-last-in-list-operation-output-element-return-ref",entityId:"get-last-in-list-output-element-return-delaration",entityType:a.ValueDescriptor},Dh={like:!1,inferred:!1,id:"get-last-in-list-output-element-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Ih},Sh={type:a.GenericReference,id:"get-last-in-list-operation-input-list-argument-parent-ref",entityId:X.GetLast,entityType:a.ActionDescriptor},Oh={id:"get-last-in-list-input-list-argument-declaration",type:a.ValueDescriptor,version:1,name:"List",description:"The list to get the last element from.",defaultValue:null,dataType:vh,parentRelationType:A.FixedArguments,required:!0,index:0,parent:Sh},Ph={type:a.GenericReference,id:"get-last-in-list-operation-output-element-return-parent-ref",entityId:X.GetLast,entityType:a.ActionDescriptor},Ah={parentRelationType:A.FixedReturns,id:"get-last-in-list-output-element-return-delaration",type:a.ValueDescriptor,version:1,name:"Last element",description:"The last element of the given list.",defaultValue:null,dataType:Dh,required:!0,index:0,parent:Ph},Ch={type:a.GenericReference,id:"get-last-in-list-operation-error-parent-ref",entityId:X.GetLast,entityType:a.ActionDescriptor},wh={parentRelationType:A.FixedReturns,id:"get-last-in-list-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Ch},Ml={id:X.GetLast,type:a.ActionDescriptor,version:1,name:X.GetLast,description:"Outputs the last element of a given list.",inputs:[Oh],outputs:[Ah],error:wh,parent:null};var Bh=(r=>(r.List="append-to-list-lsit-argument-declaration",r.ElementToAppend="append-to-list-element-to-append-argument-declaration",r))(Bh||{}),Mh=(r=>(r.ResultList="append-to-list-result-list-return-delaration",r.Error="append-to-list-error-return-delaration",r))(Mh||{});const Nh={type:a.GenericReference,id:"append-to-list-operation-lsit-argument-ref",entityId:"append-to-list-lsit-argument-declaration",entityType:a.ValueDescriptor},_h={like:!1,inferred:!1,id:"append-to-list-lsit-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Nh},Vh={type:a.GenericReference,id:"append-to-list-operation-second-list-argument-ref",entityId:"append-to-list-element-to-append-argument-declaration",entityType:a.ValueDescriptor},Lh={like:!1,inferred:!1,id:"append-to-list-second-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Vh},Gh={type:a.GenericReference,id:"append-to-list-operation-result-list-return-ref",entityId:"append-to-list-result-list-return-delaration",entityType:a.ValueDescriptor},$h={like:!1,inferred:!1,id:"append-to-list-result-list-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Gh},Fh={type:a.GenericReference,id:"append-to-list-operation-lsit-argument-parent-ref",entityId:X.Append,entityType:a.ActionDescriptor},Nl={id:"append-to-list-lsit-argument-declaration",type:a.ValueDescriptor,version:1,name:"List value",description:"The list to which the element will be appended",defaultValue:null,dataType:_h,parentRelationType:A.FixedArguments,required:!0,index:0,parent:Fh},Uh={type:a.GenericReference,id:"append-to-list-operation-second-list-argument-parent-ref",entityId:X.Append,entityType:a.ActionDescriptor},_l={id:"append-to-list-element-to-append-argument-declaration",type:a.ValueDescriptor,version:1,name:"Element",description:"The element that will be added at the end of the list",defaultValue:null,dataType:Lh,parentRelationType:A.FixedArguments,required:!0,index:1,parent:Uh},xh={type:a.GenericReference,id:"append-to-list-operation-result-list-return-parent-ref",entityId:X.Append,entityType:a.ActionDescriptor},jh={parentRelationType:A.FixedReturns,id:"append-to-list-result-list-return-delaration",type:a.ValueDescriptor,version:1,name:"Result",description:"The resulting list value.",defaultValue:null,dataType:$h,required:!0,index:0,parent:xh},kh={type:a.GenericReference,id:"append-to-list-operation-error-parent-ref",entityId:X.Append,entityType:a.ActionDescriptor},qh={parentRelationType:A.FixedReturns,id:"append-to-list-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:kh},us={id:X.Append,type:a.ActionDescriptor,version:1,name:X.Append,description:"Adds a given element to the end of a list value.",inputs:[Nl,_l],error:qh,outputs:[jh],parent:null},Jh={[X.Join]:Cl,[X.Split]:Bl,[X.GetLast]:Ml,[X.Append]:us},sa=N[a.Operation][_e.Parallel],Wh={id:"parallel-execution-list-of-functions-blueprint-dynamic-output-id",type:a.ValueDescriptor,version:1,name:"Any output value",description:"An output value of any type, to be used in the action to be executed.",defaultValue:null,dataType:null,required:!1,index:0,parent:null,parentRelationType:A.DynamicArgument},Yh={id:"parallel-execution-list-of-functions-blueprint-dynamic-input-id",type:a.ValueDescriptor,version:1,name:"Any input value",description:"An input value of any type, to be used in the action to be executed.",defaultValue:null,dataType:null,required:!1,index:0,parent:null,parentRelationType:A.DynamicArgument},Hh={id:"parallel-execution-list-of-functions-blueprint-id",type:a.ActionDescriptor,version:1,name:"Action to execute",description:"An action of any type, to be executed. It can contain any number of inputs and outputs.",inputs:[Yh],outputs:[Wh],error:null,parent:null},zh={type:a.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:sa.inputs.listOfActions.id,entityType:a.ValueDescriptor},Zh={like:!1,inferred:!1,id:"parallel-execution-list-of-functions-argument-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Hh,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:zh},Kh={type:a.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:sa.outputs.results.id,entityType:a.ValueDescriptor},Xh={like:!1,inferred:!1,id:sa.outputs.results.dataType.id,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Kh},Qh={type:a.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:_e.Parallel,entityType:a.ActionDescriptor},Vl={id:sa.inputs.listOfActions.id,type:a.ValueDescriptor,version:1,name:"Actions to execute",description:"A value, of a list of actions to be executed in parallel",dataType:Zh,defaultValue:null,required:!0,index:0,parent:Qh,parentRelationType:A.FixedArguments},ef={type:a.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:_e.Parallel,entityType:a.ActionDescriptor},Ll={id:sa.outputs.results.id,type:a.ValueDescriptor,version:1,name:"List of execution results",description:"Each execution result, in the same order as the input list of actions. One item on this list for each executed action.",dataType:Xh,defaultValue:null,required:!0,index:0,parent:ef,parentRelationType:A.FixedReturns},tf={type:a.GenericReference,id:"parallel-execution-operation-error-parent-ref",entityId:_e.Parallel,entityType:a.ActionDescriptor},nf={id:sa.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:tf,parentRelationType:A.ReturnedError},Qt={id:_e.Parallel,type:a.ActionDescriptor,description:"Execute a list of actions in parallel",version:1,name:_e.Parallel,inputs:[Vl],outputs:[Ll],error:nf,parent:null};var rf=(r=>(r.MillisecondsNumber="wait-milliseconds-number-argument-declaration",r))(rf||{}),af=(r=>(r.Error="wait-operation-error-return-delaration",r))(af||{});const sf={type:a.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityType:a.ValueDescriptor,entityId:"wait-milliseconds-number-argument-declaration"},of={like:!1,inferred:!1,id:"wait-milliseconds-number-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:sf},lf={type:a.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityType:a.ActionDescriptor,entityId:_e.Wait},yr={id:"wait-milliseconds-number-argument-declaration",type:a.ValueDescriptor,version:1,name:"Milliseconds to wait",description:"The amount of milliseconds to wait before calling the next entity",defaultValue:null,dataType:of,required:!0,index:0,parent:lf,parentRelationType:A.FixedArguments},df={type:a.GenericReference,id:"wait-operation-error-parent-ref",entityId:_e.Wait,entityType:a.ActionDescriptor},cf={id:"wait-operation-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:df,parentRelationType:A.ReturnedError},bt={id:_e.Wait,type:a.ActionDescriptor,description:"Wait for the given amount of milliseconds before calling the next entity",version:1,name:_e.Wait,inputs:[yr],outputs:[],error:cf,parent:null};var uf=(r=>(r.ListOfFunctions="sequential-execution-list-of-functions-argument-declaration",r))(uf||{}),pf=(r=>(r.ListOfExecutionResults="sequential-execution-result-return-delaration",r.Error="sequential-execution-error-return-delaration",r))(pf||{});const yf={id:"sequential-execution-list-of-functions-blueprint-dynamic-output-id",type:a.ValueDescriptor,version:1,name:"Any output value",description:"An output value of any type, to be used in the action to be executed.",defaultValue:null,dataType:null,required:!1,index:0,parent:null,parentRelationType:A.DynamicArgument},hf={id:"sequential-execution-list-of-functions-blueprint-dynamic-input-id",type:a.ValueDescriptor,version:1,name:"Any input value",description:"An input value of any type, to be used in the action to be executed.",defaultValue:null,dataType:null,required:!1,index:0,parent:null,parentRelationType:A.DynamicArgument},ff={id:"sequential-execution-list-of-functions-blueprint-id",type:a.ActionDescriptor,version:1,name:"Action to execute",description:"An action of any type, to be executed. It can contain any number of inputs and outputs.",inputs:[hf],outputs:[yf],error:null,parent:null},mf={type:a.GenericReference,id:"parallel-execution-list-of-functions-argument-declaration-id",entityId:"sequential-execution-list-of-functions-argument-declaration",entityType:a.ValueDescriptor},Tf={like:!1,inferred:!1,id:"sequential-execution-list-of-functions-argument-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ff,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:mf},Ef={type:a.GenericReference,id:"sequential-execution-list-of-execution-results-return-declaration-id",entityId:"sequential-execution-result-return-delaration",entityType:a.ValueDescriptor},bf={like:!1,inferred:!1,id:"sequential-execution-list-of-execution-results-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Ef},Rf={type:a.GenericReference,id:"parallel-execution-operation-list-of-functions-argument-parent-ref",entityId:_e.Sequential,entityType:a.ActionDescriptor},Gl={id:"sequential-execution-list-of-functions-argument-declaration",type:a.ValueDescriptor,version:1,name:"Actions to execute",description:"A value, of a list of actions to be executed in parallel",defaultValue:null,dataType:Tf,required:!0,index:0,parent:Rf,parentRelationType:A.FixedArguments},gf={type:a.GenericReference,id:"parallel-execution-operation-list-of-execution-results-return-parent-ref",entityId:_e.Sequential,entityType:a.ActionDescriptor},$l={id:"sequential-execution-result-return-delaration",type:a.ValueDescriptor,version:1,name:"List of execution results",description:"Each execution result, in the same order as the input list of actions. One item on this list for each executed action.",defaultValue:null,dataType:bf,required:!0,index:0,parent:gf,parentRelationType:A.FixedReturns},vf={type:a.GenericReference,id:"sequential-execution-operation-error-parent-ref",entityId:_e.Sequential,entityType:a.ActionDescriptor},If={id:"sequential-execution-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:vf,parentRelationType:A.ReturnedError},wn={id:_e.Sequential,type:a.ActionDescriptor,description:"Execute a list of actions one after the other",version:1,name:_e.Sequential,inputs:[Gl],outputs:[$l],error:If,parent:null},Df={[_e.Parallel]:Qt,[_e.Wait]:bt,[_e.Sequential]:wn};var Sf=(r=>(r.EntityToInstanciate="entity-to-instanciate-argument-declaration",r.NewEntityData="new-entity-data-argument-declaration",r))(Sf||{}),Of=(r=>(r.Error="create-new-instance-error-return-delaration",r))(Of||{});const Pf={type:a.GenericReference,id:"new-entity-data-argument-declaration-parent-ref",entityId:Ve.CreateNewInstance,entityType:a.ActionDescriptor},Af={type:a.GenericReference,id:"new-entity-data-argument-data-type-parent-ref",entityId:"new-entity-data-argument-declaration",entityType:a.ValueDescriptor},Cf={like:!1,inferred:!1,id:"new-entity-data-argument-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Af},wf={id:"new-entity-data-argument-declaration",type:a.ValueDescriptor,version:1,name:"Data for new entity",description:"The data to be used to create the new entity, with all the required properties",dataType:Cf,required:!0,defaultValue:null,parentRelationType:A.FixedArguments,index:1,parent:Pf},Bf={type:a.GenericReference,id:"entity-to-instanciate-argument-declaration-ref",entityType:a.ValueDescriptor,entityId:"entity-to-instanciate-argument-declaration"},Mf={like:!1,inferred:!1,id:"entity-to-instanciate-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!0,isNullable:!1,constant:!1,parent:Bf},Nf={type:a.GenericReference,id:"create-new-instance-operation-ref",entityType:a.ActionDescriptor,entityId:Ve.CreateNewInstance},_f={id:"entity-to-instanciate-argument-declaration",type:a.ValueDescriptor,version:1,name:"Entity to create a new copy of",description:"The entity of which a new copy will to be created",defaultValue:null,dataType:Mf,required:!0,parentRelationType:A.FixedArguments,index:0,parent:Nf},Vf={type:a.GenericReference,id:"create-new-instance-output-entity-declaration-parent-ref",entityId:Ve.CreateNewInstance,entityType:a.ActionDescriptor},Lf={parentRelationType:A.FixedReturns,id:"create-new-instance-output-entity-declaration",type:a.ValueDescriptor,version:1,name:"Created entity",description:"The entity that was created",defaultValue:null,dataType:null,parent:Vf,required:!0,index:0},Gf={type:a.GenericReference,id:"create-new-instance-error-parent-ref",entityId:Ve.CreateNewInstance,entityType:a.ActionDescriptor},$f={parentRelationType:A.FixedReturns,id:"create-new-instance-error-return-delaration",type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Gf},hr={id:Ve.CreateNewInstance,type:a.ActionDescriptor,description:"Creates a new copy of a given entity, with the given values for each property, or default values if a value is not provided",version:1,name:Ve.CreateNewInstance,inputs:[_f,wf],outputs:[Lf],error:$f,parent:null},oa=N[a.Operation][Ve.Validate],Ff={type:a.GenericReference,id:"validate-data-operation-data-to-validate-argument-declaration-ref",entityType:a.ValueDescriptor,entityId:oa.inputs.dataToValidate.id},Uf={like:!1,inferred:!1,id:"validate-data-operation-data-to-validate-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Ff},xf={type:a.GenericReference,id:"validate-data-operation-data-to-validate-argument-parent-ref",entityType:a.ActionDescriptor,entityId:Ve.Validate},jf={id:oa.inputs.dataToValidate.id,type:a.ValueDescriptor,version:1,name:"Data to validate",description:"The value to validate against the given entity type",defaultValue:null,dataType:Uf,required:!0,parentRelationType:A.FixedArguments,index:0,parent:xf},kf={type:a.GenericReference,id:"validate-data-operation-entity-to-match-type-argument-declaration-ref",entityType:a.ValueDescriptor,entityId:oa.inputs.entityToMatch.id},qf={like:!1,inferred:!1,id:"validate-data-operation-entity-to-match-type-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!0,isNullable:!1,constant:!1,parent:kf},Jf={type:a.GenericReference,id:"validate-data-operation-entity-to-match-type-argument-parent-ref",entityType:a.ActionDescriptor,entityId:Ve.Validate},Wf={id:oa.inputs.entityToMatch.id,type:a.ValueDescriptor,version:1,name:"Entity to match",description:"The entity to match the data against",dataType:qf,defaultValue:null,required:!0,index:0,parentRelationType:A.FixedArguments,parent:Jf},Yf={type:a.GenericReference,id:"validate-data-operation-output-entity-declaration-parent-ref",entityId:Ve.Validate,entityType:a.ActionDescriptor},Hf={id:oa.outputs.outputEntity.id,type:a.ValueDescriptor,version:1,dataType:null,name:"Output value",description:"A value with the type of the entity that was validated",defaultValue:null,parent:Yf,required:!0,index:0,parentRelationType:A.FixedReturns},zf={type:a.GenericReference,id:"wait-operation-error-parent-ref",entityId:Ve.Validate,entityType:a.ActionDescriptor},Zf={id:oa.outputs.error.id,type:a.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",dataType:null,defaultValue:null,required:!0,index:1,parent:zf,parentRelationType:A.ReturnedError},fr={id:Ve.Validate,type:a.ActionDescriptor,description:"Validates the given data to see if it matches the structure of a given type/entity",version:1,name:Ve.Validate,inputs:[Wf,jf],outputs:[Hf],error:Zf,parent:null},Kf={[Ve.CreateNewInstance]:hr,[Ve.Validate]:fr},Qe=N[a.Operation]["base-http-request"],Xf={type:a.GenericReference,id:"d87cf943-57e1-4d19-9f05-190fa8c8ebc4",entityType:a.ValueDescriptor,entityId:Qe.inputs.url.id},Qf={id:"http-request-url-default-value-id",type:a.LiteralValue,version:1,value:"https://some-url.com",name:C.String,valueAsType:null,parent:Xf,autogeneration:null},em={type:a.GenericReference,id:"aed50d73-eab5-42ce-b00e-7f5c45a9026f",entityId:Qe.inputs.url.id,entityType:a.ValueDescriptor},tm={like:!1,inferred:!1,id:"0deb4ef7-d739-4ddc-a4d6-50bd6fababe3",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:em},nm={type:a.GenericReference,id:"c3145af6-3387-464a-8887-272e483c856d",entityId:Qe.inputs.query.id,entityType:a.ValueDescriptor},rm={like:!1,inferred:!1,id:"2a5ba737-6335-4cc4-a2c0-16dca4052fac",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:nm},am={type:a.GenericReference,id:"075556b7-e468-48f7-8485-7159eaf389b2",entityType:a.ValueDescriptor,entityId:Qe.inputs.method.id},im={id:"http-request-method-default-value-id",type:a.LiteralValue,version:1,value:"GET",name:C.Enum,valueAsType:null,parent:am,autogeneration:null},sm={type:a.GenericReference,id:"aed647c8-a1b5-4cfc-9a3d-97887a567a80",entityId:Qe.inputs.method.id,entityType:a.ValueDescriptor},om={like:!1,inferred:!1,id:"6df7ec2b-5dbd-44af-896b-17b314e88560",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Pn,isList:!1,asType:!1,isNullable:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],constant:!1,parent:sm},lm={type:a.GenericReference,id:"77203dfa-d2f6-4804-9556-e1cce46228f3",entityId:Qe.inputs.headers.id,entityType:a.ValueDescriptor},dm={like:!1,inferred:!1,id:"2c8a2a07-69c6-40ad-b5c9-f0dc4d5955ce",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:lm},cm={type:a.GenericReference,id:"03db68a0-7ab6-4c6a-85b6-f4b95ebb53ff",entityId:Qe.inputs.body.id,entityType:a.ValueDescriptor},um={like:!1,inferred:!1,id:"0397876c-ed54-4ee9-85a4-04fd16dad973",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:cm},pm={type:a.GenericReference,id:"182f767f-50e8-4394-ba5f-43e78c232733",entityType:a.ValueDescriptor,entityId:Qe.outputs.code.id},ym={like:!1,inferred:!1,id:"45e6d0bc-0c0e-4059-a7a1-6bee925d73d0",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:pm},hm={type:a.GenericReference,id:"2baaa53a-9aef-4bd1-b06d-967c17b7b627",entityType:a.ValueDescriptor,entityId:Qe.outputs.headers.id},fm={type:a.GenericReference,id:"69f34d6c-c686-4165-b6ff-70dae8e1778b",entityType:a.ValueDescriptor,entityId:Qe.outputs.headers.id},mm={like:!1,inferred:!1,id:"dac63bfa-640d-4f4e-ba0f-86c2401bcfbe",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:fm},Tm={type:a.GenericReference,id:"744334e0-5135-4214-85d0-809437cb620b",entityType:a.ValueDescriptor,entityId:Qe.outputs.body.id},Em={type:a.GenericReference,id:"0e0e20df-1a46-432c-ba01-fd96508a6a61",entityType:a.ValueDescriptor,entityId:Qe.outputs.body.id},bm={like:!1,inferred:!1,id:"05fc1a5d-151a-479a-9c4e-4063f3456177",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Em},Rm={type:a.GenericReference,id:"26911792-f707-4bf1-b6f7-03d04a84232c",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},ps={id:Qe.inputs.method.id,type:a.ValueDescriptor,description:"A single word that represents the type of request you want to make. For example: GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD, TRACE, CONNECT, CUSTOM",version:1,name:"Method",defaultValue:im,dataType:om,required:!1,index:0,parentRelationType:A.FixedArguments,parent:Rm},gm={type:a.GenericReference,id:"eee0c501-0ae6-4448-b914-aada76d63163",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},ys={id:Qe.inputs.url.id,type:a.ValueDescriptor,description:"The base domain, or address where the request is being sent to. For example: https://some-url.com",version:1,name:"URL",dataType:tm,defaultValue:Qf,required:!1,index:1,parentRelationType:A.FixedArguments,parent:gm},vm={type:a.GenericReference,id:"670091a4-21b1-4223-ad4c-b6dada0aec49",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},Fl={id:Qe.inputs.query.id,type:a.ValueDescriptor,description:"A text with standarized format, without spaces that is added at the end of the URL path, after the ? character. It contains data that might be used to process the request. For example: /api/users?name=John&age=30",version:1,name:"Query Params",defaultValue:null,dataType:rm,required:!1,index:2,parentRelationType:A.FixedArguments,parent:vm},Im={type:a.GenericReference,id:"85aad3eb-22fe-45f9-b68c-1dc7061f41e0",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},hs={id:Qe.inputs.headers.id,type:a.ValueDescriptor,description:"A set of any properties, with names and values that represent metadata about the request, such as the server, date, content type, and more, that you want to send alongside your request data.",version:1,name:"Headers",defaultValue:null,dataType:dm,required:!1,index:3,parent:Im,parentRelationType:A.FixedArguments},Dm={type:a.GenericReference,id:"c3e2a4af-9b84-4574-8b30-5044ffc51776",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},fs={id:Qe.inputs.body.id,type:a.ValueDescriptor,description:"The main data payload of the request. This is the data that you want to send to the server. It could be anything, but it is usually a KeyValue data structure or a text value.",version:1,name:"Body",dataType:um,defaultValue:null,required:!1,index:4,parentRelationType:A.FixedArguments,parent:Dm},Sm={type:a.GenericReference,id:"92e04dc7-2145-4a31-908e-03810f7235e8",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},ms={id:Qe.outputs.code.id,type:a.ValueDescriptor,description:'A standardized status code of the response. It is a 3-digit number that represents the response status. For example, 200 means "OK", 404 means "Not Found", and 500 means "Internal Server Error".',version:1,name:"Code",defaultValue:null,dataType:ym,required:!0,index:0,parentRelationType:A.FixedReturns,parent:Sm},Om={type:a.GenericReference,id:"86aca556-bbf1-4679-9909-31db61b288e2",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},Ts={parentRelationType:A.FixedReturns,id:Qe.outputs.headers.id,type:a.ValueDescriptor,description:"A set of any properties, with names and value that the server sent back to you. It represents metadata about the response, such as the server, date, content type, and more.",version:1,name:"Headers",defaultValue:{id:"http-response-headers-default-value-id",type:a.LiteralValue,version:1,value:{},name:C.KeyValue,parent:hm,valueAsType:null,autogeneration:null},dataType:mm,required:!0,index:1,parent:Om},Pm={type:a.GenericReference,id:"ccf3d1be-04e4-4d03-99fd-5bc1e1919f90",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},Es={id:Qe.outputs.body.id,type:a.ValueDescriptor,description:"The main data payload of the response. This is the data that the server sent back to you. It could be anything, but it is usually a KeyValue data structure or a text value.",version:1,name:"Body",parentRelationType:A.FixedReturns,dataType:bm,defaultValue:{id:"http-response-body-default-value-id",type:a.LiteralValue,version:1,value:{},name:C.KeyValue,parent:Tm,valueAsType:null,autogeneration:null},required:!0,index:2,parent:Pm},Am={type:a.GenericReference,id:"21487ffc-82b9-473d-bc19-6e7d7c480ed7",entityType:a.ActionDescriptor,entityId:dt.HttpRequest},Cm={type:a.GenericReference,id:"ad69861b-32f7-4461-b7f7-aa84a82578d9",entityType:a.ValueDescriptor,entityId:Qe.outputs.error.id},wm={like:!1,inferred:!1,id:"5da68b15-57bc-40c1-b79f-a9075e0f22c1",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Cm},Ul={parentRelationType:A.ReturnedError,id:Qe.outputs.error.id,type:a.ValueDescriptor,description:"Http request error, if any. Contains a payload describing what went wrong.",version:1,name:"Error",defaultValue:null,dataType:wm,required:!0,index:0,parent:Am},Xa={type:a.ActionDescriptor,id:dt.HttpRequest,name:dt.HttpRequest,description:"Make an HTTP request, out to the internet, to a given URL with the specified method, query parameters, headers, and body.",version:1,inputs:[ps,ys,Fl,hs,fs],outputs:[ms,Ts,Es],error:Ul,parent:null},Bm={[dt.HttpRequest]:Xa},Mm={...$y,...Qp,...Jh,...Df,...Kf,...Bm},Nm=Object.values(Mm),kP=N[a.Loop]["manual-flow-loop"],_m={id:"manual-flow-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ManualFlow,entityType:a.ActionDescriptor},Vm={id:kP.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:_m,parentRelationType:A.DynamicReturn},bs={id:k.ManualFlow,type:a.ActionDescriptor,version:1,name:k.ManualFlow,description:"A loop that is manually controlled by the continue and break statements. It runs until the break statement is called, and it can skip to the next iteration with the continue statement.",inputs:[],outputs:[Vm],error:null,parent:null},Qa=N[a.Loop]["manual-flow-loop"],Lm={id:"manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"manual-flow-loop-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},Gm={like:!1,inferred:!1,id:"manual-flow-loop-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:Lm},$m={id:"manual-flow-loop-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:Qa.body.id,entityType:a.ActionDescriptor},xl={id:Qa.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the manual flow loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:Gm,required:!0,index:0,parentRelationType:A.FixedArguments,parent:$m},Fm={id:"manual-flow-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:Qa.body.id,entityType:a.ActionDescriptor},Um={id:"manual-flow-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:1,parentRelationType:A.DynamicArgument,parent:Fm},xm={id:"manual-flow-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:Qa.body.id,entityType:a.ActionDescriptor},jm={id:"manual-flow-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:xm},jl={id:Qa.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the manual flow loop.",inputs:[xl,Um],outputs:[jm],error:null,parent:null},km=N[a.Loop]["string-loop"],qm={id:"iterate-over-string-loop-string-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-string-loop-string-argument-declaration-id",entityType:a.ValueDescriptor},Jm={like:!1,inferred:!1,id:"iterate-over-string-loop-string-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:J,asType:!1,parent:qm},Wm={id:"iterate-over-string-loop-string-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.String,entityType:a.ActionDescriptor},Ym={id:km.inputs.string.id,type:a.ValueDescriptor,version:1,name:"Texts",description:"The text to iterate over the characters of",defaultValue:null,required:!0,dataType:Jm,index:0,parent:Wm,parentRelationType:A.FixedArguments},Hm={id:"iterate-over-string-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.String,entityType:a.ActionDescriptor},zm={id:km.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:Hm,parentRelationType:A.DynamicReturn},ei={id:k.String,type:a.ActionDescriptor,version:1,name:k.String,description:"Iterates over a string of entities",inputs:[Ym],outputs:[zm],error:null,parent:null},mr=N[a.Loop]["string-loop"],Zm={id:"iterate-over-string-loop-body-current-value-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-string-loop-body-current-value-declaration-id",entityType:a.ValueDescriptor},Km={like:!1,inferred:!1,id:"iterate-over-string-loop-body-current-value-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:J,asType:!1,parent:Zm},Xm={id:"iterate-over-string-loop-body-current-value-declaration-parent-ref-id",type:a.GenericReference,entityId:mr.body.id,entityType:a.ActionDescriptor},kl={id:mr.body.inputs.currentValue.id,type:a.ValueDescriptor,version:1,name:"Current value",description:"The current value in the string that is being iterated over. This value is passed to the child actions.",defaultValue:null,dataType:Km,required:!0,index:1,parentRelationType:A.FixedArguments,parent:Xm},Qm={id:"iterate-over-string-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-string-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},eT={like:!1,inferred:!1,id:"iterate-over-string-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:Qm},tT={id:"iterate-over-string-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:mr.body.id,entityType:a.ActionDescriptor},ql={id:mr.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the string loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:eT,required:!0,index:0,parentRelationType:A.FixedArguments,parent:tT},nT={id:"iterate-over-string-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:mr.body.id,entityType:a.ActionDescriptor},rT={id:"iterate-over-string-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:2,parentRelationType:A.DynamicArgument,parent:nT},aT={id:"iterate-over-string-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:mr.body.id,entityType:a.ActionDescriptor},iT={id:"iterate-over-string-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:aT},Jl={id:mr.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the string loop.",inputs:[ql,kl,rT],outputs:[iT],error:null,parent:null},sT=N[a.Loop]["list-loop"],oT={id:"iterate-over-list-loop-list-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-list-loop-list-argument-declaration-id",entityType:a.ValueDescriptor},lT={like:!1,inferred:!1,id:"iterate-over-list-loop-list-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!0,isNullable:!1,constant:!1,entity:null,asType:!1,parent:oT},dT={id:"iterate-over-list-loop-list-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.List,entityType:a.ActionDescriptor},cT={id:sT.inputs.list.id,type:a.ValueDescriptor,version:1,name:"List",description:"The list to iterate over",required:!0,defaultValue:null,dataType:lT,index:0,parent:dT,parentRelationType:A.FixedArguments},uT={id:"iterate-over-list-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.List,entityType:a.ActionDescriptor},pT={id:sT.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",required:!1,defaultValue:null,dataType:null,index:0,parent:uT,parentRelationType:A.DynamicReturn},Wn={id:k.List,type:a.ActionDescriptor,version:1,name:k.List,description:"Iterates over a list of entities",inputs:[cT],outputs:[pT],error:null,parent:null},Tr=N[a.Loop]["list-loop"],yT={id:"iterate-over-list-loop-body-current-value-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-list-loop-body-current-value-declaration-id",entityType:a.ValueDescriptor},hT={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-value-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:null,asType:!1,parent:yT},fT={id:"iterate-over-list-loop-body-current-value-declaration-parent-ref-id",type:a.GenericReference,entityId:Tr.body.id,entityType:a.ActionDescriptor},Rs={id:Tr.body.inputs.currentValue.id,type:a.ValueDescriptor,version:1,name:"Current value",description:"The current value in the list that is being iterated over. This value is passed to the child actions.",defaultValue:null,dataType:hT,required:!0,index:1,parentRelationType:A.FixedArguments,parent:fT},mT={id:"iterate-over-list-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-list-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},TT={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:mT},ET={id:"iterate-over-list-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:Tr.body.id,entityType:a.ActionDescriptor},bT={id:Tr.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the list loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:TT,required:!0,index:0,parentRelationType:A.FixedArguments,parent:ET},RT={id:"iterate-over-list-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:Tr.body.id,entityType:a.ActionDescriptor},gT={id:"iterate-over-list-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:2,parentRelationType:A.DynamicArgument,parent:RT},vT={id:"iterate-over-list-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:Tr.body.id,entityType:a.ActionDescriptor},IT={id:"iterate-over-list-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:vT},gs={id:Tr.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the list loop.",inputs:[bT,Rs,gT],outputs:[IT],error:null,parent:null},DT=N[a.Loop]["object-keys-loop"],ST={id:"iterate-over-object-keys-loop-object-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-keys-loop-object-argument-declaration-id",entityType:a.ValueDescriptor},OT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-object-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:at,asType:!1,parent:ST},PT={id:"iterate-over-object-keys-loop-object-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ObjectKeys,entityType:a.ActionDescriptor},AT={id:DT.inputs.object.id,type:a.ValueDescriptor,version:1,name:"Object",description:"The object to iterate over",required:!0,defaultValue:null,dataType:OT,index:0,parent:PT,parentRelationType:A.FixedArguments},CT={id:"iterate-over-object-keys-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ObjectKeys,entityType:a.ActionDescriptor},wT={id:DT.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:CT,parentRelationType:A.DynamicReturn},la={id:k.ObjectKeys,type:a.ActionDescriptor,version:1,name:k.ObjectKeys,description:"Iterates over a object of entities",inputs:[AT],outputs:[wT],error:null,parent:null},Er=N[a.Loop]["object-keys-loop"],BT={id:"iterate-over-object-keys-loop-body-current-value-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-keys-loop-body-current-value-declaration-id",entityType:a.ValueDescriptor},MT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-body-current-value-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:J,asType:!1,parent:BT},NT={id:"iterate-over-object-keys-loop-body-current-value-declaration-parent-ref-id",type:a.GenericReference,entityId:Er.body.id,entityType:a.ActionDescriptor},Wl={id:Er.body.inputs.currentValue.id,type:a.ValueDescriptor,version:1,name:"Current value",description:"The current value in the object-keys that is being iterated over. This value is passed to the child actions.",defaultValue:null,dataType:MT,required:!0,index:1,parentRelationType:A.FixedArguments,parent:NT},_T={id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},VT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:_T},LT={id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:Er.body.id,entityType:a.ActionDescriptor},GT={id:Er.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the object-keys loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:VT,required:!0,index:0,parentRelationType:A.FixedArguments,parent:LT},$T={id:"iterate-over-object-keys-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:Er.body.id,entityType:a.ActionDescriptor},FT={id:"iterate-over-object-keys-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:2,parentRelationType:A.DynamicArgument,parent:$T},UT={id:"iterate-over-object-keys-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:Er.body.id,entityType:a.ActionDescriptor},xT={id:"iterate-over-object-keys-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:UT},jT={id:Er.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the object-keys loop.",inputs:[GT,Wl,FT],outputs:[xT],error:null,parent:null},kT=N[a.Loop]["object-values-loop"],qT={id:"iterate-over-object-values-loop-object-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-values-loop-object-argument-declaration-id",entityType:a.ValueDescriptor},JT={like:!1,inferred:!1,id:"iterate-over-object-values-loop-object-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:at,asType:!1,parent:qT},WT={id:"iterate-over-object-values-loop-object-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ObjectValues,entityType:a.ActionDescriptor},YT={id:kT.inputs.object.id,type:a.ValueDescriptor,version:1,name:"Object",description:"The object to iterate over",required:!0,defaultValue:null,dataType:JT,index:0,parent:WT,parentRelationType:A.FixedArguments},HT={id:"iterate-over-object-values-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.ObjectValues,entityType:a.ActionDescriptor},zT={id:kT.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:HT,parentRelationType:A.DynamicReturn},da={id:k.ObjectValues,type:a.ActionDescriptor,version:1,name:k.ObjectValues,description:"Iterates over a object of entities",inputs:[YT],outputs:[zT],error:null,parent:null},br=N[a.Loop]["object-values-loop"],ZT={id:"iterate-over-object-values-loop-body-current-value-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-values-loop-body-current-value-declaration-id",entityType:a.ValueDescriptor},KT={id:"iterate-over-object-values-loop-body-current-value-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:null,isNullable:!1,constant:!1,entity:null,asType:null,like:!1,inferred:!1,parent:ZT},XT={id:"iterate-over-object-values-loop-body-current-value-declaration-parent-ref-id",type:a.GenericReference,entityId:br.body.id,entityType:a.ActionDescriptor},Yl={id:br.body.inputs.currentValue.id,type:a.ValueDescriptor,version:1,name:"Current value",description:"The current value in the object-values that is being iterated over. This value is passed to the child actions.",defaultValue:null,dataType:KT,required:!0,index:1,parentRelationType:A.FixedArguments,parent:XT},QT={id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"iterate-over-object-values-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},eE={like:!1,inferred:!1,id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:QT},tE={id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:br.body.id,entityType:a.ActionDescriptor},nE={id:br.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the object-values loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:eE,required:!0,index:0,parentRelationType:A.FixedArguments,parent:tE},rE={id:"iterate-over-object-values-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:br.body.id,entityType:a.ActionDescriptor},aE={id:"iterate-over-object-values-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:2,parentRelationType:A.DynamicArgument,parent:rE},iE={id:"iterate-over-object-values-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:br.body.id,entityType:a.ActionDescriptor},sE={id:"iterate-over-object-values-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:iE},oE={id:br.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the object-values loop.",inputs:[nE,Yl,aE],outputs:[sE],error:null,parent:null},Hl=N[a.Loop]["counted-loop"],lE={id:"counted-loop-string-argument-declaration-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:Hl.inputs.number.id,entityType:a.ValueDescriptor},dE={id:"counted-loop-string-argument-declaration-data-type-default-value-id",type:a.LiteralValue,name:C.Number,version:1,value:5,valueAsType:null,autogeneration:null,parent:lE},cE={id:"counted-loop-string-argument-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"counted-loop-string-argument-declaration-id",entityType:a.ValueDescriptor},uE={like:!1,inferred:!1,id:"counted-loop-string-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:cE},pE={id:"counted-loop-string-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:k.Counted,entityType:a.ActionDescriptor},yE={id:Hl.inputs.number.id,type:a.ValueDescriptor,version:1,name:"Number of iterations",description:"The number of iterations to perform",required:!0,dataType:uE,defaultValue:dE,index:0,parent:pE,parentRelationType:A.FixedArguments},hE={id:"counted-loop-dynamic-return-declaration-parent-ref-id",type:a.GenericReference,entityId:k.Counted,entityType:a.ActionDescriptor},fE={id:Hl.outputs.results.id,type:a.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:hE,parentRelationType:A.DynamicReturn},ti={id:k.Counted,type:a.ActionDescriptor,version:1,name:k.Counted,description:"Iterates a given number of times",inputs:[yE],outputs:[fE],error:null,parent:null},ni=N[a.Loop]["counted-loop"],mE={id:"counted-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:"counted-loop-body-current-iteration-number-declaration-id",entityType:a.ValueDescriptor},TE={like:!1,inferred:!1,id:"counted-loop-body-current-iteration-number-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:ee,asType:!1,parent:mE},EE={id:"counted-loop-body-current-iteration-number-declaration-parent-ref-id",type:a.GenericReference,entityId:ni.body.id,entityType:a.ActionDescriptor},zl={id:ni.body.inputs.iterationNumber.id,type:a.ValueDescriptor,version:1,name:"Current iteration number",description:"The number of the current iteration of the string loop. Keeps track of the number of iterations that have been executed.",defaultValue:null,dataType:TE,required:!0,index:0,parentRelationType:A.FixedArguments,parent:EE},bE={id:"counted-loop-body-any-dynamic-argument-parent-ref-id",type:a.GenericReference,entityId:ni.body.id,entityType:a.ActionDescriptor},RE={id:"counted-loop-body-any-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values inputed to the loop's body as an aggregation of the respective values outputed.",defaultValue:null,dataType:null,required:!1,index:1,parentRelationType:A.DynamicArgument,parent:bE},gE={id:"counted-loop-body-any-dynamic-return-parent-ref-id",type:a.GenericReference,entityId:ni.body.id,entityType:a.ActionDescriptor},vE={id:"counted-loop-body-any-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:A.DynamicReturn,parent:gE},Zl={id:ni.body.id,type:a.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the string loop.",inputs:[zl,RE],outputs:[vE],error:null,parent:null},IE=[bs,Wn,ei,la,da,ti],Yn=N[a.BuiltInBaseEntity][U.HTTP_ENDPOINT].properties,DE={id:"endpointBuiltInCorsPropertyDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:Yn.cors.id},SE={id:"endpointBuiltInCorsPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:Yn.cors.id},OE={like:!1,inferred:!1,id:"endpointBuiltInCorsPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!0,entity:J,asType:!1,parent:SE},PE={id:"endpointBuiltInBaseEntityRef",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},AE={hidden:!0,required:!0,id:Yn.cors.id,name:"Allowed origins",version:1,type:a.Property,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:OE,defaultValue:{id:"endpointBuiltInCorsPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:["*"],parent:DE,autogeneration:null,valueAsType:null},description:"The origins that are allowed to access this endpoint, use * for all origins, or http://example.com/* to be as specific as you need.",parent:PE},CE={id:"endpointBuiltInPathPropertyDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:Yn.path.id},wE={id:"endpointBuiltInPathPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:Yn.path.id},BE={like:!1,inferred:!1,id:"endpointBuiltInPathPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:wE},ME={id:"endpointBuiltInBaseEntityRefTwo",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},Kl={id:Yn.path.id,hidden:!1,required:!0,name:"Path",version:1,type:a.Property,private:!1,abstract:!0,implements:null,static:!0,index:1,dataType:BE,defaultValue:{id:"endpointBuiltInPathPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.String,value:"/",parent:CE,autogeneration:null,valueAsType:null},description:"Path to the endpoint, for example /api/users, or /api/users/{id}, or /api/users/{id}/:name. The path can contain parameters, which are defined by curly braces, and will be passed to the endpoint event as variables with the same name.",parent:ME},NE={id:"endpointBuiltInMethodPropertyDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:Yn.method.id},_E={id:"endpointBuiltInMethodPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:"endpointBuiltInMethodProperty"},VE={like:!1,inferred:!1,id:"endpointBuiltInMethodPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Pn,isList:!0,isNullable:!1,constant:!0,asType:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],parent:_E},LE={id:"endpointBuiltInBaseEntityRefThree",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},Xl={hidden:!1,required:!0,id:Yn.method.id,name:"Method",version:1,type:a.Property,private:!1,index:2,implements:null,defaultValue:{id:"endpointBuiltInMethodPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,value:"GET",name:C.Enum,parent:NE,autogeneration:null,valueAsType:null},abstract:!0,static:!0,dataType:VE,description:"The HTTP method that this endpoint will respond to, for example GET, POST, PUT, DELETE, etc.",parent:LE},GE={id:"endpointRequestHeadersVariableDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:"endpointRequestHeadersArgumentDeclaration"},$E={id:"endpointRequestHeadersArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"endpointRequestHeadersArgumentDeclaration"},FE={like:!1,inferred:!1,id:"endpointRequestHeadersVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:at,asType:!1,parent:$E},UE={id:"endpointRequestBodyArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"endpointRequestBodyArgumentDeclaration"},xE={like:!1,inferred:!1,id:"endpointRequestBodyVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:at,parent:UE},jE={id:"endpointRequestQueryParamsVariableDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:"endpointRequestQueryParamsArgumentDeclaration"},kE={id:"endpointRequestQueryParamsArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"endpointRequestQueryParamsArgumentDeclaration"},qE={like:!1,inferred:!1,id:"endpointRequestQueryParamsVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,asType:!1,entity:ia,parent:kE},JE={id:"endpointPathParamsVariableDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:"endpointPathParamsArgumentDeclaration"},WE={id:"endpointPathParamsArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"endpointPathParamsArgumentDeclaration"},YE={like:!1,inferred:!1,id:"endpointPathParamsVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:ia,asType:!1,parent:WE},HE={id:"endpointReachedTriggerActionDescriptorRef",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},Ql={id:"endpointRequestHeadersArgumentDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the request.",type:a.ValueDescriptor,name:"Request headers",dataType:FE,defaultValue:{id:"endpointRequestHeadersVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:GE,autogeneration:null,valueAsType:null},required:!0,index:0,parentRelationType:A.FixedArguments,parent:HE},zE={id:"endpointReachedTriggerActionDescriptorRefTwo",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},ed={id:"endpointPathParamsArgumentDeclaration",type:a.ValueDescriptor,description:"A standarized text, without spaces that is added at the end of the domain and routes the request to a specific resource within the target server. For example: /api/users/123, /api/users/123/:name, /api/users/123/:name/:age.",version:1,name:"Path parameters",dataType:YE,defaultValue:{id:"endpointPathParamsVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:[],parent:JE,autogeneration:null,valueAsType:null},required:!0,index:1,parentRelationType:A.FixedArguments,parent:zE},ZE={id:"endpointReachedTriggerActionDescriptorRefThree",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},td={id:"endpointRequestQueryParamsArgumentDeclaration",version:1,description:"A text with standarized format, without spaces that is added at the end of the URL path, after the ? character. It contains data that might be used to process the request. For example: /api/users?name=John&age=30",type:a.ValueDescriptor,name:"Request query params",dataType:qE,defaultValue:{id:"endpointRequestQueryParamsVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:[],parent:jE,autogeneration:null,valueAsType:null},required:!0,index:2,parentRelationType:A.FixedArguments,parent:ZE},KE={id:"endpointReachedTriggerActionDescriptorRefFour",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},nd={id:"endpointRequestBodyArgumentDeclaration",version:1,description:"The main data payload of the request.",type:a.ValueDescriptor,name:"Request body",dataType:xE,defaultValue:null,index:3,required:!0,parentRelationType:A.FixedArguments,parent:KE},XE={id:"endpointResponseCodeReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"endpointResponseCodeReturnDeclaration"},QE={like:!1,inferred:!1,id:"9ba575b0-6f8e-436d-a3de-3b843622aa17",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:XE},eb={id:"endpointReturnStatementRef",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReturnStatement"},rd={id:"endpointResponseCodeReturnDeclaration",version:1,description:"A standarized number that represents the status of the response. 200 for OK, 404 for not found, 500 for server error, etc.",type:a.ValueDescriptor,name:"Response code",dataType:QE,defaultValue:null,required:!0,index:0,parentRelationType:A.FixedReturns,parent:eb},tb={id:"endpointResponseHeadersDataTypeRef",type:a.GenericReference,entityType:a.ValueDescriptor,entityId:"endpointResponseHeadersReturnDeclaration"},nb={id:"endpointResponseHeadersReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"endpointResponseHeadersReturnDeclaration"},rb={like:!1,inferred:!1,id:"endpointResponseHeadersDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:at,asType:!1,parent:nb},ab={id:"endpointReturnStatementRefTwo",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReturnStatement"},ad={id:"endpointResponseHeadersReturnDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the response.",type:a.ValueDescriptor,name:"Response headers",dataType:rb,defaultValue:{id:"endpointResponseHeadersDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:tb,autogeneration:null,valueAsType:null},required:!1,index:1,parentRelationType:A.FixedReturns,parent:ab},ib={id:"endpointResponseBodyReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"endpointResponseBodyReturnDeclaration"},sb={like:!1,inferred:!1,id:"endpointResponseBodyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:at,parent:ib},ob={id:"endpointReturnStatementRefThree",type:a.GenericReference,entityType:a.ActionDescriptor,entityId:"endpointReturnStatement"},id={id:"endpointResponseBodyReturnDeclaration",version:1,description:"The main data payload of the response.",type:a.ValueDescriptor,name:"Response body",dataType:sb,defaultValue:null,required:!1,index:2,parentRelationType:A.FixedReturns,parent:ob},lb={id:"endpointBuiltInBaseEntityRefFour",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},sd={id:"endpointReachedTriggerActionDescriptor",type:a.ActionDescriptor,version:1,name:"Endpoint reached",description:"Fired when the endpoint is reached.",inputs:[Ql,ed,td,nd],outputs:[rd,ad,id],error:null,parent:lb},ri={id:U.HTTP_ENDPOINT,version:1,description:"An HTTP endpoint that can be reached by a client from the internet.",name:U.HTTP_ENDPOINT,type:a.BuiltInBaseEntity,interactive:!1,abstract:!0,static:!0,properties:[AE,Kl,Xl],abstractMethods:[sd],extends:[],methods:[]},ct=N[a.BuiltInBaseEntity].BUILT_IN_RELATIONAL_DATABASE_ENTITY,db={id:"relational-database-built-in-base-entity-identifier-property-data-type-ref-id",type:a.GenericReference,entityId:ct.properties.identifier.id,entityType:a.Property},cb={id:"relational-database-built-in-base-entity-identifier-property-ref-id",type:a.GenericReference,entityId:ct.properties.identifier.id,entityType:a.Property},ub={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-identifier-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:cb},ca={id:"relational-database-built-in-base-entity-ref-id",type:a.GenericReference,entityId:U.PERSISTED_ENTITY,entityType:a.BuiltInBaseEntity},vs={id:ct.properties.identifier.id,hidden:!1,required:!0,name:"Identifier name",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:0,defaultValue:{id:"relational-database-built-in-base-entity-identifier-property-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:null,parent:db,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:ub,description:"The name of the main database inside of the server instance where the data will be stored.",parent:ca},qP={id:"relational-database-built-in-base-entity-username-property-data-type-ref-id",type:a.GenericReference,entityId:"relational-database-built-in-base-entity-username-property-data-type-idd",entityType:a.Property},pb={id:"relational-database-built-in-base-entity-username-property-ref-id",type:a.GenericReference,entityId:ct.properties.username.id,entityType:a.Property},yb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-username-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:pb},Is={hidden:!1,required:!0,id:ct.properties.username.id,name:"Username",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:1,defaultValue:{id:"relational-database-built-in-base-entity-username-property-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"postgres",parent:{id:"relational-database-built-in-base-entity-username-property-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:ct.properties.username.id,entityType:a.Property},autogeneration:null,valueAsType:null},dataType:yb,description:"The username that will be used to connect to the database.",parent:ca},JP={id:"relational-database-built-in-base-entity-password-property-data-type-ref-id",type:a.GenericReference,entityId:"relational-database-built-in-base-entity-password-property-data-type-id",entityType:a.Property},hb={id:"relational-database-built-in-base-entity-password-property-ref-id",type:a.GenericReference,entityId:ct.properties.password.id,entityType:a.Property},fb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-password-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:hb},Ds={hidden:!1,required:!0,id:ct.properties.password.id,name:"Password",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:2,defaultValue:null,dataType:fb,description:"The password that will be used to connect to the database.",parent:ca},mb={id:"relational-database-built-in-base-entity-min-size-property-data-type-ref-id",type:a.GenericReference,entityId:ct.properties.minSize.id,entityType:a.Property},Tb={id:"relational-database-built-in-base-entity-min-size-property-ref-id",type:a.GenericReference,entityId:ct.properties.minSize.id,entityType:a.Property},Eb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-min-size-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:Tb},Ss={hidden:!0,required:!0,id:ct.properties.minSize.id,name:"Minimum GB size",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:3,defaultValue:{id:"relational-database-built-in-base-entity-min-size-property-default-value-id",type:a.LiteralValue,version:1,name:C.Number,value:6,parent:mb,autogeneration:null,valueAsType:null},dataType:Eb,description:"The minimum size of the database in GB.",parent:ca},bb={id:"relational-database-built-in-base-entity-default-property-data-type-ref-id",type:a.GenericReference,entityId:ct.properties.default.id,entityType:a.Property},Rb={id:"relational-database-built-in-base-entity-default-property-ref-id",type:a.GenericReference,entityId:ct.properties.default.id,entityType:a.Property},gb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-default-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:On,asType:!1,parent:Rb},od={hidden:!0,required:!0,id:ct.properties.default.id,name:"Default",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:4,defaultValue:{id:"relational-database-built-in-base-entity-default-property-default-value-id",type:a.LiteralValue,version:1,name:C.Boolean,value:!1,parent:bb,autogeneration:null,valueAsType:null},dataType:gb,description:"If true, this database will be the default database for the server instance and all the new entities.",parent:ca},vb={id:"relational-database-built-in-base-entity-autoscaling-property-ref-id",type:a.GenericReference,entityId:ct.properties.autoscaling.id,entityType:a.Property},Ib={id:"relational-database-built-in-base-entity-autoscaling-property-data-type-ref-id",type:a.GenericReference,entityId:ct.properties.autoscaling.id,entityType:a.Property},Db={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-autoscaling-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:On,asType:!1,parent:vb},Sb={id:"relational-database-built-in-base-entity-autoscaling-property-parent-ref-id",type:a.GenericReference,entityId:U.PERSISTED_ENTITY,entityType:a.BuiltInBaseEntity},ld={hidden:!0,required:!0,id:ct.properties.autoscaling.id,name:"Auto-scaling",version:1,type:a.Property,private:!1,abstract:!0,static:!0,implements:null,index:4,defaultValue:{id:"relational-database-built-in-base-entity-autoscaling-property-default-value-id",type:a.LiteralValue,version:1,name:C.Boolean,value:!1,parent:Ib,autogeneration:null,valueAsType:null},dataType:Db,description:"If true, this database will automatically scale up or down in memory size, based on the usage.",parent:Sb},un={id:U.RELATIONAL_DATABASE,version:1,description:"This entity provisions a relational database in the cloud.",name:U.RELATIONAL_DATABASE,type:a.BuiltInBaseEntity,abstract:!0,static:!0,interactive:!1,properties:[vs,Is,Ds,Ss,od,ld],abstractMethods:[],methods:[],extends:[]},Ob={type:a.GenericReference,entityId:"persisted-built-in-base-entity-ref-id",entityType:a.BuiltInBaseEntity,id:Gt.DeletePersistedEntity},dd={type:a.FunctionDeclaration,id:Gt.DeletePersistedEntity,name:Gt.DeletePersistedEntity,description:"Permanently deletes the current copy of an entity from the database",version:1,parent:Ob,inputs:[],calls:[],implements:null,collapsed:!1,returnStatements:[],index:0,private:!1,x:0,y:0},Pb=N[a.BuiltInBaseEntity][U.PERSISTED_ENTITY].properties,WP={id:"persisted-built-in-base-entity-database-property-data-type-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-database-property-data-type-id",entityType:a.DataType},Ab={id:"persisted-built-in-base-entity-database-property-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-database-property-id",entityType:a.Property},Cb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:un,asType:!1,parent:Ab},wb={id:"persisted-built-in-base-entity-database-property-parent-ref-id",type:a.GenericReference,entityId:U.PERSISTED_ENTITY,entityType:a.BuiltInBaseEntity},ua={hidden:!0,required:!0,id:Pb.database.id,name:"Database",version:1,type:a.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:Cb,description:"The database that the entity belongs to.",parent:wb},Bb={id:"persisted-built-in-base-entity-primary-key-property-number-data-type-option-parent-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:a.DataType},Mb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-number-data-type-option-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parentRelationType:et.OrDataTypeGroup,parent:Bb},Nb={id:"persisted-built-in-base-entity-primary-key-property-string-data-type-option-parent-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:a.DataType},_b={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-string-data-type-option-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parentRelationType:et.OrDataTypeGroup,parent:Nb},Vb={id:"persisted-built-in-base-entity-primary-key-property-uuid-data-type-option-parent-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:a.DataType},Lb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-uuid-data-type-option-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parentRelationType:et.OrDataTypeGroup,parent:Vb},Gb={id:"persisted-built-in-base-entity-primary-key-property-ref-id",type:a.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-id",entityType:a.Property},$b={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:[Lb,_b,Mb],isList:!1,isNullable:!1,constant:!0,entity:null,asType:null,implementationChooseOne:!0,parent:Gb},Fb={id:"persisted-built-in-base-entity-primary-key-property-parent-ref-id",type:a.GenericReference,entityId:U.PERSISTED_ENTITY,entityType:a.BuiltInBaseEntity},pa={hidden:!1,required:!0,id:Pb.primaryKey.id,name:"Primary key",version:1,type:a.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!1,index:0,dataType:$b,description:"A property with a unique value for the entity, that can be used to identify the entity among other entities of the same type.",parent:Fb},st={id:U.PERSISTED_ENTITY,version:1,description:"An entity that is permanently stored in the database and can be accessed at any point.",name:U.PERSISTED_ENTITY,type:a.BuiltInBaseEntity,abstract:!0,static:!1,interactive:!0,abstractMethods:[],properties:[ua,pa],methods:[dd],extends:[]},Ub={type:a.GenericReference,entityId:"persisted-built-in-base-entity-ref-id",entityType:a.BuiltInBaseEntity,id:Gt.SoftDeletePersistedEntity},YP={type:a.FunctionDeclaration,id:Gt.SoftDeletePersistedEntity,name:Gt.SoftDeletePersistedEntity,description:"Designates the entity as deleted, but does not remove it from the database.",version:1,parent:Ub,inputs:[],calls:[],implements:null,collapsed:!1,returnStatements:[],index:0,private:!1,x:0,y:0},xb={id:"cron-job-triggered-function-declaration-blueprint-parent-ref-id",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:U.HTTP_ENDPOINT},cd={id:"cron-job-triggered-function-declaration-blueprint-id",name:"Cron job triggered",version:1,type:a.ActionDescriptor,description:"Executed when the cron job is triggered",inputs:[],error:null,outputs:[],parent:xb},jb=N[a.BuiltInBaseEntity].BUILT_IN_CRON_JOB_ENTITY,HP={id:"cron-job-built-in-base-entity-expression-property-data-type-ref",type:a.GenericReference,entityId:"cron-job-built-in-base-entity-expression-property-data-type",entityType:a.DataType},kb={id:"cron-job-built-in-base-entity-expression-property-ref",type:a.GenericReference,entityId:jb.properties.expression.id,entityType:a.Property},zP={like:!1,inferred:!1,id:"cron-job-built-in-base-entity-expression-property-data-type",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:kb},qb={id:"cron-job-built-in-base-entity-ref",type:a.GenericReference,entityId:U.CRON_JOB,entityType:a.BuiltInBaseEntity},Jb={hidden:!1,required:!0,id:jb.properties.expression.id,name:"Cron expression",version:1,type:a.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:zP,description:"The cron-job expression that defines when the cron-job job should be triggered. The expression should be in the format of a cron-job expression.",parent:qb},Os={id:U.CRON_JOB,version:1,description:"This entity represents a scheduled trigger. The action on this entity will be executed one the time set by the cron-job expression is reached.",name:U.CRON_JOB,type:a.BuiltInBaseEntity,abstract:!0,static:!0,interactive:!1,properties:[Jb],methods:[],abstractMethods:[cd],extends:[]},Wb={type:a.GenericReference,id:"execution-built-in-entity-abort-method-parent-ref-id",entityType:a.BuiltInBaseEntity,entityId:"execution-built-in-entity-id"},ud={id:"execution-built-in-entity-abort-method-id",type:a.FunctionDeclaration,version:1,name:Gt.AbortExecution,description:"Aborts the execution of the entity",inputs:[],returnStatements:[],calls:[],implements:null,private:!1,collapsed:!1,index:null,x:0,y:0,parent:Wb},Ps={id:U.EXECUTION,type:a.BuiltInBaseEntity,version:1,name:U.EXECUTION,description:"A reference to an ongoing execution of any entity that can be called. Eg: Operations, custom trigger calls, etc.",static:!1,abstract:!1,interactive:!0,extends:[],properties:[],methods:[ud],abstractMethods:[]},Yb=[ri,un,st,Os,Ps],ZP=N[a.Condition]["not-empty"],Hb={type:a.GenericReference,id:"not-empty-condition-ref",entityType:a.ActionDescriptor,entityId:Jt.NotEmpty},zb={id:ZP.inputs.leftHand.id,type:a.ValueDescriptor,version:1,name:"Value",description:"The value to check if it is not empty",defaultValue:null,dataType:null,required:!0,parentRelationType:A.FixedArguments,index:0,parent:Hb},Rr={type:a.ActionDescriptor,id:Jt.NotEmpty,version:1,name:Jt.NotEmpty,description:"Checks if the value is not empty",parent:null,inputs:[zb],outputs:[],error:null},Zb={[Jt.NotEmpty]:Rr},ya=N[a.Condition]["more-than-or-equal"],Kb={type:a.GenericReference,id:"more-than-or-equal-condition-left-hand-argument-data-type-parent-ref",entityType:a.ValueDescriptor,entityId:ya.inputs.leftHand.id},Xb={type:a.DataType,id:ya.inputs.leftHand.dataType.id,version:1,entity:ee,like:!1,isList:!1,inferred:!1,andChildrenGroup:null,orChildrenGroup:null,isNullable:!1,constant:!1,asType:!1,parent:Kb},Qb={type:a.GenericReference,id:"more-than-or-equal-condition-left-hand-argument-parent-ref",entityType:a.ActionDescriptor,entityId:qe.MoreThanOrEqual},eR={id:ya.inputs.leftHand.id,type:a.ValueDescriptor,version:1,name:"First value",description:"The first value to compare",defaultValue:null,dataType:Xb,required:!0,parentRelationType:A.FixedArguments,index:0,parent:Qb},tR={type:a.GenericReference,id:"more-than-or-equal-condition-right-hand-argument-data-type-parent-ref",entityType:a.ValueDescriptor,entityId:ya.inputs.rightHand.id},nR={type:a.DataType,id:ya.inputs.rightHand.dataType.id,version:1,entity:ee,like:!1,isList:!1,inferred:!1,andChildrenGroup:null,orChildrenGroup:null,isNullable:!1,constant:!1,asType:!1,parent:tR},rR={type:a.GenericReference,id:"more-than-or-equal-condition-right-hand-argument-parent-ref",entityType:a.ActionDescriptor,entityId:qe.MoreThanOrEqual},aR={id:ya.inputs.rightHand.id,type:a.ValueDescriptor,version:1,name:"Second value",description:"The second value to compare",defaultValue:null,dataType:nR,required:!0,parentRelationType:A.FixedArguments,index:1,parent:rR},ha={type:a.ActionDescriptor,id:qe.MoreThanOrEqual,version:1,name:qe.MoreThanOrEqual,description:"Checks if the value is not empty",parent:null,inputs:[eR,aR],outputs:[],error:null},iR={[qe.MoreThanOrEqual]:ha},sR={...Zb,...iR},oR=Object.values(sR),As={type:a.ActionDescriptor,id:Dn.PROJECT_PUBLICATION_COMPLETED,version:1,name:Dn.PROJECT_PUBLICATION_COMPLETED,description:"The event that is triggered when the project has completed its publication and all its code and resurces are now deployed and ready to be used by the users",parent:null,inputs:[],outputs:[],error:null},lR={[Dn.PROJECT_PUBLICATION_COMPLETED]:As},dR=Object.values(lR),pd=N[a.ValueDescriptor][os.ActionOngoingProcessOutputValue],cR={type:a.GenericReference,id:"182f767f-50e8-4394-ba5f-43e78c232733",entityType:a.ValueDescriptor,entityId:pd.id},uR={like:!1,inferred:!1,id:pd.dataType.id,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ps,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:cR},Cs={id:pd.id,type:a.ValueDescriptor,description:"A value that represents the ongoing process of the parent action",version:1,name:"Process",defaultValue:null,dataType:uR,required:!0,index:0,parent:null,parentRelationType:A.OngoingProcessExecution},pR=[Cs],yR=[...Ip,...Nm,...IE,...Yb,...oR,...dR,...pR];var le;(function(r){r.assertEqual=i=>i;function e(i){}r.assertIs=e;function t(i){throw new Error}r.assertNever=t,r.arrayToEnum=i=>{const s={};for(const o of i)s[o]=o;return s},r.getValidEnumValues=i=>{const s=r.objectKeys(i).filter(l=>typeof i[i[l]]!="number"),o={};for(const l of s)o[l]=i[l];return r.objectValues(o)},r.objectValues=i=>r.objectKeys(i).map(function(s){return i[s]}),r.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const s=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&s.push(o);return s},r.find=(i,s)=>{for(const o of i)if(s(o))return o},r.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function n(i,s=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(s)}r.joinValues=n,r.jsonStringifyReplacer=(i,s)=>typeof s=="bigint"?s.toString():s})(le||(le={}));var yd;(function(r){r.mergeShapes=(e,t)=>({...e,...t})})(yd||(yd={}));const x=le.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Hn=r=>{switch(typeof r){case"undefined":return x.undefined;case"string":return x.string;case"number":return isNaN(r)?x.nan:x.number;case"boolean":return x.boolean;case"function":return x.function;case"bigint":return x.bigint;case"symbol":return x.symbol;case"object":return Array.isArray(r)?x.array:r===null?x.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?x.promise:typeof Map<"u"&&r instanceof Map?x.map:typeof Set<"u"&&r instanceof Set?x.set:typeof Date<"u"&&r instanceof Date?x.date:x.object;default:return x.unknown}},V=le.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),KP=r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:");class wt extends Error{constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(s){return s.message},n={_errors:[]},i=s=>{for(const o of s.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)n._errors.push(t(o));else{let l=n,p=0;for(;p<o.path.length;){const u=o.path[p];p===o.path.length-1?(l[u]=l[u]||{_errors:[]},l[u]._errors.push(t(o))):l[u]=l[u]||{_errors:[]},l=l[u],p++}}};return i(this),n}static assert(e){if(!(e instanceof wt))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,le.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){const t={},n=[];for(const i of this.issues)i.path.length>0?(t[i.path[0]]=t[i.path[0]]||[],t[i.path[0]].push(e(i))):n.push(e(i));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}wt.create=r=>new wt(r);const fa=(r,e)=>{let t;switch(r.code){case V.invalid_type:r.received===x.undefined?t="Required":t=`Expected ${r.expected}, received ${r.received}`;break;case V.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(r.expected,le.jsonStringifyReplacer)}`;break;case V.unrecognized_keys:t=`Unrecognized key(s) in object: ${le.joinValues(r.keys,", ")}`;break;case V.invalid_union:t="Invalid input";break;case V.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${le.joinValues(r.options)}`;break;case V.invalid_enum_value:t=`Invalid enum value. Expected ${le.joinValues(r.options)}, received '${r.received}'`;break;case V.invalid_arguments:t="Invalid function arguments";break;case V.invalid_return_type:t="Invalid function return type";break;case V.invalid_date:t="Invalid date";break;case V.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(t=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?t=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?t=`Invalid input: must end with "${r.validation.endsWith}"`:le.assertNever(r.validation):r.validation!=="regex"?t=`Invalid ${r.validation}`:t="Invalid";break;case V.too_small:r.type==="array"?t=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?t=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?t=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?t=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:t="Invalid input";break;case V.too_big:r.type==="array"?t=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?t=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?t=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?t=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?t=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:t="Invalid input";break;case V.custom:t="Invalid input";break;case V.invalid_intersection_types:t="Intersection results could not be merged";break;case V.not_multiple_of:t=`Number must be a multiple of ${r.multipleOf}`;break;case V.not_finite:t="Number must be finite";break;default:t=e.defaultError,le.assertNever(r)}return{message:t}};let hR=fa;function XP(r){hR=r}function ws(){return hR}const Bs=r=>{const{data:e,path:t,errorMaps:n,issueData:i}=r,s=[...t,...i.path||[]],o={...i,path:s};if(i.message!==void 0)return{...i,path:s,message:i.message};let l="";const p=n.filter(u=>!!u).slice().reverse();for(const u of p)l=u(o,{data:e,defaultError:l}).message;return{...i,path:s,message:l}},QP=[];function F(r,e){const t=ws(),n=Bs({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,t,t===fa?void 0:fa].filter(i=>!!i)});r.common.issues.push(n)}class yt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const i of t){if(i.status==="aborted")return z;i.status==="dirty"&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const i of t){const s=await i.key,o=await i.value;n.push({key:s,value:o})}return yt.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const i of t){const{key:s,value:o}=i;if(s.status==="aborted"||o.status==="aborted")return z;s.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(n[s.value]=o.value)}return{status:e.value,value:n}}}const z=Object.freeze({status:"aborted"}),ma=r=>({status:"dirty",value:r}),Rt=r=>({status:"valid",value:r}),hd=r=>r.status==="aborted",fd=r=>r.status==="dirty",ai=r=>r.status==="valid",ii=r=>typeof Promise<"u"&&r instanceof Promise;function Ms(r,e,t,n){if(t==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?r!==e||!n:!e.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?n:t==="a"?n.call(r):n?n.value:e.get(r)}function fR(r,e,t,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?r!==e||!i:!e.has(r))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(r,t):i?i.value=t:e.set(r,t),t}typeof SuppressedError=="function"&&SuppressedError;var W;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(W||(W={}));var si,oi;class pn{constructor(e,t,n,i){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const mR=(r,e)=>{if(ai(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new wt(r.common.issues);return this._error=t,this._error}}};function ne(r){if(!r)return{};const{errorMap:e,invalid_type_error:t,required_error:n,description:i}=r;if(e&&(t||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(o,l)=>{var p,u;const{message:h}=r;return o.code==="invalid_enum_value"?{message:h??l.defaultError}:typeof l.data>"u"?{message:(p=h??n)!==null&&p!==void 0?p:l.defaultError}:o.code!=="invalid_type"?{message:l.defaultError}:{message:(u=h??t)!==null&&u!==void 0?u:l.defaultError}},description:i}}class ae{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Hn(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:Hn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new yt,ctx:{common:e.parent.common,data:e.data,parsedType:Hn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(ii(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;const i={common:{issues:[],async:(n=t==null?void 0:t.async)!==null&&n!==void 0?n:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Hn(e)},s=this._parseSync({data:e,path:i.path,parent:i});return mR(i,s)}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t==null?void 0:t.errorMap,async:!0},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Hn(e)},i=this._parse({data:e,path:n.path,parent:n}),s=await(ii(i)?i:Promise.resolve(i));return mR(n,s)}refine(e,t){const n=i=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(i):t;return this._refinement((i,s)=>{const o=e(i),l=()=>s.addIssue({code:V.custom,...n(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(p=>p?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(e,t){return this._refinement((n,i)=>e(n)?!0:(i.addIssue(typeof t=="function"?t(n,i):t),!1))}_refinement(e){return new nn({schema:this,typeName:Y.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return hn.create(this,this._def)}nullable(){return Xn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tn.create(this,this._def)}promise(){return Ra.create(this,this._def)}or(e){return ui.create([this,e],this._def)}and(e){return pi.create(this,e,this._def)}transform(e){return new nn({...ne(this._def),schema:this,typeName:Y.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new Ti({...ne(this._def),innerType:this,defaultValue:t,typeName:Y.ZodDefault})}brand(){return new Ed({typeName:Y.ZodBranded,type:this,...ne(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new Ei({...ne(this._def),innerType:this,catchValue:t,typeName:Y.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return bi.create(this,e)}readonly(){return Ri.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const eA=/^c[^\s-]{8,}$/i,tA=/^[0-9a-z]+$/,nA=/^[0-9A-HJKMNP-TV-Z]{26}$/,rA=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,aA=/^[a-z0-9_-]{21}$/i,iA=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,sA=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,oA="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let md;const lA=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,dA=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,cA=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,TR="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",uA=new RegExp(`^${TR}$`);function ER(r){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return r.precision?e=`${e}\\.\\d{${r.precision}}`:r.precision==null&&(e=`${e}(\\.\\d+)?`),e}function pA(r){return new RegExp(`^${ER(r)}$`)}function bR(r){let e=`${TR}T${ER(r)}`;const t=[];return t.push(r.local?"Z?":"Z"),r.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function yA(r,e){return!!((e==="v4"||!e)&&lA.test(r)||(e==="v6"||!e)&&dA.test(r))}class en extends ae{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==x.string){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_type,expected:x.string,received:s.parsedType}),z}const n=new yt;let i;for(const s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(i=this._getOrReturnCtx(e,i),F(i,{code:V.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="max")e.data.length>s.value&&(i=this._getOrReturnCtx(e,i),F(i,{code:V.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="length"){const o=e.data.length>s.value,l=e.data.length<s.value;(o||l)&&(i=this._getOrReturnCtx(e,i),o?F(i,{code:V.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):l&&F(i,{code:V.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),n.dirty())}else if(s.kind==="email")sA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"email",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="emoji")md||(md=new RegExp(oA,"u")),md.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"emoji",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="uuid")rA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"uuid",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="nanoid")aA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"nanoid",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid")eA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"cuid",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid2")tA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"cuid2",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="ulid")nA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"ulid",code:V.invalid_string,message:s.message}),n.dirty());else if(s.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),F(i,{validation:"url",code:V.invalid_string,message:s.message}),n.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"regex",code:V.invalid_string,message:s.message}),n.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),n.dirty()):s.kind==="toLowerCase"?e.data=e.data.toLowerCase():s.kind==="toUpperCase"?e.data=e.data.toUpperCase():s.kind==="startsWith"?e.data.startsWith(s.value)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:{startsWith:s.value},message:s.message}),n.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:{endsWith:s.value},message:s.message}),n.dirty()):s.kind==="datetime"?bR(s).test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:"datetime",message:s.message}),n.dirty()):s.kind==="date"?uA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:"date",message:s.message}),n.dirty()):s.kind==="time"?pA(s).test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{code:V.invalid_string,validation:"time",message:s.message}),n.dirty()):s.kind==="duration"?iA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"duration",code:V.invalid_string,message:s.message}),n.dirty()):s.kind==="ip"?yA(e.data,s.version)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"ip",code:V.invalid_string,message:s.message}),n.dirty()):s.kind==="base64"?cA.test(e.data)||(i=this._getOrReturnCtx(e,i),F(i,{validation:"base64",code:V.invalid_string,message:s.message}),n.dirty()):le.assertNever(s);return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement(i=>e.test(i),{validation:t,code:V.invalid_string,...W.errToObj(n)})}_addCheck(e){return new en({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...W.errToObj(e)})}url(e){return this._addCheck({kind:"url",...W.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...W.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...W.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...W.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...W.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...W.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...W.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...W.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...W.errToObj(e)})}datetime(e){var t,n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(t=e==null?void 0:e.offset)!==null&&t!==void 0?t:!1,local:(n=e==null?void 0:e.local)!==null&&n!==void 0?n:!1,...W.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...W.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...W.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...W.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...W.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...W.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...W.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...W.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...W.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...W.errToObj(t)})}nonempty(e){return this.min(1,W.errToObj(e))}trim(){return new en({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new en({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new en({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get minLength(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}en.create=r=>{var e;return new en({checks:[],typeName:Y.ZodString,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...ne(r)})};function hA(r,e){const t=(r.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=t>n?t:n,s=parseInt(r.toFixed(i).replace(".","")),o=parseInt(e.toFixed(i).replace(".",""));return s%o/Math.pow(10,i)}class zn extends ae{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==x.number){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_type,expected:x.number,received:s.parsedType}),z}let n;const i=new yt;for(const s of this._def.checks)s.kind==="int"?le.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),F(n,{code:V.invalid_type,expected:"integer",received:"float",message:s.message}),i.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="multipleOf"?hA(e.data,s.value)!==0&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),F(n,{code:V.not_finite,message:s.message}),i.dirty()):le.assertNever(s);return{status:i.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,W.toString(t))}gt(e,t){return this.setLimit("min",e,!1,W.toString(t))}lte(e,t){return this.setLimit("max",e,!0,W.toString(t))}lt(e,t){return this.setLimit("max",e,!1,W.toString(t))}setLimit(e,t,n,i){return new zn({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:W.toString(i)}]})}_addCheck(e){return new zn({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:W.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:W.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:W.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:W.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:W.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:W.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:W.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:W.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:W.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&le.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}zn.create=r=>new zn({checks:[],typeName:Y.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...ne(r)});class Zn extends ae{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==x.bigint){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_type,expected:x.bigint,received:s.parsedType}),z}let n;const i=new yt;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),F(n,{code:V.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):le.assertNever(s);return{status:i.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,W.toString(t))}gt(e,t){return this.setLimit("min",e,!1,W.toString(t))}lte(e,t){return this.setLimit("max",e,!0,W.toString(t))}lt(e,t){return this.setLimit("max",e,!1,W.toString(t))}setLimit(e,t,n,i){return new Zn({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:W.toString(i)}]})}_addCheck(e){return new Zn({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:W.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:W.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:W.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:W.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:W.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}Zn.create=r=>{var e;return new Zn({checks:[],typeName:Y.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...ne(r)})};class li extends ae{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==x.boolean){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.boolean,received:n.parsedType}),z}return Rt(e.data)}}li.create=r=>new li({typeName:Y.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...ne(r)});class gr extends ae{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==x.date){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_type,expected:x.date,received:s.parsedType}),z}if(isNaN(e.data.getTime())){const s=this._getOrReturnCtx(e);return F(s,{code:V.invalid_date}),z}const n=new yt;let i;for(const s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(i=this._getOrReturnCtx(e,i),F(i,{code:V.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),n.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(i=this._getOrReturnCtx(e,i),F(i,{code:V.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),n.dirty()):le.assertNever(s);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new gr({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:W.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:W.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e!=null?new Date(e):null}}gr.create=r=>new gr({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:Y.ZodDate,...ne(r)});class Ns extends ae{_parse(e){if(this._getType(e)!==x.symbol){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.symbol,received:n.parsedType}),z}return Rt(e.data)}}Ns.create=r=>new Ns({typeName:Y.ZodSymbol,...ne(r)});class di extends ae{_parse(e){if(this._getType(e)!==x.undefined){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.undefined,received:n.parsedType}),z}return Rt(e.data)}}di.create=r=>new di({typeName:Y.ZodUndefined,...ne(r)});class ci extends ae{_parse(e){if(this._getType(e)!==x.null){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.null,received:n.parsedType}),z}return Rt(e.data)}}ci.create=r=>new ci({typeName:Y.ZodNull,...ne(r)});class Ta extends ae{constructor(){super(...arguments),this._any=!0}_parse(e){return Rt(e.data)}}Ta.create=r=>new Ta({typeName:Y.ZodAny,...ne(r)});class vr extends ae{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Rt(e.data)}}vr.create=r=>new vr({typeName:Y.ZodUnknown,...ne(r)});class Bn extends ae{_parse(e){const t=this._getOrReturnCtx(e);return F(t,{code:V.invalid_type,expected:x.never,received:t.parsedType}),z}}Bn.create=r=>new Bn({typeName:Y.ZodNever,...ne(r)});class _s extends ae{_parse(e){if(this._getType(e)!==x.undefined){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.void,received:n.parsedType}),z}return Rt(e.data)}}_s.create=r=>new _s({typeName:Y.ZodVoid,...ne(r)});class tn extends ae{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),i=this._def;if(t.parsedType!==x.array)return F(t,{code:V.invalid_type,expected:x.array,received:t.parsedType}),z;if(i.exactLength!==null){const o=t.data.length>i.exactLength.value,l=t.data.length<i.exactLength.value;(o||l)&&(F(t,{code:o?V.too_big:V.too_small,minimum:l?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&t.data.length<i.minLength.value&&(F(t,{code:V.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&t.data.length>i.maxLength.value&&(F(t,{code:V.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((o,l)=>i.type._parseAsync(new pn(t,o,t.path,l)))).then(o=>yt.mergeArray(n,o));const s=[...t.data].map((o,l)=>i.type._parseSync(new pn(t,o,t.path,l)));return yt.mergeArray(n,s)}get element(){return this._def.type}min(e,t){return new tn({...this._def,minLength:{value:e,message:W.toString(t)}})}max(e,t){return new tn({...this._def,maxLength:{value:e,message:W.toString(t)}})}length(e,t){return new tn({...this._def,exactLength:{value:e,message:W.toString(t)}})}nonempty(e){return this.min(1,e)}}tn.create=(r,e)=>new tn({type:r,minLength:null,maxLength:null,exactLength:null,typeName:Y.ZodArray,...ne(e)});function Ea(r){if(r instanceof Ke){const e={};for(const t in r.shape){const n=r.shape[t];e[t]=hn.create(Ea(n))}return new Ke({...r._def,shape:()=>e})}else return r instanceof tn?new tn({...r._def,type:Ea(r.element)}):r instanceof hn?hn.create(Ea(r.unwrap())):r instanceof Xn?Xn.create(Ea(r.unwrap())):r instanceof yn?yn.create(r.items.map(e=>Ea(e))):r}class Ke extends ae{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),t=le.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==x.object){const u=this._getOrReturnCtx(e);return F(u,{code:V.invalid_type,expected:x.object,received:u.parsedType}),z}const{status:n,ctx:i}=this._processInputParams(e),{shape:s,keys:o}=this._getCached(),l=[];if(!(this._def.catchall instanceof Bn&&this._def.unknownKeys==="strip"))for(const u in i.data)o.includes(u)||l.push(u);const p=[];for(const u of o){const h=s[u],f=i.data[u];p.push({key:{status:"valid",value:u},value:h._parse(new pn(i,f,i.path,u)),alwaysSet:u in i.data})}if(this._def.catchall instanceof Bn){const u=this._def.unknownKeys;if(u==="passthrough")for(const h of l)p.push({key:{status:"valid",value:h},value:{status:"valid",value:i.data[h]}});else if(u==="strict")l.length>0&&(F(i,{code:V.unrecognized_keys,keys:l}),n.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const h of l){const f=i.data[h];p.push({key:{status:"valid",value:h},value:u._parse(new pn(i,f,i.path,h)),alwaysSet:h in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const u=[];for(const h of p){const f=await h.key,b=await h.value;u.push({key:f,value:b,alwaysSet:h.alwaysSet})}return u}).then(u=>yt.mergeObjectSync(n,u)):yt.mergeObjectSync(n,p)}get shape(){return this._def.shape()}strict(e){return W.errToObj,new Ke({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,n)=>{var i,s,o,l;const p=(o=(s=(i=this._def).errorMap)===null||s===void 0?void 0:s.call(i,t,n).message)!==null&&o!==void 0?o:n.defaultError;return t.code==="unrecognized_keys"?{message:(l=W.errToObj(e).message)!==null&&l!==void 0?l:p}:{message:p}}}:{}})}strip(){return new Ke({...this._def,unknownKeys:"strip"})}passthrough(){return new Ke({...this._def,unknownKeys:"passthrough"})}extend(e){return new Ke({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Ke({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Y.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Ke({...this._def,catchall:e})}pick(e){const t={};return le.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new Ke({...this._def,shape:()=>t})}omit(e){const t={};return le.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new Ke({...this._def,shape:()=>t})}deepPartial(){return Ea(this)}partial(e){const t={};return le.objectKeys(this.shape).forEach(n=>{const i=this.shape[n];e&&!e[n]?t[n]=i:t[n]=i.optional()}),new Ke({...this._def,shape:()=>t})}required(e){const t={};return le.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let s=this.shape[n];for(;s instanceof hn;)s=s._def.innerType;t[n]=s}}),new Ke({...this._def,shape:()=>t})}keyof(){return RR(le.objectKeys(this.shape))}}Ke.create=(r,e)=>new Ke({shape:()=>r,unknownKeys:"strip",catchall:Bn.create(),typeName:Y.ZodObject,...ne(e)}),Ke.strictCreate=(r,e)=>new Ke({shape:()=>r,unknownKeys:"strict",catchall:Bn.create(),typeName:Y.ZodObject,...ne(e)}),Ke.lazycreate=(r,e)=>new Ke({shape:r,unknownKeys:"strip",catchall:Bn.create(),typeName:Y.ZodObject,...ne(e)});class ui extends ae{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;function i(s){for(const l of s)if(l.result.status==="valid")return l.result;for(const l of s)if(l.result.status==="dirty")return t.common.issues.push(...l.ctx.common.issues),l.result;const o=s.map(l=>new wt(l.ctx.common.issues));return F(t,{code:V.invalid_union,unionErrors:o}),z}if(t.common.async)return Promise.all(n.map(async s=>{const o={...t,common:{...t.common,issues:[]},parent:null};return{result:await s._parseAsync({data:t.data,path:t.path,parent:o}),ctx:o}})).then(i);{let s;const o=[];for(const p of n){const u={...t,common:{...t.common,issues:[]},parent:null},h=p._parseSync({data:t.data,path:t.path,parent:u});if(h.status==="valid")return h;h.status==="dirty"&&!s&&(s={result:h,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(s)return t.common.issues.push(...s.ctx.common.issues),s.result;const l=o.map(p=>new wt(p));return F(t,{code:V.invalid_union,unionErrors:l}),z}}get options(){return this._def.options}}ui.create=(r,e)=>new ui({options:r,typeName:Y.ZodUnion,...ne(e)});const Mn=r=>r instanceof hi?Mn(r.schema):r instanceof nn?Mn(r.innerType()):r instanceof fi?[r.value]:r instanceof Kn?r.options:r instanceof mi?le.objectValues(r.enum):r instanceof Ti?Mn(r._def.innerType):r instanceof di?[void 0]:r instanceof ci?[null]:r instanceof hn?[void 0,...Mn(r.unwrap())]:r instanceof Xn?[null,...Mn(r.unwrap())]:r instanceof Ed||r instanceof Ri?Mn(r.unwrap()):r instanceof Ei?Mn(r._def.innerType):[];class Vs extends ae{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==x.object)return F(t,{code:V.invalid_type,expected:x.object,received:t.parsedType}),z;const n=this.discriminator,i=t.data[n],s=this.optionsMap.get(i);return s?t.common.async?s._parseAsync({data:t.data,path:t.path,parent:t}):s._parseSync({data:t.data,path:t.path,parent:t}):(F(t,{code:V.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),z)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const i=new Map;for(const s of t){const o=Mn(s.shape[e]);if(!o.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const l of o){if(i.has(l))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(l)}`);i.set(l,s)}}return new Vs({typeName:Y.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i,...ne(n)})}}function Td(r,e){const t=Hn(r),n=Hn(e);if(r===e)return{valid:!0,data:r};if(t===x.object&&n===x.object){const i=le.objectKeys(e),s=le.objectKeys(r).filter(l=>i.indexOf(l)!==-1),o={...r,...e};for(const l of s){const p=Td(r[l],e[l]);if(!p.valid)return{valid:!1};o[l]=p.data}return{valid:!0,data:o}}else if(t===x.array&&n===x.array){if(r.length!==e.length)return{valid:!1};const i=[];for(let s=0;s<r.length;s++){const o=r[s],l=e[s],p=Td(o,l);if(!p.valid)return{valid:!1};i.push(p.data)}return{valid:!0,data:i}}else return t===x.date&&n===x.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class pi extends ae{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),i=(s,o)=>{if(hd(s)||hd(o))return z;const l=Td(s.value,o.value);return l.valid?((fd(s)||fd(o))&&t.dirty(),{status:t.value,value:l.data}):(F(n,{code:V.invalid_intersection_types}),z)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([s,o])=>i(s,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}pi.create=(r,e,t)=>new pi({left:r,right:e,typeName:Y.ZodIntersection,...ne(t)});class yn extends ae{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==x.array)return F(n,{code:V.invalid_type,expected:x.array,received:n.parsedType}),z;if(n.data.length<this._def.items.length)return F(n,{code:V.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),z;!this._def.rest&&n.data.length>this._def.items.length&&(F(n,{code:V.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const s=[...n.data].map((o,l)=>{const p=this._def.items[l]||this._def.rest;return p?p._parse(new pn(n,o,n.path,l)):null}).filter(o=>!!o);return n.common.async?Promise.all(s).then(o=>yt.mergeArray(t,o)):yt.mergeArray(t,s)}get items(){return this._def.items}rest(e){return new yn({...this._def,rest:e})}}yn.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new yn({items:r,typeName:Y.ZodTuple,rest:null,...ne(e)})};class yi extends ae{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==x.object)return F(n,{code:V.invalid_type,expected:x.object,received:n.parsedType}),z;const i=[],s=this._def.keyType,o=this._def.valueType;for(const l in n.data)i.push({key:s._parse(new pn(n,l,n.path,l)),value:o._parse(new pn(n,n.data[l],n.path,l)),alwaysSet:l in n.data});return n.common.async?yt.mergeObjectAsync(t,i):yt.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,n){return t instanceof ae?new yi({keyType:e,valueType:t,typeName:Y.ZodRecord,...ne(n)}):new yi({keyType:en.create(),valueType:e,typeName:Y.ZodRecord,...ne(t)})}}class Ls extends ae{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==x.map)return F(n,{code:V.invalid_type,expected:x.map,received:n.parsedType}),z;const i=this._def.keyType,s=this._def.valueType,o=[...n.data.entries()].map(([l,p],u)=>({key:i._parse(new pn(n,l,n.path,[u,"key"])),value:s._parse(new pn(n,p,n.path,[u,"value"]))}));if(n.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const p of o){const u=await p.key,h=await p.value;if(u.status==="aborted"||h.status==="aborted")return z;(u.status==="dirty"||h.status==="dirty")&&t.dirty(),l.set(u.value,h.value)}return{status:t.value,value:l}})}else{const l=new Map;for(const p of o){const u=p.key,h=p.value;if(u.status==="aborted"||h.status==="aborted")return z;(u.status==="dirty"||h.status==="dirty")&&t.dirty(),l.set(u.value,h.value)}return{status:t.value,value:l}}}}Ls.create=(r,e,t)=>new Ls({valueType:e,keyType:r,typeName:Y.ZodMap,...ne(t)});class Ir extends ae{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==x.set)return F(n,{code:V.invalid_type,expected:x.set,received:n.parsedType}),z;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(F(n,{code:V.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),t.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(F(n,{code:V.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());const s=this._def.valueType;function o(p){const u=new Set;for(const h of p){if(h.status==="aborted")return z;h.status==="dirty"&&t.dirty(),u.add(h.value)}return{status:t.value,value:u}}const l=[...n.data.values()].map((p,u)=>s._parse(new pn(n,p,n.path,u)));return n.common.async?Promise.all(l).then(p=>o(p)):o(l)}min(e,t){return new Ir({...this._def,minSize:{value:e,message:W.toString(t)}})}max(e,t){return new Ir({...this._def,maxSize:{value:e,message:W.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}Ir.create=(r,e)=>new Ir({valueType:r,minSize:null,maxSize:null,typeName:Y.ZodSet,...ne(e)});class ba extends ae{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==x.function)return F(t,{code:V.invalid_type,expected:x.function,received:t.parsedType}),z;function n(l,p){return Bs({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,ws(),fa].filter(u=>!!u),issueData:{code:V.invalid_arguments,argumentsError:p}})}function i(l,p){return Bs({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,ws(),fa].filter(u=>!!u),issueData:{code:V.invalid_return_type,returnTypeError:p}})}const s={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof Ra){const l=this;return Rt(async function(...p){const u=new wt([]),h=await l._def.args.parseAsync(p,s).catch(v=>{throw u.addIssue(n(p,v)),u}),f=await Reflect.apply(o,this,h);return await l._def.returns._def.type.parseAsync(f,s).catch(v=>{throw u.addIssue(i(f,v)),u})})}else{const l=this;return Rt(function(...p){const u=l._def.args.safeParse(p,s);if(!u.success)throw new wt([n(p,u.error)]);const h=Reflect.apply(o,this,u.data),f=l._def.returns.safeParse(h,s);if(!f.success)throw new wt([i(h,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ba({...this._def,args:yn.create(e).rest(vr.create())})}returns(e){return new ba({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new ba({args:e||yn.create([]).rest(vr.create()),returns:t||vr.create(),typeName:Y.ZodFunction,...ne(n)})}}class hi extends ae{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}hi.create=(r,e)=>new hi({getter:r,typeName:Y.ZodLazy,...ne(e)});class fi extends ae{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return F(t,{received:t.data,code:V.invalid_literal,expected:this._def.value}),z}return{status:"valid",value:e.data}}get value(){return this._def.value}}fi.create=(r,e)=>new fi({value:r,typeName:Y.ZodLiteral,...ne(e)});function RR(r,e){return new Kn({values:r,typeName:Y.ZodEnum,...ne(e)})}class Kn extends ae{constructor(){super(...arguments),si.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),n=this._def.values;return F(t,{expected:le.joinValues(n),received:t.parsedType,code:V.invalid_type}),z}if(Ms(this,si,"f")||fR(this,si,new Set(this._def.values),"f"),!Ms(this,si,"f").has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return F(t,{received:t.data,code:V.invalid_enum_value,options:n}),z}return Rt(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Kn.create(e,{...this._def,...t})}exclude(e,t=this._def){return Kn.create(this.options.filter(n=>!e.includes(n)),{...this._def,...t})}}si=new WeakMap,Kn.create=RR;class mi extends ae{constructor(){super(...arguments),oi.set(this,void 0)}_parse(e){const t=le.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==x.string&&n.parsedType!==x.number){const i=le.objectValues(t);return F(n,{expected:le.joinValues(i),received:n.parsedType,code:V.invalid_type}),z}if(Ms(this,oi,"f")||fR(this,oi,new Set(le.getValidEnumValues(this._def.values)),"f"),!Ms(this,oi,"f").has(e.data)){const i=le.objectValues(t);return F(n,{received:n.data,code:V.invalid_enum_value,options:i}),z}return Rt(e.data)}get enum(){return this._def.values}}oi=new WeakMap,mi.create=(r,e)=>new mi({values:r,typeName:Y.ZodNativeEnum,...ne(e)});class Ra extends ae{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==x.promise&&t.common.async===!1)return F(t,{code:V.invalid_type,expected:x.promise,received:t.parsedType}),z;const n=t.parsedType===x.promise?t.data:Promise.resolve(t.data);return Rt(n.then(i=>this._def.type.parseAsync(i,{path:t.path,errorMap:t.common.contextualErrorMap})))}}Ra.create=(r,e)=>new Ra({type:r,typeName:Y.ZodPromise,...ne(e)});class nn extends ae{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Y.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),i=this._def.effect||null,s={addIssue:o=>{F(n,o),o.fatal?t.abort():t.dirty()},get path(){return n.path}};if(s.addIssue=s.addIssue.bind(s),i.type==="preprocess"){const o=i.transform(n.data,s);if(n.common.async)return Promise.resolve(o).then(async l=>{if(t.value==="aborted")return z;const p=await this._def.schema._parseAsync({data:l,path:n.path,parent:n});return p.status==="aborted"?z:p.status==="dirty"||t.value==="dirty"?ma(p.value):p});{if(t.value==="aborted")return z;const l=this._def.schema._parseSync({data:o,path:n.path,parent:n});return l.status==="aborted"?z:l.status==="dirty"||t.value==="dirty"?ma(l.value):l}}if(i.type==="refinement"){const o=l=>{const p=i.refinement(l,s);if(n.common.async)return Promise.resolve(p);if(p instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(n.common.async===!1){const l=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return l.status==="aborted"?z:(l.status==="dirty"&&t.dirty(),o(l.value),{status:t.value,value:l.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(l=>l.status==="aborted"?z:(l.status==="dirty"&&t.dirty(),o(l.value).then(()=>({status:t.value,value:l.value}))))}if(i.type==="transform")if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!ai(o))return o;const l=i.transform(o.value,s);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:l}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>ai(o)?Promise.resolve(i.transform(o.value,s)).then(l=>({status:t.value,value:l})):o);le.assertNever(i)}}nn.create=(r,e,t)=>new nn({schema:r,typeName:Y.ZodEffects,effect:e,...ne(t)}),nn.createWithPreprocess=(r,e,t)=>new nn({schema:e,effect:{type:"preprocess",transform:r},typeName:Y.ZodEffects,...ne(t)});class hn extends ae{_parse(e){return this._getType(e)===x.undefined?Rt(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}hn.create=(r,e)=>new hn({innerType:r,typeName:Y.ZodOptional,...ne(e)});class Xn extends ae{_parse(e){return this._getType(e)===x.null?Rt(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Xn.create=(r,e)=>new Xn({innerType:r,typeName:Y.ZodNullable,...ne(e)});class Ti extends ae{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===x.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Ti.create=(r,e)=>new Ti({innerType:r,typeName:Y.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ne(e)});class Ei extends ae{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return ii(i)?i.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new wt(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new wt(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Ei.create=(r,e)=>new Ei({innerType:r,typeName:Y.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ne(e)});class Gs extends ae{_parse(e){if(this._getType(e)!==x.nan){const n=this._getOrReturnCtx(e);return F(n,{code:V.invalid_type,expected:x.nan,received:n.parsedType}),z}return{status:"valid",value:e.data}}}Gs.create=r=>new Gs({typeName:Y.ZodNaN,...ne(r)});const fA=Symbol("zod_brand");class Ed extends ae{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class bi extends ae{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?z:s.status==="dirty"?(t.dirty(),ma(s.value)):this._def.out._parseAsync({data:s.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?z:i.status==="dirty"?(t.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(e,t){return new bi({in:e,out:t,typeName:Y.ZodPipeline})}}class Ri extends ae{_parse(e){const t=this._def.innerType._parse(e),n=i=>(ai(i)&&(i.value=Object.freeze(i.value)),i);return ii(t)?t.then(i=>n(i)):n(t)}unwrap(){return this._def.innerType}}Ri.create=(r,e)=>new Ri({innerType:r,typeName:Y.ZodReadonly,...ne(e)});function gR(r,e={},t){return r?Ta.create().superRefine((n,i)=>{var s,o;if(!r(n)){const l=typeof e=="function"?e(n):typeof e=="string"?{message:e}:e,p=(o=(s=l.fatal)!==null&&s!==void 0?s:t)!==null&&o!==void 0?o:!0,u=typeof l=="string"?{message:l}:l;i.addIssue({code:"custom",...u,fatal:p})}}):Ta.create()}const mA={object:Ke.lazycreate};var Y;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(Y||(Y={}));const TA=(r,e={message:`Input not instance of ${r.name}`})=>gR(t=>t instanceof r,e),$s=en.create,bd=zn.create,EA=Gs.create,bA=Zn.create,Rd=li.create,vR=gr.create,RA=Ns.create,gA=di.create,IR=ci.create,vA=Ta.create,Fs=vr.create,IA=Bn.create,DA=_s.create,SA=tn.create,DR=Ke.create,OA=Ke.strictCreate,PA=ui.create,AA=Vs.create,CA=pi.create,wA=yn.create,SR=yi.create,BA=Ls.create,MA=Ir.create,NA=ba.create,_A=hi.create,VA=fi.create,OR=Kn.create,LA=mi.create,GA=Ra.create,PR=nn.create,$A=hn.create,FA=Xn.create,UA=nn.createWithPreprocess,xA=bi.create;var y=Object.freeze({__proto__:null,defaultErrorMap:fa,setErrorMap:XP,getErrorMap:ws,makeIssue:Bs,EMPTY_PATH:QP,addIssueToContext:F,ParseStatus:yt,INVALID:z,DIRTY:ma,OK:Rt,isAborted:hd,isDirty:fd,isValid:ai,isAsync:ii,get util(){return le},get objectUtil(){return yd},ZodParsedType:x,getParsedType:Hn,ZodType:ae,datetimeRegex:bR,ZodString:en,ZodNumber:zn,ZodBigInt:Zn,ZodBoolean:li,ZodDate:gr,ZodSymbol:Ns,ZodUndefined:di,ZodNull:ci,ZodAny:Ta,ZodUnknown:vr,ZodNever:Bn,ZodVoid:_s,ZodArray:tn,ZodObject:Ke,ZodUnion:ui,ZodDiscriminatedUnion:Vs,ZodIntersection:pi,ZodTuple:yn,ZodRecord:yi,ZodMap:Ls,ZodSet:Ir,ZodFunction:ba,ZodLazy:hi,ZodLiteral:fi,ZodEnum:Kn,ZodNativeEnum:mi,ZodPromise:Ra,ZodEffects:nn,ZodTransformer:nn,ZodOptional:hn,ZodNullable:Xn,ZodDefault:Ti,ZodCatch:Ei,ZodNaN:Gs,BRAND:fA,ZodBranded:Ed,ZodPipeline:bi,ZodReadonly:Ri,custom:gR,Schema:ae,ZodSchema:ae,late:mA,get ZodFirstPartyTypeKind(){return Y},coerce:{string:r=>en.create({...r,coerce:!0}),number:r=>zn.create({...r,coerce:!0}),boolean:r=>li.create({...r,coerce:!0}),bigint:r=>Zn.create({...r,coerce:!0}),date:r=>gr.create({...r,coerce:!0})},any:vA,array:SA,bigint:bA,boolean:Rd,date:vR,discriminatedUnion:AA,effect:PR,enum:OR,function:NA,instanceof:TA,intersection:CA,lazy:_A,literal:VA,map:BA,nan:EA,nativeEnum:LA,never:IA,null:IR,nullable:FA,number:bd,object:DR,oboolean:()=>Rd().optional(),onumber:()=>bd().optional(),optional:$A,ostring:()=>$s().optional(),pipeline:xA,preprocess:UA,promise:GA,record:SR,set:MA,strictObject:OA,string:$s,symbol:RA,transformer:PR,tuple:wA,undefined:gA,union:PA,unknown:Fs,void:DA,NEVER:z,ZodIssueCode:V,quotelessJson:KP,ZodError:wt});function AR(r){var i,s,o;if(!(r!=null&&r.dataType))return Fs();const e=r.dataType.isNullable||!1,t=r.dataType.isList||!1;let n=Fs();if(((i=r.dataType.entity)==null?void 0:i.type)===a.PrimitiveEntity)switch(r.dataType.entity.name){case C.String:n=$s();break;case C.KeyValue:n=SR(Fs());break;case C.Number:n=bd();break;case C.Boolean:n=Rd();break;case C.Date:n=vR();break;case C.Enum:{const l=r.dataType.options||[];if(l.length===0)throw new Error(`Enum property ${r.name} has no options`);n=OR(l);break}case C.Null:n=IR();break;case C.UUID:n=$s().uuid();break}else if(((s=r.dataType.entity)==null?void 0:s.type)===a.CustomEntity)n=CR(r.dataType.entity);else throw new Error(`Unsupported data type validation: ${(o=r.dataType.entity)==null?void 0:o.type}`);return e&&(n=n.nullable()),t&&(n=n.array()),n}function CR(r){const e=DR({});for(const t of r.properties){const n=AR(t);e.shape[t.name]=n}return e}function wR(r){const e=r.rangeStart;return new Date(e.getTime()+Math.random()*(Date.now()-e.getTime()))}function BR(r){const e=r.rangeEnd;return new Date(Math.random()*e.getTime())}function MR(r){const e=r.rangeStart,t=r.rangeEnd;return new Date(e.getTime()+Math.random()*(t.getTime()-e.getTime()))}function NR(r){return r.rangeStart&&r.rangeEnd?MR(r):r.rangeStart?wR(r):r.rangeEnd?BR(r):new Date}function jA(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var _R={},Us={},xs={};Object.defineProperty(xs,"__esModule",{value:!0}),xs.default=qA;let js;const kA=new Uint8Array(16);function qA(){if(!js&&(js=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!js))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return js(kA)}var Qn={},Dr={},ks={};Object.defineProperty(ks,"__esModule",{value:!0}),ks.default=void 0;var JA=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;ks.default=JA,Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.default=void 0;var WA=YA(ks);function YA(r){return r&&r.__esModule?r:{default:r}}function HA(r){return typeof r=="string"&&WA.default.test(r)}var zA=HA;Dr.default=zA,Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.default=void 0,Qn.unsafeStringify=VR;var ZA=KA(Dr);function KA(r){return r&&r.__esModule?r:{default:r}}const ut=[];for(let r=0;r<256;++r)ut.push((r+256).toString(16).slice(1));function VR(r,e=0){return ut[r[e+0]]+ut[r[e+1]]+ut[r[e+2]]+ut[r[e+3]]+"-"+ut[r[e+4]]+ut[r[e+5]]+"-"+ut[r[e+6]]+ut[r[e+7]]+"-"+ut[r[e+8]]+ut[r[e+9]]+"-"+ut[r[e+10]]+ut[r[e+11]]+ut[r[e+12]]+ut[r[e+13]]+ut[r[e+14]]+ut[r[e+15]]}function XA(r,e=0){const t=VR(r,e);if(!(0,ZA.default)(t))throw TypeError("Stringified UUID is invalid");return t}var QA=XA;Qn.default=QA,Object.defineProperty(Us,"__esModule",{value:!0}),Us.default=void 0;var eC=nC(xs),tC=Qn;function nC(r){return r&&r.__esModule?r:{default:r}}let LR,gd,vd=0,Id=0;function rC(r,e,t){let n=e&&t||0;const i=e||new Array(16);r=r||{};let s=r.node||LR,o=r.clockseq!==void 0?r.clockseq:gd;if(s==null||o==null){const b=r.random||(r.rng||eC.default)();s==null&&(s=LR=[b[0]|1,b[1],b[2],b[3],b[4],b[5]]),o==null&&(o=gd=(b[6]<<8|b[7])&16383)}let l=r.msecs!==void 0?r.msecs:Date.now(),p=r.nsecs!==void 0?r.nsecs:Id+1;const u=l-vd+(p-Id)/1e4;if(u<0&&r.clockseq===void 0&&(o=o+1&16383),(u<0||l>vd)&&r.nsecs===void 0&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");vd=l,Id=p,gd=o,l+=122192928e5;const h=((l&268435455)*1e4+p)%4294967296;i[n++]=h>>>24&255,i[n++]=h>>>16&255,i[n++]=h>>>8&255,i[n++]=h&255;const f=l/4294967296*1e4&268435455;i[n++]=f>>>8&255,i[n++]=f&255,i[n++]=f>>>24&15|16,i[n++]=f>>>16&255,i[n++]=o>>>8|128,i[n++]=o&255;for(let b=0;b<6;++b)i[n+b]=s[b];return e||(0,tC.unsafeStringify)(i)}var aC=rC;Us.default=aC;var qs={},er={},gi={};Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=void 0;var iC=sC(Dr);function sC(r){return r&&r.__esModule?r:{default:r}}function oC(r){if(!(0,iC.default)(r))throw TypeError("Invalid UUID");let e;const t=new Uint8Array(16);return t[0]=(e=parseInt(r.slice(0,8),16))>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t[4]=(e=parseInt(r.slice(9,13),16))>>>8,t[5]=e&255,t[6]=(e=parseInt(r.slice(14,18),16))>>>8,t[7]=e&255,t[8]=(e=parseInt(r.slice(19,23),16))>>>8,t[9]=e&255,t[10]=(e=parseInt(r.slice(24,36),16))/1099511627776&255,t[11]=e/4294967296&255,t[12]=e>>>24&255,t[13]=e>>>16&255,t[14]=e>>>8&255,t[15]=e&255,t}var lC=oC;gi.default=lC,Object.defineProperty(er,"__esModule",{value:!0}),er.URL=er.DNS=void 0,er.default=yC;var dC=Qn,cC=uC(gi);function uC(r){return r&&r.__esModule?r:{default:r}}function pC(r){r=unescape(encodeURIComponent(r));const e=[];for(let t=0;t<r.length;++t)e.push(r.charCodeAt(t));return e}const GR="6ba7b810-9dad-11d1-80b4-00c04fd430c8";er.DNS=GR;const $R="6ba7b811-9dad-11d1-80b4-00c04fd430c8";er.URL=$R;function yC(r,e,t){function n(i,s,o,l){var p;if(typeof i=="string"&&(i=pC(i)),typeof s=="string"&&(s=(0,cC.default)(s)),((p=s)===null||p===void 0?void 0:p.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+i.length);if(u.set(s),u.set(i,s.length),u=t(u),u[6]=u[6]&15|e,u[8]=u[8]&63|128,o){l=l||0;for(let h=0;h<16;++h)o[l+h]=u[h];return o}return(0,dC.unsafeStringify)(u)}try{n.name=r}catch{}return n.DNS=GR,n.URL=$R,n}var Js={};Object.defineProperty(Js,"__esModule",{value:!0}),Js.default=void 0;function hC(r){if(typeof r=="string"){const e=unescape(encodeURIComponent(r));r=new Uint8Array(e.length);for(let t=0;t<e.length;++t)r[t]=e.charCodeAt(t)}return fC(mC(TC(r),r.length*8))}function fC(r){const e=[],t=r.length*32,n="0123456789abcdef";for(let i=0;i<t;i+=8){const s=r[i>>5]>>>i%32&255,o=parseInt(n.charAt(s>>>4&15)+n.charAt(s&15),16);e.push(o)}return e}function FR(r){return(r+64>>>9<<4)+14+1}function mC(r,e){r[e>>5]|=128<<e%32,r[FR(e)-1]=e;let t=1732584193,n=-271733879,i=-1732584194,s=271733878;for(let o=0;o<r.length;o+=16){const l=t,p=n,u=i,h=s;t=ht(t,n,i,s,r[o],7,-680876936),s=ht(s,t,n,i,r[o+1],12,-389564586),i=ht(i,s,t,n,r[o+2],17,606105819),n=ht(n,i,s,t,r[o+3],22,-1044525330),t=ht(t,n,i,s,r[o+4],7,-176418897),s=ht(s,t,n,i,r[o+5],12,1200080426),i=ht(i,s,t,n,r[o+6],17,-1473231341),n=ht(n,i,s,t,r[o+7],22,-45705983),t=ht(t,n,i,s,r[o+8],7,1770035416),s=ht(s,t,n,i,r[o+9],12,-1958414417),i=ht(i,s,t,n,r[o+10],17,-42063),n=ht(n,i,s,t,r[o+11],22,-1990404162),t=ht(t,n,i,s,r[o+12],7,1804603682),s=ht(s,t,n,i,r[o+13],12,-40341101),i=ht(i,s,t,n,r[o+14],17,-1502002290),n=ht(n,i,s,t,r[o+15],22,1236535329),t=ft(t,n,i,s,r[o+1],5,-165796510),s=ft(s,t,n,i,r[o+6],9,-1069501632),i=ft(i,s,t,n,r[o+11],14,643717713),n=ft(n,i,s,t,r[o],20,-373897302),t=ft(t,n,i,s,r[o+5],5,-701558691),s=ft(s,t,n,i,r[o+10],9,38016083),i=ft(i,s,t,n,r[o+15],14,-660478335),n=ft(n,i,s,t,r[o+4],20,-405537848),t=ft(t,n,i,s,r[o+9],5,568446438),s=ft(s,t,n,i,r[o+14],9,-1019803690),i=ft(i,s,t,n,r[o+3],14,-187363961),n=ft(n,i,s,t,r[o+8],20,1163531501),t=ft(t,n,i,s,r[o+13],5,-1444681467),s=ft(s,t,n,i,r[o+2],9,-51403784),i=ft(i,s,t,n,r[o+7],14,1735328473),n=ft(n,i,s,t,r[o+12],20,-1926607734),t=mt(t,n,i,s,r[o+5],4,-378558),s=mt(s,t,n,i,r[o+8],11,-2022574463),i=mt(i,s,t,n,r[o+11],16,1839030562),n=mt(n,i,s,t,r[o+14],23,-35309556),t=mt(t,n,i,s,r[o+1],4,-1530992060),s=mt(s,t,n,i,r[o+4],11,1272893353),i=mt(i,s,t,n,r[o+7],16,-155497632),n=mt(n,i,s,t,r[o+10],23,-1094730640),t=mt(t,n,i,s,r[o+13],4,681279174),s=mt(s,t,n,i,r[o],11,-358537222),i=mt(i,s,t,n,r[o+3],16,-722521979),n=mt(n,i,s,t,r[o+6],23,76029189),t=mt(t,n,i,s,r[o+9],4,-640364487),s=mt(s,t,n,i,r[o+12],11,-421815835),i=mt(i,s,t,n,r[o+15],16,530742520),n=mt(n,i,s,t,r[o+2],23,-995338651),t=Tt(t,n,i,s,r[o],6,-198630844),s=Tt(s,t,n,i,r[o+7],10,1126891415),i=Tt(i,s,t,n,r[o+14],15,-1416354905),n=Tt(n,i,s,t,r[o+5],21,-57434055),t=Tt(t,n,i,s,r[o+12],6,1700485571),s=Tt(s,t,n,i,r[o+3],10,-1894986606),i=Tt(i,s,t,n,r[o+10],15,-1051523),n=Tt(n,i,s,t,r[o+1],21,-2054922799),t=Tt(t,n,i,s,r[o+8],6,1873313359),s=Tt(s,t,n,i,r[o+15],10,-30611744),i=Tt(i,s,t,n,r[o+6],15,-1560198380),n=Tt(n,i,s,t,r[o+13],21,1309151649),t=Tt(t,n,i,s,r[o+4],6,-145523070),s=Tt(s,t,n,i,r[o+11],10,-1120210379),i=Tt(i,s,t,n,r[o+2],15,718787259),n=Tt(n,i,s,t,r[o+9],21,-343485551),t=tr(t,l),n=tr(n,p),i=tr(i,u),s=tr(s,h)}return[t,n,i,s]}function TC(r){if(r.length===0)return[];const e=r.length*8,t=new Uint32Array(FR(e));for(let n=0;n<e;n+=8)t[n>>5]|=(r[n/8]&255)<<n%32;return t}function tr(r,e){const t=(r&65535)+(e&65535);return(r>>16)+(e>>16)+(t>>16)<<16|t&65535}function EC(r,e){return r<<e|r>>>32-e}function Ws(r,e,t,n,i,s){return tr(EC(tr(tr(e,r),tr(n,s)),i),t)}function ht(r,e,t,n,i,s,o){return Ws(e&t|~e&n,r,e,i,s,o)}function ft(r,e,t,n,i,s,o){return Ws(e&n|t&~n,r,e,i,s,o)}function mt(r,e,t,n,i,s,o){return Ws(e^t^n,r,e,i,s,o)}function Tt(r,e,t,n,i,s,o){return Ws(t^(e|~n),r,e,i,s,o)}var bC=hC;Js.default=bC,Object.defineProperty(qs,"__esModule",{value:!0}),qs.default=void 0;var RC=UR(er),gC=UR(Js);function UR(r){return r&&r.__esModule?r:{default:r}}var vC=(0,RC.default)("v3",48,gC.default);qs.default=vC;var Ys={},Hs={};Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.default=void 0;var IC={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};Hs.default=IC,Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.default=void 0;var xR=jR(Hs),DC=jR(xs),SC=Qn;function jR(r){return r&&r.__esModule?r:{default:r}}function OC(r,e,t){if(xR.default.randomUUID&&!e&&!r)return xR.default.randomUUID();r=r||{};const n=r.random||(r.rng||DC.default)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=n[i];return e}return(0,SC.unsafeStringify)(n)}var PC=OC;Ys.default=PC;var zs={},Zs={};Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.default=void 0;function AC(r,e,t,n){switch(r){case 0:return e&t^~e&n;case 1:return e^t^n;case 2:return e&t^e&n^t&n;case 3:return e^t^n}}function Dd(r,e){return r<<e|r>>>32-e}function CC(r){const e=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof r=="string"){const o=unescape(encodeURIComponent(r));r=[];for(let l=0;l<o.length;++l)r.push(o.charCodeAt(l))}else Array.isArray(r)||(r=Array.prototype.slice.call(r));r.push(128);const n=r.length/4+2,i=Math.ceil(n/16),s=new Array(i);for(let o=0;o<i;++o){const l=new Uint32Array(16);for(let p=0;p<16;++p)l[p]=r[o*64+p*4]<<24|r[o*64+p*4+1]<<16|r[o*64+p*4+2]<<8|r[o*64+p*4+3];s[o]=l}s[i-1][14]=(r.length-1)*8/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=(r.length-1)*8&4294967295;for(let o=0;o<i;++o){const l=new Uint32Array(80);for(let v=0;v<16;++v)l[v]=s[o][v];for(let v=16;v<80;++v)l[v]=Dd(l[v-3]^l[v-8]^l[v-14]^l[v-16],1);let p=t[0],u=t[1],h=t[2],f=t[3],b=t[4];for(let v=0;v<80;++v){const I=Math.floor(v/20),D=Dd(p,5)+AC(I,u,h,f)+b+e[I]+l[v]>>>0;b=f,f=h,h=Dd(u,30)>>>0,u=p,p=D}t[0]=t[0]+p>>>0,t[1]=t[1]+u>>>0,t[2]=t[2]+h>>>0,t[3]=t[3]+f>>>0,t[4]=t[4]+b>>>0}return[t[0]>>24&255,t[0]>>16&255,t[0]>>8&255,t[0]&255,t[1]>>24&255,t[1]>>16&255,t[1]>>8&255,t[1]&255,t[2]>>24&255,t[2]>>16&255,t[2]>>8&255,t[2]&255,t[3]>>24&255,t[3]>>16&255,t[3]>>8&255,t[3]&255,t[4]>>24&255,t[4]>>16&255,t[4]>>8&255,t[4]&255]}var wC=CC;Zs.default=wC,Object.defineProperty(zs,"__esModule",{value:!0}),zs.default=void 0;var BC=kR(er),MC=kR(Zs);function kR(r){return r&&r.__esModule?r:{default:r}}var NC=(0,BC.default)("v5",80,MC.default);zs.default=NC;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.default=void 0;var _C="00000000-0000-0000-0000-000000000000";Ks.default=_C;var Xs={};Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.default=void 0;var VC=LC(Dr);function LC(r){return r&&r.__esModule?r:{default:r}}function GC(r){if(!(0,VC.default)(r))throw TypeError("Invalid UUID");return parseInt(r.slice(14,15),16)}var $C=GC;Xs.default=$C,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return o.default}});var e=h(Us),t=h(qs),n=h(Ys),i=h(zs),s=h(Ks),o=h(Xs),l=h(Dr),p=h(Qn),u=h(gi);function h(f){return f&&f.__esModule?f:{default:f}}}(_R);function Sd(r,e){if(!r||!e||!r.length||!e.length)throw new Error("Bad alphabet");this.srcAlphabet=r,this.dstAlphabet=e}Sd.prototype.convert=function(r){var e,t,n,i={},s=this.srcAlphabet.length,o=this.dstAlphabet.length,l=r.length,p=typeof r=="string"?"":[];if(!this.isValid(r))throw new Error('Number "'+r+'" contains of non-alphabetic digits ('+this.srcAlphabet+")");if(this.srcAlphabet===this.dstAlphabet)return r;for(e=0;e<l;e++)i[e]=this.srcAlphabet.indexOf(r[e]);do{for(t=0,n=0,e=0;e<l;e++)t=t*s+i[e],t>=o?(i[n++]=parseInt(t/o,10),t=t%o):n>0&&(i[n++]=0);l=n,p=this.dstAlphabet.slice(t,t+1).concat(p)}while(n!==0);return p},Sd.prototype.isValid=function(r){for(var e=0;e<r.length;++e)if(this.srcAlphabet.indexOf(r[e])===-1)return!1;return!0};var FC=Sd,UC=FC;function vi(r,e){var t=new UC(r,e);return function(n){return t.convert(n)}}vi.BIN="01",vi.OCT="01234567",vi.DEC="0123456789",vi.HEX="0123456789abcdef";var xC=vi;const{v4:Od,validate:jC}=_R,Qs=xC,Pd={cookieBase90:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~",flickrBase58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",uuid25Base36:"0123456789abcdefghijklmnopqrstuvwxyz"},kC={consistentLength:!0};let Ad;const qR=(r,e,t)=>{const n=e(r.toLowerCase().replace(/-/g,""));return!t||!t.consistentLength?n:n.padStart(t.shortIdLength,t.paddingChar)},JR=(r,e)=>{const n=e(r).padStart(32,"0").match(/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/);return[n[1],n[2],n[3],n[4],n[5]].join("-")},qC=r=>Math.ceil(Math.log(2**128)/Math.log(r));var JC=(()=>{const r=(e,t)=>{const n=e||Pd.flickrBase58,i={...kC,...t};if([...new Set(Array.from(n))].length!==n.length)throw new Error("The provided Alphabet has duplicate characters resulting in unreliable results");const s=qC(n.length),o={shortIdLength:s,consistentLength:i.consistentLength,paddingChar:n[0]},l=Qs(Qs.HEX,n),p=Qs(n,Qs.HEX),u=()=>qR(Od(),l,o),f={alphabet:n,fromUUID:b=>qR(b,l,o),maxLength:s,generate:u,new:u,toUUID:b=>JR(b,p),uuid:Od,validate:(b,v=!1)=>{if(!b||typeof b!="string")return!1;const I=i.consistentLength?b.length===s:b.length<=s,D=b.split("").every(O=>n.includes(O));return v===!1?I&&D:I&&D&&jC(JR(b,p))}};return Object.freeze(f),f};return r.constants=Pd,r.uuid=Od,r.generate=()=>(Ad||(Ad=r(Pd.flickrBase58).generate),Ad()),r})();const eo=jA(JC);function WR(){return eo().uuid()}function YR(r){return r.rangeStart+Math.random()}function HR(r){const e=r.rangeEnd;return Math.random()*e}function zR(r){const e=r.rangeStart,t=r.rangeEnd;return Math.random()*(t-e)+e}function ZR(r){return r.rangeStart&&r.rangeEnd?zR(r):r.rangeStart?YR(r):r.rangeEnd?HR(r):Math.random()}function KR(r){const e=r.rangeStart;return Math.random().toString(36).substring(e)}function XR(r){const e=r.rangeEnd;return Math.random().toString(36).substring(0,e)}function QR(r){const e=r.rangeStart,t=r.rangeEnd;return Math.random().toString(36).substring(e,t)}function eg(r){return r.rangeStart&&r.rangeEnd?QR(r):r.rangeStart?KR(r):r.rangeEnd?XR(r):Math.random().toString(36)}function tg(r){return Math.random()>=.5}function WC(r){if(!r||!r.autogeneration)return null;switch(r.autogeneration.type){case ze.CurrentDateAndTime:if(r.name===C.Date)return new Date;case ze.Random:{if(r.name===C.Date)return NR(r.autogeneration);if(r.name===C.Number)return ZR(r.autogeneration);if(r.name===C.String)return eg(r.autogeneration);if(r.name===C.Boolean)return tg(r.autogeneration)}case ze.Unique:if(r.name===C.UUID)return WR();default:throw new Error(`Generating a ${r.autogeneration.type} value for a ${r.name} is not supported`)}}const H="e7eb5382-3d99-44fd-972a-b8b1e819f6be",ng="global-user-variable-id",Cd="last-executed-timestamp-variable-id",YC={id:"alternative-relational-database-entity-identifier-property-data-type-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-identifier-property-id",entityType:a.ValueDescriptor},HC={id:"alternative-relational-database-entity-identifier-property-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-identifier-property-id",entityType:a.Property},zC={like:!1,inferred:!1,id:"alternative-relational-database-entity-identifier-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:HC},to={id:"alternative-relational-database-entity-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-id",entityType:a.CustomEntity},ZC={hidden:!1,required:!0,id:"alternative-relational-database-entity-identifier-property-id",name:"Identifier name",version:1,type:a.Property,private:!1,abstract:!1,implements:vs,static:!0,index:0,defaultValue:{id:"alternative-relational-database-entity-identifier-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:null,parent:YC,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:zC,description:"The name of the main database inside of the server instance where the data will be stored.",parent:to};a.GenericReference,a.ValueDescriptor;const KC={id:"alternative-relational-database-entity-username-property-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-username-property-id",entityType:a.Property},XC={like:!1,inferred:!1,id:"alternative-relational-database-entity-username-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:KC},QC={hidden:!1,required:!0,id:"alternative-relational-database-entity-username-property-id",name:"Username",version:1,type:a.Property,private:!1,abstract:!1,implements:Is,static:!0,index:1,defaultValue:null,dataType:XC,description:"The username that will be used to connect to the database.",parent:to};a.GenericReference,a.ValueDescriptor;const ew={id:"alternative-relational-database-entity-password-property-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-password-property-id",entityType:a.Property},tw={like:!1,inferred:!1,id:"alternative-relational-database-entity-password-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:ew},nw={hidden:!1,required:!0,id:"alternative-relational-database-entity-password-property-id",name:"Password",version:1,type:a.Property,private:!1,abstract:!1,implements:Ds,static:!0,index:2,defaultValue:null,dataType:tw,description:"The password that will be used to connect to the database.",parent:to},rw={id:"alternative-relational-database-entity-min-size-property-data-type-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-min-size-property-id",entityType:a.ValueDescriptor},aw={id:"alternative-relational-database-entity-min-size-property-ref-id",type:a.GenericReference,entityId:"alternative-relational-database-entity-min-size-property-id",entityType:a.Property},iw={like:!1,inferred:!1,id:"alternative-relational-database-entity-min-size-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:aw},sw={hidden:!1,required:!0,id:"alternative-relational-database-entity-min-size-property-id",name:"Minimum GB size",version:1,type:a.Property,private:!1,abstract:!1,implements:Ss,static:!0,index:3,defaultValue:{id:"alternative-relational-database-entity-min-size-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.Number,value:6,parent:rw,autogeneration:null,valueAsType:null},dataType:iw,description:"The minimum size of the database in GB.",parent:to},ow={id:"alternative-relational-database-entity-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},wd={id:"alternative-relational-database-entity-id",type:a.CustomEntity,version:1,name:"Alternative relational Database",description:"A database that permanently stores the persisted entities attached to it.",abstract:!1,static:!0,properties:[ZC,QC,nw,sw],methods:[],abstractMethods:[],extends:[],implements:[un],x:0,y:0,parent:ow},lw={id:"animal-prototype-database-property-ref-id",type:a.GenericReference,entityId:"animal-prototype-database-property-id",entityType:a.Property},dw={id:"animal-prototype-database-property-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:"animal-prototype-database-property-id",entityType:a.Property},cw={like:!1,inferred:!1,id:"animal-prototype-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:un,asType:!1,parent:lw},uw={id:"animal-prototype-database-property-parent-ref-id",type:a.GenericReference,entityId:"83eaa847-e62b-4192-84fb-3d8d6f5ea970",entityType:a.CustomEntity},pw={hidden:!1,required:!0,id:"animal-prototype-database-property-id",name:"Database",version:1,type:a.Property,private:!1,abstract:!1,implements:ua,static:!0,index:0,defaultValue:{id:"animal-prototype-database-property-data-type-default-value-id",type:a.LiteralValue,version:1,value:null,name:C.EntityTemplate,valueAsType:wd,autogeneration:null,parent:dw},dataType:cw,description:"The database that the entity belongs to.",parent:uw},yw={type:a.GenericReference,id:"291e4d4f-01d8-40a0-90dc-5f1ac6636e9b",entityType:a.Property,entityId:"5cb617b0-92be-4dbe-a007-49093368d94f"},hw={like:!1,inferred:!1,id:"c1930577-9e79-48a6-8905-be24611015c1",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:yw},fw={type:a.GenericReference,id:"animal-name-property-parent-ref-id",entityType:a.CustomEntity,entityId:"83eaa847-e62b-4192-84fb-3d8d6f5ea970"},mw={hidden:!1,required:!0,type:a.Property,id:"5cb617b0-92be-4dbe-a007-49093368d94f",version:1,name:"Name",description:"The name of the animal",defaultValue:null,implements:pa,static:!1,private:!1,index:0,dataType:hw,abstract:!1,parent:fw},Tw={type:a.GenericReference,id:"abc565de-4c83-4936-bc48-4013bef213b8",entityType:a.Project,entityId:H},Ew={type:a.CustomEntity,id:"83eaa847-e62b-4192-84fb-3d8d6f5ea970",version:1,name:"Animal",description:"A living creature that is not human",abstract:!1,static:!1,abstractMethods:[],properties:[pw,mw],methods:[],extends:[],implements:[st],x:0,y:0,parent:Tw},Ii="base-table-entity",rg="base-table-entity-identifier-property-id";a.GenericReference,a.Property,a.GenericReference,a.Property;const bw={id:"base-table-entity-identifier-property-data-type-ref-id",type:a.GenericReference,entityId:rg,entityType:a.Property},Rw={id:"base-table-entity-identifier-property-ref-id",type:a.GenericReference,entityId:"base-table-entity-identifier-property-id",entityType:a.Property},gw={like:!1,inferred:!1,id:"base-table-entity-identifier-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parent:Rw},vw={id:"base-table-entity-identifier-property-parent-ref-id",type:a.GenericReference,entityId:Ii,entityType:a.CustomEntity};a.Property,a.LiteralValue,C.UUID,ze.Unique,a.GenericReference,a.Property;const Iw={id:"base-table-entity-deleted-at-property-ref-id",type:a.GenericReference,entityId:"base-table-entity-deleted-at-property-id",entityType:a.Property},Dw={like:!1,inferred:!1,id:"base-table-entity-deleted-at-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!0,constant:!1,entity:ln,asType:!1,parent:Iw},Sw={id:"base-table-entity-deleted-at-property-parent-ref-id",type:a.GenericReference,entityId:Ii,entityType:a.CustomEntity},Ow={hidden:!0,required:!0,id:"base-table-entity-deleted-at-property-id",name:"Deleted at",version:1,type:a.Property,private:!1,abstract:!0,implements:null,static:!1,index:0,defaultValue:null,dataType:Dw,description:"The date and time when the entity was deleted.",parent:Sw};a.GenericReference,a.Property;const Pw={id:"base-table-entity-created-at-property-ref-id",type:a.GenericReference,entityId:"base-table-entity-created-at-property-id",entityType:a.Property},Aw={like:!1,inferred:!1,id:"base-table-entity-created-at-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ln,asType:!1,parent:Pw},Cw={id:"base-table-entity-created-at-property-parent-ref-id",type:a.GenericReference,entityId:Ii,entityType:a.CustomEntity},ww={hidden:!0,required:!0,id:"base-table-entity-created-at-property-id",name:"Created at",version:1,type:a.Property,private:!1,abstract:!0,implements:null,static:!1,index:0,defaultValue:null,dataType:Aw,description:"The date and time when the entity was created.",parent:Cw};a.GenericReference,a.Property;const Bw={id:"base-table-entity-updated-at-property-ref-id",type:a.GenericReference,entityId:"base-table-entity-updated-at-property-id",entityType:a.Property},Mw={like:!1,inferred:!1,id:"base-table-entity-updated-at-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:ln,asType:!1,parent:Bw},Nw={id:"base-table-entity-updated-at-property-parent-ref-id",type:a.GenericReference,entityId:Ii,entityType:a.CustomEntity},_w={hidden:!0,required:!0,id:"base-table-entity-updated-at-property-id",name:"Updated at",version:1,type:a.Property,private:!1,implements:null,abstract:!0,static:!1,index:0,defaultValue:null,dataType:Mw,description:"The date and time when the entity was last updated.",parent:Nw},Vw={id:"base-table-entity-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},Ft={id:Ii,version:1,description:"An entity that is permanently stored in the database and can be accessed at any point.",name:"Base database table format",type:a.CustomEntity,abstract:!0,static:!1,abstractMethods:[],implements:[],properties:[Ow,ww,_w],methods:[],extends:[],x:0,y:0,parent:Vw},Lw={id:"default-relational-database-entity-identifier-property-data-type-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-identifier-property-id",entityType:a.Property},Gw={id:"default-relational-database-entity-identifier-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-identifier-property-id",entityType:a.Property},$w={like:!1,inferred:!1,id:"default-relational-database-entity-identifier-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:Gw},ga={id:"default-relational-database-entity-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-id",entityType:a.CustomEntity},Fw={id:"default-relational-database-entity-identifier-property-id",hidden:!1,required:!0,name:"Identifier name",version:1,type:a.Property,private:!1,abstract:!1,implements:vs,static:!0,index:0,defaultValue:{id:"default-relational-database-entity-identifier-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"main",parent:Lw,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:$w,description:"The name of the main database inside of the server instance where the data will be stored.",parent:ga};a.GenericReference,a.Property;const Uw={id:"default-relational-database-entity-username-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-username-property-id",entityType:a.Property},xw={id:"default-relational-database-entity-username-property-default-value-parent-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-username-property-id",entityType:a.Property},jw={like:!1,inferred:!1,id:"default-relational-database-entity-username-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:Uw},kw={hidden:!1,required:!0,id:"default-relational-database-entity-username-property-id",name:"Username",version:1,type:a.Property,private:!1,abstract:!1,implements:Is,defaultValue:{id:"default-relational-database-entity-username-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"root",parent:xw,autogeneration:null,valueAsType:null},static:!0,index:1,dataType:jw,description:"The username that will be used to connect to the database.",parent:ga};a.GenericReference,a.Property;const qw={id:"default-relational-database-entity-password-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-password-property-id",entityType:a.Property},Jw={id:"default-relational-database-entity-password-property-default-value-parent-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-password-property-id",entityType:a.Property},Ww={like:!1,inferred:!1,id:"default-relational-database-entity-password-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:qw},Yw={hidden:!1,required:!0,id:"default-relational-database-entity-password-property-id",name:"Password",version:1,type:a.Property,private:!1,abstract:!1,implements:Ds,static:!0,index:2,defaultValue:{id:"default-relational-database-entity-password-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"password",parent:Jw,autogeneration:null,valueAsType:null},dataType:Ww,description:"The password that will be used to connect to the database.",parent:ga},Hw={id:"default-relational-database-entity-min-size-property-data-type-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-min-size-property-id",entityType:a.Property},zw={id:"default-relational-database-entity-min-size-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-min-size-property-id",entityType:a.Property},Zw={like:!1,inferred:!1,id:"default-relational-database-entity-min-size-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:zw},Kw={hidden:!1,required:!0,id:"default-relational-database-entity-min-size-property-id",name:"Minimum GB size",version:1,type:a.Property,private:!1,abstract:!1,implements:Ss,static:!0,index:3,defaultValue:{id:"default-relational-database-entity-min-size-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.Number,value:6,parent:Hw,autogeneration:null,valueAsType:null},dataType:Zw,description:"The minimum size of the database in GB.",parent:ga},Xw={id:"default-relational-database-entity-default-property-data-type-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-default-property-id",entityType:a.Property},Qw={id:"default-relational-database-entity-default-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-default-property-id",entityType:a.Property},eB={like:!1,inferred:!1,id:"default-relational-database-entity-default-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:Qw},tB={id:"default-relational-database-entity-default-property-id",hidden:!0,required:!0,name:"Default",description:"Whether this database is automatically picked by other entities as the default database.",version:1,type:a.Property,private:!1,abstract:!1,implements:od,static:!0,index:4,dataType:eB,defaultValue:{id:"default-relational-database-entity-default-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.Boolean,value:!0,parent:Xw,autogeneration:null,valueAsType:null},parent:ga},nB={id:"default-relational-database-entity-autoscaling-property-data-type-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-autoscaling-property-id",entityType:a.Property},rB={id:"default-relational-database-entity-autoscaling-property-ref-id",type:a.GenericReference,entityId:"default-relational-database-entity-autoscaling-property-id",entityType:a.Property},aB={like:!1,inferred:!1,id:"default-relational-database-entity-autoscaling-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:ee,asType:!1,parent:rB},iB={id:"default-relational-database-entity-autoscaling-property-id",hidden:!1,required:!0,name:"Auto-scaling",version:1,type:a.Property,private:!1,abstract:!1,implements:ld,static:!0,index:5,defaultValue:{id:"default-relational-database-entity-autoscaling-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.Boolean,value:!0,parent:nB,autogeneration:null,valueAsType:null},dataType:aB,description:"If true, this database will automatically scale up or down in memory size, based on the usage.s",parent:ga},sB={id:"default-relational-database-entity-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},Bd={id:"default-relational-database-entity-id",type:a.CustomEntity,version:1,name:"Relational Database",description:"A database that permanently stores the persisted entities attached to it.",abstract:!1,static:!0,properties:[tB,iB,Fw,kw,Yw,Kw],methods:[],abstractMethods:[],extends:[],implements:[un],x:0,y:0,parent:sB},oB={id:"user-prototype-database-property-data-type-ref-id",type:a.GenericReference,entityId:"user-prototype-database-property-id",entityType:a.Property},lB={id:"user-prototype-database-property-ref-id",type:a.GenericReference,entityId:"user-prototype-database-property-id",entityType:a.Property},dB={like:!1,inferred:!1,id:"user-prototype-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:un,asType:!1,parent:lB},cB={id:"user-prototype-database-property-parent-ref-id",type:a.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:a.CustomEntity},uB={hidden:!1,required:!0,id:"user-prototype-database-property-id",name:"Database",version:1,type:a.Property,private:!1,abstract:!1,implements:ua,static:!0,index:0,defaultValue:{id:"user-prototype-database-property-data-type-default-value-id",type:a.LiteralValue,version:1,value:null,name:C.EntityTemplate,valueAsType:Bd,autogeneration:null,parent:oB},dataType:dB,description:"The database that the entity belongs to.",parent:cB},pB={type:a.GenericReference,id:"user-prototype-parent-ref-id",entityType:a.Project,entityId:H},yB={id:"user-prototype-primary-key-property-data-type-ref-id",type:a.GenericReference,entityId:"user-prototype-primary-key-property-id",entityType:a.Property},hB={id:"user-prototype-primary-key-property-ref-id",type:a.GenericReference,entityId:"user-prototype-primary-key-property-id",entityType:a.Property},fB={like:!1,inferred:!1,id:"user-prototype-primary-key-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parent:hB},mB={id:"user-prototype-primary-key-property-parent-ref-id",type:a.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:a.CustomEntity},TB={hidden:!1,required:!0,id:"user-prototype-primary-key-property-id",name:"Identifier",version:1,type:a.Property,private:!1,abstract:!1,implements:pa,static:!1,index:1,defaultValue:{id:"user-prototype-primary-key-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.UUID,value:null,parent:yB,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:fB,description:"A property with a unique value for the entity, that can be used to identify the entity among other entities of the same type.",parent:mB},Md={type:a.CustomEntity,id:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",version:1,name:"User",description:"A user of the application",implements:[st,Ft],abstract:!1,static:!1,abstractMethods:[],extends:[],properties:[uB,TB],methods:[],x:0,y:0,parent:pB},EB={type:a.GenericReference,id:"person-date-of-birth-property-data-type-parent-ref-id",entityType:a.Property,entityId:"person-date-of-birth-property-id"},bB={like:!1,inferred:!1,id:"person-date-of-birth-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ln,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:EB},RB={type:a.GenericReference,id:"person-date-of-birth-property-parent-ref-id",entityType:a.CustomEntity,entityId:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416"},gB={hidden:!1,required:!0,type:a.Property,id:"person-date-of-birth-property-id",version:1,name:"Date of birth",description:"The date of birth of the person",implements:null,private:!1,static:!1,index:0,defaultValue:null,dataType:bB,abstract:!1,parent:RB},vB={type:a.GenericReference,id:"a2867827-2f8e-4c25-b18b-d91857d7f24e",entityType:a.Property,entityId:"cacfec92-46c3-4fca-a1d9-fd1ba94d78c7"},IB={like:!1,inferred:!1,id:"1d49f41b-17b9-4f48-87aa-3ce43498e5a9",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:vB},DB={type:a.GenericReference,id:"01cbe760-40a9-4f49-8e3d-194d2f57cb1e",entityType:a.CustomEntity,entityId:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416"},SB={hidden:!1,required:!0,type:a.Property,id:"cacfec92-46c3-4fca-a1d9-fd1ba94d78c7",version:1,name:"Name",description:"The name of the person",implements:null,private:!1,static:!1,index:0,defaultValue:null,dataType:IB,abstract:!1,parent:DB},OB={type:a.GenericReference,id:"3542b22a-3a2f-41c6-876e-24c885572498",entityType:a.Project,entityId:H},gt={type:a.CustomEntity,id:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416",version:1,name:"Person",description:"A entity to store more information about a person than the user entity does, to split the responsibilities and keep it the logic clean.",properties:[SB,gB],abstract:!1,static:!1,abstractMethods:[],methods:[],implements:[],extends:[Md],x:0,y:0,parent:OB},PB={type:a.GenericReference,id:"b59c80b7-b2e9-41e9-abcd-7c5652835efc",entityType:a.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},AB={type:a.GenericReference,id:"1190b5a2-f25e-46db-884d-8a3dd1a44d94",entityType:a.ReturnStatement,entityId:"3ebc4342-c9e8-42e7-a61c-7937081e1d2e"},CB={type:a.GenericReference,id:"36c63126-7814-496f-a6cc-48662c2aabae",entityType:a.ArgumentDeclaration,entityId:"500dee3a-3435-4453-9699-0d053f646523"},wB={type:a.GenericReference,id:"c567e55d-ec12-4e4e-958e-f07522892b4b",entityType:a.ReturnDeclaration,entityId:"9e070523-7e07-4100-8637-960a187f5f14"},BB={like:!1,inferred:!1,id:"3973c5a1-f0d8-49a0-a9a9-a0009bf3f0d8",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:wB},Nd={isError:!1,id:"9e070523-7e07-4100-8637-960a187f5f14",type:a.ReturnDeclaration,version:1,name:"Output Account Owner",description:null,defaultValue:null,dataType:BB,implements:null,readsValue:CB,required:!0,index:0,parent:AB},MB={type:a.GenericReference,id:"567d923c-20da-4c1e-956d-962ea30c6d0b",entityType:a.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},NB={type:a.GenericReference,id:"da85e620-59f3-42ab-88c8-b38d33c2c833",entityType:a.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},ag={type:a.ReturnStatement,id:"3ebc4342-c9e8-42e7-a61c-7937081e1d2e",version:1,outputs:[Nd],calledByError:[],calledByEntry:[MB],calledBySuccess:[],throws:null,x:0,y:0,parent:NB},_B={type:a.GenericReference,id:"1c806bb7-4c25-4bad-963b-93dfbb7c8304",entityType:a.ArgumentDeclaration,entityId:"500dee3a-3435-4453-9699-0d053f646523"},VB={like:!1,inferred:!1,id:"d90fcc18-642b-433c-8fcb-4094b9031cd5",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:_B},ig={id:"500dee3a-3435-4453-9699-0d053f646523",type:a.ArgumentDeclaration,version:1,name:"New Account Owner",description:null,defaultValue:null,dataType:VB,implements:null,required:!0,writesValues:[Nd],index:0,parent:PB},LB={type:a.GenericReference,id:"83dceb60-f3c4-4085-824c-85f2003bfd27",entityType:a.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},sg={type:a.FunctionDeclaration,id:"36f29f96-c001-4b9a-b49c-83eff406a060",version:1,name:"Change owner of bank account",description:null,implements:null,inputs:[ig],calls:[ag],returnStatements:[ag],index:0,collapsed:!1,private:!1,x:0,y:0,parent:LB},GB={type:a.GenericReference,id:"adbaf302-ffa9-49b6-a3c6-83f9a75068e3",entityType:a.VariableDeclaration,entityId:"8e36a476-766e-4cc2-a8a7-27a07dfb5a4b"},$B={like:!1,inferred:!1,id:"79ee04aa-1ba4-4ae9-a406-ed45e5b03f7f",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:GB},FB={type:a.GenericReference,id:"55e212d1-f0ec-4bb6-acbe-60f741367daf",entityType:a.OutputMap,entityId:"dc9ddb8f-02a0-4a43-aea6-270ec7b7f8a4"},UB={type:a.GenericReference,id:"944e1171-3d9b-4559-9386-1d4974b15962",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},xB={id:"8e36a476-766e-4cc2-a8a7-27a07dfb5a4b",type:a.VariableDeclaration,version:1,name:"Output Account Owner",description:null,defaultValue:null,dataType:$B,readsValue:FB,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:UB},jB={type:a.GenericReference,id:"b89ebc83-52cf-4447-a5ae-62241f713079",entityType:a.FunctionCall,entityId:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e"},kB={id:"dc9ddb8f-02a0-4a43-aea6-270ec7b7f8a4",type:a.OutputMap,version:1,declaration:Nd,defaultValue:null,writesValues:[xB],index:0,parent:jB},qB={type:a.GenericReference,id:"c1b9e125-1aad-48b7-9687-95c57a6bc10d",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},JB={type:a.GenericReference,id:"d2deaa02-e164-4425-905c-6dee47eb4eac",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},WB={type:a.GenericReference,id:"1109a655-ac62-4110-a933-42a72106f4f0",entityType:a.VariableDeclaration,entityId:"8bea6986-8da2-487b-905d-2fb962db6728"},YB={like:!1,inferred:!1,id:"7d9a1307-512e-42ec-9797-2f7229796b97",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:WB},HB={type:a.GenericReference,id:"bb61ebf7-57b3-4d14-905d-82ec907205b5",entityType:a.ArgumentDeclaration,entityId:"38f6b236-98ac-47b0-ab9c-d2f9610137b9"},zB={type:a.GenericReference,id:"6b8c7bf2-9fc8-4ea4-9ec0-f41679d513b1",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},ZB={type:a.GenericReference,id:"6163d1a1-7a94-49b1-95bb-aecd8d6d335c",entityType:a.FunctionCall,entityId:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e"},KB={type:a.GenericReference,id:"1f900f62-4bd2-4246-94aa-b8f5aad384fd",entityType:a.VariableDeclaration,entityId:"8bea6986-8da2-487b-905d-2fb962db6728"},og={id:"be8538be-e6f9-4b94-9314-a546003ebaa0",type:a.InputMap,version:1,declaration:ig,name:null,description:null,readsValue:KB,defaultValue:null,index:0,parent:ZB},XB={type:a.VariableDeclaration,id:"8bea6986-8da2-487b-905d-2fb962db6728",version:1,name:"Changed Account Owner",description:null,defaultValue:null,dataType:YB,readsValue:HB,writesValues:[og],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:zB},QB={type:a.FunctionCall,id:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e",version:1,declaration:sg,inputs:[og],outputs:[kB],process:null,successCalls:[],errorCalls:[],calledByError:[],calledByEntry:[qB],calledBySuccess:[],parent:JB,error:null,x:0,y:0},eM={type:a.GenericReference,id:"2d47aba1-a918-46a7-8db7-78809928654a",entityType:a.ArgumentDeclaration,entityId:"38f6b236-98ac-47b0-ab9c-d2f9610137b9"},tM={like:!1,inferred:!1,id:"5583766c-e9a5-484c-8f43-f4b0a6a1876c",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:eM},nM={type:a.GenericReference,id:"3e2a81e4-55b2-49f5-94eb-39135e95c3d7",entityType:a.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},rM={id:"38f6b236-98ac-47b0-ab9c-d2f9610137b9",type:a.ArgumentDeclaration,version:1,description:null,name:"New Company Owner",defaultValue:null,dataType:tM,implements:null,required:!0,index:0,writesValues:[XB],parent:nM},aM={type:a.GenericReference,id:"30291b01-1b94-4d03-b434-dec122c2bc7d",entityType:a.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},iM={type:a.FunctionDeclaration,id:"15ee556d-681f-47de-a31f-16d4ba73cc4e",version:1,description:null,name:"Change Account Owner",inputs:[rM],collapsed:!0,returnStatements:[],calls:[QB],private:!1,index:0,implements:null,x:0,y:0,parent:aM},sM={type:a.GenericReference,id:"72c7ac0a-886e-4e10-b7ed-2f5a819a0233",entityType:a.Property,entityId:"b8f4656a-2b77-43ab-af51-7c32ddede044"},oM={like:!1,inferred:!1,id:"c09dd282-73f6-4077-a467-b66db20b9fc6",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:sM},lM={type:a.GenericReference,id:"8a950024-512c-4580-81db-a705410aeb99",entityType:a.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},dM={hidden:!1,required:!0,type:a.Property,id:"b8f4656a-2b77-43ab-af51-7c32ddede044",version:1,name:"Account number",description:null,private:!0,defaultValue:null,implements:pa,static:!1,index:0,dataType:oM,abstract:!1,parent:lM},cM={type:a.GenericReference,id:"b6704b6c-c3bd-49d0-8ebc-82d03e726cbb",entityType:a.Property,entityId:"733d06a6-b8c5-44f3-a1f7-a8c9bd9e44ea"},uM={like:!1,inferred:!1,id:"c03e0b0a-88ab-401a-8833-4806738bdc37",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:cM},pM={type:a.GenericReference,id:"1ef999a7-e9ed-406a-866e-e58277fc985b",entityType:a.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},yM={hidden:!1,required:!0,type:a.Property,id:"733d06a6-b8c5-44f3-a1f7-a8c9bd9e44ea",version:1,description:null,name:"Account Owner",index:1,defaultValue:null,dataType:uM,implements:null,static:!1,private:!0,abstract:!1,parent:pM},hM={type:a.GenericReference,id:"d41d7f41-98b8-4f67-be92-c349fdda5156",entityType:a.Project,entityId:H},va={type:a.CustomEntity,id:"506946aa-30da-48e6-918f-ffd9eac58813",version:1,name:"Bank Account",description:null,abstract:!1,static:!1,abstractMethods:[],properties:[dM,yM],methods:[sg,iM],extends:[],implements:[st,Ft],x:0,y:0,parent:hM},Di="bitcoin-api-response-id",lg="time-property-id",dg="disclaimer-property-id",cg="chart-name-property-id",ug="bpi-property-id",no="bpi-entity-id",pg="usd-property-id",yg="gbp-property-id",hg="eur-property-id",Ia="currency-entity-id",fg="currency-code-property-id",mg="currency-symbol-property-id",Tg="currency-rate-property-id",Eg="currency-description-property-id",bg="currency-rate-number-property-id",fM={type:a.GenericReference,id:"code-property-data-type-parent-ref-id",entityType:a.Property,entityId:fg},mM={like:!1,inferred:!1,id:"code-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Pn,isList:!1,asType:!1,isNullable:!1,options:["USD","GBP","EUR"],constant:!1,parent:fM},TM={type:a.GenericReference,id:"code-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},EM={hidden:!1,required:!0,type:a.Property,id:fg,version:1,name:"code",description:null,defaultValue:null,dataType:mM,index:0,implements:null,static:!1,private:!1,abstract:!1,parent:TM},bM={type:a.GenericReference,id:"symbol-property-data-type-parent-ref-id",entityType:a.Property,entityId:mg},RM={like:!1,inferred:!1,id:"symbol-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Pn,isList:!1,asType:!1,isNullable:!1,options:["$","£","€"],constant:!1,parent:bM},gM={type:a.GenericReference,id:"symbol-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},vM={hidden:!1,required:!0,type:a.Property,id:mg,version:1,name:"symbol",description:null,index:0,defaultValue:null,dataType:RM,implements:null,static:!1,private:!1,abstract:!1,parent:gM},IM={type:a.GenericReference,id:"rate-property-data-type-parent-ref-id",entityType:a.Property,entityId:Tg},DM={like:!1,inferred:!1,id:"rate-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:IM},SM={type:a.GenericReference,id:"rate-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},OM={hidden:!1,required:!0,type:a.Property,id:Tg,version:1,name:"rate",description:null,index:0,defaultValue:null,dataType:DM,implements:null,static:!1,private:!1,abstract:!1,parent:SM},PM={type:a.GenericReference,id:"description-property-data-type-parent-ref-id",entityType:a.Property,entityId:Eg},AM={like:!1,inferred:!1,id:"description-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:PM},CM={type:a.GenericReference,id:"description-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},wM={hidden:!1,required:!0,type:a.Property,id:Eg,version:1,name:"description",description:null,defaultValue:null,dataType:AM,implements:null,static:!1,index:0,private:!1,abstract:!1,parent:CM},BM={type:a.GenericReference,id:"rate-number-property-data-type-parent-ref-id",entityType:a.Property,entityId:bg},MM={like:!1,inferred:!1,id:"rate-number-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:BM},NM={type:a.GenericReference,id:"rate-number-property-parent-ref-id",entityType:a.CustomEntity,entityId:Ia},_M={hidden:!1,required:!0,type:a.Property,id:bg,version:1,name:"rate_float",description:null,defaultValue:null,dataType:MM,implements:null,static:!1,index:0,private:!1,abstract:!1,parent:NM},VM={type:a.GenericReference,id:"currency-prototype-parent-ref-id",entityType:a.Project,entityId:H},ro={type:a.CustomEntity,id:Ia,version:1,name:"Currency",description:"This entity describes a currency in the Bitcoin Price Index.",properties:[EM,vM,OM,wM,_M],static:!1,abstract:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:VM},LM={type:a.GenericReference,id:"usd-property-data-type-parent-ref-id",entityType:a.Property,entityId:pg},GM={like:!1,inferred:!1,id:"usd-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ro,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:LM},$M={type:a.GenericReference,id:"usd-property-parent-ref-id",entityType:a.CustomEntity,entityId:no},FM={hidden:!1,required:!0,id:pg,type:a.Property,version:1,name:"USD",description:null,index:0,dataType:GM,defaultValue:null,implements:null,static:!1,private:!1,abstract:!1,parent:$M},UM={type:a.GenericReference,id:"gbp-property-data-type-parent-ref-id",entityType:a.Property,entityId:yg},xM={like:!1,inferred:!1,id:"gbp-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ro,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:UM},jM={type:a.GenericReference,id:"gbp-property-parent-ref-id",entityType:a.CustomEntity,entityId:no},kM={hidden:!1,required:!0,id:yg,type:a.Property,version:1,name:"GBP",description:null,index:0,dataType:xM,defaultValue:null,implements:null,static:!1,private:!1,abstract:!1,parent:jM},qM={type:a.GenericReference,id:"eur-property-data-type-parent-ref-id",entityType:a.Property,entityId:hg},JM={like:!1,inferred:!1,id:"eur-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ro,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:qM},WM={type:a.GenericReference,id:"eur-property-parent-ref-id",entityType:a.CustomEntity,entityId:no},YM={hidden:!1,required:!0,id:hg,type:a.Property,version:1,name:"EUR",description:null,implements:null,static:!1,index:0,defaultValue:null,dataType:JM,private:!1,abstract:!1,parent:WM},HM={type:a.GenericReference,id:"bpi-prototype-parent-ref-id",entityType:a.Project,entityId:H},Rg={type:a.CustomEntity,id:no,version:1,name:"BPI",description:"The Bitcoin Price Index",properties:[FM,kM,YM],abstract:!1,static:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:HM},zM={type:a.GenericReference,id:"time-property-data-type-parent-ref-id",entityType:a.Property,entityId:lg},ZM={like:!1,inferred:!1,id:"time-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ia,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:zM},KM={type:a.GenericReference,id:"time-property-parent-ref-id",entityType:a.CustomEntity,entityId:Di},XM={hidden:!1,required:!0,type:a.Property,id:lg,version:1,name:"time",description:null,index:0,defaultValue:null,dataType:ZM,implements:null,static:!1,private:!1,abstract:!1,parent:KM},QM={type:a.GenericReference,id:"disclaimer-property-data-type-parent-ref-id",entityType:a.Property,entityId:dg},eN={like:!1,inferred:!1,id:"disclaimer-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:QM},tN={type:a.GenericReference,id:"disclaimer-property-parent-ref-id",entityType:a.CustomEntity,entityId:Di},nN={hidden:!1,required:!0,type:a.Property,id:dg,version:1,name:"disclaimer",description:null,index:0,defaultValue:null,dataType:eN,implements:null,static:!1,private:!1,abstract:!1,parent:tN},rN={type:a.GenericReference,id:"chart-name-property-data-type-parent-ref-id",entityType:a.Property,entityId:cg},aN={like:!1,inferred:!1,id:"chart-name-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:rN},iN={type:a.GenericReference,id:"chart-name-property-parent-ref-id",entityType:a.CustomEntity,entityId:Di},sN={hidden:!1,required:!0,type:a.Property,id:cg,version:1,name:"chartName",description:null,index:0,defaultValue:null,dataType:aN,implements:null,static:!1,private:!1,abstract:!1,parent:iN},oN={type:a.GenericReference,id:"bpi-property-data-type-parent-ref-id",entityType:a.Property,entityId:ug},lN={like:!1,inferred:!1,id:"bpi-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Rg,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:oN},dN={type:a.GenericReference,id:"bpi-property-parent-ref-id",entityType:a.CustomEntity,entityId:Di},cN={hidden:!1,required:!0,type:a.Property,id:ug,version:1,name:"bpi",description:null,implements:null,index:0,defaultValue:null,dataType:lN,static:!1,private:!1,abstract:!1,parent:dN},uN={type:a.GenericReference,id:"bitcoin-api-response-parent-ref-id",entityType:a.Project,entityId:H},gg={type:a.CustomEntity,id:Di,version:1,name:"Bitcoin API Response type",description:"The type of the data structure response from the Bitcoin API call",properties:[XM,nN,sN,cN],abstract:!1,static:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:uN},pN={type:a.GenericReference,id:"eefa0147-f873-484b-b4f3-9e6493aab183",entityType:a.ArgumentDeclaration,entityId:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},yN={like:!1,inferred:!1,id:"b9f35112-dcb2-4b7c-8fb9-f196b3fa37f9",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:pN},hN={type:a.GenericReference,id:"128770d6-5e3a-4aff-bca0-ad1f32ebefa8",entityType:a.ReturnStatement,entityId:"e4e05975-c277-471a-b869-f0aed316045c"},fN={type:a.GenericReference,id:"0be84bf9-6421-42b9-980f-6a03f30cb809",entityType:a.ReturnDeclaration,entityId:"a1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},mN={like:!1,inferred:!1,id:"43daa02a-237b-4b7c-a6e9-2b8c167f6e22",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:fN},TN={type:a.GenericReference,id:"ad380383-4a47-43da-968e-75a2d603b230",entityType:a.ArgumentDeclaration,entityId:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},vg={isError:!1,id:"a1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:a.ReturnDeclaration,version:1,name:"New Company Owner",description:"The new owner of the company",implements:null,defaultValue:null,dataType:mN,readsValue:TN,required:!0,index:0,parent:hN},EN={type:a.GenericReference,id:"4f24dc27-59a1-49bf-abcc-7d72b00926e4",entityType:a.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},bN={id:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a",type:a.ArgumentDeclaration,version:1,name:"New Company Owner",description:null,implements:null,defaultValue:null,dataType:yN,writesValues:[vg],required:!0,index:0,parent:EN},RN={type:a.GenericReference,id:"5c9a02f0-d2cf-4efc-828e-467f33a74dd3",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},gN={type:a.GenericReference,id:"2ff8f3da-e0c5-4f0f-b688-2c051c588786",entityType:a.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},vN={type:a.GenericReference,id:"195ae28c-159b-42de-80b1-2ebb8be3619f",entityType:a.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},Ig={type:a.ReturnStatement,id:"e4e05975-c277-471a-b869-f0aed316045c",version:1,outputs:[vg],calledByError:[],calledByEntry:[gN],calledBySuccess:[],throws:null,x:0,y:0,parent:vN},IN={type:a.FunctionDeclaration,id:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4",version:1,name:"Change owner of company",description:"Change the owner of the company to a new person",inputs:[bN],calls:[Ig],index:0,collapsed:!1,implements:null,returnStatements:[Ig],private:!1,x:0,y:0,parent:RN},DN={type:a.GenericReference,id:"e691026f-6db0-43ec-93cd-805ae7d713e3",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},SN={type:a.GenericReference,id:"29c4e3e0-1b66-4075-b559-45b27c5cf356",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},ON={type:a.GenericReference,id:"b1289358-b185-455d-8f58-7791b15cd52a",entityType:a.ReturnStatement,entityId:"9690cd1d-ea35-4e83-823d-0c7310265fee"},PN={type:a.GenericReference,id:"d847bb49-8789-4550-bb2d-e2d551993b28",entityType:a.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},AN={type:a.GenericReference,id:"06535500-c37c-4915-8398-1d4e184fa5e7",entityType:a.ReturnDeclaration,entityId:"e7a35277-a0c4-46d5-aca2-bddd0c26e931"},CN={like:!1,inferred:!1,id:"d358dd91-35f7-4095-b728-3fb3c71dbc05",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:On,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:AN},_d={isError:!1,id:"e7a35277-a0c4-46d5-aca2-bddd0c26e931",type:a.ReturnDeclaration,version:1,name:"Is name registered",description:"Whether the company name is already registered",defaultValue:null,dataType:CN,implements:null,readsValue:PN,required:!0,index:0,parent:ON},wN={type:a.GenericReference,id:"gov-company-registry-return-statement-called-by-success-ref-id",entityType:a.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},Vd={type:a.ReturnStatement,id:"9690cd1d-ea35-4e83-823d-0c7310265fee",version:1,outputs:[_d],calledByError:[],calledByEntry:[],calledBySuccess:[DN,wN],throws:null,x:0,y:0,parent:SN},BN={type:a.GenericReference,id:"b3126414-4c9b-495f-901e-59f5073c8d67",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},MN={type:a.GenericReference,id:"35115c48-618b-411b-a290-d746d22fdd10",entityType:a.VariableDeclaration,entityId:"83e12ebb-c958-4dee-b750-8ab9930f0f4e"},Dg={id:"a0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a",type:a.InputMap,version:1,declaration:Fl,name:null,description:null,readsValue:MN,defaultValue:null,parent:BN,index:2},NN={type:a.GenericReference,id:"14f46eae-04a5-47d1-9c7f-28fb09b84d1d",entityType:a.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},_N={like:!1,inferred:!1,id:"990bd5d1-07ea-4253-acc1-d03bedd22a38",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:On,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:NN},VN={type:a.GenericReference,id:"e4c3542a-8fb0-4b72-8d6e-3fdff812dd67",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},LN={type:a.GenericReference,id:"825f9f60-22a8-4cc6-9055-d7333f8e92f4",entityType:a.OutputMap,entityId:"8f30d787-9459-4d8d-98a2-b46fbc2006d5"},GN={type:a.GenericReference,id:"is-company-name-registered-var-called-by-ref",entityType:a.Operation,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},Sg={type:a.VariableDeclaration,id:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a",version:1,name:"Is name registered",description:"Whether the company name is registered with the government company registry",defaultValue:null,dataType:_N,readsValue:LN,writesValues:[_d],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[GN],successCalls:[Vd],errorCalls:[],internalCalls:[],x:0,y:0,parent:VN},$N={type:a.GenericReference,id:"1aba021e-48ef-44ac-93d0-eaecac5895da",entityType:a.InputMap,entityId:"c3c8d6c1-3e0d-4e6c-9f9c-6b8c7d7f8e9a"},FN={type:a.GenericReference,id:"dffae7e0-0a5c-4c14-8ed2-8d680b4c4c86",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},UN={type:a.InputMap,id:"c3c8d6c1-3e0d-4e6c-9f9c-6b8c7d7f8e9a",version:1,declaration:ys,name:null,description:null,readsValue:null,defaultValue:{id:"gov-http-request-url-argument-default-value-id",type:a.LiteralValue,version:1,value:"https://api.publicapis.org/entries",name:C.String,valueAsType:null,parent:$N,autogeneration:null},index:1,parent:FN},xN={type:a.GenericReference,id:"64ae61f5-ace7-401b-926d-25f852daa60e",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},jN={id:"8f30d787-9459-4d8d-98a2-b46fbc2006d5",type:a.OutputMap,version:1,defaultValue:null,declaration:Es,index:2,writesValues:[Sg],parent:xN},kN={type:a.GenericReference,id:"62a1a086-caea-4270-9c9f-a1695503e745",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},qN={id:"48cf7654-8f3e-4fcd-abc6-740876c310a0",type:a.InputMap,version:1,declaration:ps,name:null,description:null,readsValue:null,index:0,defaultValue:null,parent:kN},JN={type:a.GenericReference,id:"b0c9c79f-f525-428d-99e7-087d3237ad62",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},WN={id:"2c1dc406-4b71-4023-87b2-abede3a111d2",type:a.InputMap,version:1,name:null,description:null,declaration:hs,index:3,readsValue:null,defaultValue:null,parent:JN},YN={type:a.GenericReference,id:"9887d6c9-d75b-4c97-b722-e2e60945ea20",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},HN={id:"3fef94b2-0278-43ae-b0c5-bc7083f0a111",type:a.InputMap,version:1,declaration:fs,name:null,description:null,readsValue:null,index:4,defaultValue:null,parent:YN},zN={type:a.GenericReference,id:"561275b6-5056-45d8-bf7d-8abaa4645593",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},ZN={id:"3efe20a7-4d63-411e-89ef-63e277f48d66",type:a.OutputMap,version:1,defaultValue:null,declaration:Ts,index:1,writesValues:[],parent:zN},KN={type:a.GenericReference,id:"3170ccc2-13de-4bfc-802a-a643be41cd42",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},XN={id:"40d34323-d7e6-440a-8016-67c05a3b66dd",type:a.OutputMap,version:1,defaultValue:null,declaration:ms,index:0,writesValues:[],parent:KN},QN={type:a.GenericReference,id:"7432fa82-f574-4c54-a8fa-4cc4376da3d5",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},e_={type:a.GenericReference,id:"8f518502-9eea-462c-8753-8bc3bf3e29a9",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},t_={type:a.GenericReference,id:"123b8f18-79d9-4166-a5f6-78ec4b461680",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},n_={type:a.GenericReference,id:"e691026f-6db0-43ec-93cd-805ae7d713e3",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},r_={type:a.GenericReference,id:"a375eedf-4811-41aa-a998-4897c69c46b9",entityType:a.ReturnDeclaration,entityId:"024a9b77-c1cd-4b67-b3ba-1935046b590d"},a_={like:!1,inferred:!1,id:"767cc5ed-20ec-4fd1-89b1-c8d19daa87d1",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:at,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:r_},i_={type:a.GenericReference,id:"e64b0c23-129d-4d74-8ab4-eec60e1e5b9b",entityType:a.ReturnStatement,entityId:"ea444a9e-6a5b-4138-b81f-0d5618c3c6f3"},Og={isError:!0,id:"024a9b77-c1cd-4b67-b3ba-1935046b590d",type:a.ReturnDeclaration,version:1,name:"Error",description:"The error that occurred during the HTTP request to the government company registry",dataType:a_,defaultValue:null,implements:null,required:!0,readsValue:null,index:0,parent:i_},Pg={type:a.ReturnStatement,id:"ea444a9e-6a5b-4138-b81f-0d5618c3c6f3",version:1,outputs:[],calledByError:[n_],calledByEntry:[],calledBySuccess:[],throws:Og,x:0,y:0,parent:t_},s_={type:a.GenericReference,id:"323814fb-9723-49ef-bbba-f882384f18e4",entityType:a.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},o_={id:"2f63f7ba-0ff0-458a-92bc-65d1dd4df8c3",type:a.OutputMap,declaration:Ul,defaultValue:null,version:1,writesValues:[Og],index:0,parentRelationType:ra.Error,parent:s_},l_={type:a.Operation,id:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7",version:1,declaration:Xa,inputs:[qN,UN,Dg,WN,HN],outputs:[XN,ZN,jN],process:null,calledByError:[],calledByEntry:[QN],calledBySuccess:[],successCalls:[Vd,Sg],errorCalls:[Pg],error:o_,x:0,y:0,parent:e_},d_={type:a.GenericReference,id:"597b8aa2-f6f2-4f7d-bbb9-b703d02de96a",entityType:a.InputMap,entityId:"b0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a"},c_={type:a.GenericReference,id:"546d99b3-28c4-4186-93a0-ac53c1565e07",entityType:a.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},u_={id:"b0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a",type:a.InputMap,version:1,declaration:ds,name:null,description:null,readsValue:null,defaultValue:{id:"base-query-string-map-default-value-id",type:a.LiteralValue,version:1,value:"?name=",name:C.String,parent:d_,valueAsType:null,autogeneration:null},index:0,parent:c_},p_={type:a.GenericReference,id:"6a56fb22-82e1-47c9-bf85-41c4e5986c74",entityType:a.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},y_={type:a.GenericReference,id:"191c6a6d-9bcb-441e-bf98-de0da96f5f3a",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},h_={type:a.GenericReference,id:"d8fcbb76-dae2-40cf-847a-02364721b387",entityType:a.VariableDeclaration,entityId:"83e12ebb-c958-4dee-b750-8ab9930f0f4e"},f_={like:!1,inferred:!1,id:"6a70c42b-024a-47c6-8a9d-af52be9c9b9a",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:h_},m_={type:a.GenericReference,id:"2282e2c0-ed9e-4c7b-86fc-1a364fa0fdb8",entityType:a.OutputMap,entityId:"f6c22cf8-63e4-4b2d-b649-b5ab884cf9a5"},T_={type:a.GenericReference,id:"assembled-query-string-called-by-ref",entityType:a.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},Ag={type:a.VariableDeclaration,id:"83e12ebb-c958-4dee-b750-8ab9930f0f4e",version:1,name:"Query string",description:"The final, assembled query string that will be used in the HTTP request to the government company registry",defaultValue:null,dataType:f_,readsValue:m_,writesValues:[Dg],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[T_],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:y_},E_={id:"f6c22cf8-63e4-4b2d-b649-b5ab884cf9a5",type:a.OutputMap,version:1,defaultValue:null,writesValues:[Ag],declaration:Za,index:0,parent:p_},b_={type:a.GenericReference,id:"a1b48e7c-0301-4747-b4dd-b5af79956f7f",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},R_={type:a.GenericReference,id:"487c9235-be95-4c96-b9b5-2714b374a277",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},g_={type:a.GenericReference,id:"f6471f4f-b269-46fa-80ec-885e87a449c2",entityId:"a4106e8e-ec4f-4633-a636-09ae73135f69",entityType:a.ArgumentDeclaration},v_={type:a.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:a.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},Cg={id:"08f36e2b-bad2-425c-8129-93560bec8488",version:1,type:a.InputMap,declaration:cs,name:null,description:null,readsValue:g_,defaultValue:null,index:1,parent:v_},I_={type:a.Operation,id:"8f2094c0-e27e-465e-9280-112da0de9019",declaration:Ka,version:1,inputs:[Cg,u_],outputs:[E_],process:null,calledByError:[],calledByEntry:[b_],calledBySuccess:[],successCalls:[Ag],errorCalls:[],error:null,x:0,y:0,parent:R_},D_={type:a.GenericReference,id:"c2e0e9b4-aa46-4974-bf8a-886b737b12fb",entityType:a.ArgumentDeclaration,entityId:"a4106e8e-ec4f-4633-a636-09ae73135f69"},S_={like:!1,inferred:!1,id:"a4279518-3bf3-44b7-a2ac-65142ca37f1c",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:D_},O_={type:a.GenericReference,id:"dc273f24-164b-4943-82f9-589b237141e2",entityType:a.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},wg={id:"a4106e8e-ec4f-4633-a636-09ae73135f69",type:a.ArgumentDeclaration,version:1,name:"Company Name to check",description:"The name of the company to check in the government registry",dataType:S_,defaultValue:null,implements:null,required:!1,writesValues:[Cg],index:0,parent:O_},P_={type:a.GenericReference,id:"2178a10c-1cc0-4dad-97c3-0941be6c9738",entityType:a.Project,entityId:H},Bg={type:a.FunctionDeclaration,id:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d",version:1,name:"Check Gov Company Registry availability",description:"Check whether the company name is already registered in the government company registry, or it is available for a new company to use.",inputs:[wg],calls:[I_,l_],returnStatements:[Vd,Pg],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:P_},A_={type:a.GenericReference,id:"4d66c53c-f0f7-496a-9955-1e6c8533c5e0",entityType:a.Condition,entityId:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b"},C_={type:a.GenericReference,id:"6fa0c8e0-d104-4b4d-a035-d4f6e0c49f09",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},w_={type:a.GenericReference,id:"146408d5-5336-4877-941a-777dd5871926",entityType:a.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},B_={type:a.GenericReference,id:"34ae8f8c-548d-4654-984a-6f36affdaf49",entityType:a.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},Mg={id:"69b1215d-9ebf-4274-b9cb-d4a5888f5122",version:1,type:a.InputMap,declaration:wg,name:null,description:null,readsValue:w_,defaultValue:null,index:0,parent:B_},M_={type:a.GenericReference,id:"07540a94-dda1-40b3-8452-f209bdc87b88",entityType:a.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},N_={type:a.GenericReference,id:"eaddf12a-a995-429e-90a0-13bf06efeb28",entityType:a.VariableDeclaration,entityId:"faaf3bf6-917d-40d7-aee6-5164f6646c4b"},__={like:!1,inferred:!1,id:"7fdaf943-3ffb-48e0-b766-b86cc24090cf",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:On,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:N_},V_={type:a.GenericReference,id:"030fb5c5-af4d-4c85-8cf0-e99edd50d2bd",entityType:a.OutputMap,entityId:"c1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},L_={type:a.GenericReference,id:"a8b618e9-c68c-48c1-8bd6-ef47c87d699e",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},G_={type:a.GenericReference,id:"is-company-name-valid-var-called-by-ref",entityType:a.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},Ng={type:a.VariableDeclaration,id:"faaf3bf6-917d-40d7-aee6-5164f6646c4b",version:1,name:"Is name valid",description:"Whether the company name is valid",defaultValue:null,dataType:__,readsValue:V_,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[G_],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:L_},$_={id:"c1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:a.OutputMap,version:1,declaration:_d,defaultValue:null,writesValues:[Ng],index:0,parent:M_},F_={type:a.FunctionCall,id:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a",version:1,declaration:Bg,inputs:[Mg],outputs:[$_],calledByError:[],calledByEntry:[],process:null,calledBySuccess:[A_],successCalls:[Ng],errorCalls:[],error:null,x:0,y:0,parent:C_},U_={type:a.GenericReference,id:"9d0b87b4-bfed-4e02-9e84-6831c21feae2",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},x_={type:a.GenericReference,id:"74345f4f-e80d-48be-adff-d12fcea25bec",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},j_={type:a.GenericReference,id:"b39279ea-969a-4efb-a9ec-353bfd13db65",entityType:a.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},k_={type:a.GenericReference,id:"549db613-f225-4c5b-9634-7d096717f0ff",entityType:a.Condition,entityId:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b"},_g={id:"358e242c-7448-442e-ab8b-fd7fa119ea71",version:1,type:a.InputMap,declaration:Rr.inputs[0],name:null,description:null,readsValue:j_,defaultValue:null,index:0,parent:k_},q_={type:a.Condition,id:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b",version:1,declaration:Rr,inputs:[_g],calledByError:[],calledByEntry:[U_],calledBySuccess:[],successCalls:[F_],errorCalls:[],x:0,y:0,parent:x_},J_={type:a.GenericReference,id:"43ba1e25-f805-488f-8ae8-c58bb6215b2f",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},W_={type:a.GenericReference,id:"eb091bed-507f-4a1e-93b5-7cd2fccfe002",entityType:a.VariableDeclaration,entityId:"9c928995-0dd5-4f97-9962-56b343bc8a45"},Y_={like:!1,inferred:!1,id:"d64152ea-831f-4426-9506-a39bfa170513",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:va,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:W_},H_={type:a.GenericReference,id:"7e79c29f-f7bd-441a-a77e-c627604dae94",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},z_={type:a.GenericReference,id:"8995ce5f-d5cf-4341-a8b1-5c046cc78b89",entityType:a.ArgumentDeclaration,entityId:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071"},Z_={type:a.GenericReference,id:"new-company-bank-account-var-decl-1-called-by-ref",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},Vg={type:a.VariableDeclaration,id:"9c928995-0dd5-4f97-9962-56b343bc8a45",version:1,name:"New bank account",description:"The new entity value representing the new bank account of the company",defaultValue:null,dataType:Y_,readsValue:z_,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[Z_],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:H_},K_={type:a.GenericReference,id:"9a4887bf-d50d-43e4-bdd5-a5262f65f04b",entityType:a.ArgumentDeclaration,entityId:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071"},X_={like:!1,inferred:!1,id:"ae148c06-3143-49e9-9614-c3aca3f6fa7b",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:va,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:K_},Q_={id:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071",type:a.ArgumentDeclaration,version:1,name:"New bank account",description:"The new bank account of the company",dataType:X_,implements:null,defaultValue:null,required:!0,index:1,writesValues:[Vg],parent:J_},eV={type:a.GenericReference,id:"caec9cf8-3133-48d4-a390-114fa71b2933",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},tV={type:a.GenericReference,id:"cebcbad8-ca87-4c4b-be8a-312293d49892",entityType:a.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},nV={type:a.GenericReference,id:"7b8ccfe5-f9cd-4776-a19b-80c689bbe3df",entityType:a.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},rV={like:!1,inferred:!1,id:"2a6b4703-ac8d-4d25-8abd-48a115577fec",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:nV},aV={id:"c6cf620c-1eee-4919-8578-1a0b6c088551",type:a.ArgumentDeclaration,version:1,name:"New company name",description:null,dataType:rV,implements:null,defaultValue:null,required:!0,index:0,writesValues:[_g,Mg],parent:tV},iV={type:a.FunctionDeclaration,id:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84",version:1,name:"Company changed event",description:"The event that is triggered when a company is changed",returnStatements:[],collapsed:!1,inputs:[aV,Q_],calls:[q_,Vg],index:1,private:!1,implements:null,x:0,y:0,parent:eV},sV={type:a.GenericReference,id:"employee-manager-property-data-type-entity-ref-id",entityType:a.CustomEntity,entityId:"employee-entity-id"},oV={type:a.GenericReference,id:"employee-manager-property-data-type-parent-ref-id",entityType:a.Property,entityId:"employee-manager-property-id"},lV={like:!1,inferred:!1,id:"employee-manager-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:sV,isList:!1,isNullable:!0,asType:!1,constant:!1,parent:oV},dV={type:a.GenericReference,id:"employee-manager-property-parent-ref-id",entityType:a.CustomEntity,entityId:"employee-entity-id"},cV={hidden:!1,required:!0,type:a.Property,id:"employee-manager-property-id",version:1,name:"Manager",description:"The manager of the employee",index:0,implements:null,private:!1,static:!1,defaultValue:null,dataType:lV,abstract:!1,parent:dV},uV={type:a.GenericReference,id:"employee-start-date-property-data-type-parent-ref-id",entityType:a.Property,entityId:"employee-start-date-property-id"},pV={like:!1,inferred:!1,id:"employee-start-date-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ln,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:uV},yV={type:a.GenericReference,id:"employee-start-date-property-parent-ref-id",entityType:a.CustomEntity,entityId:"employee-entity-id"},hV={hidden:!1,required:!0,type:a.Property,id:"employee-start-date-property-id",version:1,name:"Start date",description:"The date the employee started working in the company",index:0,private:!1,static:!1,defaultValue:null,implements:null,dataType:pV,abstract:!1,parent:yV},fV={type:a.GenericReference,id:"employee-department-property-ref-id",entityType:a.Property,entityId:"employee-department-property-id"},mV={like:!1,inferred:!1,id:"employee-department-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Pn,isList:!1,isNullable:!1,asType:!1,options:["Human Resources","Finance","IT","Sales","Marketing","Customer Service","Logistics","Product"],constant:!1,parent:fV},TV={type:a.GenericReference,id:"employee-department-property-parent-ref-id",entityType:a.CustomEntity,entityId:"employee-entity-id"},EV={hidden:!1,required:!0,type:a.Property,id:"employee-department-property-id",version:1,name:"Department",description:"The department the employee works in, from a list of departments in the company",index:0,defaultValue:null,implements:null,static:!1,private:!1,dataType:mV,abstract:!1,parent:TV},bV={type:a.GenericReference,id:"employee-prototype-parent-ref-id",entityType:a.Project,entityId:H},Yt={type:a.CustomEntity,id:"employee-entity-id",version:1,name:"Employee",description:"A entity that represents an employee in the company",properties:[EV,hV,cV],abstract:!1,static:!1,abstractMethods:[],methods:[],implements:[],extends:[gt],x:0,y:0,parent:bV},RV={type:a.GenericReference,id:"dec8fbfe-9124-41fd-9f1c-5b2f07cfd6ba",entityType:a.Property,entityId:"4f52d044-f3dd-4bdf-927e-637c3b92e8bd"},gV={like:!1,inferred:!1,id:"bc0b8979-6c43-4d47-a712-6742b89e3c00",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:RV},vV={type:a.GenericReference,id:"4f8c0a05-466e-4672-b4c4-6bd408c0be9a",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},IV={hidden:!1,required:!0,type:a.Property,id:"4f52d044-f3dd-4bdf-927e-637c3b92e8bd",version:1,name:"Company Name",private:!1,static:!1,description:"The name of the company",index:0,defaultValue:null,implements:null,dataType:gV,abstract:!1,parent:vV},DV={type:a.GenericReference,id:"95173fe0-a6e6-443c-94f3-f7c5cf171fcf",entityType:a.Property,entityId:"80c86e1b-caca-4ba5-9b1f-38f72d10e4a3"},SV={like:!1,inferred:!1,id:"ddbb6f5c-0cf4-41fb-83b3-b6c47c0e338d",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:va,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:DV},OV={type:a.GenericReference,id:"6a9a0b72-a05d-4169-b3f3-5afb01e8d0df",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},Ld={hidden:!1,required:!0,type:a.Property,id:"80c86e1b-caca-4ba5-9b1f-38f72d10e4a3",version:1,name:"Bank account",description:"The bank account of the company",index:1,implements:null,static:!1,private:!1,defaultValue:null,dataType:SV,abstract:!1,parent:OV},PV={type:a.GenericReference,id:"62892cc6-d227-4088-90d3-ae7c15ed4af4",entityType:a.Property,entityId:"19a31727-1fba-40a5-be25-18e0f149d5cb"},AV={like:!1,inferred:!1,id:"1f7629df-dc29-4c89-8369-c6d043e97a9e",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:gt,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:PV},CV={type:a.GenericReference,id:"89384206-fd5a-4f0a-849c-f777473e5773",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},wV={hidden:!1,required:!0,type:a.Property,id:"19a31727-1fba-40a5-be25-18e0f149d5cb",version:1,name:"Company Owner",description:"The person that owns the company",index:2,static:!1,implements:null,defaultValue:null,dataType:AV,private:!0,abstract:!1,parent:CV},BV={type:a.GenericReference,id:"4d2ffb6c-5f38-436e-8339-fb9878ac2b5e",entityType:a.Property,entityId:"f8310850-a87e-405c-b182-4f1d5fa49240"},MV={like:!1,inferred:!1,id:"ad44250b-40c2-48f7-a480-381fa938f562",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Yt,isList:!0,asType:!1,isNullable:!1,constant:!1,parent:BV},NV={type:a.GenericReference,id:"aa5d4eee-6fac-4e72-bf21-9c8750024541",entityType:a.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},_V={hidden:!1,required:!0,type:a.Property,id:"f8310850-a87e-405c-b182-4f1d5fa49240",version:1,name:"Employees",description:null,index:3,defaultValue:null,dataType:MV,implements:null,private:!0,static:!1,abstract:!1,parent:NV},VV={id:"company-prototype-primary-key-property-data-type-ref-id",type:a.GenericReference,entityId:"company-prototype-primary-key-property-id",entityType:a.Property},LV={id:"company-prototype-primary-key-property-ref-id",type:a.GenericReference,entityId:"company-prototype-primary-key-property-id",entityType:a.Property},GV={like:!1,inferred:!1,id:"company-prototype-primary-key-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parent:LV},$V={id:"company-prototype-primary-key-property-parent-ref-id",type:a.GenericReference,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d",entityType:a.CustomEntity},FV={hidden:!1,required:!0,id:"company-prototype-primary-key-property-id",name:"Identifier",version:1,type:a.Property,private:!1,abstract:!1,implements:pa,static:!1,index:4,defaultValue:{id:"company-prototype-primary-key-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.UUID,value:null,parent:VV,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:GV,description:"A property with a unique value for the entity, that can be used to identify the entity among other entities of the same type.",parent:$V},UV={type:a.GenericReference,id:"e3c03b6b-2ea0-4d99-865d-5e6a348672d0",entityType:a.Project,entityId:H},Ht={type:a.CustomEntity,id:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d",version:1,name:"Company",description:null,properties:[IV,Ld,wV,_V,FV],static:!1,abstract:!1,abstractMethods:[],methods:[IN,iV],extends:[],implements:[st,Ft],x:0,y:0,parent:UV},xV={type:a.GenericReference,id:"ffcad334-138d-4b67-8fb3-5f0e6f5fefbd",entityType:a.Project,entityId:H},Gd={type:a.FunctionDeclaration,id:"0f89260c-8c58-4639-8629-d9ea5ab40ba7",version:1,name:"Show popup",description:null,inputs:[],calls:[],returnStatements:[],implements:null,collapsed:!1,private:!1,index:null,x:0,y:0,parent:xV};a.GenericReference,a.DataType;const jV={id:"cron-job-entity-expression-property-ref-id",type:a.GenericReference,entityId:"cron-job-entity-expression-property-id",entityType:a.Property},kV={like:!1,inferred:!1,id:"cron-job-entity-expression-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:jV},qV={id:"cron-job-entity-ref-id",type:a.GenericReference,entityId:"cron-job-entity-id",entityType:a.CustomEntity},JV={hidden:!1,required:!0,id:"cron-job-entity-expression-property-id",type:a.Property,version:1,name:"Cron expression",description:"The cron expression that defines when the cron job should be triggered",defaultValue:null,dataType:kV,implements:null,static:!0,private:!1,abstract:!1,index:0,parent:qV},WV={id:"cron-job-entity-trigger-show-popup-func-call-called-by-ref-one-id",type:a.GenericReference,entityId:"cron-job-entity-trigger-func-decl-id",entityType:a.FunctionDeclaration},YV={id:"cron-job-entity-trigger-show-popup-func-call-parent-ref-id",type:a.GenericReference,entityId:"cron-job-entity-trigger-func-decl-id",entityType:a.FunctionDeclaration},HV={id:"cron-job-entity-trigger-show-popup-func-call-id",version:1,type:a.FunctionCall,declaration:Gd,inputs:[],outputs:[],process:null,successCalls:[],calledByError:[],calledByEntry:[WV],calledBySuccess:[],errorCalls:[],error:null,x:0,y:0,parent:YV},zV={id:"cron-job-entity-trigger-func-decl-parent-ref-id",type:a.GenericReference,entityId:"cron-job-entity-id",entityType:a.CustomEntity},ZV={id:"cron-job-entity-trigger-func-decl-id",version:1,type:a.FunctionDeclaration,name:"Scheduled trigger",description:"The function that is called when the cron job is triggered",inputs:[],private:!1,implements:cd,calls:[HV],collapsed:!1,returnStatements:[],index:0,x:0,y:0,parent:zV},KV={id:"cron-job-entity-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},XV={id:"cron-job-entity-id",version:1,type:a.CustomEntity,name:"Run at 12pm on Christmas day",description:"A cron job that runs at 12pm on Christmas day",properties:[JV],static:!0,abstract:!1,abstractMethods:[],extends:[Os],implements:[],methods:[ZV],x:0,y:0,parent:KV},QV={type:a.GenericReference,id:"52dbd85c-48b1-462a-8205-2437d6fb1cb4",entityType:a.Project,entityId:H},eL={type:a.CustomEntity,id:"6f0908c2-09c6-4a8b-8f43-d2467fe6fb39",version:1,name:"Get bank all bank accounts",description:null,properties:[],static:!0,abstract:!1,abstractMethods:[],methods:[],extends:[],implements:[ri],x:0,y:0,parent:QV},ao="f558fbf8-67de-4545-9804-6ae621e0b2d4",tL={id:"getCompanyByIdEndpointPathParamsVariableDataTypeRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointPathParamsArgumentDeclaration"},nL={id:"getCompanyByIdEndpointPathParamsArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointPathParamsArgumentDeclaration"},rL={like:!1,inferred:!1,id:"getCompanyByIdEndpointPathParamsVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:J,asType:!1,parent:nL},aL={id:"getCompanyByIdEndpointReachedEntityEventRef",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},iL={id:"getCompanyByIdEndpointRequestHeadersVariableDataTypeRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration"},sL={id:"getCompanyByIdEndpointRequestHeadersArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration"},oL={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestHeadersVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:at,asType:!1,parent:sL},lL={id:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the request.",type:a.ArgumentDeclaration,writesValues:[],name:"Request headers",defaultValue:{id:"getCompanyByIdEndpointRequestHeadersVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:iL,autogeneration:null,valueAsType:null},dataType:oL,implements:Ql,required:!0,index:0,parent:aL},dL={id:"getCompanyByIdEndpointReachedEntityEventRefTwo",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},cL={id:"getCompanyByIdEndpointPathParamsArgumentDeclaration",type:a.ArgumentDeclaration,description:"A standarized text, without spaces that is added at the end of the domain and routes the request to a specific resource within the target server. For example: /api/users/123, /api/users/123/:name, /api/users/123/:name/:age.",version:1,name:"Path parameters",writesValues:[],defaultValue:{id:"getCompanyByIdEndpointPathParamsVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:tL,autogeneration:null,valueAsType:null},dataType:rL,implements:ed,required:!0,index:1,parent:dL},uL={id:"getCompanyByIdEndpointReachedEntityEventRefThree",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},pL={id:"getCompanyByIdEndpointRequestQueryParamsVariableDataTypeRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration"},yL={id:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration"},hL={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestQueryParamsVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,asType:!1,entity:J,parent:yL},fL={id:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration",version:1,description:"A text with standarized format, without spaces that is added at the end of the URL path, after the ? character. It contains data that might be used to process the request. For example: /api/users?name=John&age=30",type:a.ArgumentDeclaration,writesValues:[],name:"Request query params",defaultValue:{id:"getCompanyByIdEndpointRequestQueryParamsVariableDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:pL,autogeneration:null,valueAsType:null},dataType:hL,implements:td,required:!0,index:2,parent:uL},mL={id:"getCompanyByIdEndpointReachedEntityEventRefFour",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},TL={id:"getCompanyByIdEndpointRequestBodyArgumentDeclarationRef",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestBodyArgumentDeclaration"},EL={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestBodyVariableDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:at,parent:TL},bL={id:"getCompanyByIdEndpointRequestBodyArgumentDeclaration",version:1,description:"The main data payload of the request.",type:a.ArgumentDeclaration,writesValues:[],name:"Request body",defaultValue:null,dataType:EL,implements:nd,index:3,required:!0,parent:mL},RL={id:"getCompanyByIdEndpointResponseCodeReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseCodeReturnDeclaration"},gL={like:!1,inferred:!1,id:"9ba575b0-6f8e-436d-a3de-3b843622aa17",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:RL},vL={id:"getCompanyByIdEndpointReturnStatementRef",type:a.GenericReference,entityType:a.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},IL={isError:!1,id:"getCompanyByIdEndpointResponseCodeReturnDeclaration",version:1,description:"A standarized number that represents the status of the response. 200 for OK, 404 for not found, 500 for server error, etc.",type:a.ReturnDeclaration,name:"Response code",defaultValue:null,dataType:gL,implements:rd,readsValue:null,required:!0,index:0,parent:vL},DL={id:"getCompanyByIdEndpointResponseHeadersDataTypeRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseHeadersReturnDeclaration"},SL={id:"getCompanyByIdEndpointResponseHeadersReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseHeadersReturnDeclaration"},OL={like:!1,inferred:!1,id:"getCompanyByIdEndpointResponseHeadersDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:at,asType:!1,parent:SL},PL={id:"getCompanyByIdEndpointReturnStatementRefTwo",type:a.GenericReference,entityType:a.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},AL={isError:!1,id:"getCompanyByIdEndpointResponseHeadersReturnDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the response.",type:a.ReturnDeclaration,name:"Response headers",defaultValue:{id:"getCompanyByIdEndpointResponseHeadersDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.KeyValue,value:{},parent:DL,autogeneration:null,valueAsType:null},dataType:OL,implements:ad,readsValue:null,required:!0,index:1,parent:PL},CL={id:"getCompanyByIdEndpointResponseBodyReturnDeclarationRef",type:a.GenericReference,entityType:a.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseBodyReturnDeclaration"},wL={like:!1,inferred:!1,id:"getCompanyByIdEndpointResponseBodyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:at,parent:CL},BL={id:"getCompanyByIdEndpointReturnStatementRefThree",type:a.GenericReference,entityType:a.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},ML={isError:!1,id:"getCompanyByIdEndpointResponseBodyReturnDeclaration",version:1,description:"The main data payload of the response.",type:a.ReturnDeclaration,name:"Response body",implements:id,defaultValue:null,dataType:wL,readsValue:null,required:!0,index:2,parent:BL},NL={id:"getCompanyByIdEndpointReturnStatementCallerRef",type:a.GenericReference,entityId:"getCompanyByIdEndpointReachedEntityEvent",entityType:a.FunctionDeclaration},_L={id:"getCompanyByIdEndpointReachedEntityEventRefFive",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},VL={id:"getCompanyByIdEndpointReturnStatement",type:a.ReturnStatement,version:1,outputs:[IL,AL,ML],calledByError:[],calledByEntry:[NL],calledBySuccess:[],throws:null,x:0,y:0,parent:_L},LL={id:"endpointBuiltInBaseEntityRefFour",type:a.GenericReference,entityType:a.BuiltInBaseEntity,entityId:ao},GL={id:"getCompanyByIdEndpointReachedEntityEvent",name:"Endpoint reached",version:1,type:a.FunctionDeclaration,inputs:[lL,cL,fL,bL],returnStatements:[VL],description:"Fired when the endpoint is reached.",calls:[],collapsed:!1,implements:sd,index:0,private:!1,x:0,y:0,parent:LL},$L={id:"getCompanyByIdEndpointPathPropertyDataTypeRef",type:a.GenericReference,entityType:a.Property,entityId:"getCompanyByIdEndpointPathProperty"},FL={id:"getCompanyByIdEndpointPathPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:"getCompanyByIdEndpointPathProperty"},UL={like:!1,inferred:!1,id:"getCompanyByIdEndpointPathPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:J,asType:!1,parent:FL},xL={id:"getCompanyByIdEndpointBaseEntityRefTwo",type:a.GenericReference,entityType:a.CustomEntity,entityId:ao},jL={id:"getCompanyByIdEndpointPathProperty",hidden:!1,required:!0,name:"Path",version:1,type:a.Property,private:!1,abstract:!1,static:!0,implements:Kl,defaultValue:{id:"getCompanyByIdEndpointPathPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,name:C.String,value:"/company/{id}",parent:$L,valueAsType:null,autogeneration:null},dataType:UL,index:1,description:"Path to the endpoint, for example /api/users, or /api/users/{id}, or /api/users/{id}/:name. The path can contain parameters, which are defined by curly braces, and will be passed to the endpoint event as variables with the same name.",parent:xL},kL={id:"getCompanyByIdEndpointMethodPropertyDataTypeRef",type:a.GenericReference,entityType:a.Property,entityId:"getCompanyByIdEndpointMethodProperty"},qL={id:"getCompanyByIdEndpointMethodPropertyRef",type:a.GenericReference,entityType:a.Property,entityId:"getCompanyByIdEndpointMethodProperty"},JL={like:!1,inferred:!1,id:"getCompanyByIdEndpointMethodPropertyDataType",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Pn,isList:!0,isNullable:!1,constant:!0,asType:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],parent:qL},WL={id:"getCompanyByIdEndpointBaseEntityRefThree",type:a.GenericReference,entityType:a.CustomEntity,entityId:ao},YL={hidden:!1,required:!0,id:"getCompanyByIdEndpointMethodProperty",name:"Method",version:1,type:a.Property,private:!1,abstract:!1,static:!0,implements:Xl,index:0,defaultValue:{id:"getCompanyByIdEndpointMethodPropertyDataTypeDefaultValueId",type:a.LiteralValue,version:1,value:"GET",name:C.Enum,parent:kL,valueAsType:null,autogeneration:null},dataType:JL,description:null,parent:WL},HL={type:a.GenericReference,id:"6a905153-8aa8-4424-bd7b-6415731a2725",entityType:a.Project,entityId:H},zL={type:a.CustomEntity,id:ao,version:1,name:"Get given company data by id",description:null,properties:[jL,YL],methods:[GL],static:!0,abstract:!1,abstractMethods:[],extends:[],implements:[ri],x:0,y:0,parent:HL},ZL={id:"plant-prototype-database-property-ref-id",type:a.GenericReference,entityId:"plant-prototype-database-property-id",entityType:a.Property},KL={id:"plant-prototype-database-property-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:"plant-prototype-database-property-id",entityType:a.Property},XL={like:!1,inferred:!1,id:"plant-prototype-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:un,asType:!1,parent:ZL},QL={id:"plant-prototype-database-property-parent-ref-id",type:a.GenericReference,entityId:"plant-entity-id",entityType:a.CustomEntity},e1={hidden:!1,required:!0,id:"plant-prototype-database-property-id",name:"Database",version:1,type:a.Property,private:!1,abstract:!1,implements:ua,static:!0,index:0,defaultValue:{id:"plant-prototype-database-property-data-type-default-value-id",type:a.LiteralValue,version:1,value:null,name:C.EntityTemplate,valueAsType:wd,autogeneration:null,parent:KL},dataType:XL,description:"The database that the entity belongs to.",parent:QL},t1={type:a.GenericReference,id:"plant-name-property-ref-id",entityType:a.Property,entityId:"plant-name-property-id"},n1={like:!1,inferred:!1,id:"plant-name-property-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:t1},r1={type:a.GenericReference,id:"animal-name-property-parent-ref-id",entityType:a.CustomEntity,entityId:"plant-entity-id"},a1={hidden:!1,required:!0,type:a.Property,id:"plant-name-property-id",version:1,name:"Name",description:"The name of the plant",defaultValue:null,implements:null,static:!1,private:!1,index:0,dataType:n1,abstract:!1,parent:r1},i1={type:a.GenericReference,id:"plant-prototype-parent-ref-id",entityType:a.Project,entityId:H},s1={type:a.CustomEntity,id:"plant-entity-id",version:1,name:"Plant",description:"A living creature that is not an animal",abstract:!1,static:!1,abstractMethods:[],properties:[e1,a1],methods:[],extends:[],implements:[st],x:0,y:0,parent:i1},o1={id:"product-prototype-database-property-ref-id",type:a.GenericReference,entityId:"product-prototype-database-property-id",entityType:a.Property},l1={id:"product-prototype-database-property-data-type-default-value-parent-ref-id",type:a.GenericReference,entityId:"product-prototype-database-property-id",entityType:a.Property},d1={like:!1,inferred:!1,id:"product-prototype-database-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:un,asType:!1,parent:o1},c1={id:"product-prototype-database-property-parent-ref-id",type:a.GenericReference,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",entityType:a.CustomEntity},u1={hidden:!1,required:!0,id:"product-prototype-database-property-id",name:"Database",version:1,type:a.Property,private:!1,abstract:!1,implements:ua,static:!0,index:0,defaultValue:{id:"product-prototype-database-property-data-type-default-value-id",type:a.LiteralValue,version:1,value:null,name:C.EntityTemplate,valueAsType:Bd,autogeneration:null,parent:l1},dataType:d1,description:"The database that the entity belongs to.",parent:c1},p1={type:a.GenericReference,id:"13a4045e-dcb0-4159-8d33-10a646078b5a",entityType:a.Property,entityId:"d519c26a-15b8-40d8-ad09-13fa9342e9ba"},y1={like:!1,inferred:!1,id:"7449779e-1d4e-409c-81c6-4b611336ed18",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:p1},h1={type:a.GenericReference,id:"0969562f-d836-406f-8b48-dd9d417fbe72",entityType:a.CustomEntity,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c"},f1={hidden:!1,required:!0,type:a.Property,id:"d519c26a-15b8-40d8-ad09-13fa9342e9ba",version:1,name:"Name",description:"The name of the product",index:0,implements:null,static:!1,private:!1,defaultValue:null,dataType:y1,abstract:!1,parent:h1},m1={type:a.GenericReference,id:"833a5425-7bd0-41dd-9e97-e018acce9592",entityType:a.Project,entityId:H},T1={id:"product-prototype-primary-key-property-data-type-ref-id",type:a.GenericReference,entityId:"product-prototype-primary-key-property-id",entityType:a.Property},E1={id:"product-prototype-primary-key-property-ref-id",type:a.GenericReference,entityId:"product-prototype-primary-key-property-id",entityType:a.Property},b1={like:!1,inferred:!1,id:"product-prototype-primary-key-property-data-type-id",version:1,type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:An,asType:!1,parent:E1},R1={id:"product-prototype-primary-key-property-parent-ref-id",type:a.GenericReference,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",entityType:a.CustomEntity},g1={hidden:!1,required:!0,id:"product-prototype-primary-key-property-id",name:"Identifier",version:1,type:a.Property,private:!1,abstract:!1,implements:null,static:!1,index:0,defaultValue:{id:"product-prototype-primary-key-property-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.UUID,value:null,parent:T1,autogeneration:{type:ze.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:b1,description:"A property with a unique value for the entity, that can be used to identify the entity among other entities of the same type.",parent:R1},v1={type:a.CustomEntity,id:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",version:1,name:"Product",description:"A product that can be sold",implements:[st,Ft],extends:[],abstract:!1,static:!1,abstractMethods:[],properties:[g1,u1,f1],methods:[],x:0,y:0,parent:m1},Da="project-loaded-event-id",Nn="get-bitcoin-price-http-call-operation-id",Lg="get-bitcoin-price-http-call-response-body-id",io="validate-bitcoin-price-response-operation-ids",I1={type:a.GenericReference,id:"validate-bitcoin-data-to-validate-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Lg},D1={type:a.GenericReference,id:"validate-bitcoin-data-to-validate-input-map-parent-ref-id",entityType:a.Operation,entityId:io},Gg={id:"validate-bitcoin-data-to-validate-input-map-id",type:a.InputMap,version:1,declaration:fr.inputs[1],name:null,description:null,readsValue:I1,defaultValue:null,index:0,parent:D1},S1={type:a.GenericReference,id:"validate-bitcoin-type-to-match-input-map-default-value-parent-ref-id",entityType:a.InputMap,entityId:"validate-bitcoin-type-to-match-input-map-id"},O1={type:a.GenericReference,id:"validate-bitcoin-type-to-match-input-map-parent-ref-id",entityType:a.Operation,entityId:io},P1={id:"validate-bitcoin-type-to-match-input-map-id",type:a.InputMap,version:1,declaration:fr.inputs[0],name:null,description:null,readsValue:null,defaultValue:{id:"validate-bitcoin-type-to-match-input-map-default-value-id",type:a.LiteralValue,version:1,name:C.EntityTemplate,valueAsType:gg,value:null,parent:S1,autogeneration:null},index:0,parent:O1},A1={type:a.GenericReference,id:"validate-bitcoin-validated-entity-output-map-parent-ref-id",entityType:a.Operation,entityId:io},C1={id:"validate-bitcoin-validated-entity-output-map-id",type:a.OutputMap,version:1,defaultValue:null,declaration:fr.outputs[0],writesValues:[],index:0,parent:A1},w1={type:a.GenericReference,id:"validate-bitcoin-price-response-operation-parent-ref-id",entityType:a.GlobalEvent,entityId:Da},B1={type:a.GenericReference,id:"validate-bitcoin-price-response-operation-called-by-ref-id",entityType:a.Operation,entityId:Nn},M1={type:a.Operation,id:io,version:1,declaration:fr,inputs:[P1,Gg],outputs:[C1],process:null,successCalls:[],errorCalls:[],error:null,x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[B1],parent:w1},N1={type:a.GenericReference,id:"96edb661-3f36-406c-8921-f1679dd796a3",entityType:a.FunctionCall,entityId:Nn},_1={id:"c93e1393-9b5e-4de2-b8da-7eae647d715a",version:1,type:a.InputMap,declaration:ps,name:null,description:null,readsValue:null,defaultValue:null,index:0,parent:N1},V1={type:a.GenericReference,id:"40312b28-71b8-4b01-a654-58b87191939d",entityType:a.FunctionCall,entityId:Nn},L1={type:a.GenericReference,id:"6ea96c7d-02a7-4971-82ad-2f32a0fec8b4",entityType:a.InputMap,entityId:"9f21cbac-5a83-4983-8923-9224ffd3ba9f"},G1={id:"9f21cbac-5a83-4983-8923-9224ffd3ba9f",version:1,type:a.InputMap,declaration:ys,name:null,description:null,readsValue:null,defaultValue:{id:"get-bitcoin-price-http-request-url-argument-default-value-id",type:a.LiteralValue,version:1,value:"https://api.coindesk.com/v1/bpi/currentprice.json",name:C.String,parent:L1,valueAsType:null,autogeneration:null},index:1,parent:V1},$1={type:a.GenericReference,id:"2610bf4a-c8a2-4746-b6cc-eb15f7fa8e9c",entityType:a.FunctionCall,entityId:Nn},F1={id:"ffb3cd9d-c955-4104-bc7b-299120fe4ede",version:1,type:a.InputMap,declaration:hs,name:null,description:null,readsValue:null,defaultValue:null,index:2,parent:$1},U1={type:a.GenericReference,id:"bfd29a6a-671a-448c-9f2f-f8c7e4ad8349",entityType:a.FunctionCall,entityId:Nn},x1={id:"412bf1f3-1a8e-4665-a95f-82117540e34e",version:1,type:a.InputMap,declaration:fs,name:null,description:null,readsValue:null,defaultValue:null,index:3,parent:U1},j1={type:a.GenericReference,id:"616a15f3-c224-4b11-b95c-63314edef409",entityType:a.FunctionCall,entityId:Nn},k1={id:"4dd4651c-02e4-45f1-b50f-824f3bcb1648",version:1,type:a.OutputMap,defaultValue:null,declaration:Ts,writesValues:[],index:1,parent:j1},q1={type:a.GenericReference,id:"28793b68-4d7e-4826-aee1-f201a3499faf",entityType:a.FunctionCall,entityId:Nn},J1={id:"94fe9d35-4dd4-4729-a50c-5283ccd7e661",version:1,type:a.OutputMap,defaultValue:null,declaration:ms,writesValues:[],index:0,parent:q1},W1={type:a.GenericReference,id:"f13e04b2-49b4-4c69-85b8-cbbafafa3524",entityType:a.FunctionCall,entityId:Nn},Y1={id:Lg,type:a.OutputMap,defaultValue:null,version:1,declaration:Es,writesValues:[Gg],index:2,parent:W1},H1={type:a.GenericReference,id:"6148d6d0-caaa-45fc-b601-ff2493dfc60f",entityType:a.GlobalEvent,entityId:Da},z1={type:a.GenericReference,id:"b115f084-807b-44b3-ae01-b69cc342f761",entityType:a.GlobalEvent,entityId:Da},Z1={type:a.Operation,id:Nn,version:1,declaration:Xa,inputs:[_1,G1,F1,x1],outputs:[J1,k1,Y1],process:null,parent:z1,calledByError:[],calledByEntry:[H1],calledBySuccess:[],successCalls:[M1],errorCalls:[],error:null,x:0,y:0},K1={type:a.GenericReference,id:"24e76019-3f94-475b-91ce-297f76bbc224",entityType:a.GlobalEvent,entityId:Da},X1={type:a.GenericReference,id:"0eac8e29-cdf2-42f8-8ea7-ad76d4d79abe",entityType:a.GlobalEvent,entityId:Da},Q1={process:null,type:a.FunctionCall,id:"2d2e7593-bfbf-457c-a607-5fce18eef457",version:1,declaration:Gd,inputs:[],outputs:[],calledByError:[],calledByEntry:[K1],calledBySuccess:[],parent:X1,successCalls:[],errorCalls:[],error:null,x:0,y:0},e0={id:"793b5999-a9da-47fb-9665-0c17ebc6d5c9",type:a.GenericReference,entityType:a.Project,entityId:H},t0={type:a.GlobalEvent,id:Da,version:1,name:Dn.PROJECT_PUBLICATION_COMPLETED,returnStatements:[],collapsed:!1,implements:As,parent:e0,inputs:[],calls:[Q1,Z1],x:0,y:0},Ut="abort-execution-func-declaration-id",Si="abort-execution-func-exec-var-declaration-id",$d="abort-execution-func-small-wait-op-id",Fd="abort-execution-func-long-wait-op-id",$g="abort-execution-func-long-wait-process-output-id",Fg="abort-execution-func-exec-var-instance-write-id",Ug="abort-execution-func-long-wait-return-stmt-id",xg="abort-execution-func-small-wait-return-stmt-id",n0="abort-execution-func-exec-var-instance-abort-call-id",Ud="abort-execution-func-exec-var-instance-abort-internal-call-id",xd="abort-execution-func-exec-second-wait-op-id",r0={type:a.GenericReference,id:"short-wait-return-statement-returned-hello-string-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:"short-wait-return-statement-returned-hello-string-id"},a0={type:a.GenericReference,id:"short-wait-return-statement-returned-hello-string-data-type-default-value-parent-ref-id",entityType:a.ReturnDeclaration,entityId:"short-wait-return-statement-returned-hello-string-id"},i0={like:!1,inferred:!1,id:"short-wait-return-statement-returned-hello-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:r0},s0={type:a.GenericReference,id:"short-wait-return-statement-returned-hello-string-parent-ref-id",entityType:a.ReturnStatement,entityId:xg},o0={isError:!1,id:"short-wait-return-statement-returned-hello-string-id",type:a.ReturnDeclaration,version:1,name:"Return 1",description:"A random string that is returned by the function",defaultValue:{id:"short-wait-return-statement-returned-hello-string-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"Hello 2",autogeneration:null,valueAsType:null,parent:a0},dataType:i0,implements:null,readsValue:null,required:!0,index:0,parent:s0},l0={type:a.GenericReference,id:"short-wait-return-statement-called-by-ref-id",entityType:a.Operation,entityId:xd},d0={type:a.GenericReference,id:"short-wait-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},jg={type:a.ReturnStatement,id:xg,version:1,outputs:[o0],calledByError:[],calledByEntry:[],calledBySuccess:[l0],throws:null,x:0,y:0,parent:d0},c0={type:a.GenericReference,id:"second-wait-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:"second-wait-argument-map-id"},u0={type:a.GenericReference,id:"second-wait-argument-map-parent-ref-id",entityType:a.Operation,entityId:xd},p0={id:"second-wait-argument-map-id",type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"second-wait-argument-default-value-id",type:a.LiteralValue,version:1,value:2e3,valueAsType:null,autogeneration:null,name:C.Number,parent:c0},index:0,parent:u0},y0={type:a.GenericReference,id:"small-wait-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},h0={type:a.GenericReference,id:"small-wait-called-by-ref-one-id",entityType:a.InternalCall,entityId:Ud},f0={id:xd,type:a.Operation,version:1,declaration:bt,inputs:[p0],outputs:[],process:null,successCalls:[jg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[h0],error:null,parent:y0},m0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-abort-internal-call-called-by-ref-one-id",entityType:a.VariableInstance,entityId:Fg},T0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-abort-internal-call-called-by-ref-two-id",entityType:a.Operation,entityId:$d},E0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-main-project-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},b0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-declaration-ref-id-2",entityType:a.VariableDeclaration,entityId:Si},R0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-internal-call-ref-one-id",entityType:a.InternalCall,entityId:Ud},g0={id:n0,type:a.VariableInstance,version:1,declaration:b0,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[R0],parent:E0},kg={id:Ud,type:a.InternalCall,version:1,inputs:[],outputs:[],declaration:ud,process:null,calledByError:[],calledByEntry:[],calledBySuccess:[m0,T0],successCalls:[f0],errorCalls:[],error:null,index:0,parent:g0},v0={type:a.GenericReference,id:"abort-exec-func-var-write-instance-main-project-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},I0={type:a.GenericReference,id:"abort-exec-func-var-write-instance-called-by-ref-one-id",entityType:a.VariableDeclaration,entityId:Si},D0={type:a.GenericReference,id:"abort-exec-func-var-write-instance-called-by-ref-two-id",entityType:a.FunctionDeclaration,entityId:Ut},S0={type:a.GenericReference,id:"abort-exec-func-abort-call-var-instance-declaration-ref-id",entityType:a.VariableDeclaration,entityId:Si},O0={type:a.GenericReference,id:"abort-exec-func-var-write-instance-reads-value-ref-id",entityType:a.OutputMap,entityId:$g},jd={id:Fg,type:a.VariableInstance,version:1,declaration:S0,inputs:[],outputs:[],defaultValue:null,calledByError:[],calledByEntry:[D0],calledBySuccess:[I0],successCalls:[kg],errorCalls:[],x:0,y:0,readsValue:O0,writesValues:[],internalCalls:[],parent:v0},P0={type:a.GenericReference,id:"abort-exec-func-var-decl-datatype-parent-ref-id",entityType:a.VariableDeclaration,entityId:Si};a.GenericReference,a.DataType;const A0={like:!1,inferred:!1,id:"abort-exec-func-var-decl-datatype-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Ps,version:1,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:P0},C0={type:a.GenericReference,id:"abort-exec-func-var-decl-main-project-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},w0={type:a.GenericReference,id:"abort-exec-func-var-decl-called-by-ref-one-id",entityType:a.FunctionDeclaration,entityId:Ut},B0={id:Si,type:a.VariableDeclaration,version:1,name:"Execution in progress",description:"A variable that holds an ongoing execution to abort it if needed",defaultValue:null,dataType:A0,inputs:[],outputs:[],calledByError:[],calledByEntry:[w0],calledBySuccess:[],successCalls:[jd],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[],parent:C0},M0={type:a.GenericReference,id:"long-wait-return-statement-returned-hello-string-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:"long-wait-return-statement-returned-hello-string-id"},N0={type:a.GenericReference,id:"long-wait-return-statement-returned-hello-string-data-type-default-value-parent-ref-id",entityType:a.ReturnDeclaration,entityId:"long-wait-return-statement-returned-hello-string-id"},_0={like:!1,inferred:!1,id:"long-wait-return-statement-returned-hello-string-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:M0},V0={type:a.GenericReference,id:"long-wait-return-statement-returned-hello-string-parent-ref-id",entityType:a.ReturnStatement,entityId:Ug},L0={isError:!1,id:"long-wait-return-statement-returned-hello-string-id",type:a.ReturnDeclaration,version:1,name:"Return 2",description:"A random string that is returned by the function",implements:null,defaultValue:{id:"long-wait-return-statement-returned-hello-string-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.String,value:"Hello 1",autogeneration:null,valueAsType:null,parent:N0},dataType:_0,readsValue:null,required:!0,index:0,parent:V0},G0={type:a.GenericReference,id:"long-wait-return-statement-called-by-ref-id",entityType:a.Operation,entityId:Fd},$0={type:a.GenericReference,id:"long-wait-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},qg={type:a.ReturnStatement,id:Ug,version:1,outputs:[L0],calledByError:[],calledByEntry:[],calledBySuccess:[G0],throws:null,x:0,y:0,parent:$0},F0={type:a.GenericReference,id:"long-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:"long-argument-map-id"},Jg={type:a.GenericReference,id:"long-argument-map-parent-ref-id",entityType:a.Operation,entityId:Fd},U0={id:"long-argument-map-id",type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"long-argument-default-value-id",type:a.LiteralValue,version:1,value:1500,valueAsType:null,autogeneration:null,name:C.Number,parent:F0},index:0,parent:Jg},x0={type:a.GenericReference,id:"long-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},j0={type:a.GenericReference,id:"long-called-by-ref-one-id",entityType:a.FunctionDeclaration,entityId:Ut},k0={id:$g,type:a.OutputMap,version:1,defaultValue:null,declaration:Cs,writesValues:[jd],index:0,parent:Jg},q0={id:Fd,type:a.Operation,version:1,declaration:bt,inputs:[U0],outputs:[],process:k0,successCalls:[qg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[j0],calledBySuccess:[],error:null,parent:x0},J0={type:a.GenericReference,id:"small-wait-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:"small-wait-argument-map-id"},W0={type:a.GenericReference,id:"small-wait-argument-map-parent-ref-id",entityType:a.Operation,entityId:$d},Y0={id:"small-wait-argument-map-id",type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"small-wait-argument-default-value-id",type:a.LiteralValue,version:1,value:500,valueAsType:null,autogeneration:null,name:C.Number,parent:J0},index:0,parent:W0},H0={type:a.GenericReference,id:"small-wait-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Ut},z0={type:a.GenericReference,id:"small-wait-called-by-ref-one-id",entityType:a.FunctionDeclaration,entityId:Ut},Z0={id:$d,type:a.Operation,version:1,declaration:bt,inputs:[Y0],outputs:[],process:null,successCalls:[kg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[z0],calledBySuccess:[],error:null,parent:H0},K0={type:a.GenericReference,id:"abort-execution-func-decl-parent-ref-id",entityType:a.Project,entityId:H},Wg={id:Ut,type:a.FunctionDeclaration,version:1,name:"Test aborting execution",description:"Executes a wait and then aborts the execution of that wait",inputs:[],returnStatements:[qg,jg],calls:[Z0,B0,jd,q0],implements:null,private:!1,collapsed:!1,index:null,x:0,y:0,parent:K0},X0={type:a.GenericReference,id:"call-execution-abort-func-parent-ref-id",entityType:a.Project,entityId:H},Q0={id:"call-execution-abort-func-id",type:a.FunctionCall,version:1,declaration:Wg,inputs:[],process:null,outputs:[],successCalls:[],errorCalls:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[],x:0,y:0,parent:X0},so="manual-hello-world-loop-func-decl-id",Yg="manual-hello-world-loop-func-return-statement-id",fn="manual-hello-world-loop-id",Oi="manual-hello-world-loop-body-id",kd="manual-hello-world-loop-break-statement-id",Pi="manual-hello-world-loop-current-iteration-number-output-map-id",qd="manual-hello-world-loop-previous-iterations-results-output-map-id",Jd="assembled-hello-world-text-output-id",eG="assembled-hello-world-list-output-id",Ai="iteration-number-is-equal-or-greater-than-10-condition-id",oo="join-hello-world-and-number-operation-id",lo="append-string-to-list-operation-id",Hg="hello-world-loop-output-map-id",tG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-parent-ref",entityType:a.ReturnStatement,entityId:Yg},nG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-data-type-parent-ref",entityType:a.ReturnDeclaration,entityId:"manual-hello-world-loop-function-declaration-output-declaration"},rG={like:!1,inferred:!1,id:"manual-hello-world-loop-function-declaration-output-declaration-data-type",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!0,asType:!1,isNullable:!1,constant:!1,parent:nG},aG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-reads-value-ref",entityType:a.OutputMap,entityId:Hg},zg={isError:!1,id:"manual-hello-world-loop-function-declaration-output-declaration",version:1,type:a.ReturnDeclaration,name:"Results",description:null,defaultValue:null,dataType:rG,implements:null,readsValue:aG,required:!0,index:0,parent:tG},iG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-return-statement-called-by-ref",entityType:a.Loop,entityId:fn},sG={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-parent-ref",entityType:a.FunctionDeclaration,entityId:so},Zg={type:a.ReturnStatement,id:Yg,version:1,outputs:[zg],calledByError:[],calledByEntry:[],calledBySuccess:[iG],parent:sG,throws:null,x:0,y:0},oG={type:a.GenericReference,id:"hello-world-loop-break-statement-ref-id",entityType:a.BreakStatement,entityId:kd},Kg={isError:!1,id:"hello-world-loop-break-statement-output-id",version:1,type:a.ReturnDeclaration,name:"Iteration result",description:null,defaultValue:null,dataType:null,readsValue:null,implements:null,required:!0,index:0,parent:oG},lG={type:a.GenericReference,id:"hello-world-loop-break-statement-counter-reads-value-ref-id",entityType:a.ArgumentDeclaration,entityId:Pi},dG={type:a.GenericReference,id:"hello-world-loop-break-statement-counter-ref-id",entityType:a.BreakStatement,entityId:kd},Xg={isError:!1,id:"hello-world-loop-break-statement-counter-output-id",version:1,type:a.ReturnDeclaration,name:"Iteration counter",description:null,implements:null,defaultValue:null,dataType:null,readsValue:lG,required:!0,index:1,parent:dG},cG={type:a.GenericReference,id:"hello-world-loop-break-statement-called-by-ref-id",entityType:a.Condition,entityId:Ai},uG={type:a.GenericReference,id:"hello-world-loop-break-statement-parent-ref-id",entityType:a.Loop,entityId:fn},Qg={type:a.BreakStatement,id:kd,version:1,outputs:[Kg,Xg],calledByError:[],calledByEntry:[],calledBySuccess:[cG],parent:uG,throws:null,x:0,y:0},pG={type:a.GenericReference,id:"hello-world-loop-continue-statement-ref-id",entityType:a.ContinueStatement,entityId:"hello-world-loop-continue-statement"},yG={type:a.GenericReference,id:"hello-world-loop-continue-statement-output-data-type-ref-id",entityType:a.ReturnDeclaration,entityId:"hello-world-loop-continue-statement-output-id"},hG={like:!1,inferred:!1,id:"hello-world-loop-continue-statement-output-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:yG},fG={type:a.GenericReference,id:"hello-world-loop-continue-statement-reads-value-ref-id",entityType:a.OutputMap,entityId:Jd},ev={isError:!1,id:"hello-world-loop-continue-statement-output-id",version:1,type:a.ReturnDeclaration,name:"Iteration result",description:null,defaultValue:null,implements:null,dataType:hG,readsValue:fG,required:!0,index:0,parent:pG},mG={type:a.GenericReference,id:"hello-world-loop-continue-statement-called-by-ref-id",entityType:a.Condition,entityId:Ai},TG={type:a.GenericReference,id:"hello-world-loop-continue-statement-parent-ref-id",entityType:a.Loop,entityId:fn},tv={type:a.ContinueStatement,id:"hello-world-loop-continue-statement",version:1,outputs:[ev],calledBySuccess:[],calledByError:[mG],calledByEntry:[],parent:TG,throws:null,x:0,y:0};a.GenericReference,a.InputMap;const EG={type:a.GenericReference,id:"append-string-to-list-base-string-map-parent-ref-id",entityType:a.Operation,entityId:lo},bG={type:a.GenericReference,id:"base-string-map-reads-value-ref-id",entityType:a.OutputMap,entityId:qd},nv={id:"append-string-to-list-base-string-map-id",type:a.InputMap,version:1,declaration:Nl,name:null,description:null,readsValue:bG,defaultValue:null,index:0,parent:EG},RG={type:a.GenericReference,id:"assembly-string-map-parent-ref-id",entityType:a.Operation,entityId:lo},gG={id:eG,type:a.OutputMap,version:1,defaultValue:null,writesValues:[Kg],declaration:Za,index:0,parent:RG},vG={type:a.GenericReference,id:"append-string-to-list-called-by-ref-id",entityType:a.Condition,entityId:Ai},IG={type:a.GenericReference,id:"latest-string-to-add-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Jd},DG={type:a.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:a.Operation,entityId:lo},rv={id:"latest-string-to-add-input-map-id",version:1,type:a.InputMap,declaration:_l,name:null,description:null,readsValue:IG,defaultValue:null,index:1,parent:DG},SG={type:a.GenericReference,id:"append-string-to-list-parent-ref-id",entityType:a.FunctionDeclaration,entityId:fn},OG={type:a.Operation,id:lo,declaration:us,version:1,inputs:[nv,rv],outputs:[gG],calledByError:[],process:null,calledByEntry:[],calledBySuccess:[vG],successCalls:[],errorCalls:[],error:null,x:0,y:0,parent:SG},PG={type:a.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:Oi},AG={type:a.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-parent-ref-id",entityType:a.Loop,entityId:fn},CG={type:a.GenericReference,id:"current-iteration-number-to-check-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Pi},av={type:a.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-ref-two-id",entityType:a.Condition,entityId:Ai},wG={id:"current-iteration-number-to-check-map-id",version:1,type:a.InputMap,declaration:ha.inputs[0],name:null,description:null,readsValue:CG,index:0,defaultValue:null,parent:av},BG={type:a.GenericReference,id:"max-num-iterations-value-map-default-value-parent-ref-id",entityType:a.InputMap,entityId:"max-num-iterations-value-map-id"},MG={id:"max-num-iterations-value-map-id",version:1,type:a.InputMap,declaration:ha.inputs[1],name:null,description:null,readsValue:null,index:1,defaultValue:{id:"max-num-iterations-value-map-default-value-id",type:a.LiteralValue,version:1,name:C.Number,value:10,autogeneration:null,valueAsType:null,parent:BG},parent:av},NG={type:a.Condition,id:Ai,version:1,declaration:ha,inputs:[wG,MG],calledByError:[],calledByEntry:[PG],calledBySuccess:[],successCalls:[Qg,OG],errorCalls:[tv],x:0,y:0,parent:AG},_G={type:a.GenericReference,id:"base-string-map-ref-id",entityType:a.InputMap,entityId:"join-hello-world-and-number-base-string-map-id"},VG={type:a.GenericReference,id:"join-hello-world-and-number-base-string-map-parent-ref-id",entityType:a.Operation,entityId:oo},LG={id:"join-hello-world-and-number-base-string-map-id",type:a.InputMap,version:1,declaration:ds,name:null,description:null,readsValue:null,defaultValue:{id:"join-hello-world-and-number-base-string-map-default-value-id",type:a.LiteralValue,version:1,value:"Hello world ",name:C.String,parent:_G,valueAsType:null,autogeneration:null},index:0,parent:VG},GG={type:a.GenericReference,id:"assembly-string-map-parent-ref-id",entityType:a.Operation,entityId:oo},$G={id:Jd,type:a.OutputMap,version:1,defaultValue:null,writesValues:[rv,ev],declaration:Za,index:0,parent:GG},FG={type:a.GenericReference,id:"join-hello-world-and-number-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:Oi},UG={type:a.GenericReference,id:"current-iteration-number-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Pi},xG={type:a.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:a.Operation,entityId:oo},iv={id:"current-iteration-number-input-map-id",version:1,type:a.InputMap,declaration:cs,name:null,description:null,readsValue:UG,defaultValue:null,index:1,parent:xG},jG={type:a.GenericReference,id:"join-hello-world-and-number-parent-ref-id",entityType:a.FunctionDeclaration,entityId:fn},kG={type:a.Operation,id:oo,declaration:Ka,version:1,inputs:[LG,iv],outputs:[$G],process:null,calledByError:[],calledByEntry:[FG],calledBySuccess:[],successCalls:[],errorCalls:[],error:null,x:0,y:0,parent:jG},qG={id:"manual-hello-world-loop-iterations-results-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:qd,entityType:a.ArgumentDeclaration},JG={like:!1,inferred:!1,id:"manual-hello-world-loop-iterations-results-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!0,isNullable:!1,constant:!1,entity:null,asType:!1,parent:qG},WG={id:"manual-hello-world-loop-previous-iterations-results-output-map-parent-ref-id",type:a.GenericReference,entityId:Oi,entityType:a.FunctionDeclaration},YG={id:qd,type:a.ArgumentDeclaration,version:1,name:"Previous iterations results",description:"The results of the previous iterations of the loop.",required:!0,defaultValue:null,dataType:JG,implements:null,writesValues:[nv],index:1,parent:WG},HG={id:"manual-hello-world-loop-current-iteration-number-output-map-parent-ref-id",type:a.GenericReference,entityId:Oi,entityType:a.FunctionDeclaration},zG={id:"manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",type:a.GenericReference,entityId:Pi,entityType:a.ArgumentDeclaration};a.DataType;const ZG={id:Pi,type:a.ArgumentDeclaration,version:1,name:"Current iteration number",description:"The number of the current iteration of the loop. Starts at 1.",required:!0,implements:xl,defaultValue:null,dataType:null,writesValues:[iv,Xg],index:0,parent:HG},KG={id:"manual-flow-loop-body-parent-ref-id",type:a.GenericReference,entityId:fn,entityType:a.Loop},XG={id:Oi,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called multiple times, once for each iteration of the loop.",inputs:[ZG,YG],calls:[NG,kG],implements:jl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:KG},QG={type:a.GenericReference,id:"hello-world-loop-iteration-result-inline-output-declaration-parent-ref-id",entityType:a.Loop,entityId:fn},sv={id:"hello-world-loop-iteration-result-inline-output-declaration-id",version:1,type:a.ValueDescriptor,name:"Iteration result",defaultValue:null,description:null,dataType:null,required:!0,parentRelationType:A.FixedReturns,index:0,parent:QG},e$={type:a.GenericReference,id:"hello-world-loop-break-statement-output-map-parent-ref-id",entityType:a.Loop,entityId:fn},t$={type:a.OutputMap,id:Hg,version:1,defaultValue:null,declaration:sv,writesValues:[zg],index:0,parent:e$},n$={id:"manual-hello-world-loop-parent-ref-id",type:a.GenericReference,entityId:so,entityType:a.FunctionDeclaration},r$={id:"manual-hello-world-loop-called-by-ref-id",type:a.GenericReference,entityId:so,entityType:a.FunctionDeclaration},a$={id:fn,type:a.Loop,version:1,declaration:bs,inputs:[],outputsDeclarations:[sv],outputs:[t$],body:XG,successCalls:[Zg],errorCalls:[],process:null,error:null,calledByError:[],calledByEntry:[r$],calledBySuccess:[],breakStatements:[Qg],continueStatements:[tv],x:0,y:0,parent:n$},i$={type:a.GenericReference,id:"manual-hello-world-loop-function-declaration-parent-ref-id",entityType:a.Project,entityId:H},ov={type:a.FunctionDeclaration,id:so,version:1,name:"Manual hello world loop",description:null,inputs:[],calls:[a$],returnStatements:[Zg],implements:null,collapsed:!1,private:!1,index:null,x:0,y:0,parent:i$},s$={type:a.GenericReference,id:"call-hello-world-loop-parent-ref-id",entityType:a.Project,entityId:H},o$={id:"call-hello-world-loop-id",type:a.FunctionCall,version:1,declaration:ov,inputs:[],outputs:[],process:null,successCalls:[],errorCalls:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[],x:0,y:0,parent:s$},_n="company-dto-function-declaration-id",Wd="company-dto-func-declaration-argument-dcl-id",mn="company-dto-function-company-variable-id",nr="company-dto-function-company-dto-variable-id",Sa="iterate-over-employee-list-loop-id",lv="iterate-over-employee-list-loop-employee-dto-output-map-id",Yd="iterate-over-employee-list-loop-body-current-employee-argument-declaration-id",co="iterate-over-employee-list-loop-body-map-employee-dto-function-call-id",dv="iterate-over-employee-list-continue-statement-employee-dto-output-decl-id",cv="iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-id",uv="iterate-over-employee-list-continue-statement-id",uo="iterate-over-employee-list-loop-body-id",pv="company-dto-func-declaration-return-statement-id",yv="company-dto-func-declaration-return-decl-id",hv="company-dto-func-declaration-company-variable-id-output-map-id",fv="company-dto-func-declaration-company-variable-employess-output-map-id",mv="company-dto-func-declaration-company-variable-name-output-map-id",l$="company-dto-func-declaration-company-dto-variable-input-map-id",d$="company-dto-func-declaration-company-dto-variable-employess-input-map-id",c$="company-dto-func-declaration-company-dto-variable-name-input-map-id",po="company-dto-func-declaration-owner-variable-id",u$="company-dto-func-declaration-company-dto-variable-owner-input-map-id",Tv="company-dto-func-declaration-company-variable-owner-output-map-id",Ev="company-dto-func-declaration-owner-variable-id-output-map-id",yo="company-dto-func-declaration-bank-account-variable-id",p$="company-dto-func-declaration-company-dto-variable-bank-account-input-map-id",bv="company-dto-func-declaration-company-variable-bank-account-output-map-id",Rv="company-dto-func-declaration-bank-account-variable-id-output-map-id",y$={type:a.GenericReference,id:"company-dto-func-returned-company-dto-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:yv},h$={like:!1,inferred:!1,id:"company-dto-func-returned-company-dto-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:y$},f$={type:a.GenericReference,id:"company-dto-func-returned-company-dto-parent-ref-id",entityType:a.ReturnStatement,entityId:pv},m$={type:a.GenericReference,id:"company-dto-func-returned-company-dto-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:nr},gv={isError:!1,id:yv,type:a.ReturnDeclaration,version:1,name:"Company DTO",description:"Output the company data in the format that it will be sent through an HTTP request.",defaultValue:null,implements:null,dataType:h$,readsValue:m$,required:!0,index:0,parent:f$},T$={type:a.GenericReference,id:"company-dto-func-return-statement-called-by-ref-id",entityType:a.Operation,entityId:nr},E$={type:a.GenericReference,id:"company-dto-func-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n},Hd={type:a.ReturnStatement,id:pv,version:1,outputs:[gv],calledByError:[],calledByEntry:[],calledBySuccess:[T$],throws:null,x:0,y:0,parent:E$},b$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-owner-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Ev},R$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-owner-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},vv={id:u$,type:a.InputMap,version:1,declaration:null,name:"owner_id",description:null,defaultValue:null,index:5,readsValue:b$,parent:R$},g$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-bank-account-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Rv},v$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-bank-account-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},Iv={id:p$,type:a.InputMap,version:1,declaration:null,name:"bank_account_id",description:null,defaultValue:null,index:4,readsValue:g$,parent:v$},I$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-name-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:mv},D$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-name-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},Dv={id:c$,type:a.InputMap,version:1,declaration:null,name:"name",description:null,defaultValue:null,index:3,readsValue:I$,parent:D$},S$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-employess-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:lv},O$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-employess-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},Sv={id:d$,type:a.InputMap,version:1,declaration:null,name:"employees",description:null,defaultValue:null,index:2,readsValue:S$,parent:O$},P$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-id-output-map-reads-value-ref-id",entityType:a.OutputMap,entityId:hv},A$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:nr},Ov={id:l$,type:a.InputMap,version:1,declaration:null,name:"id",description:"The ID of the company",defaultValue:null,index:1,readsValue:P$,parent:A$},C$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n},w$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-one-id",entityType:a.VariableDeclaration,entityId:yo},B$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-two-id",entityType:a.VariableDeclaration,entityId:po},M$={type:a.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-three-id",entityType:a.VariableDeclaration,entityId:Sa},zd={id:nr,type:a.VariableDeclaration,version:1,name:"Company DTO",dataType:null,description:"A variable holding the data of a mapped company DTO",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[w$,B$,M$],successCalls:[Hd],errorCalls:[],readsValue:null,writesValues:[gv],inputs:[Ov,Dv,Iv,vv,Sv],outputs:[],internalCalls:[],parent:C$,x:0,y:0},Sr="employee-dto-func-declaration-id",Zd="employee-dto-func-declaration-argument-dcl-id",Pv="employee-dto-func-declaration-return-statement-id",Av="employee-dto-func-declaration-return-decl-id",Or="employee-dto-func-declaration-employee-variable-id",Pr="employee-dto-func-declaration-employee-dto-variable-id",ho="employee-dto-func-declaration-manager-variable-id",Cv="employee-dto-func-declaration-employee-variable-id-output-map-id",wv="employee-dto-func-declaration-employee-variable-birth-date-output-map-id",Bv="employee-dto-func-declaration-employee-variable-department-output-map-id",Mv="employee-dto-func-declaration-employee-variable-manager-output-map-id",Nv="employee-dto-func-declaration-manager-variable-id-output-map-id",N$="employee-dto-func-declaration-employee-dto-variable-input-map-id",_$="employee-dto-func-declaration-employee-dto-variable-birth-date-input-map-id",V$="employee-dto-func-declaration-employee-dto-variable-department-input-map-id",L$="employee-dto-func-declaration-employee-dto-variable-manager-input-map-id",G$={type:a.GenericReference,id:"employee-dto-func-returned-employee-dto-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:Av},$$={like:!1,inferred:!1,id:"employee-dto-func-returned-employee-dto-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:G$},F$={type:a.GenericReference,id:"employee-dto-func-returned-employee-dto-parent-ref-id",entityType:a.ReturnStatement,entityId:Pv},U$={type:a.GenericReference,id:"employee-dto-func-returned-employee-dto-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:Pr},_v={isError:!1,id:Av,type:a.ReturnDeclaration,version:1,name:"Employee DTO",description:"Output the employee data in the format that it will be sent through an HTTP request.",defaultValue:null,dataType:$$,implements:null,readsValue:U$,required:!0,index:0,parent:F$},x$={type:a.GenericReference,id:"employee-dto-func-return-statement-called-by-ref-id",entityType:a.Operation,entityId:Pr},j$={type:a.GenericReference,id:"employee-dto-func-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Sr},Kd={type:a.ReturnStatement,id:Pv,version:1,outputs:[_v],calledByError:[],calledByEntry:[],calledBySuccess:[x$],throws:null,x:0,y:0,parent:j$},k$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-manager-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Nv},q$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-manager-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pr},Vv={id:L$,type:a.InputMap,version:1,declaration:null,name:"manager_id",description:null,defaultValue:null,index:4,readsValue:k$,parent:q$},J$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-department-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Bv},W$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-department-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pr},Lv={id:V$,type:a.InputMap,version:1,declaration:null,name:"department_name",description:null,defaultValue:null,index:3,readsValue:J$,parent:W$},Y$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-birth-date-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:wv},H$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-birth-date-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pr},Gv={id:_$,type:a.InputMap,version:1,declaration:null,name:"birth_date",description:null,defaultValue:null,index:2,readsValue:Y$,parent:H$},z$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-id-output-map-reads-value-ref-id",entityType:a.OutputMap,entityId:Cv},Z$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pr},$v={id:N$,type:a.InputMap,version:1,declaration:null,name:"id",description:"The ID of the employee",defaultValue:null,index:1,readsValue:z$,parent:Z$},K$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Sr},X$={type:a.GenericReference,id:"employee-dto-func-employee-dto-variable-called-by-ref-id",entityType:a.VariableDeclaration,entityId:ho},Q$={id:Pr,type:a.VariableDeclaration,version:1,name:"Employee DTO",dataType:null,description:"A variable holding the data of a mapped employee DTO",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[X$],successCalls:[Kd],errorCalls:[],readsValue:null,writesValues:[_v],inputs:[$v,Gv,Lv,Vv],outputs:[],internalCalls:[],parent:K$,x:0,y:0},eF={type:a.GenericReference,id:"employee-dto-func-manager-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:ho},tF={id:Nv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:0,writesValues:[Vv],parent:eF},nF={type:a.GenericReference,id:"employee-dto-func-manager-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:ho},rF={like:!1,inferred:!1,id:"employee-dto-func-manager-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Yt,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:nF},aF={type:a.GenericReference,id:"employee-dto-func-manager-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:Mv},iF={type:a.GenericReference,id:"employee-dto-func-manager-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Sr};a.GenericReference,a.VariableDeclaration;const Fv={id:ho,type:a.VariableDeclaration,version:1,name:"Manager",description:"A variable holding an inherited manager",defaultValue:null,dataType:rF,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[Q$],errorCalls:[],readsValue:aF,writesValues:[],inputs:[],outputs:[tF],internalCalls:[],parent:iF,x:0,y:0},sF={type:a.GenericReference,id:"employee-dto-func-employee-variable-manager-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},oF={id:Mv,type:a.OutputMap,version:1,defaultValue:null,declaration:Yt.properties[2],index:3,writesValues:[Fv],parent:sF},lF={type:a.GenericReference,id:"employee-dto-func-employee-variable-department-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},dF={id:Bv,type:a.OutputMap,version:1,defaultValue:null,declaration:Yt.properties[0],index:2,writesValues:[Lv],parent:lF},cF={type:a.GenericReference,id:"employee-dto-func-employee-variable-birth-date-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},uF={id:wv,type:a.OutputMap,version:1,defaultValue:null,declaration:gt.properties[1],index:1,writesValues:[Gv],parent:cF},pF={type:a.GenericReference,id:"employee-dto-func-employee-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},yF={id:Cv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:0,writesValues:[$v],parent:pF},hF={type:a.GenericReference,id:"employee-dto-func-employee-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:Or},fF={like:!1,inferred:!1,id:"employee-dto-func-employee-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Yt,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:hF},mF={type:a.GenericReference,id:"employee-dto-func-employee-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:Sr},TF={type:a.GenericReference,id:"employee-dto-func-employee-variable-reads-value-ref-id",entityType:a.ArgumentDeclaration,entityId:Zd},EF={type:a.GenericReference,id:"employee-dto-func-employee-variable-called-by-id",entityType:a.FunctionDeclaration,entityId:Sr},Uv={id:Or,type:a.VariableDeclaration,version:1,name:"Company employee",dataType:fF,description:"A variable holding a company employee",calledByError:[],defaultValue:null,calledByEntry:[EF],calledBySuccess:[],successCalls:[Fv],errorCalls:[],readsValue:TF,writesValues:[],inputs:[],outputs:[yF,uF,dF,oF],internalCalls:[],parent:mF,x:0,y:0},bF={type:a.GenericReference,id:"employee-dto-func-declaration-employee-input-declaration-data-type-parent-ref-id",entityId:Zd,entityType:a.ArgumentDeclaration},RF={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"employee-dto-func-declaration-employee-input-declaration-data-type-id",version:1,entity:Yt,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:bF},gF={type:a.GenericReference,id:"employee-dto-func-declaration-employee-input-declaration-parent-ref-id",entityId:Sr,entityType:a.FunctionDeclaration},vF={type:a.ArgumentDeclaration,id:Zd,version:1,name:"Employee",description:"The employee to create a DTO for",required:!0,implements:null,defaultValue:null,dataType:RF,index:0,writesValues:[Uv],parent:gF},IF={type:a.GenericReference,id:"employee-dto-function-declaration-parent-ref-id",entityType:a.Project,entityId:H},Xd={type:a.FunctionDeclaration,id:Sr,version:1,name:"Employee DTO",description:"Takes a employee and returns a DTO of that employee",index:null,inputs:[vF],calls:[Uv],implements:null,returnStatements:[Kd],collapsed:!1,private:!1,x:0,y:0,parent:IF},DF={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-data-type-parent-ref-id",type:a.GenericReference,entityId:dv,entityType:a.ReturnDeclaration},SF={like:!1,inferred:!1,id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:DF},OF={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-reads-value-ref-id",type:a.GenericReference,entityId:cv,entityType:a.OutputMap},PF={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-parent-ref-id",type:a.GenericReference,entityId:uv,entityType:a.ContinueStatement},xv={isError:!1,id:dv,type:a.ReturnDeclaration,version:1,name:"Employee DTO",description:"The DTO of the employee entity.",defaultValue:null,readsValue:OF,dataType:SF,implements:null,required:!0,index:0,parent:PF},AF={id:"iterate-over-employee-list-continue-statement-called-by-ref-id",type:a.GenericReference,entityId:co,entityType:a.FunctionCall},CF={id:"iterate-over-employee-list-continue-statement-parent-ref-id",type:a.GenericReference,entityId:Sa,entityType:a.Loop},jv={id:uv,type:a.ContinueStatement,version:1,calledByError:[],calledByEntry:[],calledBySuccess:[AF],outputs:[xv],throws:null,x:0,y:0,parent:CF},wF={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-parent-ref-id",type:a.GenericReference,entityId:co,entityType:a.FunctionCall},BF={id:cv,type:a.OutputMap,version:1,defaultValue:null,declaration:Kd.outputs[0],writesValues:[xv],index:0,parent:wF},MF={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-reads-value-ref-id",type:a.GenericReference,entityId:Yd,entityType:a.ArgumentDeclaration},NF={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-parent-ref-id",type:a.GenericReference,entityId:co,entityType:a.FunctionCall},kv={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:Xd.inputs[0],readsValue:MF,index:0,defaultValue:null,parent:NF},_F={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-called-by-ref-id",type:a.GenericReference,entityId:uo,entityType:a.FunctionDeclaration},VF={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-parent-ref-id",type:a.GenericReference,entityId:uo,entityType:a.FunctionDeclaration},LF={id:co,type:a.FunctionCall,version:1,declaration:Xd,inputs:[kv],process:null,outputs:[BF],calledByError:[],calledByEntry:[_F],calledBySuccess:[],successCalls:[jv],errorCalls:[],error:null,x:0,y:0,parent:VF},GF={type:a.GenericReference,id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-data-type-parent-ref-id",entityId:Yd,entityType:a.ArgumentDeclaration},$F={like:!1,inferred:!1,id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Yt,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:GF},FF={id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:uo,entityType:a.FunctionDeclaration},UF={id:Yd,type:a.ArgumentDeclaration,version:1,name:"Current employee",description:"The current employee entity being processed.",defaultValue:null,dataType:$F,required:!0,implements:Rs,index:0,writesValues:[kv],parent:FF},xF={id:"iterate-over-employee-list-loop-body-parent-ref-id",type:a.GenericReference,entityId:Sa,entityType:a.Loop},jF={id:uo,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[UF],calls:[LF],implements:gs,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:xF},kF={id:"iterate-over-employee-list-loop-iteration-list-input-map-parent-ref-id",type:a.GenericReference,entityId:Sa,entityType:a.Loop},qF={id:"iterate-over-employee-list-loop-iteration-list-input-map-reads-value-ref-id",type:a.GenericReference,entityId:fv,entityType:a.OutputMap},qv={id:"iterate-over-employee-list-loop-iteration-list-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:Wn.inputs[0],defaultValue:null,readsValue:qF,index:0,parent:kF},JF={id:"iterate-over-employee-list-loop-parent-ref-id",type:a.GenericReference,entityId:_n,entityType:a.FunctionDeclaration},WF={id:"iterate-over-employee-list-loop-employee-dto-output-map-parent-ref-id",type:a.GenericReference,entityId:Sa,entityType:a.Loop},YF={id:lv,type:a.OutputMap,version:1,defaultValue:null,declaration:Wn.outputs[0],writesValues:[Sv],index:0,parent:WF},HF={type:a.GenericReference,id:"iterate-over-employee-list-loop-called-by-ref-id",entityType:a.VariableDeclaration,entityId:mn},zF={id:Sa,type:a.Loop,version:1,declaration:Wn,inputs:[qv],successCalls:[zd],errorCalls:[],outputsDeclarations:[],outputs:[YF],body:jF,process:null,calledByError:[],calledByEntry:[],calledBySuccess:[HF],breakStatements:[],continueStatements:[jv],error:null,x:0,y:0,parent:JF},ZF={type:a.GenericReference,id:"company-dto-func-bank-account-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:yo},KF={id:Rv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:0,writesValues:[Iv],parent:ZF},XF={type:a.GenericReference,id:"company-dto-func-bank-account-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:yo},QF={like:!1,inferred:!1,id:"company-dto-func-bank-account-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:XF},eU={type:a.GenericReference,id:"company-dto-func-bank-account-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:bv},tU={type:a.GenericReference,id:"company-dto-func-bank-account-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n};a.GenericReference,a.VariableDeclaration;const Jv={id:yo,type:a.VariableDeclaration,version:1,name:"Bank account",description:"A variable holding an inherited bank account",defaultValue:null,dataType:QF,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[zd],errorCalls:[],readsValue:eU,writesValues:[],inputs:[],outputs:[KF],internalCalls:[],parent:tU,x:0,y:0},nU={type:a.GenericReference,id:"company-dto-func-owner-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:po},rU={id:Ev,type:a.OutputMap,version:1,declaration:Ft.properties[0],index:0,defaultValue:null,writesValues:[vv],parent:nU},aU={type:a.GenericReference,id:"company-dto-func-owner-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:po},iU={like:!1,inferred:!1,id:"company-dto-func-owner-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:aU},sU={type:a.GenericReference,id:"company-dto-func-owner-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:Tv},oU={type:a.GenericReference,id:"company-dto-func-owner-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n};a.GenericReference,a.VariableDeclaration;const Wv={id:po,type:a.VariableDeclaration,version:1,name:"Owner",dataType:iU,description:"A variable holding an inherited owner",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[zd],errorCalls:[],readsValue:sU,writesValues:[],inputs:[],outputs:[rU],internalCalls:[],parent:oU,x:0,y:0},lU={type:a.GenericReference,id:"company-dto-func-company-variable-owner-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},dU={id:Tv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ht.properties[2],index:4,writesValues:[Wv],parent:lU},cU={type:a.GenericReference,id:"company-dto-func-company-variable-bank-account-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},uU={id:bv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ht.properties[2],index:3,writesValues:[Jv],parent:cU},pU={type:a.GenericReference,id:"company-dto-func-company-variable-name-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},yU={id:mv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ht.properties[0],index:2,writesValues:[Dv],parent:pU},hU={type:a.GenericReference,id:"company-dto-func-company-variable-employess-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},fU={id:fv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ht.properties[3],index:1,writesValues:[qv],parent:hU},mU={type:a.GenericReference,id:"company-dto-func-company-variable-id-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},TU={id:hv,type:a.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:0,writesValues:[Ov],parent:mU},EU={type:a.GenericReference,id:"company-dto-func-company-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:mn},bU={like:!1,inferred:!1,id:"company-dto-func-company-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:EU},RU={type:a.GenericReference,id:"company-dto-func-company-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:_n},gU={type:a.GenericReference,id:"company-dto-func-company-variable-reads-value-ref-id",entityType:a.ArgumentDeclaration,entityId:Wd},vU={type:a.GenericReference,id:"company-dto-func-company-variable-called-by-id",entityType:a.FunctionDeclaration,entityId:_n},Yv={id:mn,type:a.VariableDeclaration,version:1,name:"Company",dataType:bU,description:"A variable holding a company",defaultValue:null,calledByError:[],calledByEntry:[vU],calledBySuccess:[],successCalls:[Jv,Wv,zF],errorCalls:[],readsValue:gU,writesValues:[],inputs:[],outputs:[TU,fU,yU,uU,dU],internalCalls:[],parent:RU,x:0,y:0},IU={type:a.GenericReference,id:"company-dto-func-declaration-company-input-declaration-data-type-parent-ref-id",entityId:Wd,entityType:a.ArgumentDeclaration},DU={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"company-dto-func-declaration-company-input-declaration-data-type-id",version:1,entity:Ht,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:IU},SU={type:a.GenericReference,id:"company-dto-func-declaration-company-input-declaration-parent-ref-id",entityId:_n,entityType:a.FunctionDeclaration},OU={type:a.ArgumentDeclaration,id:Wd,version:1,name:"Company",description:"The company to create a DTO for",defaultValue:null,required:!0,implements:null,dataType:DU,index:0,writesValues:[Yv],parent:SU},PU={type:a.GenericReference,id:"company-dto-function-declaration-parent-ref-id",entityType:a.Project,entityId:H},Qd={type:a.FunctionDeclaration,id:_n,version:1,name:"Company DTO",description:"Takes a company and returns a DTO of that company",inputs:[OU],calls:[Yv],implements:null,index:null,returnStatements:[Hd],collapsed:!1,private:!1,x:0,y:0,parent:PU},Ci="exec-in-parallel-operation-call-id",wi="exec-sequentially-operation-call-id",vt="concurrency-and-wait-function-declaration-id",Hv="concurrency-and-wait-return-statement-id",zv="concurrency-and-wait-return-declaration-id",ec="exec-in-parallel-argument-map-id",Zv="exec-sequentially-argument-map-id",tc="wait-for-2-seconds-operation-id",Kv="wait-for-2-seconds-argument-map-id",nc="map-company-dto-function-call-id",Xv="map-company-dto-function-call-company-dto-output-map-id",fo="company-dto-variable-one-id",rc="company-dto-variable-one-instance-id",Qv="company-dto-variable-two-id",AU={type:a.GenericReference,id:"returned-company-dto-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:zv},CU={like:!1,inferred:!1,id:"returned-company-dto-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:AU},wU={type:a.GenericReference,id:"returned-company-dto-parent-ref-id",entityType:a.ReturnStatement,entityId:Hv},BU={type:a.GenericReference,id:"returned-company-dto-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:Qv},eI={isError:!1,id:zv,type:a.ReturnDeclaration,version:1,name:"Company DTO",description:"Output the company data in the format that it will be sent through an HTTP request.",defaultValue:null,dataType:CU,implements:null,readsValue:BU,required:!0,index:0,parent:wU},MU={type:a.GenericReference,id:"concurrency-and-wait-return-statement-called-by-ref-id",entityType:a.Operation,entityId:tc},NU={type:a.GenericReference,id:"concurrency-and-wait-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},tI={type:a.ReturnStatement,id:Hv,version:1,outputs:[eI],calledByError:[],calledByEntry:[],calledBySuccess:[MU],throws:null,x:0,y:0,parent:NU},_U={type:a.GenericReference,id:"company-dto-variable-two-called-by-ref-id",entityType:a.VariableInstance,entityId:rc},VU={type:a.GenericReference,id:"company-dto-variable-two-reads-value-ref-id",entityType:a.VariableInstance,entityId:rc},LU={type:a.GenericReference,id:"company-dto-variable-two-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},nI={id:Qv,type:a.VariableDeclaration,version:1,name:"Company DTO",description:null,defaultValue:null,dataType:null,inputs:[],outputs:[],successCalls:[],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[_U],internalCalls:[],writesValues:[eI],readsValue:VU,x:0,y:0,parent:LU},GU={type:a.GenericReference,id:"company-dto-variable-one-instance-called-by-ref-id",entityType:a.VariableDeclaration,entityId:fo},$U={type:a.GenericReference,id:"company-dto-variable-one-instance-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:fo},FU={type:a.GenericReference,id:"company-dto-variable-one-instance-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},UU={type:a.GenericReference,id:"company-dto-variable-one-instance-declaration-ref-id",entityType:a.VariableDeclaration,entityId:fo},rI={id:rc,type:a.VariableInstance,version:1,declaration:UU,inputs:[],outputs:[],successCalls:[nI],errorCalls:[],defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[GU],internalCalls:[],writesValues:[nI],readsValue:$U,x:0,y:0,parent:FU},xU={type:a.GenericReference,id:"company-dto-variable-one-called-by-ref-id",entityType:a.FunctionCall,entityId:nc},jU={type:a.GenericReference,id:"company-dto-variable-one-reads-value-ref-id",entityType:a.OutputMap,entityId:Xv},kU={type:a.GenericReference,id:"company-dto-variable-one-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},aI={id:fo,type:a.VariableDeclaration,version:1,name:"Company DTO",description:null,defaultValue:null,dataType:null,inputs:[],outputs:[],successCalls:[rI],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[xU],internalCalls:[],writesValues:[rI],readsValue:jU,x:0,y:0,parent:kU},iI={type:a.GenericReference,id:"map-company-dto-function-call-company-input-map-parent-ref-id",entityType:a.FunctionCall,entityId:nc},qU={id:"map-company-dto-function-call-company-input-map-id",type:a.InputMap,version:1,declaration:Qd.inputs[0],name:null,description:null,defaultValue:null,index:0,readsValue:null,parent:iI},JU={id:Xv,type:a.OutputMap,version:1,defaultValue:null,declaration:Hd.outputs[0],writesValues:[aI],index:0,parent:iI},WU={id:"map-company-dto-function-call-called-by-ref-id",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:vt},YU={id:"map-company-dto-function-call-parent-ref-id",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:vt},HU={id:nc,type:a.FunctionCall,version:1,declaration:Qd,successCalls:[aI],process:null,errorCalls:[],inputs:[qU],outputs:[JU],calledByError:[],calledByEntry:[WU],calledBySuccess:[],parent:YU,x:0,y:0,error:null},zU={type:a.GenericReference,id:"last-timestamp-variable-datatype-parent-ref-id",entityType:a.VariableDeclaration,entityId:Cd},ZU={type:a.GenericReference,id:"last-timestamp-variable-default-value-parent-ref-id",entityType:a.VariableDeclaration,entityId:Cd},KU={like:!1,inferred:!1,id:"last-timestamp-variable-datatype-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:ln,version:1,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:zU},XU={type:a.GenericReference,id:"last-timestamp-variable-main-project-ref-id",entityType:a.Project,entityId:H},ac={id:Cd,type:a.VariableDeclaration,version:1,name:"Last registered current time",description:"A test variable that holds the last current date and time that was registered.",defaultValue:{id:"last-timestamp-variable-default-value-id",type:a.LiteralValue,version:1,name:C.Date,value:null,autogeneration:{type:ze.CurrentDateAndTime,rangeStart:null,rangeEnd:null},valueAsType:null,parent:ZU},dataType:KU,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[],parent:XU},QU={type:a.GenericReference,id:"wait-for-2-seconds-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:Kv},e4={type:a.GenericReference,id:"wait-for-2-seconds-argument-map-parent-ref-id",entityType:a.Operation,entityId:tc},t4={id:Kv,type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"wait-for-2-seconds-argument-default-value-id",type:a.LiteralValue,version:1,value:2e3,valueAsType:null,autogeneration:null,name:C.Number,parent:QU},index:0,parent:e4},n4={type:a.GenericReference,id:"wait-for-2-seconds-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},r4={type:a.GenericReference,id:"wait-for-2-seconds-called-by-ref-one-id",entityType:a.Operation,entityId:wi},a4={type:a.GenericReference,id:"wait-for-2-seconds-called-by-ref-two-id",entityType:a.Operation,entityId:Ci},sI={id:tc,type:a.Operation,version:1,declaration:Qt,inputs:[t4],outputs:[],process:null,successCalls:[tI],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[r4,a4],error:null,parent:n4},i4={type:a.GenericReference,id:"wait-for-random-amount-argument-default-value-parent-ref-id",entityType:a.InputMap,entityId:"wait-for-random-amount-input-map-id"},s4={type:a.GenericReference,id:"wait-for-random-amount-argument-map-parent-ref-id",entityType:a.Operation,entityId:"wait-for-random-amount-id"},o4={id:"wait-for-random-amount-input-map-id",type:a.InputMap,version:1,declaration:yr,name:null,description:null,readsValue:null,defaultValue:{id:"wait-for-random-amount-argument-default-value-id",type:a.LiteralValue,version:1,value:null,valueAsType:null,autogeneration:{type:ze.Random,rangeStart:1e3,rangeEnd:4e3},name:C.Number,parent:i4},index:0,parent:s4},l4={type:a.GenericReference,id:"wait-for-random-amount-parent-ref-id",entityType:a.Project,entityId:H},Oa={id:"wait-for-random-amount-id",type:a.Operation,version:1,declaration:Qt,inputs:[o4],process:null,outputs:[],successCalls:[],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[],error:null,parent:l4},ic="list-of-functions-variable-id",d4={type:a.GenericReference,id:"list-of-functions-variable-action-descriptor-dynamic-argument-parent-ref-id",entityType:a.ActionDescriptor,entityId:"list-of-functions-variable-action-descriptor-id"},c4={id:"list-of-functions-variable-action-descriptor-dynamic-argument-id",type:a.ValueDescriptor,version:1,name:"Any input value",description:"Any input value that can be passed to the action",defaultValue:null,index:0,required:!1,dataType:null,parent:d4},u4={type:a.GenericReference,id:"list-of-functions-variable-action-descriptor-dynamic-return-parent-ref-id",entityType:a.ActionDescriptor,entityId:"list-of-functions-variable-action-descriptor-id"},p4={id:"list-of-functions-variable-action-descriptor-dynamic-return-id",type:a.ValueDescriptor,version:1,name:"Any output value",description:"Any output value that can be returned to the action",defaultValue:null,index:0,required:!1,dataType:null,parent:u4},y4={type:a.GenericReference,id:"list-of-functions-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:ic},h4={id:"list-of-functions-variable-action-descriptor-id",type:a.ActionDescriptor,version:1,name:"Action to execute",description:"An action of any type, to be executed. It can contain any number of inputs and outputs.",inputs:[c4],error:null,outputs:[p4],parent:null},f4={type:a.GenericReference,id:"list-of-functions-variable-data-type-default-parent-ref-id",entityType:a.VariableDeclaration,entityId:ic},m4={like:!1,inferred:!1,id:"list-of-functions-variable-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:h4,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:y4},T4={type:a.GenericReference,id:"list-of-functions-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt};a.GenericReference,a.InputMap;const E4={type:a.GenericReference,id:"list-of-functions-variable-writes-value-one-ref-id",entityType:a.InputMap,entityId:Zv},b4={type:a.GenericReference,id:"list-of-functions-variable-writes-value-two-ref-id",entityType:a.InputMap,entityId:ec},oI={id:ic,type:a.VariableDeclaration,version:1,name:"List of functions to execute",description:"A list of functions to be executed in parallel",defaultValue:{id:"list-of-functions-variable-data-type-default-value-id",type:a.LiteralValue,version:1,name:C.ActionDescriptor,value:null,valueAsType:[Oa,Oa,Oa,Oa,Oa],autogeneration:null,parent:f4},dataType:m4,parent:T4,readsValue:null,writesValues:[E4,b4],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],inputs:[],outputs:[],internalCalls:[],x:0,y:0},R4={type:a.GenericReference,id:"exec-in-parallel-return-map-parent-ref-id",entityType:a.Operation,entityId:Ci},g4={type:a.GenericReference,id:"exec-in-parallel-result-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},v4={type:a.GenericReference,id:"exec-in-parallel-result-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:"exec-in-parallel-return-map-id"},I4={type:a.GenericReference,id:"exec-in-parallel-result-variable-called-by-ref-id",entityType:a.Operation,entityId:Ci},lI={id:"exec-in-parallel-result-variable-id",type:a.VariableInstance,version:1,declaration:ac,readsValue:v4,writesValues:[],defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[I4],successCalls:[],errorCalls:[],internalCalls:[],parent:g4,x:0,y:0},D4={id:"exec-in-parallel-return-map-id",type:a.OutputMap,version:1,defaultValue:null,declaration:Ll,writesValues:[lI],index:0,parent:R4},S4={type:a.GenericReference,id:"exec-in-parallel-argument-map-parent-ref-id",entityType:a.Operation,entityId:Ci},O4={id:ec,type:a.InputMap,version:1,declaration:Vl,name:null,description:null,readsValue:oI,defaultValue:null,index:0,parent:S4},P4={type:a.GenericReference,id:"exec-in-parallel-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},A4={type:a.GenericReference,id:"exec-in-parallel-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:vt},C4={process:null,id:Ci,type:a.Operation,version:1,declaration:Qt,inputs:[O4],outputs:[D4],successCalls:[sI,lI],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[A4],calledBySuccess:[],error:null,parent:P4},w4={type:a.GenericReference,id:"exec-sequentially-return-map-parent-ref-id",entityType:a.Operation,entityId:wi},B4={type:a.GenericReference,id:"exec-sequentially-result-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},M4={type:a.GenericReference,id:"exec-sequentially-result-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:"exec-sequentially-return-map-id"},N4={type:a.GenericReference,id:"exec-sequentially-result-variable-called-by-ref-id",entityType:a.Operation,entityId:wi},dI={id:"exec-sequentially-result-variable-id",type:a.VariableInstance,version:1,declaration:ac,readsValue:M4,defaultValue:null,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[N4],successCalls:[],errorCalls:[],internalCalls:[],parent:B4,x:0,y:0},_4={id:"exec-sequentially-return-map-id",type:a.OutputMap,version:1,defaultValue:null,declaration:$l,writesValues:[dI],index:0,parent:w4},V4={type:a.GenericReference,id:"exec-sequentially-argument-map-parent-ref-id",entityType:a.Operation,entityId:wi},L4={id:Zv,type:a.InputMap,version:1,declaration:Gl,name:null,description:null,readsValue:oI,defaultValue:null,index:0,parent:V4},G4={type:a.GenericReference,id:"exec-sequentially-parent-ref-id",entityType:a.FunctionDeclaration,entityId:vt},$4={type:a.GenericReference,id:"exec-sequentially-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:vt},F4={id:wi,type:a.Operation,version:1,declaration:wn,inputs:[L4],process:null,outputs:[_4],successCalls:[sI,dI],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[$4],calledBySuccess:[],error:null,parent:G4},U4={type:a.GenericReference,id:"concurrency-and-wait-parent-ref-id",entityType:a.Project,entityId:H},x4={type:a.FunctionDeclaration,id:vt,version:1,name:"Execute with concurrency and wait",description:"Executes a hardcoded list of actions in parallel and waits for some time before ending the logic with some unrelated data payload as the result.",inputs:[],calls:[F4,C4,HU],returnStatements:[tI],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:U4},j4={type:a.GenericReference,id:"3521f2c8-a5c0-419c-8808-4fc6a73d0b78",entityType:a.ReturnDeclaration,entityId:"e1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},k4={like:!1,inferred:!1,id:"ce8b9a30-afe9-4d4f-879f-1677efca2c47",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:j4},q4={type:a.GenericReference,id:"8ee66e38-b060-474e-a503-594063a8ec24",entityType:a.ReturnStatement,entityId:"40a23a98-d3b2-42b1-9652-b33779ad15aa"},J4={isError:!1,id:"e1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:a.ReturnDeclaration,version:1,name:"Created company",description:"The new company that was created",defaultValue:null,implements:null,dataType:k4,readsValue:null,required:!0,index:0,parent:q4},W4={type:a.GenericReference,id:"9cb3c1e4-7250-4be6-be2a-69c2dd366d6f",entityType:a.FunctionDeclaration,entityId:"5059c093-eda2-4efc-b7b4-aaaadd4d44de"},Y4={type:a.GenericReference,id:"c065fcdd-e054-4f95-941c-7eaa65c35d04",entityType:a.FunctionDeclaration,entityId:"5059c093-eda2-4efc-b7b4-aaaadd4d44de"},cI={type:a.ReturnStatement,id:"40a23a98-d3b2-42b1-9652-b33779ad15aa",version:1,outputs:[J4],calledByError:[],calledByEntry:[Y4],calledBySuccess:[],throws:null,x:0,y:0,parent:W4},H4={type:a.GenericReference,id:"312ef836-9e40-4d57-b177-03b7145ed074",entityType:a.Project,entityId:H},z4={type:a.FunctionDeclaration,id:"5059c093-eda2-4efc-b7b4-aaaadd4d44de",version:1,name:"Create new company",description:null,inputs:[],calls:[cI],index:null,implements:null,returnStatements:[cI],collapsed:!1,private:!1,x:0,y:0,parent:H4},sc="get-current-date-and-time-func-decl-id",uI="get-current-date-and-time-return-statement-id",oc="get-current-date-and-time-return-declaration-id",Z4="get-current-date-and-time-return-declaration-data-type-id",K4={type:a.GenericReference,id:"get-current-date-and-time-return-declaration-data-type-value-parent-ref-id",entityType:a.ReturnDeclaration,entityId:oc},X4={type:a.GenericReference,id:"get-current-date-and-time-return-declaration-data-type-parent-ref-id",entityType:a.ReturnDeclaration,entityId:oc},Q4={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:Z4,version:1,entity:ln,asType:!1,isList:!1,isNullable:!1,like:!1,inferred:!1,constant:!1,parent:X4},ex={type:a.GenericReference,id:"get-current-date-and-time-return-declaration-parent-ref-id",entityType:a.ReturnStatement,entityId:uI};a.ReturnDeclaration,a.LiteralValue,C.Date,ze.CurrentDateAndTime;const tx={type:a.GenericReference,id:"get-current-date-and-time-return-statement-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:sc},nx={type:a.GenericReference,id:"get-current-date-and-time-return-statement-parent-ref-id",entityType:a.FunctionDeclaration,entityId:sc};a.ReturnStatement;const rx={type:a.GenericReference,id:"concurrency-and-wait-parent-ref-id",entityType:a.Project,entityId:H},ax={type:a.FunctionDeclaration,id:sc,version:1,name:"Get current date and time",description:"Generates and returns the current date and time at the time of the execution",inputs:[],calls:[],returnStatements:[],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:rx},pI="do-math-return-statement-id",lc="do-math-return-declaration-id",ix={type:a.GenericReference,id:"do-math-func-var-to-return-one-ref-id",entityType:a.VariableDeclaration,entityId:"do-math-func-var-to-return-one-id"},sx={like:!1,inferred:!1,id:"do-math-func-var-to-return-one-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ix},ox={type:a.GenericReference,id:"do-math-func-decl-ref-two-id",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},lx={type:a.GenericReference,id:"do-math-func-var-to-return-one-map-ref-id",entityType:a.ReturnDeclaration,entityId:lc},dx={type:a.VariableDeclaration,id:"do-math-func-var-to-return-one-id",version:1,description:null,name:"Fixed result",defaultValue:null,dataType:sx,readsValue:null,writesValues:[lx],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:ox},cx={type:a.GenericReference,id:"96ec244e-594b-45f7-802b-6dc3056920f6",entityType:a.ReturnStatement,entityId:pI},ux={type:a.GenericReference,id:"d120c0cc-9d13-4e45-90e2-4e1ee825ca46",entityType:a.ReturnDeclaration,entityId:lc},px={like:!1,inferred:!1,id:"da91aa23-9985-49ac-a8bf-9d623ba1ba8f",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:ux},yx={isError:!1,id:lc,version:1,type:a.ReturnDeclaration,name:"Result",description:null,implements:null,defaultValue:null,dataType:px,readsValue:dx,required:!0,index:0,parent:cx},hx={type:a.GenericReference,id:"57fd93e4-93a1-484e-82eb-4dd15d2d0e24",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},fx={type:a.GenericReference,id:"0a86e8d5-ab21-476e-a482-b928cbf351e3",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},yI={type:a.ReturnStatement,id:pI,version:1,outputs:[yx],calledByError:[],calledByEntry:[],calledBySuccess:[hx],parent:fx,throws:null,x:0,y:0},mx={type:a.GenericReference,id:"a2db26be-57f2-48e5-9769-cdbf0d95dc7c",entityType:a.VariableDeclaration,entityId:"d0e9f1f3-7e9f-4e1f-8d8e-7b4b3e6c6a6a"},Tx={like:!1,inferred:!1,id:"c3e9d5f0-204f-45f9-85f7-e1b56b468388",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:mx},Ex={type:a.GenericReference,id:"692122c5-610a-4504-90dd-f5a5202d116c",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},bx={type:a.GenericReference,id:"do-math-func-return-one-called-by",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Rx={type:a.GenericReference,id:"6dceb501-be5b-4252-afb4-3c0d08abba33",entityType:a.OutputMap,entityId:"64752080-ee0f-4cfe-9897-a0668f2b2aca"},hI={type:a.VariableDeclaration,id:"d0e9f1f3-7e9f-4e1f-8d8e-7b4b3e6c6a6a",version:1,name:"Result",dataType:Tx,description:null,defaultValue:null,readsValue:Rx,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[bx],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:Ex},gx={type:a.GenericReference,id:"5440f523-af38-4981-8035-89d162fe8041",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},vx={type:a.GenericReference,id:"8c482c35-e674-4713-a1dd-63c3d13b611c",entityType:a.OutputMap,entityId:"64752080-ee0f-4cfe-9897-a0668f2b2aca"},Ix={type:a.GenericReference,id:"c0a299cd-5869-4930-8cf0-90e3ceb8a903",entityType:a.VariableDeclaration,entityId:"46b2fe23-b417-4887-a35d-09b186679172"},Dx={like:!1,inferred:!1,id:"51c0c1df-2ee3-41df-ae52-ac512d8cf795",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Ix},Sx={type:a.GenericReference,id:"do-math-func-return-two-called-by",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},fI={type:a.VariableDeclaration,id:"46b2fe23-b417-4887-a35d-09b186679172",version:1,name:"Total",description:null,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[Sx],successCalls:[],errorCalls:[],dataType:Dx,readsValue:vx,writesValues:[],internalCalls:[],parent:gx,x:0,y:0},mI={type:a.GenericReference,id:"6e4d776e-6af2-4321-b630-c78110fd677c",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},Ox={type:a.GenericReference,id:"5b60955b-2486-40b6-bb24-ffd97ccd8902",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Px={type:a.GenericReference,id:"1a49923f-bc6f-453f-a438-e74e5475c2a9",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Ax={type:a.GenericReference,id:"02bfde0a-b757-4072-9613-6e9c7c9a424a",entityType:a.ArgumentDeclaration,entityId:"d8895765-f705-457e-85fa-25d130926769"},TI={id:"928953b0-0e3f-4d8c-ae5a-84620b4b8c68",version:1,type:a.InputMap,declaration:vl,name:null,description:null,readsValue:Ax,defaultValue:null,index:0,parent:Px},Cx={id:"64752080-ee0f-4cfe-9897-a0668f2b2aca",type:a.OutputMap,version:1,defaultValue:null,declaration:Sl,writesValues:[hI,fI],index:0,parent:Ox},wx={type:a.GenericReference,id:"d235a7f6-07ff-4f35-98d2-8f42dd59cf9f",entityType:a.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Bx={id:"8827e8e9-9381-4ad7-8f61-5419c23c9136",type:a.GenericReference,entityType:a.VariableDeclaration,entityId:"72a338d8-0183-4ca2-8760-227517854595"},EI={id:"a5525249-0eb5-472b-97bc-5e4cc0d75aee",version:1,type:a.InputMap,declaration:Il,name:null,description:null,readsValue:Bx,defaultValue:null,index:1,parent:wx},Mx={type:a.Operation,id:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e",declaration:ls,version:1,inputs:[TI,EI],outputs:[Cx],calledByError:[],calledByEntry:[mI],calledBySuccess:[],process:null,successCalls:[yI,hI,fI],errorCalls:[],parent:mI,error:null,x:0,y:0},Nx={type:a.GenericReference,id:"a2c40226-2270-4963-a865-c777ba79c551",entityType:a.VariableDeclaration,entityId:"72a338d8-0183-4ca2-8760-227517854595"},_x={id:"f47731b3-f278-4ab5-aeb2-24519c1119fb",type:a.GenericReference,entityId:"72a338d8-0183-4ca2-8760-227517854595",entityType:a.ArgumentDeclaration},bI={like:!1,inferred:!1,id:"a350a9e9-25ee-477f-a83d-9e98ed2451662",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:_x},Vx={type:a.GenericReference,id:"5f5d8dd0-7f3b-40cd-9f84-83d976887eaf",entityType:a.ArgumentDeclaration,entityId:"649bf0a4-6532-44aa-9818-a03d1c6564e9"},Lx={type:a.GenericReference,id:"ca018d0f-a8b3-4c7e-a408-c8b372d04aff",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},Gx={type:a.GenericReference,id:"do-math-func-var-called-by-ref",entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},RI={id:"72a338d8-0183-4ca2-8760-227517854595",type:a.VariableDeclaration,version:1,name:"Z",description:null,defaultValue:{id:"do-math-func-argument-two-default-value-id",type:a.LiteralValue,version:1,value:1,name:C.Number,valueAsType:null,autogeneration:null,parent:Nx},dataType:bI,inputs:[],outputs:[],calledByError:[],calledByEntry:[Gx],calledBySuccess:[],successCalls:[],errorCalls:[],readsValue:Vx,writesValues:[EI],internalCalls:[],x:0,y:0,parent:Lx},$x={entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b",type:a.GenericReference,id:"af0cf105-4075-425f-aecc-b25d3600fcc4"},Fx={id:"649bf0a4-6532-44aa-9818-a03d1c6564e9",type:a.ArgumentDeclaration,version:1,name:"Z",description:"The number to add",defaultValue:null,dataType:bI,implements:null,writesValues:[RI],required:!0,index:1,parent:$x},Ux={type:a.GenericReference,id:"56953b5d-3e43-4dea-a62c-f3e868ba81bb",entityType:a.Project,entityId:H},xx={id:"868defc8-5c95-48ed-942d-257e8b9b9b00",type:a.GenericReference,entityType:a.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},jx={type:a.GenericReference,id:"35167664-a793-49f1-9eaf-fb57eac30897",entityType:a.VariableDeclaration,entityId:"d8895765-f705-457e-85fa-25d130926769"},kx={id:"d47ceef6-be6f-40f1-a7b3-c73c8d8a6c6a",type:a.GenericReference,entityId:"d8895765-f705-457e-85fa-25d130926769",entityType:a.ArgumentDeclaration},qx={like:!1,inferred:!1,id:"55b12914-91b1-48b7-9a3e-9c5d0d2a2ec2",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:kx},Jx={id:"d8895765-f705-457e-85fa-25d130926769",type:a.ArgumentDeclaration,version:1,name:"N",dataType:qx,description:"The number to add",implements:null,defaultValue:{id:"do-math-func-argument-one-default-value-id",type:a.LiteralValue,version:1,value:5,name:C.Number,valueAsType:null,autogeneration:null,parent:jx},writesValues:[TI],required:!0,index:0,parent:xx},Wx={type:a.FunctionDeclaration,id:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b",version:1,name:"Do math",description:"This function does math",inputs:[Jx,Fx],calls:[Mx,RI],implements:null,index:null,collapsed:!1,returnStatements:[yI],private:!1,x:0,y:0,parent:Ux},It="replace-bank-account-in-company-func-declaration-id",dc="company-entity-to-modify-arg-declaration-id",cc="account-number-to-create-arg-decl-id",Pa="company-main-variable-id",Aa="search-person-by-id-id",gI="new-bank-account-owner-arg-decl-id",vI="search-person-by-id-output-declaration-id",uc="search-person-by-id-output-entity-map-id",Bi="person-not-empty-condition-id",mo="create-new-bank-account-instance-operation-id",II="create-new-bank-account-instance-operation-output-entity-map-id",DI="company-bank-account-output-map-id",pc="old-bank-account-var-declaration-id",SI="old-bank-account-var-instance-id",OI="company-variable-instance-id",yc="delete-bank-account-internal-call-id",Mi="new-bank-account-data-variable-declaration-id",Yx={type:a.GenericReference,id:"company-variable-instance-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},Hx={type:a.GenericReference,id:"company-variable-instance-called-by-ref-id",entityType:a.InternalCall,entityId:yc},zx={type:a.GenericReference,id:"company-variable-instance-declaration-ref-id",entityType:a.VariableDeclaration,entityId:Pa},Zx={type:a.GenericReference,id:"bank-account-input-map-parent-ref-id",entityType:a.VariableInstance,entityId:OI},Kx={type:a.GenericReference,id:"bank-account-input-map-reads-value-ref-id",entityType:a.OutputMap,entityId:II},PI={type:a.InputMap,id:"bank-account-input-map-id",version:1,readsValue:Kx,declaration:Ld,name:null,description:null,index:0,defaultValue:null,parent:Zx},Xx={type:a.VariableInstance,id:OI,version:1,defaultValue:null,declaration:zx,inputs:[PI],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[Hx],successCalls:[],errorCalls:[],internalCalls:[],parent:Yx,readsValue:null,writesValues:[],x:0,y:0},Qx={type:a.GenericReference,id:"bank-account-variable-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pa},ej={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"bank-account-variable-data-type-id",version:1,entity:va,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:Qx},tj={type:a.GenericReference,id:"bank-account-variable-reads-value-ref-id",entityType:a.OutputMap,entityId:DI},nj={type:a.GenericReference,id:"bank-account-variable-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},rj={type:a.GenericReference,id:"bank-account-variable-called-by-ref-id",entityType:a.VariableDeclaration,entityId:Pa},aj={type:a.GenericReference,id:"delete-bank-account-internal-call-called-by-ref-id",entityType:a.Operation,entityId:mo};a.GenericReference,a.VariableInstance;const ij={type:a.GenericReference,id:"delete-bank-account-internal-call-called-by-ref-two-id",entityType:a.VariableDeclaration,entityId:pc},sj={type:a.GenericReference,id:"old-bank-account-variable-trigger-delete-decl-ref-id",entityType:a.VariableDeclaration,entityId:pc},oj={type:a.GenericReference,id:"bank-account-variable-parent-ref-two-id",entityType:a.FunctionDeclaration,entityId:It},lj={type:a.GenericReference,id:"old-bank-account-variable-trigger-delete-internal-call-ref-id",entityType:a.InternalCall,entityId:yc},dj={type:a.VariableInstance,id:SI,version:1,defaultValue:null,declaration:sj,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],internalCalls:[lj],errorCalls:[],parent:oj,readsValue:null,writesValues:[],x:0,y:0},AI={process:null,type:a.InternalCall,id:yc,version:1,declaration:dd,index:0,successCalls:[Xx],errorCalls:[],inputs:[],outputs:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[aj,ij],parent:dj},CI={type:a.VariableDeclaration,id:pc,version:1,name:"Old bank account",description:"The existing bank account that needs to be replaced in the company entity",dataType:ej,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[rj],successCalls:[AI],internalCalls:[],errorCalls:[],parent:nj,readsValue:tj,writesValues:[],x:0,y:0},cj={type:a.GenericReference,id:"company-variable-declaration-data-type-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pa},uj={type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"company-variable-declaration-data-type-id",version:1,entity:Ht,asType:!1,isList:!1,isNullable:!1,like:!1,inferred:!1,constant:!1,parent:cj},pj={type:a.GenericReference,id:"company-variable-declaration-reads-value-ref-id",entityType:a.ArgumentDeclaration,entityId:dc},yj={type:a.GenericReference,id:"company-variable-declaration-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},hj={type:a.GenericReference,id:"company-variable-declaration-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:It},fj={type:a.GenericReference,id:"company-bank-account-output-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Pa},mj={id:DI,version:1,type:a.OutputMap,defaultValue:null,declaration:Ld,index:0,parent:fj,writesValues:[CI]},wI={type:a.VariableDeclaration,id:Pa,version:1,name:"Company",description:"The company entity that was passed as an argument to the parent function",defaultValue:null,dataType:uj,inputs:[],outputs:[mj],calledByError:[],calledByEntry:[hj],calledBySuccess:[],successCalls:[CI],errorCalls:[],parent:yj,internalCalls:[],readsValue:pj,writesValues:[],x:0,y:0},Tj={type:a.GenericReference,id:"create-new-bank-account-account-owner-dynamic-input-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Mi},Ej={id:"create-new-bank-account-account-owner-dynamic-input-map-reads-value-ref-id",type:a.GenericReference,entityType:a.OutputMap,entityId:uc},BI={id:"create-new-bank-account-account-owner-dynamic-input-map-id",version:1,type:a.InputMap,declaration:null,name:"Account owner",description:null,readsValue:Ej,index:1,defaultValue:null,parent:Tj},bj={id:"create-new-bank-account-account-number-dynamic-input-map-reads-value-ref-id",type:a.GenericReference,entityType:a.ArgumentDeclaration,entityId:cc},Rj={type:a.GenericReference,id:"create-new-bank-account-account-number-dynamic-input-map-parent-ref-id",entityType:a.VariableDeclaration,entityId:Mi},MI={id:"create-new-bank-account-account-number-dynamic-input-map-id",version:1,type:a.InputMap,declaration:null,name:"Account number",description:null,readsValue:bj,defaultValue:null,index:0,parent:Rj},NI={type:a.GenericReference,id:"create-new-bank-account-instance-operation-entity-to-create-input-map-parent-ref-id",entityType:a.Operation,entityId:mo},gj={id:"create-new-bank-account-instance-operation-entity-to-create-input-map-id",version:1,type:a.InputMap,declaration:hr.inputs[0],name:null,description:null,index:0,readsValue:null,defaultValue:{type:a.LiteralValue,name:C.EntityTemplate,value:null,valueAsType:va,autogeneration:null},parent:NI},vj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-entity-data-input-map-reads-value-ref-id",entityType:a.VariableDeclaration,entityId:Mi},_I={id:"create-new-bank-account-instance-operation-entity-data-input-map-id",version:1,type:a.InputMap,declaration:hr.inputs[1],name:null,description:null,index:1,readsValue:vj,defaultValue:null,parent:NI},Ij={type:a.GenericReference,id:"create-new-bank-account-instance-operation-output-entity-map-parent-ref-id",entityType:a.Operation,entityId:mo},Dj={id:II,version:1,type:a.OutputMap,defaultValue:null,declaration:hr.outputs[0],index:0,writesValues:[PI],parent:Ij},Sj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:a.Condition,entityId:Bi},Oj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:a.VariableDeclaration,entityId:Mi},Pj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},VI={process:null,id:mo,type:a.Operation,version:1,declaration:hr,inputs:[gj,_I],error:null,outputs:[Dj],successCalls:[AI],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[Oj,Sj],parent:Pj,x:0,y:0},Aj={type:a.GenericReference,id:"new-bank-account-data-variable-declaration-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},Cj={type:a.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:a.Condition,entityId:Bi},wj={id:Mi,type:a.VariableDeclaration,version:1,defaultValue:null,inputs:[MI,BI],dataType:null,name:"New bank Account's data",description:null,readsValue:null,outputs:[],writesValues:[_I],successCalls:[VI],errorCalls:[],internalCalls:[],calledByError:[],calledBySuccess:[Cj],calledByEntry:[],x:0,y:0,parent:Aj},Bj={id:"person-not-found-thrown-error-datatype-default-value-parent-ref-id",type:a.GenericReference,entityId:"person-not-found-thrown-error-id",entityType:a.ReturnDeclaration},Mj={id:"person-not-found-thrown-error-datatype-parent-ref-id",type:a.GenericReference,entityId:"person-not-found-thrown-error-id",entityType:a.ReturnDeclaration},Nj={like:!1,inferred:!1,id:"person-not-found-thrown-error-datatype-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Mj},_j={id:"person-not-found-thrown-error-parent-ref-id",type:a.GenericReference,entityId:"person-not-found-error-return-statement-id",entityType:a.ReturnStatement},Vj={isError:!0,id:"person-not-found-thrown-error-id",type:a.ReturnDeclaration,version:1,dataType:Nj,name:"Person not found error",description:"If the person entity was not found this error is outputted",defaultValue:{id:"person-not-found-thrown-error-datatype-default-value-id",type:a.LiteralValue,version:1,value:"Person not found",name:C.String,parent:Bj,valueAsType:null,autogeneration:null},parent:_j,implements:null,required:!0,index:0,readsValue:null},Lj={id:"person-not-found-error-return-statement-called-by-ref-id",type:a.GenericReference,entityId:Bi,entityType:a.Condition},Gj={id:"person-not-found-error-return-statement-parent-ref-id",type:a.GenericReference,entityId:It,entityType:a.FunctionDeclaration},$j={id:"person-not-found-error-return-statement-id",type:a.ReturnStatement,version:1,throws:Vj,outputs:[],calledBySuccess:[],calledByError:[Lj],calledByEntry:[],x:0,y:0,parent:Gj},Fj={type:a.GenericReference,id:"person-not-empty-condition-called-by-ref-id",entityType:a.Search,entityId:Aa},Uj={type:a.GenericReference,id:"person-not-empty-condition-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},xj={type:a.GenericReference,id:"person-entity-to-check-map-reads-value-ref-id",entityType:a.OutputMap,entityId:uc},jj={type:a.GenericReference,id:"person-not-empty-condition-ref-two-id",entityType:a.Condition,entityId:Bi},LI={id:"person-entity-to-check-map-id",version:1,type:a.InputMap,declaration:Rr.inputs[0],name:null,description:null,readsValue:xj,index:0,defaultValue:null,parent:jj},kj={type:a.Condition,id:Bi,version:1,declaration:Rr,inputs:[LI],calledByError:[],calledByEntry:[],calledBySuccess:[Fj],successCalls:[wj,VI],errorCalls:[$j],x:0,y:0,parent:Uj},qj={type:a.GenericReference,id:"search-person-by-id-output-entity-declaration-datatype-parent-ref-id",entityType:a.ValueDescriptor,entityId:vI},Jj={like:!1,inferred:!1,id:"search-person-by-id-output-entity-declaration-datatype-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,constant:!1,asType:!1,isNullable:!1,entity:gt,parent:qj},Wj={type:a.GenericReference,id:"search-person-by-id-output-entity-declaration-parent-ref-id",entityType:a.Search,entityId:Aa},GI={id:vI,type:a.ValueDescriptor,version:1,defaultValue:null,dataType:Jj,name:"Found person",description:"The person entity that was found",parent:Wj,required:!0,index:0},Yj={type:a.GenericReference,id:"search-person-by-id-output-entity-map-parent-ref-id",entityType:a.Search,entityId:Aa},Hj={type:a.OutputMap,id:uc,version:1,defaultValue:null,declaration:GI,parent:Yj,writesValues:[LI,BI],index:0},zj={id:"search-person-by-id-input-declaration-datatype-parent-ref-id",type:a.GenericReference,entityId:"search-person-by-id-input-declaration-id",entityType:a.ArgumentDeclaration};a.DataType;const Zj={type:a.GenericReference,id:"search-person-by-id-input-declaration-parent-ref-id",entityType:a.Search,entityId:Aa},$I={id:"search-person-by-id-input-declaration-id",type:a.ValueDescriptor,version:1,dataType:null,defaultValue:null,name:"Person ID",description:"The unique identifier (ID) property of the person entity",parentRelationType:A.FixedArguments,index:0,required:!0,parent:Zj},Kj={type:a.GenericReference,id:"search-person-by-id-input-map-parent-ref-id",entityType:a.Search,entityId:Aa},Xj={id:"search-person-by-id-input-map-reads-value-ref-id",type:a.GenericReference,entityId:gI,entityType:a.ArgumentDeclaration},FI={type:a.InputMap,id:"search-person-by-id-input-map",version:1,declaration:$I,name:null,description:null,readsValue:Xj,defaultValue:null,parent:Kj,index:0},Qj="SELECT * FROM Person WHERE id = your_id;",e8={type:a.GenericReference,id:"search-person-by-id-parent-ref-id",entityType:a.FunctionDeclaration,entityId:It},t8={type:a.GenericReference,id:"search-person-by-id-called-by-ref-id",entityType:a.FunctionDeclaration,entityId:It},n8={type:a.Search,id:Aa,version:1,name:"Search person by ID",description:"Searches for a person entity given the UUID",query:Qj,inputsDeclarations:[$I],inputs:[FI],outputsDeclarations:[GI],outputs:[Hj],calledByError:[],calledByEntry:[t8],calledBySuccess:[],error:null,successCalls:[kj],errorCalls:[],parent:e8,x:0,y:0};a.GenericReference,a.DataType;const r8={id:"account-number-to-create-arg-decl-data-type-parent-ref-id",type:a.GenericReference,entityId:cc,entityType:a.ArgumentDeclaration},a8={like:!1,inferred:!1,id:"account-number-to-create-arg-decl-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:J,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:r8},i8={entityType:a.FunctionDeclaration,entityId:It,type:a.GenericReference,id:"account-number-to-create-arg-decl-parent-ref-id"},s8={id:cc,type:a.ArgumentDeclaration,version:1,name:"Account number",description:"The account number of the new bank account entity",defaultValue:null,dataType:a8,implements:null,writesValues:[MI],required:!0,index:1,parent:i8};a.GenericReference,a.DataType;const o8={id:"new-bank-account-owner-arg-decl-data-type-parent-ref-id",type:a.GenericReference,entityId:"new-bank-account-owner-arg-decl-id",entityType:a.ArgumentDeclaration},l8={like:!1,inferred:!1,id:"new-bank-account-owner-arg-decl-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:An,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:o8},d8={entityType:a.FunctionDeclaration,entityId:It,type:a.GenericReference,id:"new-bank-account-owner-arg-decl-parent-ref-id"},c8={id:gI,type:a.ArgumentDeclaration,version:1,name:"New account owner ID",description:"If it has changed, this is the new person entity, that owns of the bank account",defaultValue:null,dataType:l8,implements:null,writesValues:[FI],required:!1,index:1,parent:d8},u8={type:a.GenericReference,id:"replace-bank-account-in-company-parent-ref",entityType:a.Project,entityId:H},p8={type:a.GenericReference,id:"company-entity-to-modify-parent-ref",entityType:a.FunctionDeclaration,entityId:It};a.GenericReference,a.DataType;const y8={id:"d47ceef6-be6f-40f1-a7b3-c73c8d8a6c6a",type:a.GenericReference,entityId:dc,entityType:a.ArgumentDeclaration},h8={like:!1,inferred:!1,id:"company-entity-to-modify-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ee,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:y8},f8={id:dc,type:a.ArgumentDeclaration,version:1,name:"Company",defaultValue:null,dataType:h8,implements:null,description:"The company to replace the bank account for",writesValues:[wI],required:!0,index:0,parent:p8},m8={type:a.FunctionDeclaration,id:It,version:1,name:"Replace bank account",description:"This action takes an existing company and data to create a new bank account entity. It then creates a bank account, deletes the old one, and updates the company with the new bank account",inputs:[f8,s8,c8],index:null,implements:null,calls:[n8,wI],collapsed:!1,returnStatements:[],private:!1,x:0,y:0,parent:u8},T8={type:a.GenericReference,id:"e0a937bd-3a85-4037-a973-916985b9f94b",entityType:a.Project,entityId:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6"},E8={type:a.FunctionDeclaration,version:1,id:"6bedb217-f844-4332-af72-9626b2a32511",name:"Some library main function",description:null,inputs:[],calls:[],implements:null,collapsed:!0,index:null,returnStatements:[],private:!1,parent:T8,x:0,y:0},b8={type:a.GenericReference,id:"948e6869-ae5b-4914-bea0-b9f02ad6a014",entityType:a.Project,entityId:H},R8={type:a.GenericReference,id:"f3d6f2c6-1b3e-4e9d-8c9d-5b5b9f0b8d9c",entityType:a.Project,entityId:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6"},g8={type:a.InstalledProject,version:1,id:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6",name:"Third Party Installed Project",description:null,functions:[E8],events:[],implements:R8,parent:b8,x:0,y:0},hc="global-counted-test-loop-id",UI="global-counted-test-loop-body-id",xI="global-counted-test-loop-body-current-iteration-value-argument-declaration-id",v8={type:a.GenericReference,id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:xI,entityType:a.ArgumentDeclaration},I8={like:!1,inferred:!1,id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:v8},D8={id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:UI,entityType:a.FunctionDeclaration},S8={id:xI,type:a.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:I8,implements:zl,required:!0,index:0,writesValues:[],parent:D8},O8={id:"global-counted-test-loop-body-parent-ref-id",type:a.GenericReference,entityId:hc,entityType:a.Loop},P8={id:UI,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[S8],calls:[],implements:Zl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:O8},Ca="random-company-employee-test-variable-id",fc="manager-global-variable-id",jI="global-user-instance-id",Tn="employee-mapped-dto-variable-id",Ar="employee-mapped-dto-variable-instance-id",kI="random-employee-id-output-map-id",qI="random-employee-birth-date-output-map-id",JI="random-employee-department-output-map-id",WI="random-employee-manager-output-map-id",YI="manager-global-id-output-map-id",HI="global-user-instance-id-output-map-id",A8="employee-mapped-dto-requester-id-input-map-id",zI="employee-mapped-dto-now-timestamp-input-map-id",C8="employee-mapped-dto-id-input-map-id",w8="employee-mapped-dto-birth-date-input-map-id",B8="employee-mapped-dto-department-input-map-id",M8="employee-mapped-dto-manager-input-map-id",N8={id:"global-counted-test-loop-iteration-number-input-map-parent-ref-id",type:a.GenericReference,entityId:hc,entityType:a.Loop};a.GenericReference,a.VariableDeclaration;const _8={id:"global-counted-test-loop-iteration-number-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:ti.inputs[0],defaultValue:null,readsValue:null,index:0,parent:N8},V8={id:"global-counted-test-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},L8={id:"global-counted-test-loop-called-by-success-ref-id",type:a.GenericReference,entityId:Ar,entityType:a.VariableDeclaration},ZI={id:hc,type:a.Loop,version:1,declaration:ti,inputs:[_8],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:P8,calledByError:[],calledByEntry:[],calledBySuccess:[L8],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:V8},mc="global-object-keys-test-loop-id",KI="global-object-keys-test-loop-body-id",XI="global-object-keys-test-loop-body-current-iteration-value-argument-declaration-id",G8={type:a.GenericReference,id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:XI,entityType:a.ArgumentDeclaration},$8={like:!1,inferred:!1,id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:G8},F8={id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:KI,entityType:a.FunctionDeclaration},U8={id:XI,type:a.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:$8,implements:Wl,required:!0,index:0,writesValues:[],parent:F8},x8={id:"global-object-keys-test-loop-body-parent-ref-id",type:a.GenericReference,entityId:mc,entityType:a.Loop},j8={id:KI,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[U8],calls:[],implements:la,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:x8},k8={id:"global-object-keys-test-loop-iteration-object-input-map-parent-ref-id",type:a.GenericReference,entityId:mc,entityType:a.Loop},q8={id:"global-object-keys-test-loop-iteration-object-input-map-reads-value-ref-id",type:a.GenericReference,entityId:Tn,entityType:a.VariableDeclaration},QI={id:"global-object-keys-test-loop-iteration-object-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:la.inputs[0],defaultValue:null,readsValue:q8,index:0,parent:k8},J8={id:"global-object-keys-test-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},W8={id:"global-object-keys-test-loop-called-by-success-ref-two-id",type:a.GenericReference,entityId:Ar,entityType:a.VariableDeclaration},Y8={id:"global-object-keys-test-loop-called-by-success-ref-one-id",type:a.GenericReference,entityId:Tn,entityType:a.VariableDeclaration},Tc={id:mc,type:a.Loop,version:1,declaration:la,inputs:[QI],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:j8,calledByError:[],calledByEntry:[],calledBySuccess:[Y8,W8],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:J8},Ec="global-object-values-test-loop-id",eD="global-object-values-test-loop-body-id",tD="global-object-values-test-loop-body-current-iteration-value-argument-declaration-id",H8={type:a.GenericReference,id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:tD,entityType:a.ArgumentDeclaration},z8={like:!1,inferred:!1,id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:H8},Z8={id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:eD,entityType:a.FunctionDeclaration},K8={id:tD,type:a.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:z8,implements:Yl,required:!0,index:0,writesValues:[],parent:Z8},X8={id:"global-object-values-test-loop-body-parent-ref-id",type:a.GenericReference,entityId:Ec,entityType:a.Loop},Q8={id:eD,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[K8],calls:[],implements:da,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:X8},e9={id:"global-object-values-test-loop-iteration-object-input-map-parent-ref-id",type:a.GenericReference,entityId:Ec,entityType:a.Loop},t9={id:"global-object-values-test-loop-iteration-object-input-map-reads-value-ref-id",type:a.GenericReference,entityId:Ar,entityType:a.VariableDeclaration},nD={id:"global-object-values-test-loop-iteration-object-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:da.inputs[0],defaultValue:null,readsValue:t9,index:0,parent:e9},n9={id:"global-object-values-test-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},r9={id:"global-object-values-test-loop-called-by-success-ref-id",type:a.GenericReference,entityId:Ar,entityType:a.VariableInstance},rD={id:Ec,type:a.Loop,version:1,declaration:da,inputs:[nD],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:Q8,calledByError:[],calledByEntry:[],calledBySuccess:[r9],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:n9},bc="global-test-iterate-over-string-loop-id",Rc="global-test-iterate-over-string-loop-body-id",To="global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-id",aD="global-test-iterate-over-string-loop-iteration-list-input-map-id",a9={type:a.GenericReference,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:To,entityType:a.ArgumentDeclaration},i9={like:!1,inferred:!1,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:a9},s9={id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:Rc,entityType:a.FunctionDeclaration},o9={id:To,type:a.ArgumentDeclaration,version:1,name:"Current character",description:"The current character value being processed.",defaultValue:null,dataType:i9,implements:kl,required:!0,index:1,writesValues:[],parent:s9},l9={type:a.GenericReference,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:To,entityType:a.ArgumentDeclaration},d9={like:!1,inferred:!1,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:l9},c9={id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:Rc,entityType:a.FunctionDeclaration},u9={id:To,type:a.ArgumentDeclaration,version:1,name:"Current character",description:"The current character value being processed.",defaultValue:null,dataType:d9,implements:ql,required:!0,index:0,writesValues:[],parent:c9},p9={id:"global-test-iterate-over-string-loop-body-parent-ref-id",type:a.GenericReference,entityId:bc,entityType:a.Loop},y9={id:Rc,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[u9,o9],calls:[],implements:Jl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:p9},h9={id:"global-test-iterate-over-string-loop-iteration-list-input-map-parent-ref-id",type:a.GenericReference,entityId:bc,entityType:a.Loop},f9={id:"global-test-iterate-over-string-loop-iteration-list-input-map-default-value-parent-ref-id",type:a.GenericReference,entityId:aD,entityType:a.InputMap},m9={id:"global-test-iterate-over-string-loop-iteration-list-input-map-default-value-id",type:a.LiteralValue,name:C.String,version:1,value:"Hello",valueAsType:null,autogeneration:{type:ze.Random,rangeStart:4,rangeEnd:5},parent:f9},T9={id:aD,type:a.InputMap,version:1,name:null,description:null,declaration:ei.inputs[0],defaultValue:m9,readsValue:null,index:0,parent:h9},E9={id:"global-test-iterate-over-string-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},b9={id:bc,type:a.Loop,version:1,declaration:ei,inputs:[T9],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:y9,calledByError:[],calledByEntry:[],calledBySuccess:[],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:E9},gc="iterate-over-list-loop-id",iD="iterate-over-list-loop-body-id",sD="iterate-over-list-loop-body-current-iteration-value-argument-declaration-id",R9={type:a.GenericReference,id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:sD,entityType:a.ArgumentDeclaration},g9={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-id",type:a.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:R9},v9={id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:a.GenericReference,entityId:iD,entityType:a.FunctionDeclaration},I9={id:sD,type:a.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:g9,implements:Rs,required:!0,index:0,writesValues:[],parent:v9},D9={id:"iterate-over-list-loop-body-parent-ref-id",type:a.GenericReference,entityId:gc,entityType:a.Loop},S9={id:iD,type:a.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[I9],calls:[],implements:gs,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:D9},O9={id:"iterate-over-list-loop-iteration-list-input-map-parent-ref-id",type:a.GenericReference,entityId:gc,entityType:a.Loop},P9={id:"iterate-over-list-loop-iteration-list-input-map-id",type:a.InputMap,version:1,name:null,description:null,declaration:Wn.inputs[0],defaultValue:null,readsValue:null,index:0,parent:O9},A9={id:"iterate-over-list-loop-parent-ref-id",type:a.GenericReference,entityId:H,entityType:a.Project},C9={id:gc,type:a.Loop,version:1,declaration:Wn,inputs:[P9],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:S9,calledByError:[],calledByEntry:[],calledBySuccess:[],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:A9},w9=`SELECT
|
|
2
2
|
Employee.identifier AS EmployeeID,
|
|
3
3
|
Employee.startDate AS startDate,
|
|
4
4
|
User.identifier AS userID,
|