@elyx-code/project-logic-tree 0.0.6111 → 0.0.6113

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.
@@ -1,4 +1,4 @@
1
- (function(d,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(d=typeof globalThis<"u"?globalThis:d||self,n(d["@elyx-code/project-logic-tree"]={}))})(this,function(d){"use strict";var gq=Object.defineProperty;var vq=(d,n,V)=>n in d?gq(d,n,{enumerable:!0,configurable:!0,writable:!0,value:V}):d[n]=V;var c=(d,n,V)=>(vq(d,typeof n!="symbol"?n+"":n,V),V);var n=(i=>(i.CustomEntity="custom-entity",i.BuiltInBaseEntity="built-in-base-entity",i.Project="project",i.InstalledProject="installed-project",i.GlobalEvent="global-event",i.DataType="data-type",i.FunctionCall="function-call",i.FunctionDeclaration="function-declaration",i.ActionDescriptor="action-descriptor",i.ValueDescriptor="value-descriptor",i.ArgumentDeclaration="argument-declaration",i.InputMap="input-map",i.ReturnStatement="return-statement",i.BreakStatement="break-statement",i.ContinueStatement="continue-statement",i.ReturnDeclaration="return-declaration",i.OutputMap="output-map",i.PrimitiveEntity="primitive-entity",i.LiteralValue="primitive-value",i.Property="property",i.Operation="operation",i.Condition="condition",i.VariableDeclaration="variable-declaration",i.VariableInstance="variable-instance",i.Search="search",i.Loop="loop",i.InternalCall="internal-call",i.GenericReference="generic-reference",i))(n||{}),V=(i=>(i.HTTP_ENDPOINT="BUILT_IN_HTTP_ENDPOINT_ENTITY",i.RELATIONAL_DATABASE="BUILT_IN_RELATIONAL_DATABASE_ENTITY",i.PERSISTED_ENTITY="BUILT_IN_PERSISTED_ENTITY_ENTITY",i.CRON_JOB="BUILT_IN_CRON_JOB_ENTITY",i.EXECUTION="BUILT_IN_EXECUTION_ENTITY",i.KEY_VALUE_PARAM="BUILT_IN_KEY_VALUE_PARAM_ENTITY",i))(V||{}),je=(i=>(i.CurrentDateAndTime="current-date-and-time",i.Unique="unique",i.Random="random",i))(je||{}),I=(i=>(i.EntityTemplate="entity-template",i.ActionDescriptor="action-descriptor",i.String="string",i.Number="number",i.Boolean="boolean",i.Null="null",i.Enum="enum",i.KeyValue="key-value",i.Date="date",i.UUID="uuid",i.File="file",i.Untyped="untyped",i))(I||{}),Te=(i=>(i.Addition="addition",i.Subtraction="subtraction",i.Multiplication="multiplication",i.Division="division",i.Remainder="remainder",i.Exponentiation="exponentiation",i))(Te||{}),X=(i=>(i.Join="string-join",i.Split="string-split",i.DeleteLast="string-delete-last",i.DeleteFirst="string-delete-first",i.DeleteIndex="string-delete-index",i.AddIndex="string-add-index",i.ReplaceFirst="string-replace-first",i.ReplaceLast="string-replace-last",i.ReplaceIndex="string-replace-index",i.ReplaceSingleMatch="string-replace-single-match",i.ReplaceAllMatches="string-replace-all-matches",i.GetIndex="string-get-index",i.GetFirst="string-get-first",i.GetLast="string-get-last",i.Append="string-append",i.Prepend="string-prepend",i))(X||{}),H=(i=>(i.Join="list-join",i.Split="list-split",i.DeleteLast="list-delete-last",i.DeleteFirst="list-delete-first",i.DeleteIndex="list-delete-index",i.AddIndex="list-add-index",i.ReplaceFirst="list-replace-first",i.ReplaceLast="list-replace-last",i.ReplaceIndex="list-replace-index",i.ReplaceSingleMatch="list-replace-single-match",i.ReplaceAllMatches="list-replace-all-matches",i.GetIndex="list-get-index",i.GetFirst="list-get-first",i.GetLast="list-get-last",i.Append="list-append",i.Prepend="list-prepend",i))(H||{}),le=(i=>(i.Parallel="parallel",i.Sequential="sequential",i.Wait="wait",i))(le||{}),ce=(i=>(i.CreateNewInstance="create-new-instance",i.Validate="validate",i))(ce||{}),tt=(i=>(i.HttpRequest="base-http-request",i))(tt||{}),$e=(i=>(i.Equal="equal",i.NotEqual="not-equal",i.And="and",i.Or="or",i.LessThan="less-than",i.MoreThan="more-than",i.LessThanOrEqual="less-than-or-equal",i.MoreThanOrEqual="more-than-or-equal",i))($e||{}),Gt=(i=>(i.Empty="empty",i.NotEmpty="not-empty",i))(Gt||{}),$=(i=>(i.ManualFlow="manual-flow-loop",i.Counted="counted-loop",i.List="list-loop",i.ObjectKeys="object-keys-loop",i.ObjectValues="object-values-loop",i.String="string-loop",i))($||{}),O=(i=>(i.FixedArguments="fixed-arguments",i.FixedReturns="fixed-returns",i.ReturnedError="returned-error",i.OngoingProcessExecution="ongoing-process-execution",i.DynamicArgument="dynamic-argument-types",i.DynamicReturn="dynamic-return-types",i))(O||{}),He=(i=>(i.OrDataTypeGroup="or-data-type-group",i.AndDataTypeGroup="and-data-type-group",i))(He||{}),fn=(i=>(i.PROJECT_PUBLICATION_COMPLETED="GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED",i))(fn||{}),Bt=(i=>(i.DeletePersistedEntity="base-delete-persisted-entity",i.SoftDeletePersistedEntity="base-soft-delete-persisted-entity",i.AbortExecution="base-abort-execution",i))(Bt||{}),zr=(i=>(i.Error="error",i.Task="task",i.Return="return",i))(zr||{});const Nn=[n.VariableDeclaration,n.VariableInstance,n.InputMap,n.ReturnDeclaration],ke=[n.VariableDeclaration,n.VariableInstance,n.ArgumentDeclaration,n.OutputMap],Ku=[...Nn,...ke],Fe=[n.VariableDeclaration,n.VariableInstance],Zr=[n.GlobalEvent],Ue=[n.Operation,n.FunctionCall,n.Condition,n.Search,n.VariableDeclaration,n.VariableInstance,n.InternalCall,n.Loop],nl=[n.Operation,n.FunctionCall,n.Condition,n.Search,n.VariableDeclaration,n.VariableInstance,n.Loop],xe=[n.FunctionDeclaration,...Zr],hn=[...Ue,n.ReturnStatement,n.BreakStatement,n.ContinueStatement],rl=[...nl,n.ReturnStatement,n.BreakStatement,n.ContinueStatement],Qt=[...Ue,...xe],Xu=[...nl,...xe],BA=[...hn,...xe],wA=[...rl,...xe],pt=[...xe,n.Loop],Ve=[n.ReturnStatement,n.BreakStatement,n.ContinueStatement],_A=[n.CustomEntity,n.BuiltInBaseEntity,n.Project,n.InstalledProject,n.GlobalEvent,n.DataType,n.FunctionCall,n.FunctionDeclaration,n.ActionDescriptor,n.ValueDescriptor,n.ArgumentDeclaration,n.InputMap,n.ReturnStatement,n.BreakStatement,n.ContinueStatement,n.ReturnDeclaration,n.OutputMap,n.PrimitiveEntity,n.LiteralValue,n.Property,n.Operation,n.Condition,n.VariableDeclaration,n.VariableInstance,n.Search,n.Loop,n.InternalCall],il=[n.CustomEntity,n.GlobalEvent,n.FunctionDeclaration,n.FunctionCall,n.VariableDeclaration,n.VariableInstance,n.Operation,n.Condition,n.ReturnStatement,n.BreakStatement,n.ContinueStatement,n.InstalledProject,n.Loop,n.Search],Qu=[n.CustomEntity,n.FunctionDeclaration,n.ArgumentDeclaration,n.ReturnDeclaration,n.Property,n.VariableDeclaration,n.Search,n.Project,n.InstalledProject,n.ActionDescriptor,n.ValueDescriptor],Kr=[n.BuiltInBaseEntity,n.PrimitiveEntity],NA=[n.CustomEntity,n.FunctionDeclaration,n.ArgumentDeclaration,n.ReturnDeclaration,n.Property,n.VariableDeclaration,n.GlobalEvent,n.Search,n.Project,n.InstalledProject,n.ActionDescriptor,n.ValueDescriptor,n.InputMap,n.OutputMap,n.FunctionCall,n.Operation,n.Condition,n.ReturnStatement,n.BreakStatement,n.ContinueStatement,n.VariableInstance,n.LiteralValue,n.InternalCall];var al=(i=>(i.ActionOngoingProcessOutputValue="action-ongoing-process-output-value-descriptor-id",i))(al||{});const B={[n.PrimitiveEntity]:{[I.String]:{id:"8b5fbe15-4c2b-48c0-9fd8-e5efbe3978dc",properties:{}},[I.Boolean]:{id:"f596545d-1565-4faa-9969-d95fa5edfea4",properties:{}},[I.Number]:{id:"ecb84c29-6153-4b82-86a5-fce2b5f92002",properties:{}},[I.KeyValue]:{id:"b6f3c3c4-9c3d-4f9d-9e9e-1c0f6a3c8c6b",properties:{}},[I.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"}}}}},[I.UUID]:{id:"4a6234aa-c0f6-4731-b4dd-750388029226",properties:{}},[I.Date]:{id:"dc58f38b-d574-4956-aac6-32ce9529b937",properties:{}},[I.Null]:{id:"7d698f34-5a89-4aab-846b-07ef3843b8c4",properties:{}},[I.Untyped]:{id:"4044a018-818e-49d7-bf9a-c3dd1fff2102",properties:{}}},[n.ValueDescriptor]:{"action-ongoing-process-output-value-descriptor-id":{id:"action-ongoing-process-output-value-descriptor-id",dataType:{id:"process-output-value-data-type-id"}}},[n.BuiltInBaseEntity]:{[V.KEY_VALUE_PARAM]:{id:V.KEY_VALUE_PARAM},[V.HTTP_ENDPOINT]:{id:V.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"}}},[V.PERSISTED_ENTITY]:{id:V.PERSISTED_ENTITY,properties:{database:{id:"persisted-built-in-base-entity-database-property-id"},primaryKey:{id:"persisted-built-in-base-entity-primary-key-property-id"}}},[V.RELATIONAL_DATABASE]:{id:V.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"}}},[V.CRON_JOB]:{id:V.CRON_JOB,properties:{expression:{id:"cron-job-built-in-base-entity-expression-property-id"}}}},[n.Operation]:{[X.Join]:{id:X.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"}}},[X.Split]:{id:X.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"}}},[Te.Addition]:{id:Te.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"}}},[Te.Subtraction]:{id:Te.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"}}},[tt.HttpRequest]:{id:tt.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"}}},[ce.Validate]:{id:ce.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"}}},[le.Parallel]:{id:le.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"}}}},[n.Loop]:{[$.List]:{id:$.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"}}}},[$.String]:{id:$.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"}}}},[$.ObjectKeys]:{id:$.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"}}}},[$.ObjectValues]:{id:$.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"}}}},[$.ManualFlow]:{id:$.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"}}}},[$.Counted]:{id:$.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"}}}}},[n.Condition]:{[$e.MoreThanOrEqual]:{id:$e.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"}}}},[Gt.NotEmpty]:{id:Gt.NotEmpty,inputs:{leftHand:{id:"condition-not-empty-input-id"}}}},[n.GlobalEvent]:{[fn.PROJECT_PUBLICATION_COMPLETED]:{id:fn.PROJECT_PUBLICATION_COMPLETED}}},wt=B[n.PrimitiveEntity],U={type:n.PrimitiveEntity,id:wt.string.id,description:"A string of characters.",version:1,name:I.String,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Mn={type:n.PrimitiveEntity,id:wt.boolean.id,description:"A 'true' or 'false' value.",version:1,name:I.Boolean,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Z={type:n.PrimitiveEntity,id:wt.number.id,description:"A number value.",version:1,name:I.Number,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},MA={type:n.PrimitiveEntity,id:wt.null.id,description:"An explicitly empty value.",version:1,name:I.Null,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Xe={type:n.PrimitiveEntity,id:wt.untyped.id,description:"Data of any type that isn't known in advance.",version:1,name:I.Untyped,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},ep={id:"c2f52f01-8f2e-490e-8083-72289c8189c1",type:n.GenericReference,entityId:wt.enum.properties.options.id,entityType:n.Property},tp={id:"4e803941-2e6a-4227-b803-b8877c0d7fee",type:n.GenericReference,entityId:"00ccfcae-2104-45ef-bf6c-50ddccd74286",entityType:n.Property},np={like:!1,inferred:!1,id:wt.enum.properties.options.dataType.id,version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:U,asType:!1,parent:tp},rp={id:"a2983c4c-0286-4ef1-8b5c-5a52904d3200",type:n.GenericReference,entityId:"9542b8b4-2642-4eee-9db9-def7963a17a0",entityType:n.PrimitiveEntity},ip={hidden:!1,required:!0,id:wt.enum.properties.options.id,name:"Options",version:1,type:n.Property,private:!1,abstract:!1,implements:null,static:!1,index:0,defaultValue:{id:wt.enum.properties.options.dataType.defaultValue.id,type:n.LiteralValue,version:1,name:I.KeyValue,autogeneration:null,value:[],valueAsType:null,parent:ep},dataType:np,description:"Options for the enum. Each option is a text value.",parent:rp},Vn={type:n.PrimitiveEntity,id:wt.enum.id,description:"A set of text options to choose from.",version:1,name:I.Enum,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[ip],methods:[]},mn={type:n.PrimitiveEntity,id:wt.date.id,description:"A date and time value.",version:1,name:I.Date,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Ln={type:n.PrimitiveEntity,id:wt.uuid.id,description:"A unique identifier in the form of a 36-character string.",version:1,name:I.UUID,static:!1,abstract:!1,abstractMethods:[],extends:[U],properties:[],methods:[]},Fi={type:n.PrimitiveEntity,id:wt[I.KeyValue].id,description:"A complex data structure with any combination of properties with names and values.",version:1,name:I.KeyValue,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},en=B[n.Operation][Te.Addition],ap={type:n.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:en.inputs.firstSummand.id,entityType:n.ValueDescriptor},sp={like:!1,inferred:!1,id:"number-addition-first-number-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:ap},op={type:n.GenericReference,id:"9f486db2-a983-4293-9eef-81d4fc8d2d3e",entityId:en.inputs.secondSummand.id,entityType:n.ValueDescriptor},lp={like:!1,inferred:!1,id:"1d4abe83-3e87-4f74-99be-c1fd8c2f8d2d",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:op},cp={type:n.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:en.outputs.result.id,entityType:n.ValueDescriptor},dp={like:!1,inferred:!1,id:en.outputs.result.dataType.id,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:cp},up={type:n.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:Te.Addition,entityType:n.ActionDescriptor},sl={id:en.inputs.firstSummand.id,type:n.ValueDescriptor,version:1,name:"Summand",description:"The first number to add",defaultValue:null,dataType:sp,required:!0,parentRelationType:O.FixedArguments,index:0,parent:up},pp={type:n.GenericReference,id:"c5015128-4a65-462c-9da0-1c86e83ef897",entityId:Te.Addition,entityType:n.ActionDescriptor},ol={id:en.inputs.secondSummand.id,type:n.ValueDescriptor,description:"The second number to add",version:1,name:"Summand",defaultValue:null,dataType:lp,required:!0,parentRelationType:O.FixedArguments,index:1,parent:pp},ll={type:n.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:Te.Addition,entityType:n.ActionDescriptor},cl={parentRelationType:O.FixedReturns,id:en.outputs.result.id,type:n.ValueDescriptor,description:"The result number of the addition",version:1,name:"Result",defaultValue:null,dataType:dp,required:!0,index:0,parent:ll},yp={type:n.GenericReference,id:"number-addition-operation-error-parent-ref",entityId:Te.Addition,entityType:n.ActionDescriptor},fp={parentRelationType:O.FixedReturns,id:en.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:yp},hp={type:n.GenericReference,id:"number-addition-operation-dynamic-summand-argument-type-parent-ref",entityId:en.inputs.dynamicSummand.id,entityType:n.ValueDescriptor},mp={like:!1,inferred:!1,id:"number-addition-operation-dynamic-summand-argument-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:hp},Tp={parentRelationType:O.DynamicArgument,id:en.inputs.dynamicSummand.id,type:n.ValueDescriptor,description:"A number to add",version:1,name:"Summand",defaultValue:null,dataType:mp,required:!0,index:2,parent:ll},Xa={id:Te.Addition,type:n.ActionDescriptor,description:"Sum numbers",version:1,name:Te.Addition,inputs:[sl,ol,Tp],error:fp,outputs:[cl],parent:null},tn=B[n.Operation][Te.Subtraction],Ep={type:n.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:tn.inputs.minuend.id,entityType:n.ValueDescriptor},bp={like:!1,inferred:!1,id:"number-subtraction-first-number-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Ep},Rp={type:n.GenericReference,id:"9f486db2-a983-4293-9eef-81d4fc8d2d3e",entityId:tn.inputs.subtrahend.id,entityType:n.ValueDescriptor},gp={like:!1,inferred:!1,id:"1d4abe83-3e87-4f74-99be-c1fd8c2f8d2d",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Rp},vp={type:n.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:tn.outputs.result.id,entityType:n.ValueDescriptor},Ip={like:!1,inferred:!1,id:tn.outputs.result.dataType.id,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:vp},dl={type:n.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:Te.Subtraction,entityType:n.ActionDescriptor},Dp={id:tn.inputs.minuend.id,type:n.ValueDescriptor,version:1,name:"Minuend",description:"Base number to substract from",defaultValue:null,dataType:bp,required:!0,parentRelationType:O.FixedArguments,index:0,parent:dl},Pp={type:n.GenericReference,id:"c5015128-4a65-462c-9da0-1c86e83ef897",entityId:Te.Subtraction,entityType:n.ActionDescriptor},Ap={id:tn.inputs.subtrahend.id,type:n.ValueDescriptor,description:"The second number to substract",version:1,name:"Subtrahend",defaultValue:null,dataType:gp,required:!0,parentRelationType:O.FixedArguments,index:1,parent:Pp},Op={type:n.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:Te.Subtraction,entityType:n.ActionDescriptor},Sp={parentRelationType:O.FixedReturns,id:tn.outputs.result.id,type:n.ValueDescriptor,description:"The result number of the subtraction",version:1,name:"Result",defaultValue:null,dataType:Ip,required:!0,index:0,parent:Op},Cp={type:n.GenericReference,id:"number-subtraction-operation-error-parent-ref",entityId:Te.Subtraction,entityType:n.ActionDescriptor},Bp={parentRelationType:O.FixedReturns,id:tn.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Cp},wp={type:n.GenericReference,id:"number-subtraction-operation-dynamic-subtrahend-argument-type-parent-ref",entityId:tn.inputs.dynamicSubtrahend.id,entityType:n.ValueDescriptor},_p={like:!1,inferred:!1,id:"number-subtraction-operation-dynamic-subtrahend-argument-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:wp},Np={id:tn.inputs.dynamicSubtrahend.id,type:n.ValueDescriptor,version:1,name:"Subtrahend",description:"A number to substract",defaultValue:null,dataType:_p,required:!0,parentRelationType:O.DynamicArgument,index:2,parent:dl},ul={id:Te.Subtraction,type:n.ActionDescriptor,description:"Substract numbers",version:1,name:Te.Subtraction,inputs:[Dp,Ap,Np],error:Bp,outputs:[Sp],parent:null},Mp={[Te.Addition]:Xa,[Te.Subtraction]:ul},$t=B[n.Operation][X.Join],Vp={type:n.GenericReference,id:"join-strings-first-string-argument-declaration",entityId:$t.inputs.first.id,entityType:n.ValueDescriptor},Lp={like:!1,inferred:!1,id:"join-strings-first-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Vp},Gp={type:n.GenericReference,id:"join-strings-second-string-argument-declaration",entityId:$t.inputs.second.id,entityType:n.ValueDescriptor},$p={like:!1,inferred:!1,id:"join-strings-second-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Gp},Fp={type:n.GenericReference,id:"join-strings-result-string-return-delaration",entityId:$t.outputs.result.id,entityType:n.ValueDescriptor},Up={like:!1,inferred:!1,id:"join-strings-result-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Fp},xp={type:n.GenericReference,id:"join-strings-operation-first-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Qa={id:$t.inputs.first.id,type:n.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:Lp,parentRelationType:O.FixedArguments,required:!0,index:1,parent:xp},jp={type:n.GenericReference,id:"join-strings-first-string-argument-declaration",entityId:$t.inputs.first.id,entityType:n.ValueDescriptor},kp={type:n.GenericReference,id:"join-strings-separator-string-data-type-default-value-parent-ref",entityId:$t.inputs.separator.id,entityType:n.ValueDescriptor},qp={type:n.LiteralValue,id:"join-strings-separator-string-data-type-default-value-id",version:1,name:I.String,value:"",valueAsType:null,autogeneration:null,parent:kp},Jp={like:!1,inferred:!1,id:"join-strings-separator-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:jp},Wp={type:n.GenericReference,id:"join-strings-operation-separator-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Hp={id:$t.inputs.separator.id,type:n.ValueDescriptor,version:1,name:"Separator",description:"The text value that will be inserted between each of the values that are joined.",defaultValue:qp,dataType:Jp,parentRelationType:O.FixedArguments,required:!1,index:0,parent:Wp},Yp={type:n.GenericReference,id:"join-strings-operation-second-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},es={id:$t.inputs.second.id,type:n.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:$p,parentRelationType:O.FixedArguments,required:!0,index:2,parent:Yp},zp={type:n.GenericReference,id:"join-strings-operation-result-string-return-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Ui={parentRelationType:O.FixedReturns,id:$t.outputs.result.id,type:n.ValueDescriptor,version:1,name:"Result",description:"The resulting text value.",defaultValue:null,dataType:Up,required:!0,index:0,parent:zp},Zp={type:n.GenericReference,id:"join-strings-operation-error-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Kp={parentRelationType:O.FixedReturns,id:$t.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Zp},Xp={type:n.GenericReference,id:"join-strings-dynamic-string-argument-declaration",entityId:$t.inputs.dynamicString.id,entityType:n.ValueDescriptor},Qp={like:!1,inferred:!1,id:"join-strings-dynamic-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Xp},ey={type:n.GenericReference,id:"join-strings-operation-dynamic-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},ty={id:$t.inputs.dynamicString.id,type:n.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:Qp,parentRelationType:O.DynamicArgument,required:!0,index:3,parent:ey},xi={id:X.Join,type:n.ActionDescriptor,version:1,name:X.Join,description:"Join text values together, to form a single resulting text value.",inputs:[Hp,Qa,es,ty],outputs:[Ui],error:Kp,parent:null},Tn=B[n.Operation][X.Split],ny={type:n.GenericReference,id:"split-string-string-argument-declaration",entityId:Tn.inputs.stringValue.id,entityType:n.ValueDescriptor},ry={like:!1,inferred:!1,id:"split-string-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ny},iy={type:n.GenericReference,id:"split-string-index-argument-declaration",entityId:Tn.inputs.indexLocation.id,entityType:n.ValueDescriptor},ay={like:!1,inferred:!1,id:"split-string-index-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:iy},sy={type:n.GenericReference,id:"split-string-first-part-result-string-return-delaration",entityId:Tn.outputs.firstPartResult.id,entityType:n.ValueDescriptor},oy={like:!1,inferred:!1,id:"split-string-first-part-result-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:sy},ly={type:n.GenericReference,id:"split-string-second-part-result-string-return-delaration",entityId:Tn.outputs.secondPartResult.id,entityType:n.ValueDescriptor},cy={like:!1,inferred:!1,id:"split-string-second-part-result-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ly},dy={type:n.GenericReference,id:"split-string-operation-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},uy={id:Tn.inputs.stringValue.id,type:n.ValueDescriptor,version:1,name:"Text value",description:"The text value that will be split into two at the given index location.",defaultValue:null,dataType:ry,parentRelationType:O.FixedArguments,required:!0,index:0,parent:dy},py={type:n.GenericReference,id:"split-string-operation-index-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},yy={id:Tn.inputs.indexLocation.id,type:n.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:ay,parentRelationType:O.FixedArguments,required:!0,index:1,parent:py},fy={type:n.GenericReference,id:"split-string-operation-second-part-result-string-return-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},VA={parentRelationType:O.FixedReturns,id:Tn.outputs.secondPartResult.id,type:n.ValueDescriptor,version:1,name:"Second part",description:"The secont part of the resulting text value.",defaultValue:null,dataType:cy,required:!0,index:1,parent:fy},hy={type:n.GenericReference,id:"split-string-operation-first-part-result-string-return-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},my={parentRelationType:O.FixedReturns,id:Tn.outputs.firstPartResult.id,type:n.ValueDescriptor,version:1,name:"First part",description:"The first part of the resulting text value.",defaultValue:null,dataType:oy,required:!0,index:0,parent:hy},Ty={type:n.GenericReference,id:"split-string-operation-error-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Ey={parentRelationType:O.FixedReturns,id:Tn.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Ty},pl={id:X.Split,type:n.ActionDescriptor,version:1,name:X.Split,description:"Split a text into two, at the given index location.",inputs:[uy,yy],outputs:[my],error:Ey,parent:null},by={[X.Join]:xi,[X.Split]:pl};var Ry=(i=>(i.FirstInputList="join-list-first-list-argument-declaration",i.SecondInputList="join-list-second-list-argument-declaration",i))(Ry||{}),gy=(i=>(i.ResultList="join-list-result-list-return-delaration",i.Error="join-list-error-return-delaration",i))(gy||{});const vy={type:n.GenericReference,id:"join-list-operation-first-list-argument-ref",entityId:"join-list-first-list-argument-declaration",entityType:n.ValueDescriptor},Iy={like:!1,inferred:!1,id:"join-list-first-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:vy},Dy={type:n.GenericReference,id:"join-list-operation-second-list-argument-ref",entityId:"join-list-second-list-argument-declaration",entityType:n.ValueDescriptor},Py={like:!1,inferred:!1,id:"join-list-second-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Dy},Ay={type:n.GenericReference,id:"join-list-operation-result-list-return-ref",entityId:"join-list-result-list-return-delaration",entityType:n.ValueDescriptor},Oy={like:!1,inferred:!1,id:"join-list-result-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Ay},Sy={type:n.GenericReference,id:"join-list-operation-first-list-argument-parent-ref",entityId:H.Join,entityType:n.ActionDescriptor},Cy={id:"join-list-first-list-argument-declaration",type:n.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:Iy,parentRelationType:O.FixedArguments,required:!0,index:0,parent:Sy},By={type:n.GenericReference,id:"join-list-operation-second-list-argument-parent-ref",entityId:H.Join,entityType:n.ActionDescriptor},wy={id:"join-list-second-list-argument-declaration",type:n.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:Py,parentRelationType:O.FixedArguments,required:!0,index:1,parent:By},_y={type:n.GenericReference,id:"join-list-operation-result-list-return-parent-ref",entityId:H.Join,entityType:n.ActionDescriptor},Ny={parentRelationType:O.FixedReturns,id:"join-list-result-list-return-delaration",type:n.ValueDescriptor,version:1,name:"Result",description:"The resulting list value.",defaultValue:null,dataType:Oy,required:!0,index:0,parent:_y},My={type:n.GenericReference,id:"join-list-operation-error-parent-ref",entityId:H.Join,entityType:n.ActionDescriptor},Vy={parentRelationType:O.FixedReturns,id:"join-list-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:My},yl={id:H.Join,type:n.ActionDescriptor,version:1,name:H.Join,description:"Join two lists together, to form a single resulting list value.",inputs:[Cy,wy],error:Vy,outputs:[Ny],parent:null};var Ly=(i=>(i.InputList="list-to-split-argument-declaration",i.SplitIndex="split-list-index-argument-declaration",i))(Ly||{}),Gy=(i=>(i.FirstOutputList="split-list-first-output-list-return-delaration",i.SecondOutputList="split-list-second-output-list-return-delaration",i.Error="split-list-error-return-delaration",i))(Gy||{});const $y={type:n.GenericReference,id:"split-list-operation-input-list-argument-ref",entityId:"list-to-split-argument-declaration",entityType:n.ValueDescriptor},Fy={like:!1,inferred:!1,id:"split-list-operation-input-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:$y},Uy={type:n.GenericReference,id:"split-list-operation-split-index-argument-ref",entityId:"split-list-index-argument-declaration",entityType:n.ValueDescriptor},xy={like:!1,inferred:!1,id:"split-list-operation-split-index-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Uy},fl={type:n.GenericReference,id:"split-list-operation-first-output-list-return-ref",entityId:"split-list-first-output-list-return-delaration",entityType:n.ValueDescriptor},jy={like:!1,inferred:!1,id:"split-list-operation-first-output-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:fl},ky={type:n.GenericReference,id:"split-list-operation-input-list-argument-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},qy={id:"list-to-split-argument-declaration",type:n.ValueDescriptor,version:1,name:"List to split",description:"The list to split at the given index",defaultValue:null,dataType:Fy,parentRelationType:O.FixedArguments,required:!0,index:0,parent:ky},Jy={type:n.GenericReference,id:"split-list-operation-split-index-argument-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},Wy={id:"split-list-index-argument-declaration",type:n.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:xy,parentRelationType:O.FixedArguments,required:!0,index:1,parent:Jy},Hy={type:n.GenericReference,id:"split-list-operation-first-output-list-return-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},Yy={parentRelationType:O.FixedReturns,id:"split-list-first-output-list-return-delaration",type:n.ValueDescriptor,version:1,name:"First list",description:"The list of values up to the split index",defaultValue:null,dataType:jy,required:!0,index:0,parent:Hy},zy={like:!1,inferred:!1,id:"split-list-operation-second-output-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:fl},Zy={type:n.GenericReference,id:"split-list-operation-second-output-list-return-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},Ky={parentRelationType:O.FixedReturns,id:"split-list-second-output-list-return-delaration",type:n.ValueDescriptor,version:1,name:"Second list",description:"The list of values up to the split index",defaultValue:null,dataType:zy,required:!0,index:0,parent:Zy},Xy={type:n.GenericReference,id:"split-list-operation-error-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},Qy={parentRelationType:O.FixedReturns,id:"split-list-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Xy},hl={id:H.Split,type:n.ActionDescriptor,version:1,name:H.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:[qy,Wy],outputs:[Yy,Ky],error:Qy,parent:null};var ef=(i=>(i.InputList="get-last-in-list-input-list-argument-declaration",i))(ef||{}),tf=(i=>(i.OutputElement="get-last-in-list-output-element-return-delaration",i.Error="get-last-in-list-error-return-delaration",i))(tf||{});const nf={type:n.GenericReference,id:"get-last-in-list-operation-input-list-argument-ref",entityId:"get-last-in-list-input-list-argument-declaration",entityType:n.ValueDescriptor},rf={like:!1,inferred:!1,id:"get-last-in-list-input-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:nf},af={type:n.GenericReference,id:"get-last-in-list-operation-output-element-return-ref",entityId:"get-last-in-list-output-element-return-delaration",entityType:n.ValueDescriptor},sf={like:!1,inferred:!1,id:"get-last-in-list-output-element-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:af},of={type:n.GenericReference,id:"get-last-in-list-operation-input-list-argument-parent-ref",entityId:H.GetLast,entityType:n.ActionDescriptor},lf={id:"get-last-in-list-input-list-argument-declaration",type:n.ValueDescriptor,version:1,name:"List",description:"The list to get the last element from.",defaultValue:null,dataType:rf,parentRelationType:O.FixedArguments,required:!0,index:0,parent:of},cf={type:n.GenericReference,id:"get-last-in-list-operation-output-element-return-parent-ref",entityId:H.GetLast,entityType:n.ActionDescriptor},df={parentRelationType:O.FixedReturns,id:"get-last-in-list-output-element-return-delaration",type:n.ValueDescriptor,version:1,name:"Last element",description:"The last element of the given list.",defaultValue:null,dataType:sf,required:!0,index:0,parent:cf},uf={type:n.GenericReference,id:"get-last-in-list-operation-error-parent-ref",entityId:H.GetLast,entityType:n.ActionDescriptor},pf={parentRelationType:O.FixedReturns,id:"get-last-in-list-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:uf},ml={id:H.GetLast,type:n.ActionDescriptor,version:1,name:H.GetLast,description:"Outputs the last element of a given list.",inputs:[lf],outputs:[df],error:pf,parent:null};var yf=(i=>(i.List="append-to-list-lsit-argument-declaration",i.ElementToAppend="append-to-list-element-to-append-argument-declaration",i))(yf||{}),ff=(i=>(i.ResultList="append-to-list-result-list-return-delaration",i.Error="append-to-list-error-return-delaration",i))(ff||{});const hf={type:n.GenericReference,id:"append-to-list-operation-lsit-argument-ref",entityId:"append-to-list-lsit-argument-declaration",entityType:n.ValueDescriptor},mf={like:!1,inferred:!1,id:"append-to-list-lsit-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:hf},Tf={type:n.GenericReference,id:"append-to-list-operation-second-list-argument-ref",entityId:"append-to-list-element-to-append-argument-declaration",entityType:n.ValueDescriptor},Ef={like:!1,inferred:!1,id:"append-to-list-second-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Tf},bf={type:n.GenericReference,id:"append-to-list-operation-result-list-return-ref",entityId:"append-to-list-result-list-return-delaration",entityType:n.ValueDescriptor},Rf={like:!1,inferred:!1,id:"append-to-list-result-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:bf},gf={type:n.GenericReference,id:"append-to-list-operation-lsit-argument-parent-ref",entityId:H.Append,entityType:n.ActionDescriptor},Tl={id:"append-to-list-lsit-argument-declaration",type:n.ValueDescriptor,version:1,name:"List value",description:"The list to which the element will be appended",defaultValue:null,dataType:mf,parentRelationType:O.FixedArguments,required:!0,index:0,parent:gf},vf={type:n.GenericReference,id:"append-to-list-operation-second-list-argument-parent-ref",entityId:H.Append,entityType:n.ActionDescriptor},El={id:"append-to-list-element-to-append-argument-declaration",type:n.ValueDescriptor,version:1,name:"Element",description:"The element that will be added at the end of the list",defaultValue:null,dataType:Ef,parentRelationType:O.FixedArguments,required:!0,index:1,parent:vf},If={type:n.GenericReference,id:"append-to-list-operation-result-list-return-parent-ref",entityId:H.Append,entityType:n.ActionDescriptor},Df={parentRelationType:O.FixedReturns,id:"append-to-list-result-list-return-delaration",type:n.ValueDescriptor,version:1,name:"Result",description:"The resulting list value.",defaultValue:null,dataType:Rf,required:!0,index:0,parent:If},Pf={type:n.GenericReference,id:"append-to-list-operation-error-parent-ref",entityId:H.Append,entityType:n.ActionDescriptor},Af={parentRelationType:O.FixedReturns,id:"append-to-list-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Pf},ts={id:H.Append,type:n.ActionDescriptor,version:1,name:H.Append,description:"Adds a given element to the end of a list value.",inputs:[Tl,El],error:Af,outputs:[Df],parent:null},Of={[H.Join]:yl,[H.Split]:hl,[H.GetLast]:ml,[H.Append]:ts},Xr=B[n.Operation][le.Parallel],Sf={id:"parallel-execution-list-of-functions-blueprint-dynamic-output-id",type:n.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:O.DynamicArgument},Cf={id:"parallel-execution-list-of-functions-blueprint-dynamic-input-id",type:n.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:O.DynamicArgument},Bf={id:"parallel-execution-list-of-functions-blueprint-id",type:n.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:[Cf],outputs:[Sf],error:null,parent:null},wf={type:n.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:Xr.inputs.listOfActions.id,entityType:n.ValueDescriptor},_f={like:!1,inferred:!1,id:"parallel-execution-list-of-functions-argument-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Bf,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:wf},Nf={type:n.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:Xr.outputs.results.id,entityType:n.ValueDescriptor},Mf={like:!1,inferred:!1,id:Xr.outputs.results.dataType.id,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Nf},Vf={type:n.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:le.Parallel,entityType:n.ActionDescriptor},bl={id:Xr.inputs.listOfActions.id,type:n.ValueDescriptor,version:1,name:"Actions to execute",description:"A value, of a list of actions to be executed in parallel",dataType:_f,defaultValue:null,required:!0,index:0,parent:Vf,parentRelationType:O.FixedArguments},Lf={type:n.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:le.Parallel,entityType:n.ActionDescriptor},Rl={id:Xr.outputs.results.id,type:n.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:Mf,defaultValue:null,required:!0,index:0,parent:Lf,parentRelationType:O.FixedReturns},Gf={type:n.GenericReference,id:"parallel-execution-operation-error-parent-ref",entityId:le.Parallel,entityType:n.ActionDescriptor},$f={id:Xr.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Gf,parentRelationType:O.ReturnedError},Wt={id:le.Parallel,type:n.ActionDescriptor,description:"Execute a list of actions in parallel",version:1,name:le.Parallel,inputs:[bl],outputs:[Rl],error:$f,parent:null};var Ff=(i=>(i.MillisecondsNumber="wait-milliseconds-number-argument-declaration",i))(Ff||{}),Uf=(i=>(i.Error="wait-operation-error-return-delaration",i))(Uf||{});const xf={type:n.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityType:n.ValueDescriptor,entityId:"wait-milliseconds-number-argument-declaration"},jf={like:!1,inferred:!1,id:"wait-milliseconds-number-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:xf},kf={type:n.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityType:n.ActionDescriptor,entityId:le.Wait},ir={id:"wait-milliseconds-number-argument-declaration",type:n.ValueDescriptor,version:1,name:"Milliseconds to wait",description:"The amount of milliseconds to wait before calling the next entity",defaultValue:null,dataType:jf,required:!0,index:0,parent:kf,parentRelationType:O.FixedArguments},qf={type:n.GenericReference,id:"wait-operation-error-parent-ref",entityId:le.Wait,entityType:n.ActionDescriptor},Jf={id:"wait-operation-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:qf,parentRelationType:O.ReturnedError},yt={id:le.Wait,type:n.ActionDescriptor,description:"Wait for the given amount of milliseconds before calling the next entity",version:1,name:le.Wait,inputs:[ir],outputs:[],error:Jf,parent:null};var Wf=(i=>(i.ListOfFunctions="sequential-execution-list-of-functions-argument-declaration",i))(Wf||{}),Hf=(i=>(i.ListOfExecutionResults="sequential-execution-result-return-delaration",i.Error="sequential-execution-error-return-delaration",i))(Hf||{});const Yf={id:"sequential-execution-list-of-functions-blueprint-dynamic-output-id",type:n.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:O.DynamicArgument},zf={id:"sequential-execution-list-of-functions-blueprint-dynamic-input-id",type:n.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:O.DynamicArgument},Zf={id:"sequential-execution-list-of-functions-blueprint-id",type:n.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:[zf],outputs:[Yf],error:null,parent:null},Kf={type:n.GenericReference,id:"parallel-execution-list-of-functions-argument-declaration-id",entityId:"sequential-execution-list-of-functions-argument-declaration",entityType:n.ValueDescriptor},Xf={like:!1,inferred:!1,id:"sequential-execution-list-of-functions-argument-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Zf,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Kf},Qf={type:n.GenericReference,id:"sequential-execution-list-of-execution-results-return-declaration-id",entityId:"sequential-execution-result-return-delaration",entityType:n.ValueDescriptor},eh={like:!1,inferred:!1,id:"sequential-execution-list-of-execution-results-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Qf},th={type:n.GenericReference,id:"parallel-execution-operation-list-of-functions-argument-parent-ref",entityId:le.Sequential,entityType:n.ActionDescriptor},gl={id:"sequential-execution-list-of-functions-argument-declaration",type:n.ValueDescriptor,version:1,name:"Actions to execute",description:"A value, of a list of actions to be executed in parallel",defaultValue:null,dataType:Xf,required:!0,index:0,parent:th,parentRelationType:O.FixedArguments},nh={type:n.GenericReference,id:"parallel-execution-operation-list-of-execution-results-return-parent-ref",entityId:le.Sequential,entityType:n.ActionDescriptor},vl={id:"sequential-execution-result-return-delaration",type:n.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:eh,required:!0,index:0,parent:nh,parentRelationType:O.FixedReturns},rh={type:n.GenericReference,id:"sequential-execution-operation-error-parent-ref",entityId:le.Sequential,entityType:n.ActionDescriptor},ih={id:"sequential-execution-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:rh,parentRelationType:O.ReturnedError},En={id:le.Sequential,type:n.ActionDescriptor,description:"Execute a list of actions one after the other",version:1,name:le.Sequential,inputs:[gl],outputs:[vl],error:ih,parent:null},ah={[le.Parallel]:Wt,[le.Wait]:yt,[le.Sequential]:En};var sh=(i=>(i.EntityToInstanciate="entity-to-instanciate-argument-declaration",i.NewEntityData="new-entity-data-argument-declaration",i))(sh||{}),oh=(i=>(i.Error="create-new-instance-error-return-delaration",i))(oh||{});const lh={type:n.GenericReference,id:"new-entity-data-argument-declaration-parent-ref",entityId:ce.CreateNewInstance,entityType:n.ActionDescriptor},ch={type:n.GenericReference,id:"new-entity-data-argument-data-type-parent-ref",entityId:"new-entity-data-argument-declaration",entityType:n.ValueDescriptor},dh={like:!1,inferred:!1,id:"new-entity-data-argument-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:ch},uh={id:"new-entity-data-argument-declaration",type:n.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:dh,required:!0,defaultValue:null,parentRelationType:O.FixedArguments,index:1,parent:lh},ph={type:n.GenericReference,id:"entity-to-instanciate-argument-declaration-ref",entityType:n.ValueDescriptor,entityId:"entity-to-instanciate-argument-declaration"},yh={like:!1,inferred:!1,id:"entity-to-instanciate-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!0,isNullable:!1,constant:!1,parent:ph},fh={type:n.GenericReference,id:"create-new-instance-operation-ref",entityType:n.ActionDescriptor,entityId:ce.CreateNewInstance},hh={id:"entity-to-instanciate-argument-declaration",type:n.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:yh,required:!0,parentRelationType:O.FixedArguments,index:0,parent:fh},mh={type:n.GenericReference,id:"create-new-instance-output-entity-declaration-parent-ref",entityId:ce.CreateNewInstance,entityType:n.ActionDescriptor},Th={parentRelationType:O.FixedReturns,id:"create-new-instance-output-entity-declaration",type:n.ValueDescriptor,version:1,name:"Created entity",description:"The entity that was created",defaultValue:null,dataType:null,parent:mh,required:!0,index:0},Eh={type:n.GenericReference,id:"create-new-instance-error-parent-ref",entityId:ce.CreateNewInstance,entityType:n.ActionDescriptor},bh={parentRelationType:O.FixedReturns,id:"create-new-instance-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Eh},ar={id:ce.CreateNewInstance,type:n.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:ce.CreateNewInstance,inputs:[hh,uh],outputs:[Th],error:bh,parent:null},Qr=B[n.Operation][ce.Validate],Rh={type:n.GenericReference,id:"validate-data-operation-data-to-validate-argument-declaration-ref",entityType:n.ValueDescriptor,entityId:Qr.inputs.dataToValidate.id},gh={like:!1,inferred:!1,id:"validate-data-operation-data-to-validate-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Rh},vh={type:n.GenericReference,id:"validate-data-operation-data-to-validate-argument-parent-ref",entityType:n.ActionDescriptor,entityId:ce.Validate},Ih={id:Qr.inputs.dataToValidate.id,type:n.ValueDescriptor,version:1,name:"Data to validate",description:"The value to validate against the given entity type",defaultValue:null,dataType:gh,required:!0,parentRelationType:O.FixedArguments,index:0,parent:vh},Dh={type:n.GenericReference,id:"validate-data-operation-entity-to-match-type-argument-declaration-ref",entityType:n.ValueDescriptor,entityId:Qr.inputs.entityToMatch.id},Ph={like:!1,inferred:!1,id:"validate-data-operation-entity-to-match-type-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!0,isNullable:!1,constant:!1,parent:Dh},Ah={type:n.GenericReference,id:"validate-data-operation-entity-to-match-type-argument-parent-ref",entityType:n.ActionDescriptor,entityId:ce.Validate},Oh={id:Qr.inputs.entityToMatch.id,type:n.ValueDescriptor,version:1,name:"Entity to match",description:"The entity to match the data against",dataType:Ph,defaultValue:null,required:!0,index:0,parentRelationType:O.FixedArguments,parent:Ah},Sh={type:n.GenericReference,id:"validate-data-operation-output-entity-declaration-parent-ref",entityId:ce.Validate,entityType:n.ActionDescriptor},Ch={id:Qr.outputs.outputEntity.id,type:n.ValueDescriptor,version:1,dataType:null,name:"Output value",description:"A value with the type of the entity that was validated",defaultValue:null,parent:Sh,required:!0,index:0,parentRelationType:O.FixedReturns},Bh={type:n.GenericReference,id:"wait-operation-error-parent-ref",entityId:ce.Validate,entityType:n.ActionDescriptor},wh={id:Qr.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",dataType:null,defaultValue:null,required:!0,index:1,parent:Bh,parentRelationType:O.ReturnedError},sr={id:ce.Validate,type:n.ActionDescriptor,description:"Validates the given data to see if it matches the structure of a given type/entity",version:1,name:ce.Validate,inputs:[Oh,Ih],outputs:[Ch],error:wh,parent:null},_h={[ce.CreateNewInstance]:ar,[ce.Validate]:sr},We=B[n.Operation]["base-http-request"],Nh={type:n.GenericReference,id:"d87cf943-57e1-4d19-9f05-190fa8c8ebc4",entityType:n.ValueDescriptor,entityId:We.inputs.url.id},Mh={id:"http-request-url-default-value-id",type:n.LiteralValue,version:1,value:"https://some-url.com",name:I.String,valueAsType:null,parent:Nh,autogeneration:null},Vh={type:n.GenericReference,id:"aed50d73-eab5-42ce-b00e-7f5c45a9026f",entityId:We.inputs.url.id,entityType:n.ValueDescriptor},Lh={like:!1,inferred:!1,id:"0deb4ef7-d739-4ddc-a4d6-50bd6fababe3",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Vh},Gh={type:n.GenericReference,id:"c3145af6-3387-464a-8887-272e483c856d",entityId:We.inputs.query.id,entityType:n.ValueDescriptor},$h={like:!1,inferred:!1,id:"2a5ba737-6335-4cc4-a2c0-16dca4052fac",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Gh},Fh={type:n.GenericReference,id:"075556b7-e468-48f7-8485-7159eaf389b2",entityType:n.ValueDescriptor,entityId:We.inputs.method.id},Uh={id:"http-request-method-default-value-id",type:n.LiteralValue,version:1,value:"GET",name:I.Enum,valueAsType:null,parent:Fh,autogeneration:null},xh={type:n.GenericReference,id:"aed647c8-a1b5-4cfc-9a3d-97887a567a80",entityId:We.inputs.method.id,entityType:n.ValueDescriptor},jh={like:!1,inferred:!1,id:"6df7ec2b-5dbd-44af-896b-17b314e88560",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Vn,isList:!1,asType:!1,isNullable:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],constant:!1,parent:xh},kh={type:n.GenericReference,id:"77203dfa-d2f6-4804-9556-e1cce46228f3",entityId:We.inputs.headers.id,entityType:n.ValueDescriptor},qh={like:!1,inferred:!1,id:"2c8a2a07-69c6-40ad-b5c9-f0dc4d5955ce",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:kh},Jh={type:n.GenericReference,id:"03db68a0-7ab6-4c6a-85b6-f4b95ebb53ff",entityId:We.inputs.body.id,entityType:n.ValueDescriptor},Wh={like:!1,inferred:!1,id:"0397876c-ed54-4ee9-85a4-04fd16dad973",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Jh},Hh={type:n.GenericReference,id:"182f767f-50e8-4394-ba5f-43e78c232733",entityType:n.ValueDescriptor,entityId:We.outputs.code.id},Yh={like:!1,inferred:!1,id:"45e6d0bc-0c0e-4059-a7a1-6bee925d73d0",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Hh},zh={type:n.GenericReference,id:"2baaa53a-9aef-4bd1-b06d-967c17b7b627",entityType:n.ValueDescriptor,entityId:We.outputs.headers.id},Zh={type:n.GenericReference,id:"69f34d6c-c686-4165-b6ff-70dae8e1778b",entityType:n.ValueDescriptor,entityId:We.outputs.headers.id},Kh={like:!1,inferred:!1,id:"dac63bfa-640d-4f4e-ba0f-86c2401bcfbe",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Zh},Xh={type:n.GenericReference,id:"744334e0-5135-4214-85d0-809437cb620b",entityType:n.ValueDescriptor,entityId:We.outputs.body.id},Qh={type:n.GenericReference,id:"0e0e20df-1a46-432c-ba01-fd96508a6a61",entityType:n.ValueDescriptor,entityId:We.outputs.body.id},em={like:!1,inferred:!1,id:"05fc1a5d-151a-479a-9c4e-4063f3456177",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Qh},tm={type:n.GenericReference,id:"26911792-f707-4bf1-b6f7-03d04a84232c",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},ns={id:We.inputs.method.id,type:n.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:Uh,dataType:jh,required:!1,index:0,parentRelationType:O.FixedArguments,parent:tm},nm={type:n.GenericReference,id:"eee0c501-0ae6-4448-b914-aada76d63163",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},rs={id:We.inputs.url.id,type:n.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:Lh,defaultValue:Mh,required:!1,index:1,parentRelationType:O.FixedArguments,parent:nm},rm={type:n.GenericReference,id:"670091a4-21b1-4223-ad4c-b6dada0aec49",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},Il={id:We.inputs.query.id,type:n.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:$h,required:!1,index:2,parentRelationType:O.FixedArguments,parent:rm},im={type:n.GenericReference,id:"85aad3eb-22fe-45f9-b68c-1dc7061f41e0",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},is={id:We.inputs.headers.id,type:n.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:qh,required:!1,index:3,parent:im,parentRelationType:O.FixedArguments},am={type:n.GenericReference,id:"c3e2a4af-9b84-4574-8b30-5044ffc51776",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},as={id:We.inputs.body.id,type:n.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:Wh,defaultValue:null,required:!1,index:4,parentRelationType:O.FixedArguments,parent:am},sm={type:n.GenericReference,id:"92e04dc7-2145-4a31-908e-03810f7235e8",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},ss={id:We.outputs.code.id,type:n.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:Yh,required:!0,index:0,parentRelationType:O.FixedReturns,parent:sm},om={type:n.GenericReference,id:"86aca556-bbf1-4679-9909-31db61b288e2",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},os={parentRelationType:O.FixedReturns,id:We.outputs.headers.id,type:n.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:n.LiteralValue,version:1,value:{},name:I.KeyValue,parent:zh,valueAsType:null,autogeneration:null},dataType:Kh,required:!0,index:1,parent:om},lm={type:n.GenericReference,id:"ccf3d1be-04e4-4d03-99fd-5bc1e1919f90",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},ls={id:We.outputs.body.id,type:n.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:O.FixedReturns,dataType:em,defaultValue:{id:"http-response-body-default-value-id",type:n.LiteralValue,version:1,value:{},name:I.KeyValue,parent:Xh,valueAsType:null,autogeneration:null},required:!0,index:2,parent:lm},cm={type:n.GenericReference,id:"21487ffc-82b9-473d-bc19-6e7d7c480ed7",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},dm={type:n.GenericReference,id:"ad69861b-32f7-4461-b7f7-aa84a82578d9",entityType:n.ValueDescriptor,entityId:We.outputs.error.id},um={like:!1,inferred:!1,id:"5da68b15-57bc-40c1-b79f-a9075e0f22c1",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:dm},Dl={parentRelationType:O.ReturnedError,id:We.outputs.error.id,type:n.ValueDescriptor,description:"Http request error, if any. Contains a payload describing what went wrong.",version:1,name:"Error",defaultValue:null,dataType:um,required:!0,index:0,parent:cm},ji={type:n.ActionDescriptor,id:tt.HttpRequest,name:tt.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:[ns,rs,Il,is,as],outputs:[ss,os,ls],error:Dl,parent:null},pm={[tt.HttpRequest]:ji},LA={...by,...Mp,...Of,...ah,..._h,...pm},GA=B[n.Loop]["manual-flow-loop"],ym={id:"manual-flow-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ManualFlow,entityType:n.ActionDescriptor},fm={id:GA.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:ym,parentRelationType:O.DynamicReturn},Pl={id:$.ManualFlow,type:n.ActionDescriptor,version:1,name:$.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:[fm],error:null,parent:null},ki=B[n.Loop]["manual-flow-loop"],hm={id:"manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"manual-flow-loop-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},mm={like:!1,inferred:!1,id:"manual-flow-loop-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:hm},Tm={id:"manual-flow-loop-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:ki.body.id,entityType:n.ActionDescriptor},Al={id:ki.body.inputs.iterationNumber.id,type:n.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:mm,required:!0,index:0,parentRelationType:O.FixedArguments,parent:Tm},Em={id:"manual-flow-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:ki.body.id,entityType:n.ActionDescriptor},bm={id:"manual-flow-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:Em},Rm={id:"manual-flow-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:ki.body.id,entityType:n.ActionDescriptor},gm={id:"manual-flow-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:Rm},Ol={id:ki.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the manual flow loop.",inputs:[Al,bm],outputs:[gm],error:null,parent:null},vm=B[n.Loop]["list-loop"],Im={id:"iterate-over-list-loop-list-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-list-loop-list-argument-declaration-id",entityType:n.ValueDescriptor},Dm={like:!1,inferred:!1,id:"iterate-over-list-loop-list-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!0,isNullable:!1,constant:!1,entity:null,asType:!1,parent:Im},Pm={id:"iterate-over-list-loop-list-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.List,entityType:n.ActionDescriptor},Am={id:vm.inputs.list.id,type:n.ValueDescriptor,version:1,name:"List",description:"The list to iterate over",required:!0,defaultValue:null,dataType:Dm,index:0,parent:Pm,parentRelationType:O.FixedArguments},Om={id:"iterate-over-list-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.List,entityType:n.ActionDescriptor},Sm={id:vm.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",required:!1,defaultValue:null,dataType:null,index:0,parent:Om,parentRelationType:O.DynamicReturn},or={id:$.List,type:n.ActionDescriptor,version:1,name:$.List,description:"Iterates over a list of entities",inputs:[Am],outputs:[Sm],error:null,parent:null},lr=B[n.Loop]["list-loop"],Cm={id:"iterate-over-list-loop-body-current-value-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-list-loop-body-current-value-declaration-id",entityType:n.ValueDescriptor},Bm={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-value-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:null,asType:!1,parent:Cm},wm={id:"iterate-over-list-loop-body-current-value-declaration-parent-ref-id",type:n.GenericReference,entityId:lr.body.id,entityType:n.ActionDescriptor},cs={id:lr.body.inputs.currentValue.id,type:n.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:Bm,required:!0,index:1,parentRelationType:O.FixedArguments,parent:wm},_m={id:"iterate-over-list-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-list-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},Nm={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:_m},Mm={id:"iterate-over-list-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:lr.body.id,entityType:n.ActionDescriptor},Vm={id:lr.body.inputs.iterationNumber.id,type:n.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:Nm,required:!0,index:0,parentRelationType:O.FixedArguments,parent:Mm},Lm={id:"iterate-over-list-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:lr.body.id,entityType:n.ActionDescriptor},Gm={id:"iterate-over-list-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:Lm},$m={id:"iterate-over-list-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:lr.body.id,entityType:n.ActionDescriptor},Fm={id:"iterate-over-list-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:$m},ds={id:lr.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the list loop.",inputs:[Vm,cs,Gm],outputs:[Fm],error:null,parent:null},Um=B[n.Loop]["string-loop"],xm={id:"iterate-over-string-loop-string-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-string-loop-string-argument-declaration-id",entityType:n.ValueDescriptor},jm={like:!1,inferred:!1,id:"iterate-over-string-loop-string-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:U,asType:!1,parent:xm},km={id:"iterate-over-string-loop-string-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.String,entityType:n.ActionDescriptor},qm={id:Um.inputs.string.id,type:n.ValueDescriptor,version:1,name:"Texts",description:"The text to iterate over the characters of",defaultValue:null,required:!0,dataType:jm,index:0,parent:km,parentRelationType:O.FixedArguments},Jm={id:"iterate-over-string-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.String,entityType:n.ActionDescriptor},Wm={id:Um.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:Jm,parentRelationType:O.DynamicReturn},us={id:$.String,type:n.ActionDescriptor,version:1,name:$.String,description:"Iterates over a string of entities",inputs:[qm],outputs:[Wm],error:null,parent:null},cr=B[n.Loop]["string-loop"],Hm={id:"iterate-over-string-loop-body-current-value-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-string-loop-body-current-value-declaration-id",entityType:n.ValueDescriptor},Ym={like:!1,inferred:!1,id:"iterate-over-string-loop-body-current-value-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:U,asType:!1,parent:Hm},zm={id:"iterate-over-string-loop-body-current-value-declaration-parent-ref-id",type:n.GenericReference,entityId:cr.body.id,entityType:n.ActionDescriptor},Sl={id:cr.body.inputs.currentValue.id,type:n.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:Ym,required:!0,index:1,parentRelationType:O.FixedArguments,parent:zm},Zm={id:"iterate-over-string-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-string-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},Km={like:!1,inferred:!1,id:"iterate-over-string-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:Zm},Xm={id:"iterate-over-string-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:cr.body.id,entityType:n.ActionDescriptor},Cl={id:cr.body.inputs.iterationNumber.id,type:n.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:Km,required:!0,index:0,parentRelationType:O.FixedArguments,parent:Xm},Qm={id:"iterate-over-string-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:cr.body.id,entityType:n.ActionDescriptor},eT={id:"iterate-over-string-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:Qm},tT={id:"iterate-over-string-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:cr.body.id,entityType:n.ActionDescriptor},nT={id:"iterate-over-string-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:tT},Bl={id:cr.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the string loop.",inputs:[Cl,Sl,eT],outputs:[nT],error:null,parent:null},rT=B[n.Loop]["object-keys-loop"],iT={id:"iterate-over-object-keys-loop-object-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-keys-loop-object-argument-declaration-id",entityType:n.ValueDescriptor},aT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-object-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:iT},sT={id:"iterate-over-object-keys-loop-object-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ObjectKeys,entityType:n.ActionDescriptor},oT={id:rT.inputs.object.id,type:n.ValueDescriptor,version:1,name:"Object",description:"The object to iterate over",required:!0,defaultValue:null,dataType:aT,index:0,parent:sT,parentRelationType:O.FixedArguments},lT={id:"iterate-over-object-keys-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ObjectKeys,entityType:n.ActionDescriptor},cT={id:rT.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:lT,parentRelationType:O.DynamicReturn},qi={id:$.ObjectKeys,type:n.ActionDescriptor,version:1,name:$.ObjectKeys,description:"Iterates over a object of entities",inputs:[oT],outputs:[cT],error:null,parent:null},dr=B[n.Loop]["object-keys-loop"],dT={id:"iterate-over-object-keys-loop-body-current-value-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-keys-loop-body-current-value-declaration-id",entityType:n.ValueDescriptor},uT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-body-current-value-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:U,asType:!1,parent:dT},pT={id:"iterate-over-object-keys-loop-body-current-value-declaration-parent-ref-id",type:n.GenericReference,entityId:dr.body.id,entityType:n.ActionDescriptor},wl={id:dr.body.inputs.currentValue.id,type:n.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:uT,required:!0,index:1,parentRelationType:O.FixedArguments,parent:pT},yT={id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},fT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:yT},hT={id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:dr.body.id,entityType:n.ActionDescriptor},mT={id:dr.body.inputs.iterationNumber.id,type:n.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:fT,required:!0,index:0,parentRelationType:O.FixedArguments,parent:hT},TT={id:"iterate-over-object-keys-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:dr.body.id,entityType:n.ActionDescriptor},ET={id:"iterate-over-object-keys-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:TT},bT={id:"iterate-over-object-keys-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:dr.body.id,entityType:n.ActionDescriptor},RT={id:"iterate-over-object-keys-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:bT},gT={id:dr.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the object-keys loop.",inputs:[mT,wl,ET],outputs:[RT],error:null,parent:null},vT=B[n.Loop]["object-values-loop"],IT={id:"iterate-over-object-values-loop-object-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-values-loop-object-argument-declaration-id",entityType:n.ValueDescriptor},DT={like:!1,inferred:!1,id:"iterate-over-object-values-loop-object-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:IT},PT={id:"iterate-over-object-values-loop-object-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ObjectValues,entityType:n.ActionDescriptor},AT={id:vT.inputs.object.id,type:n.ValueDescriptor,version:1,name:"Object",description:"The object to iterate over",required:!0,defaultValue:null,dataType:DT,index:0,parent:PT,parentRelationType:O.FixedArguments},OT={id:"iterate-over-object-values-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ObjectValues,entityType:n.ActionDescriptor},ST={id:vT.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:OT,parentRelationType:O.DynamicReturn},Ji={id:$.ObjectValues,type:n.ActionDescriptor,version:1,name:$.ObjectValues,description:"Iterates over a object of entities",inputs:[AT],outputs:[ST],error:null,parent:null},ur=B[n.Loop]["object-values-loop"],CT={id:"iterate-over-object-values-loop-body-current-value-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-values-loop-body-current-value-declaration-id",entityType:n.ValueDescriptor},BT={id:"iterate-over-object-values-loop-body-current-value-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:null,isNullable:!1,constant:!1,entity:null,asType:null,like:!1,inferred:!1,parent:CT},wT={id:"iterate-over-object-values-loop-body-current-value-declaration-parent-ref-id",type:n.GenericReference,entityId:ur.body.id,entityType:n.ActionDescriptor},_l={id:ur.body.inputs.currentValue.id,type:n.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:BT,required:!0,index:1,parentRelationType:O.FixedArguments,parent:wT},_T={id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-values-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},NT={like:!1,inferred:!1,id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:_T},MT={id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:ur.body.id,entityType:n.ActionDescriptor},VT={id:ur.body.inputs.iterationNumber.id,type:n.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:NT,required:!0,index:0,parentRelationType:O.FixedArguments,parent:MT},LT={id:"iterate-over-object-values-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:ur.body.id,entityType:n.ActionDescriptor},GT={id:"iterate-over-object-values-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:LT},$T={id:"iterate-over-object-values-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:ur.body.id,entityType:n.ActionDescriptor},FT={id:"iterate-over-object-values-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:$T},UT={id:ur.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the object-values loop.",inputs:[VT,_l,GT],outputs:[FT],error:null,parent:null},Nl=B[n.Loop]["counted-loop"],xT={id:"counted-loop-string-argument-declaration-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:Nl.inputs.number.id,entityType:n.ValueDescriptor},jT={id:"counted-loop-string-argument-declaration-data-type-default-value-id",type:n.LiteralValue,name:I.Number,version:1,value:5,valueAsType:null,autogeneration:null,parent:xT},kT={id:"counted-loop-string-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"counted-loop-string-argument-declaration-id",entityType:n.ValueDescriptor},qT={like:!1,inferred:!1,id:"counted-loop-string-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:kT},JT={id:"counted-loop-string-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.Counted,entityType:n.ActionDescriptor},WT={id:Nl.inputs.number.id,type:n.ValueDescriptor,version:1,name:"Number of iterations",description:"The number of iterations to perform",required:!0,dataType:qT,defaultValue:jT,index:0,parent:JT,parentRelationType:O.FixedArguments},HT={id:"counted-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.Counted,entityType:n.ActionDescriptor},YT={id:Nl.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:HT,parentRelationType:O.DynamicReturn},ps={id:$.Counted,type:n.ActionDescriptor,version:1,name:$.Counted,description:"Iterates a given number of times",inputs:[WT],outputs:[YT],error:null,parent:null},Wi=B[n.Loop]["counted-loop"],zT={id:"counted-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"counted-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},ZT={like:!1,inferred:!1,id:"counted-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:zT},KT={id:"counted-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:Wi.body.id,entityType:n.ActionDescriptor},Ml={id:Wi.body.inputs.iterationNumber.id,type:n.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:ZT,required:!0,index:0,parentRelationType:O.FixedArguments,parent:KT},XT={id:"counted-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:Wi.body.id,entityType:n.ActionDescriptor},QT={id:"counted-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:XT},eE={id:"counted-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:Wi.body.id,entityType:n.ActionDescriptor},tE={id:"counted-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:eE},Vl={id:Wi.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the string loop.",inputs:[Ml,QT],outputs:[tE],error:null,parent:null},Gn=B[n.BuiltInBaseEntity][V.HTTP_ENDPOINT].properties,nE={id:"endpointBuiltInCorsPropertyDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:Gn.cors.id},rE={id:"endpointBuiltInCorsPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:Gn.cors.id},iE={like:!1,inferred:!1,id:"endpointBuiltInCorsPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!0,entity:U,asType:!1,parent:rE},aE={id:"endpointBuiltInBaseEntityRef",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},sE={hidden:!0,required:!0,id:Gn.cors.id,name:"Allowed origins",version:1,type:n.Property,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:iE,defaultValue:{id:"endpointBuiltInCorsPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:["*"],parent:nE,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:aE},oE={id:"endpointBuiltInPathPropertyDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:Gn.path.id},lE={id:"endpointBuiltInPathPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:Gn.path.id},cE={like:!1,inferred:!1,id:"endpointBuiltInPathPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:lE},dE={id:"endpointBuiltInBaseEntityRefTwo",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},Ll={id:Gn.path.id,hidden:!1,required:!0,name:"Path",version:1,type:n.Property,private:!1,abstract:!0,implements:null,static:!0,index:1,dataType:cE,defaultValue:{id:"endpointBuiltInPathPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.String,value:"/",parent:oE,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:dE},uE={id:"endpointBuiltInMethodPropertyDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:Gn.method.id},pE={id:"endpointBuiltInMethodPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:"endpointBuiltInMethodProperty"},yE={like:!1,inferred:!1,id:"endpointBuiltInMethodPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Vn,isList:!0,isNullable:!1,constant:!0,asType:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],parent:pE},fE={id:"endpointBuiltInBaseEntityRefThree",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},Gl={hidden:!1,required:!0,id:Gn.method.id,name:"Method",version:1,type:n.Property,private:!1,index:2,implements:null,defaultValue:{id:"endpointBuiltInMethodPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,value:"GET",name:I.Enum,parent:uE,autogeneration:null,valueAsType:null},abstract:!0,static:!0,dataType:yE,description:"The HTTP method that this endpoint will respond to, for example GET, POST, PUT, DELETE, etc.",parent:fE},hE={id:"endpointRequestHeadersVariableDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:"endpointRequestHeadersArgumentDeclaration"},mE={id:"endpointRequestHeadersArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"endpointRequestHeadersArgumentDeclaration"},TE={like:!1,inferred:!1,id:"endpointRequestHeadersVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:mE},EE={id:"endpointRequestBodyArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"endpointRequestBodyArgumentDeclaration"},bE={like:!1,inferred:!1,id:"endpointRequestBodyVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:Xe,parent:EE},RE={id:"endpointRequestQueryParamsVariableDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:"endpointRequestQueryParamsArgumentDeclaration"},gE={id:"endpointRequestQueryParamsArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"endpointRequestQueryParamsArgumentDeclaration"},vE={like:!1,inferred:!1,id:"endpointRequestQueryParamsVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,asType:!1,entity:Fi,parent:gE},IE={id:"endpointPathParamsVariableDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:"endpointPathParamsArgumentDeclaration"},DE={id:"endpointPathParamsArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"endpointPathParamsArgumentDeclaration"},PE={like:!1,inferred:!1,id:"endpointPathParamsVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Fi,asType:!1,parent:DE},AE={id:"endpointReachedTriggerActionDescriptorRef",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},$l={id:"endpointRequestHeadersArgumentDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the request.",type:n.ValueDescriptor,name:"Request headers",dataType:TE,defaultValue:{id:"endpointRequestHeadersVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:hE,autogeneration:null,valueAsType:null},required:!0,index:0,parentRelationType:O.FixedArguments,parent:AE},OE={id:"endpointReachedTriggerActionDescriptorRefTwo",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},Fl={id:"endpointPathParamsArgumentDeclaration",type:n.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:PE,defaultValue:{id:"endpointPathParamsVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:[],parent:IE,autogeneration:null,valueAsType:null},required:!0,index:1,parentRelationType:O.FixedArguments,parent:OE},SE={id:"endpointReachedTriggerActionDescriptorRefThree",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},Ul={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:n.ValueDescriptor,name:"Request query params",dataType:vE,defaultValue:{id:"endpointRequestQueryParamsVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:[],parent:RE,autogeneration:null,valueAsType:null},required:!0,index:2,parentRelationType:O.FixedArguments,parent:SE},CE={id:"endpointReachedTriggerActionDescriptorRefFour",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},xl={id:"endpointRequestBodyArgumentDeclaration",version:1,description:"The main data payload of the request.",type:n.ValueDescriptor,name:"Request body",dataType:bE,defaultValue:null,index:3,required:!0,parentRelationType:O.FixedArguments,parent:CE},BE={id:"endpointResponseCodeReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"endpointResponseCodeReturnDeclaration"},wE={like:!1,inferred:!1,id:"9ba575b0-6f8e-436d-a3de-3b843622aa17",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:BE},_E={id:"endpointReturnStatementRef",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReturnStatement"},jl={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:n.ValueDescriptor,name:"Response code",dataType:wE,defaultValue:null,required:!0,index:0,parentRelationType:O.FixedReturns,parent:_E},NE={id:"endpointResponseHeadersDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:"endpointResponseHeadersReturnDeclaration"},ME={id:"endpointResponseHeadersReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"endpointResponseHeadersReturnDeclaration"},VE={like:!1,inferred:!1,id:"endpointResponseHeadersDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:ME},LE={id:"endpointReturnStatementRefTwo",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReturnStatement"},kl={id:"endpointResponseHeadersReturnDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the response.",type:n.ValueDescriptor,name:"Response headers",dataType:VE,defaultValue:{id:"endpointResponseHeadersDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:NE,autogeneration:null,valueAsType:null},required:!1,index:1,parentRelationType:O.FixedReturns,parent:LE},GE={id:"endpointResponseBodyReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"endpointResponseBodyReturnDeclaration"},$E={like:!1,inferred:!1,id:"endpointResponseBodyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:Xe,parent:GE},FE={id:"endpointReturnStatementRefThree",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReturnStatement"},ql={id:"endpointResponseBodyReturnDeclaration",version:1,description:"The main data payload of the response.",type:n.ValueDescriptor,name:"Response body",dataType:$E,defaultValue:null,required:!1,index:2,parentRelationType:O.FixedReturns,parent:FE},UE={id:"endpointBuiltInBaseEntityRefFour",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},Jl={id:"endpointReachedTriggerActionDescriptor",type:n.ActionDescriptor,version:1,name:"Endpoint reached",description:"Fired when the endpoint is reached.",inputs:[$l,Fl,Ul,xl],outputs:[jl,kl,ql],error:null,parent:UE},ys={id:V.HTTP_ENDPOINT,version:1,description:"An HTTP endpoint that can be reached by a client from the internet.",name:V.HTTP_ENDPOINT,type:n.BuiltInBaseEntity,interactive:!1,abstract:!0,static:!0,properties:[sE,Ll,Gl],abstractMethods:[Jl],extends:[],methods:[]},nt=B[n.BuiltInBaseEntity].BUILT_IN_RELATIONAL_DATABASE_ENTITY,xE={id:"relational-database-built-in-base-entity-identifier-property-data-type-ref-id",type:n.GenericReference,entityId:nt.properties.identifier.id,entityType:n.Property},jE={id:"relational-database-built-in-base-entity-identifier-property-ref-id",type:n.GenericReference,entityId:nt.properties.identifier.id,entityType:n.Property},kE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-identifier-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:jE},ei={id:"relational-database-built-in-base-entity-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},fs={id:nt.properties.identifier.id,hidden:!1,required:!0,name:"Identifier name",version:1,type:n.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:n.LiteralValue,version:1,name:I.String,value:null,parent:xE,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:kE,description:"The name of the main database inside of the server instance where the data will be stored.",parent:ei},$A={id:"relational-database-built-in-base-entity-username-property-data-type-ref-id",type:n.GenericReference,entityId:"relational-database-built-in-base-entity-username-property-data-type-idd",entityType:n.Property},qE={id:"relational-database-built-in-base-entity-username-property-ref-id",type:n.GenericReference,entityId:nt.properties.username.id,entityType:n.Property},JE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-username-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:qE},hs={hidden:!1,required:!0,id:nt.properties.username.id,name:"Username",version:1,type:n.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:n.LiteralValue,version:1,name:I.String,value:"postgres",parent:{id:"relational-database-built-in-base-entity-username-property-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:nt.properties.username.id,entityType:n.Property},autogeneration:null,valueAsType:null},dataType:JE,description:"The username that will be used to connect to the database.",parent:ei},FA={id:"relational-database-built-in-base-entity-password-property-data-type-ref-id",type:n.GenericReference,entityId:"relational-database-built-in-base-entity-password-property-data-type-id",entityType:n.Property},WE={id:"relational-database-built-in-base-entity-password-property-ref-id",type:n.GenericReference,entityId:nt.properties.password.id,entityType:n.Property},HE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-password-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:WE},ms={hidden:!1,required:!0,id:nt.properties.password.id,name:"Password",version:1,type:n.Property,private:!1,abstract:!0,static:!0,implements:null,index:2,defaultValue:null,dataType:HE,description:"The password that will be used to connect to the database.",parent:ei},YE={id:"relational-database-built-in-base-entity-min-size-property-data-type-ref-id",type:n.GenericReference,entityId:nt.properties.minSize.id,entityType:n.Property},zE={id:"relational-database-built-in-base-entity-min-size-property-ref-id",type:n.GenericReference,entityId:nt.properties.minSize.id,entityType:n.Property},ZE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-min-size-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:zE},Ts={hidden:!0,required:!0,id:nt.properties.minSize.id,name:"Minimum GB size",version:1,type:n.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:n.LiteralValue,version:1,name:I.Number,value:6,parent:YE,autogeneration:null,valueAsType:null},dataType:ZE,description:"The minimum size of the database in GB.",parent:ei},KE={id:"relational-database-built-in-base-entity-default-property-data-type-ref-id",type:n.GenericReference,entityId:nt.properties.default.id,entityType:n.Property},XE={id:"relational-database-built-in-base-entity-default-property-ref-id",type:n.GenericReference,entityId:nt.properties.default.id,entityType:n.Property},QE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-default-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Mn,asType:!1,parent:XE},Wl={hidden:!0,required:!0,id:nt.properties.default.id,name:"Default",version:1,type:n.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:n.LiteralValue,version:1,name:I.Boolean,value:!1,parent:KE,autogeneration:null,valueAsType:null},dataType:QE,description:"If true, this database will be the default database for the server instance and all the new entities.",parent:ei},eb={id:"relational-database-built-in-base-entity-autoscaling-property-ref-id",type:n.GenericReference,entityId:nt.properties.autoscaling.id,entityType:n.Property},tb={id:"relational-database-built-in-base-entity-autoscaling-property-data-type-ref-id",type:n.GenericReference,entityId:nt.properties.autoscaling.id,entityType:n.Property},nb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-autoscaling-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Mn,asType:!1,parent:eb},rb={id:"relational-database-built-in-base-entity-autoscaling-property-parent-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},Hl={hidden:!0,required:!0,id:nt.properties.autoscaling.id,name:"Auto-scaling",version:1,type:n.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:n.LiteralValue,version:1,name:I.Boolean,value:!1,parent:tb,autogeneration:null,valueAsType:null},dataType:nb,description:"If true, this database will automatically scale up or down in memory size, based on the usage.",parent:rb},bn={id:V.RELATIONAL_DATABASE,version:1,description:"This entity provisions a relational database in the cloud.",name:V.RELATIONAL_DATABASE,type:n.BuiltInBaseEntity,abstract:!0,static:!0,interactive:!1,properties:[fs,hs,ms,Ts,Wl,Hl],abstractMethods:[],methods:[],extends:[]},ib={type:n.GenericReference,entityId:"persisted-built-in-base-entity-ref-id",entityType:n.BuiltInBaseEntity,id:Bt.DeletePersistedEntity},Yl={type:n.FunctionDeclaration,id:Bt.DeletePersistedEntity,name:Bt.DeletePersistedEntity,description:"Permanently deletes the current copy of an entity from the database",version:1,parent:ib,inputs:[],calls:[],implements:null,collapsed:!1,returnStatements:[],index:0,private:!1,x:0,y:0},ab=B[n.BuiltInBaseEntity][V.PERSISTED_ENTITY].properties,UA={id:"persisted-built-in-base-entity-database-property-data-type-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-database-property-data-type-id",entityType:n.DataType},sb={id:"persisted-built-in-base-entity-database-property-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-database-property-id",entityType:n.Property},ob={like:!1,inferred:!1,id:"persisted-built-in-base-entity-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:bn,asType:!1,parent:sb},lb={id:"persisted-built-in-base-entity-database-property-parent-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},ti={hidden:!0,required:!0,id:ab.database.id,name:"Database",version:1,type:n.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:ob,description:"The database that the entity belongs to.",parent:lb},cb={id:"persisted-built-in-base-entity-primary-key-property-number-data-type-option-parent-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:n.DataType},db={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-number-data-type-option-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parentRelationType:He.OrDataTypeGroup,parent:cb},ub={id:"persisted-built-in-base-entity-primary-key-property-string-data-type-option-parent-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:n.DataType},pb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-string-data-type-option-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parentRelationType:He.OrDataTypeGroup,parent:ub},yb={id:"persisted-built-in-base-entity-primary-key-property-uuid-data-type-option-parent-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:n.DataType},fb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-uuid-data-type-option-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parentRelationType:He.OrDataTypeGroup,parent:yb},hb={id:"persisted-built-in-base-entity-primary-key-property-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-id",entityType:n.Property},mb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:[fb,pb,db],isList:!1,isNullable:!1,constant:!0,entity:null,asType:null,implementationChooseOne:!0,parent:hb},Tb={id:"persisted-built-in-base-entity-primary-key-property-parent-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},ni={hidden:!1,required:!0,id:ab.primaryKey.id,name:"Primary key",version:1,type:n.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!1,index:0,dataType:mb,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:Tb},rt={id:V.PERSISTED_ENTITY,version:1,description:"An entity that is permanently stored in the database and can be accessed at any point.",name:V.PERSISTED_ENTITY,type:n.BuiltInBaseEntity,abstract:!0,static:!1,interactive:!0,abstractMethods:[],properties:[ti,ni],methods:[Yl],extends:[]},Eb={type:n.GenericReference,entityId:"persisted-built-in-base-entity-ref-id",entityType:n.BuiltInBaseEntity,id:Bt.SoftDeletePersistedEntity},xA={type:n.FunctionDeclaration,id:Bt.SoftDeletePersistedEntity,name:Bt.SoftDeletePersistedEntity,description:"Designates the entity as deleted, but does not remove it from the database.",version:1,parent:Eb,inputs:[],calls:[],implements:null,collapsed:!1,returnStatements:[],index:0,private:!1,x:0,y:0},bb={id:"cron-job-triggered-function-declaration-blueprint-parent-ref-id",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},zl={id:"cron-job-triggered-function-declaration-blueprint-id",name:"Cron job triggered",version:1,type:n.ActionDescriptor,description:"Executed when the cron job is triggered",inputs:[],error:null,outputs:[],parent:bb},Rb=B[n.BuiltInBaseEntity].BUILT_IN_CRON_JOB_ENTITY,jA={id:"cron-job-built-in-base-entity-expression-property-data-type-ref",type:n.GenericReference,entityId:"cron-job-built-in-base-entity-expression-property-data-type",entityType:n.DataType},gb={id:"cron-job-built-in-base-entity-expression-property-ref",type:n.GenericReference,entityId:Rb.properties.expression.id,entityType:n.Property},kA={like:!1,inferred:!1,id:"cron-job-built-in-base-entity-expression-property-data-type",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:gb},vb={id:"cron-job-built-in-base-entity-ref",type:n.GenericReference,entityId:V.CRON_JOB,entityType:n.BuiltInBaseEntity},Ib={hidden:!1,required:!0,id:Rb.properties.expression.id,name:"Cron expression",version:1,type:n.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:kA,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:vb},Zl={id:V.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:V.CRON_JOB,type:n.BuiltInBaseEntity,abstract:!0,static:!0,interactive:!1,properties:[Ib],methods:[],abstractMethods:[zl],extends:[]},Db={type:n.GenericReference,id:"execution-built-in-entity-abort-method-parent-ref-id",entityType:n.BuiltInBaseEntity,entityId:"execution-built-in-entity-id"},Kl={id:"execution-built-in-entity-abort-method-id",type:n.FunctionDeclaration,version:1,name:Bt.AbortExecution,description:"Aborts the execution of the entity",inputs:[],returnStatements:[],calls:[],implements:null,private:!1,collapsed:!1,index:null,x:0,y:0,parent:Db},Xl={id:V.EXECUTION,type:n.BuiltInBaseEntity,version:1,name:V.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:[Kl],abstractMethods:[]},qA=B[n.Condition]["not-empty"],Pb={type:n.GenericReference,id:"not-empty-condition-ref",entityType:n.ActionDescriptor,entityId:Gt.NotEmpty},Ab={id:qA.inputs.leftHand.id,type:n.ValueDescriptor,version:1,name:"Value",description:"The value to check if it is not empty",defaultValue:null,dataType:null,required:!0,parentRelationType:O.FixedArguments,index:0,parent:Pb},pr={type:n.ActionDescriptor,id:Gt.NotEmpty,version:1,name:Gt.NotEmpty,description:"Checks if the value is not empty",parent:null,inputs:[Ab],outputs:[],error:null},Ob={[Gt.NotEmpty]:pr},ri=B[n.Condition]["more-than-or-equal"],Sb={type:n.GenericReference,id:"more-than-or-equal-condition-left-hand-argument-data-type-parent-ref",entityType:n.ValueDescriptor,entityId:ri.inputs.leftHand.id},Cb={type:n.DataType,id:ri.inputs.leftHand.dataType.id,version:1,entity:Z,like:!1,isList:!1,inferred:!1,andChildrenGroup:null,orChildrenGroup:null,isNullable:!1,constant:!1,asType:!1,parent:Sb},Bb={type:n.GenericReference,id:"more-than-or-equal-condition-left-hand-argument-parent-ref",entityType:n.ActionDescriptor,entityId:$e.MoreThanOrEqual},wb={id:ri.inputs.leftHand.id,type:n.ValueDescriptor,version:1,name:"First value",description:"The first value to compare",defaultValue:null,dataType:Cb,required:!0,parentRelationType:O.FixedArguments,index:0,parent:Bb},_b={type:n.GenericReference,id:"more-than-or-equal-condition-right-hand-argument-data-type-parent-ref",entityType:n.ValueDescriptor,entityId:ri.inputs.rightHand.id},Nb={type:n.DataType,id:ri.inputs.rightHand.dataType.id,version:1,entity:Z,like:!1,isList:!1,inferred:!1,andChildrenGroup:null,orChildrenGroup:null,isNullable:!1,constant:!1,asType:!1,parent:_b},Mb={type:n.GenericReference,id:"more-than-or-equal-condition-right-hand-argument-parent-ref",entityType:n.ActionDescriptor,entityId:$e.MoreThanOrEqual},Vb={id:ri.inputs.rightHand.id,type:n.ValueDescriptor,version:1,name:"Second value",description:"The second value to compare",defaultValue:null,dataType:Nb,required:!0,parentRelationType:O.FixedArguments,index:1,parent:Mb},ii={type:n.ActionDescriptor,id:$e.MoreThanOrEqual,version:1,name:$e.MoreThanOrEqual,description:"Checks if the value is not empty",parent:null,inputs:[wb,Vb],outputs:[],error:null},Lb={[$e.MoreThanOrEqual]:ii},JA={...Ob,...Lb},Es={type:n.ActionDescriptor,id:fn.PROJECT_PUBLICATION_COMPLETED,version:1,name:fn.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},WA={[fn.PROJECT_PUBLICATION_COMPLETED]:Es},Ql=B[n.ValueDescriptor][al.ActionOngoingProcessOutputValue],Gb={type:n.GenericReference,id:"182f767f-50e8-4394-ba5f-43e78c232733",entityType:n.ValueDescriptor,entityId:Ql.id},$b={like:!1,inferred:!1,id:Ql.dataType.id,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xl,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Gb},ec={id:Ql.id,type:n.ValueDescriptor,description:"A value that represents the ongoing process of the parent action",version:1,name:"Process",defaultValue:null,dataType:$b,required:!0,index:0,parent:null,parentRelationType:O.OngoingProcessExecution};var ne;(function(i){i.assertEqual=a=>a;function e(a){}i.assertIs=e;function t(a){throw new Error}i.assertNever=t,i.arrayToEnum=a=>{const s={};for(const o of a)s[o]=o;return s},i.getValidEnumValues=a=>{const s=i.objectKeys(a).filter(l=>typeof a[a[l]]!="number"),o={};for(const l of s)o[l]=a[l];return i.objectValues(o)},i.objectValues=a=>i.objectKeys(a).map(function(s){return a[s]}),i.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&s.push(o);return s},i.find=(a,s)=>{for(const o of a)if(s(o))return o},i.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&isFinite(a)&&Math.floor(a)===a;function r(a,s=" | "){return a.map(o=>typeof o=="string"?`'${o}'`:o).join(s)}i.joinValues=r,i.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(ne||(ne={}));var tc;(function(i){i.mergeShapes=(e,t)=>({...e,...t})})(tc||(tc={}));const G=ne.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),$n=i=>{switch(typeof i){case"undefined":return G.undefined;case"string":return G.string;case"number":return isNaN(i)?G.nan:G.number;case"boolean":return G.boolean;case"function":return G.function;case"bigint":return G.bigint;case"symbol":return G.symbol;case"object":return Array.isArray(i)?G.array:i===null?G.null:i.then&&typeof i.then=="function"&&i.catch&&typeof i.catch=="function"?G.promise:typeof Map<"u"&&i instanceof Map?G.map:typeof Set<"u"&&i instanceof Set?G.set:typeof Date<"u"&&i instanceof Date?G.date:G.object;default:return G.unknown}},w=ne.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"]),HA=i=>JSON.stringify(i,null,2).replace(/"([^"]+)":/g,"$1:");class Dt extends Error{constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};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},r={_errors:[]},a=s=>{for(const o of s.issues)if(o.code==="invalid_union")o.unionErrors.map(a);else if(o.code==="invalid_return_type")a(o.returnTypeError);else if(o.code==="invalid_arguments")a(o.argumentsError);else if(o.path.length===0)r._errors.push(t(o));else{let l=r,p=0;for(;p<o.path.length;){const y=o.path[p];p===o.path.length-1?(l[y]=l[y]||{_errors:[]},l[y]._errors.push(t(o))):l[y]=l[y]||{_errors:[]},l=l[y],p++}}};return a(this),r}static assert(e){if(!(e instanceof Dt))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ne.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){const t={},r=[];for(const a of this.issues)a.path.length>0?(t[a.path[0]]=t[a.path[0]]||[],t[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}Dt.create=i=>new Dt(i);const ai=(i,e)=>{let t;switch(i.code){case w.invalid_type:i.received===G.undefined?t="Required":t=`Expected ${i.expected}, received ${i.received}`;break;case w.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(i.expected,ne.jsonStringifyReplacer)}`;break;case w.unrecognized_keys:t=`Unrecognized key(s) in object: ${ne.joinValues(i.keys,", ")}`;break;case w.invalid_union:t="Invalid input";break;case w.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${ne.joinValues(i.options)}`;break;case w.invalid_enum_value:t=`Invalid enum value. Expected ${ne.joinValues(i.options)}, received '${i.received}'`;break;case w.invalid_arguments:t="Invalid function arguments";break;case w.invalid_return_type:t="Invalid function return type";break;case w.invalid_date:t="Invalid date";break;case w.invalid_string:typeof i.validation=="object"?"includes"in i.validation?(t=`Invalid input: must include "${i.validation.includes}"`,typeof i.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${i.validation.position}`)):"startsWith"in i.validation?t=`Invalid input: must start with "${i.validation.startsWith}"`:"endsWith"in i.validation?t=`Invalid input: must end with "${i.validation.endsWith}"`:ne.assertNever(i.validation):i.validation!=="regex"?t=`Invalid ${i.validation}`:t="Invalid";break;case w.too_small:i.type==="array"?t=`Array must contain ${i.exact?"exactly":i.inclusive?"at least":"more than"} ${i.minimum} element(s)`:i.type==="string"?t=`String must contain ${i.exact?"exactly":i.inclusive?"at least":"over"} ${i.minimum} character(s)`:i.type==="number"?t=`Number must be ${i.exact?"exactly equal to ":i.inclusive?"greater than or equal to ":"greater than "}${i.minimum}`:i.type==="date"?t=`Date must be ${i.exact?"exactly equal to ":i.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(i.minimum))}`:t="Invalid input";break;case w.too_big:i.type==="array"?t=`Array must contain ${i.exact?"exactly":i.inclusive?"at most":"less than"} ${i.maximum} element(s)`:i.type==="string"?t=`String must contain ${i.exact?"exactly":i.inclusive?"at most":"under"} ${i.maximum} character(s)`:i.type==="number"?t=`Number must be ${i.exact?"exactly":i.inclusive?"less than or equal to":"less than"} ${i.maximum}`:i.type==="bigint"?t=`BigInt must be ${i.exact?"exactly":i.inclusive?"less than or equal to":"less than"} ${i.maximum}`:i.type==="date"?t=`Date must be ${i.exact?"exactly":i.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(i.maximum))}`:t="Invalid input";break;case w.custom:t="Invalid input";break;case w.invalid_intersection_types:t="Intersection results could not be merged";break;case w.not_multiple_of:t=`Number must be a multiple of ${i.multipleOf}`;break;case w.not_finite:t="Number must be finite";break;default:t=e.defaultError,ne.assertNever(i)}return{message:t}};let Fb=ai;function YA(i){Fb=i}function bs(){return Fb}const Rs=i=>{const{data:e,path:t,errorMaps:r,issueData:a}=i,s=[...t,...a.path||[]],o={...a,path:s};if(a.message!==void 0)return{...a,path:s,message:a.message};let l="";const p=r.filter(y=>!!y).slice().reverse();for(const y of p)l=y(o,{data:e,defaultError:l}).message;return{...a,path:s,message:l}},zA=[];function L(i,e){const t=bs(),r=Rs({issueData:e,data:i.data,path:i.path,errorMaps:[i.common.contextualErrorMap,i.schemaErrorMap,t,t===ai?void 0:ai].filter(a=>!!a)});i.common.issues.push(r)}class at{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const r=[];for(const a of t){if(a.status==="aborted")return J;a.status==="dirty"&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const r=[];for(const a of t){const s=await a.key,o=await a.value;r.push({key:s,value:o})}return at.mergeObjectSync(e,r)}static mergeObjectSync(e,t){const r={};for(const a of t){const{key:s,value:o}=a;if(s.status==="aborted"||o.status==="aborted")return J;s.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof o.value<"u"||a.alwaysSet)&&(r[s.value]=o.value)}return{status:e.value,value:r}}}const J=Object.freeze({status:"aborted"}),si=i=>({status:"dirty",value:i}),ft=i=>({status:"valid",value:i}),nc=i=>i.status==="aborted",rc=i=>i.status==="dirty",Hi=i=>i.status==="valid",Yi=i=>typeof Promise<"u"&&i instanceof Promise;function gs(i,e,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?i!==e||!r:!e.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(i):r?r.value:e.get(i)}function Ub(i,e,t,r,a){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?i!==e||!a:!e.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?a.call(i,t):a?a.value=t:e.set(i,t),t}typeof SuppressedError=="function"&&SuppressedError;var x;(function(i){i.errToObj=e=>typeof e=="string"?{message:e}:e||{},i.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(x||(x={}));var zi,Zi;class nn{constructor(e,t,r,a){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=a}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 xb=(i,e)=>{if(Hi(e))return{success:!0,data:e.value};if(!i.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 Dt(i.common.issues);return this._error=t,this._error}}};function K(i){if(!i)return{};const{errorMap:e,invalid_type_error:t,required_error:r,description:a}=i;if(e&&(t||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(o,l)=>{var p,y;const{message:h}=i;return o.code==="invalid_enum_value"?{message:h??l.defaultError}:typeof l.data>"u"?{message:(p=h??r)!==null&&p!==void 0?p:l.defaultError}:o.code!=="invalid_type"?{message:l.defaultError}:{message:(y=h??t)!==null&&y!==void 0?y:l.defaultError}},description:a}}class Q{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 $n(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:$n(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new at,ctx:{common:e.parent.common,data:e.data,parsedType:$n(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(Yi(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 r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;const a={common:{issues:[],async:(r=t==null?void 0:t.async)!==null&&r!==void 0?r:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:$n(e)},s=this._parseSync({data:e,path:a.path,parent:a});return xb(a,s)}async parseAsync(e,t){const r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){const r={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:$n(e)},a=this._parse({data:e,path:r.path,parent:r}),s=await(Yi(a)?a:Promise.resolve(a));return xb(r,s)}refine(e,t){const r=a=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(a):t;return this._refinement((a,s)=>{const o=e(a),l=()=>s.addIssue({code:w.custom,...r(a)});return typeof Promise<"u"&&o instanceof Promise?o.then(p=>p?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(e,t){return this._refinement((r,a)=>e(r)?!0:(a.addIssue(typeof t=="function"?t(r,a):t),!1))}_refinement(e){return new zt({schema:this,typeName:q.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return an.create(this,this._def)}nullable(){return jn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Yt.create(this,this._def)}promise(){return di.create(this,this._def)}or(e){return ea.create([this,e],this._def)}and(e){return ta.create(this,e,this._def)}transform(e){return new zt({...K(this._def),schema:this,typeName:q.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new sa({...K(this._def),innerType:this,defaultValue:t,typeName:q.ZodDefault})}brand(){return new sc({typeName:q.ZodBranded,type:this,...K(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new oa({...K(this._def),innerType:this,catchValue:t,typeName:q.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return la.create(this,e)}readonly(){return ca.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const ZA=/^c[^\s-]{8,}$/i,KA=/^[0-9a-z]+$/,XA=/^[0-9A-HJKMNP-TV-Z]{26}$/,QA=/^[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,eO=/^[a-z0-9_-]{21}$/i,tO=/^[-+]?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)?)??$/,nO=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,rO="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let ic;const iO=/^(?:(?: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])$/,aO=/^(([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})))$/,sO=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,jb="((\\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])))",oO=new RegExp(`^${jb}$`);function kb(i){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return i.precision?e=`${e}\\.\\d{${i.precision}}`:i.precision==null&&(e=`${e}(\\.\\d+)?`),e}function lO(i){return new RegExp(`^${kb(i)}$`)}function qb(i){let e=`${jb}T${kb(i)}`;const t=[];return t.push(i.local?"Z?":"Z"),i.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function cO(i,e){return!!((e==="v4"||!e)&&iO.test(i)||(e==="v6"||!e)&&aO.test(i))}class Ht extends Q{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==G.string){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_type,expected:G.string,received:s.parsedType}),J}const r=new at;let a;for(const s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(a=this._getOrReturnCtx(e,a),L(a,{code:w.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")e.data.length>s.value&&(a=this._getOrReturnCtx(e,a),L(a,{code:w.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const o=e.data.length>s.value,l=e.data.length<s.value;(o||l)&&(a=this._getOrReturnCtx(e,a),o?L(a,{code:w.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):l&&L(a,{code:w.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")nO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"email",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")ic||(ic=new RegExp(rO,"u")),ic.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"emoji",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")QA.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"uuid",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")eO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"nanoid",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")ZA.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"cuid",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")KA.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"cuid2",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")XA.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"ulid",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a),L(a,{validation:"url",code:w.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"regex",code:w.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.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)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?qb(s).test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?oO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?lO(s).test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?tO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"duration",code:w.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?cO(e.data,s.version)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"ip",code:w.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?sO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"base64",code:w.invalid_string,message:s.message}),r.dirty()):ne.assertNever(s);return{status:r.value,value:e.data}}_regex(e,t,r){return this.refinement(a=>e.test(a),{validation:t,code:w.invalid_string,...x.errToObj(r)})}_addCheck(e){return new Ht({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...x.errToObj(e)})}url(e){return this._addCheck({kind:"url",...x.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...x.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...x.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...x.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...x.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...x.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...x.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...x.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...x.errToObj(e)})}datetime(e){var t,r;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:(r=e==null?void 0:e.local)!==null&&r!==void 0?r:!1,...x.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,...x.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...x.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...x.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...x.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...x.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...x.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...x.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...x.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...x.errToObj(t)})}nonempty(e){return this.min(1,x.errToObj(e))}trim(){return new Ht({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ht({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ht({...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}}Ht.create=i=>{var e;return new Ht({checks:[],typeName:q.ZodString,coerce:(e=i==null?void 0:i.coerce)!==null&&e!==void 0?e:!1,...K(i)})};function dO(i,e){const t=(i.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,a=t>r?t:r,s=parseInt(i.toFixed(a).replace(".","")),o=parseInt(e.toFixed(a).replace(".",""));return s%o/Math.pow(10,a)}class Fn extends Q{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)!==G.number){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_type,expected:G.number,received:s.parsedType}),J}let r;const a=new at;for(const s of this._def.checks)s.kind==="int"?ne.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),L(r,{code:w.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?dO(e.data,s.value)!==0&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),L(r,{code:w.not_finite,message:s.message}),a.dirty()):ne.assertNever(s);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,r,a){return new Fn({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:x.toString(a)}]})}_addCheck(e){return new Fn({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:x.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:x.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:x.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:x.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"&&ne.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(t===null||r.value>t)&&(t=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(t)&&Number.isFinite(e)}}Fn.create=i=>new Fn({checks:[],typeName:q.ZodNumber,coerce:(i==null?void 0:i.coerce)||!1,...K(i)});class Un extends Q{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)!==G.bigint){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_type,expected:G.bigint,received:s.parsedType}),J}let r;const a=new at;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):ne.assertNever(s);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,r,a){return new Un({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:x.toString(a)}]})}_addCheck(e){return new Un({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.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}}Un.create=i=>{var e;return new Un({checks:[],typeName:q.ZodBigInt,coerce:(e=i==null?void 0:i.coerce)!==null&&e!==void 0?e:!1,...K(i)})};class Ki extends Q{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==G.boolean){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.boolean,received:r.parsedType}),J}return ft(e.data)}}Ki.create=i=>new Ki({typeName:q.ZodBoolean,coerce:(i==null?void 0:i.coerce)||!1,...K(i)});class yr extends Q{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==G.date){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_type,expected:G.date,received:s.parsedType}),J}if(isNaN(e.data.getTime())){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_date}),J}const r=new at;let a;for(const s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(a=this._getOrReturnCtx(e,a),L(a,{code:w.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(a=this._getOrReturnCtx(e,a),L(a,{code:w.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):ne.assertNever(s);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new yr({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:x.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:x.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}}yr.create=i=>new yr({checks:[],coerce:(i==null?void 0:i.coerce)||!1,typeName:q.ZodDate,...K(i)});class vs extends Q{_parse(e){if(this._getType(e)!==G.symbol){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.symbol,received:r.parsedType}),J}return ft(e.data)}}vs.create=i=>new vs({typeName:q.ZodSymbol,...K(i)});class Xi extends Q{_parse(e){if(this._getType(e)!==G.undefined){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.undefined,received:r.parsedType}),J}return ft(e.data)}}Xi.create=i=>new Xi({typeName:q.ZodUndefined,...K(i)});class Qi extends Q{_parse(e){if(this._getType(e)!==G.null){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.null,received:r.parsedType}),J}return ft(e.data)}}Qi.create=i=>new Qi({typeName:q.ZodNull,...K(i)});class oi extends Q{constructor(){super(...arguments),this._any=!0}_parse(e){return ft(e.data)}}oi.create=i=>new oi({typeName:q.ZodAny,...K(i)});class fr extends Q{constructor(){super(...arguments),this._unknown=!0}_parse(e){return ft(e.data)}}fr.create=i=>new fr({typeName:q.ZodUnknown,...K(i)});class Rn extends Q{_parse(e){const t=this._getOrReturnCtx(e);return L(t,{code:w.invalid_type,expected:G.never,received:t.parsedType}),J}}Rn.create=i=>new Rn({typeName:q.ZodNever,...K(i)});class Is extends Q{_parse(e){if(this._getType(e)!==G.undefined){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.void,received:r.parsedType}),J}return ft(e.data)}}Is.create=i=>new Is({typeName:q.ZodVoid,...K(i)});class Yt extends Q{_parse(e){const{ctx:t,status:r}=this._processInputParams(e),a=this._def;if(t.parsedType!==G.array)return L(t,{code:w.invalid_type,expected:G.array,received:t.parsedType}),J;if(a.exactLength!==null){const o=t.data.length>a.exactLength.value,l=t.data.length<a.exactLength.value;(o||l)&&(L(t,{code:o?w.too_big:w.too_small,minimum:l?a.exactLength.value:void 0,maximum:o?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&t.data.length<a.minLength.value&&(L(t,{code:w.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&t.data.length>a.maxLength.value&&(L(t,{code:w.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((o,l)=>a.type._parseAsync(new nn(t,o,t.path,l)))).then(o=>at.mergeArray(r,o));const s=[...t.data].map((o,l)=>a.type._parseSync(new nn(t,o,t.path,l)));return at.mergeArray(r,s)}get element(){return this._def.type}min(e,t){return new Yt({...this._def,minLength:{value:e,message:x.toString(t)}})}max(e,t){return new Yt({...this._def,maxLength:{value:e,message:x.toString(t)}})}length(e,t){return new Yt({...this._def,exactLength:{value:e,message:x.toString(t)}})}nonempty(e){return this.min(1,e)}}Yt.create=(i,e)=>new Yt({type:i,minLength:null,maxLength:null,exactLength:null,typeName:q.ZodArray,...K(e)});function li(i){if(i instanceof qe){const e={};for(const t in i.shape){const r=i.shape[t];e[t]=an.create(li(r))}return new qe({...i._def,shape:()=>e})}else return i instanceof Yt?new Yt({...i._def,type:li(i.element)}):i instanceof an?an.create(li(i.unwrap())):i instanceof jn?jn.create(li(i.unwrap())):i instanceof rn?rn.create(i.items.map(e=>li(e))):i}class qe extends Q{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=ne.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==G.object){const y=this._getOrReturnCtx(e);return L(y,{code:w.invalid_type,expected:G.object,received:y.parsedType}),J}const{status:r,ctx:a}=this._processInputParams(e),{shape:s,keys:o}=this._getCached(),l=[];if(!(this._def.catchall instanceof Rn&&this._def.unknownKeys==="strip"))for(const y in a.data)o.includes(y)||l.push(y);const p=[];for(const y of o){const h=s[y],m=a.data[y];p.push({key:{status:"valid",value:y},value:h._parse(new nn(a,m,a.path,y)),alwaysSet:y in a.data})}if(this._def.catchall instanceof Rn){const y=this._def.unknownKeys;if(y==="passthrough")for(const h of l)p.push({key:{status:"valid",value:h},value:{status:"valid",value:a.data[h]}});else if(y==="strict")l.length>0&&(L(a,{code:w.unrecognized_keys,keys:l}),r.dirty());else if(y!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const y=this._def.catchall;for(const h of l){const m=a.data[h];p.push({key:{status:"valid",value:h},value:y._parse(new nn(a,m,a.path,h)),alwaysSet:h in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const y=[];for(const h of p){const m=await h.key,R=await h.value;y.push({key:m,value:R,alwaysSet:h.alwaysSet})}return y}).then(y=>at.mergeObjectSync(r,y)):at.mergeObjectSync(r,p)}get shape(){return this._def.shape()}strict(e){return x.errToObj,new qe({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,r)=>{var a,s,o,l;const p=(o=(s=(a=this._def).errorMap)===null||s===void 0?void 0:s.call(a,t,r).message)!==null&&o!==void 0?o:r.defaultError;return t.code==="unrecognized_keys"?{message:(l=x.errToObj(e).message)!==null&&l!==void 0?l:p}:{message:p}}}:{}})}strip(){return new qe({...this._def,unknownKeys:"strip"})}passthrough(){return new qe({...this._def,unknownKeys:"passthrough"})}extend(e){return new qe({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new qe({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:q.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new qe({...this._def,catchall:e})}pick(e){const t={};return ne.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new qe({...this._def,shape:()=>t})}omit(e){const t={};return ne.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new qe({...this._def,shape:()=>t})}deepPartial(){return li(this)}partial(e){const t={};return ne.objectKeys(this.shape).forEach(r=>{const a=this.shape[r];e&&!e[r]?t[r]=a:t[r]=a.optional()}),new qe({...this._def,shape:()=>t})}required(e){const t={};return ne.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof an;)s=s._def.innerType;t[r]=s}}),new qe({...this._def,shape:()=>t})}keyof(){return Jb(ne.objectKeys(this.shape))}}qe.create=(i,e)=>new qe({shape:()=>i,unknownKeys:"strip",catchall:Rn.create(),typeName:q.ZodObject,...K(e)}),qe.strictCreate=(i,e)=>new qe({shape:()=>i,unknownKeys:"strict",catchall:Rn.create(),typeName:q.ZodObject,...K(e)}),qe.lazycreate=(i,e)=>new qe({shape:i,unknownKeys:"strip",catchall:Rn.create(),typeName:q.ZodObject,...K(e)});class ea extends Q{_parse(e){const{ctx:t}=this._processInputParams(e),r=this._def.options;function a(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 Dt(l.ctx.common.issues));return L(t,{code:w.invalid_union,unionErrors:o}),J}if(t.common.async)return Promise.all(r.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(a);{let s;const o=[];for(const p of r){const y={...t,common:{...t.common,issues:[]},parent:null},h=p._parseSync({data:t.data,path:t.path,parent:y});if(h.status==="valid")return h;h.status==="dirty"&&!s&&(s={result:h,ctx:y}),y.common.issues.length&&o.push(y.common.issues)}if(s)return t.common.issues.push(...s.ctx.common.issues),s.result;const l=o.map(p=>new Dt(p));return L(t,{code:w.invalid_union,unionErrors:l}),J}}get options(){return this._def.options}}ea.create=(i,e)=>new ea({options:i,typeName:q.ZodUnion,...K(e)});const gn=i=>i instanceof ra?gn(i.schema):i instanceof zt?gn(i.innerType()):i instanceof ia?[i.value]:i instanceof xn?i.options:i instanceof aa?ne.objectValues(i.enum):i instanceof sa?gn(i._def.innerType):i instanceof Xi?[void 0]:i instanceof Qi?[null]:i instanceof an?[void 0,...gn(i.unwrap())]:i instanceof jn?[null,...gn(i.unwrap())]:i instanceof sc||i instanceof ca?gn(i.unwrap()):i instanceof oa?gn(i._def.innerType):[];class Ds extends Q{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==G.object)return L(t,{code:w.invalid_type,expected:G.object,received:t.parsedType}),J;const r=this.discriminator,a=t.data[r],s=this.optionsMap.get(a);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}):(L(t,{code:w.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),J)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){const a=new Map;for(const s of t){const o=gn(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(a.has(l))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(l)}`);a.set(l,s)}}return new Ds({typeName:q.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:a,...K(r)})}}function ac(i,e){const t=$n(i),r=$n(e);if(i===e)return{valid:!0,data:i};if(t===G.object&&r===G.object){const a=ne.objectKeys(e),s=ne.objectKeys(i).filter(l=>a.indexOf(l)!==-1),o={...i,...e};for(const l of s){const p=ac(i[l],e[l]);if(!p.valid)return{valid:!1};o[l]=p.data}return{valid:!0,data:o}}else if(t===G.array&&r===G.array){if(i.length!==e.length)return{valid:!1};const a=[];for(let s=0;s<i.length;s++){const o=i[s],l=e[s],p=ac(o,l);if(!p.valid)return{valid:!1};a.push(p.data)}return{valid:!0,data:a}}else return t===G.date&&r===G.date&&+i==+e?{valid:!0,data:i}:{valid:!1}}class ta extends Q{_parse(e){const{status:t,ctx:r}=this._processInputParams(e),a=(s,o)=>{if(nc(s)||nc(o))return J;const l=ac(s.value,o.value);return l.valid?((rc(s)||rc(o))&&t.dirty(),{status:t.value,value:l.data}):(L(r,{code:w.invalid_intersection_types}),J)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,o])=>a(s,o)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ta.create=(i,e,t)=>new ta({left:i,right:e,typeName:q.ZodIntersection,...K(t)});class rn extends Q{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==G.array)return L(r,{code:w.invalid_type,expected:G.array,received:r.parsedType}),J;if(r.data.length<this._def.items.length)return L(r,{code:w.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),J;!this._def.rest&&r.data.length>this._def.items.length&&(L(r,{code:w.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const s=[...r.data].map((o,l)=>{const p=this._def.items[l]||this._def.rest;return p?p._parse(new nn(r,o,r.path,l)):null}).filter(o=>!!o);return r.common.async?Promise.all(s).then(o=>at.mergeArray(t,o)):at.mergeArray(t,s)}get items(){return this._def.items}rest(e){return new rn({...this._def,rest:e})}}rn.create=(i,e)=>{if(!Array.isArray(i))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new rn({items:i,typeName:q.ZodTuple,rest:null,...K(e)})};class na extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==G.object)return L(r,{code:w.invalid_type,expected:G.object,received:r.parsedType}),J;const a=[],s=this._def.keyType,o=this._def.valueType;for(const l in r.data)a.push({key:s._parse(new nn(r,l,r.path,l)),value:o._parse(new nn(r,r.data[l],r.path,l)),alwaysSet:l in r.data});return r.common.async?at.mergeObjectAsync(t,a):at.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,r){return t instanceof Q?new na({keyType:e,valueType:t,typeName:q.ZodRecord,...K(r)}):new na({keyType:Ht.create(),valueType:e,typeName:q.ZodRecord,...K(t)})}}class Ps extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==G.map)return L(r,{code:w.invalid_type,expected:G.map,received:r.parsedType}),J;const a=this._def.keyType,s=this._def.valueType,o=[...r.data.entries()].map(([l,p],y)=>({key:a._parse(new nn(r,l,r.path,[y,"key"])),value:s._parse(new nn(r,p,r.path,[y,"value"]))}));if(r.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const p of o){const y=await p.key,h=await p.value;if(y.status==="aborted"||h.status==="aborted")return J;(y.status==="dirty"||h.status==="dirty")&&t.dirty(),l.set(y.value,h.value)}return{status:t.value,value:l}})}else{const l=new Map;for(const p of o){const y=p.key,h=p.value;if(y.status==="aborted"||h.status==="aborted")return J;(y.status==="dirty"||h.status==="dirty")&&t.dirty(),l.set(y.value,h.value)}return{status:t.value,value:l}}}}Ps.create=(i,e,t)=>new Ps({valueType:e,keyType:i,typeName:q.ZodMap,...K(t)});class hr extends Q{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==G.set)return L(r,{code:w.invalid_type,expected:G.set,received:r.parsedType}),J;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(L(r,{code:w.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),t.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(L(r,{code:w.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());const s=this._def.valueType;function o(p){const y=new Set;for(const h of p){if(h.status==="aborted")return J;h.status==="dirty"&&t.dirty(),y.add(h.value)}return{status:t.value,value:y}}const l=[...r.data.values()].map((p,y)=>s._parse(new nn(r,p,r.path,y)));return r.common.async?Promise.all(l).then(p=>o(p)):o(l)}min(e,t){return new hr({...this._def,minSize:{value:e,message:x.toString(t)}})}max(e,t){return new hr({...this._def,maxSize:{value:e,message:x.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}hr.create=(i,e)=>new hr({valueType:i,minSize:null,maxSize:null,typeName:q.ZodSet,...K(e)});class ci extends Q{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==G.function)return L(t,{code:w.invalid_type,expected:G.function,received:t.parsedType}),J;function r(l,p){return Rs({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,bs(),ai].filter(y=>!!y),issueData:{code:w.invalid_arguments,argumentsError:p}})}function a(l,p){return Rs({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,bs(),ai].filter(y=>!!y),issueData:{code:w.invalid_return_type,returnTypeError:p}})}const s={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof di){const l=this;return ft(async function(...p){const y=new Dt([]),h=await l._def.args.parseAsync(p,s).catch(v=>{throw y.addIssue(r(p,v)),y}),m=await Reflect.apply(o,this,h);return await l._def.returns._def.type.parseAsync(m,s).catch(v=>{throw y.addIssue(a(m,v)),y})})}else{const l=this;return ft(function(...p){const y=l._def.args.safeParse(p,s);if(!y.success)throw new Dt([r(p,y.error)]);const h=Reflect.apply(o,this,y.data),m=l._def.returns.safeParse(h,s);if(!m.success)throw new Dt([a(h,m.error)]);return m.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ci({...this._def,args:rn.create(e).rest(fr.create())})}returns(e){return new ci({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new ci({args:e||rn.create([]).rest(fr.create()),returns:t||fr.create(),typeName:q.ZodFunction,...K(r)})}}class ra extends Q{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})}}ra.create=(i,e)=>new ra({getter:i,typeName:q.ZodLazy,...K(e)});class ia extends Q{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return L(t,{received:t.data,code:w.invalid_literal,expected:this._def.value}),J}return{status:"valid",value:e.data}}get value(){return this._def.value}}ia.create=(i,e)=>new ia({value:i,typeName:q.ZodLiteral,...K(e)});function Jb(i,e){return new xn({values:i,typeName:q.ZodEnum,...K(e)})}class xn extends Q{constructor(){super(...arguments),zi.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),r=this._def.values;return L(t,{expected:ne.joinValues(r),received:t.parsedType,code:w.invalid_type}),J}if(gs(this,zi,"f")||Ub(this,zi,new Set(this._def.values),"f"),!gs(this,zi,"f").has(e.data)){const t=this._getOrReturnCtx(e),r=this._def.values;return L(t,{received:t.data,code:w.invalid_enum_value,options:r}),J}return ft(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 xn.create(e,{...this._def,...t})}exclude(e,t=this._def){return xn.create(this.options.filter(r=>!e.includes(r)),{...this._def,...t})}}zi=new WeakMap,xn.create=Jb;class aa extends Q{constructor(){super(...arguments),Zi.set(this,void 0)}_parse(e){const t=ne.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==G.string&&r.parsedType!==G.number){const a=ne.objectValues(t);return L(r,{expected:ne.joinValues(a),received:r.parsedType,code:w.invalid_type}),J}if(gs(this,Zi,"f")||Ub(this,Zi,new Set(ne.getValidEnumValues(this._def.values)),"f"),!gs(this,Zi,"f").has(e.data)){const a=ne.objectValues(t);return L(r,{received:r.data,code:w.invalid_enum_value,options:a}),J}return ft(e.data)}get enum(){return this._def.values}}Zi=new WeakMap,aa.create=(i,e)=>new aa({values:i,typeName:q.ZodNativeEnum,...K(e)});class di extends Q{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==G.promise&&t.common.async===!1)return L(t,{code:w.invalid_type,expected:G.promise,received:t.parsedType}),J;const r=t.parsedType===G.promise?t.data:Promise.resolve(t.data);return ft(r.then(a=>this._def.type.parseAsync(a,{path:t.path,errorMap:t.common.contextualErrorMap})))}}di.create=(i,e)=>new di({type:i,typeName:q.ZodPromise,...K(e)});class zt extends Q{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===q.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:r}=this._processInputParams(e),a=this._def.effect||null,s={addIssue:o=>{L(r,o),o.fatal?t.abort():t.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const o=a.transform(r.data,s);if(r.common.async)return Promise.resolve(o).then(async l=>{if(t.value==="aborted")return J;const p=await this._def.schema._parseAsync({data:l,path:r.path,parent:r});return p.status==="aborted"?J:p.status==="dirty"||t.value==="dirty"?si(p.value):p});{if(t.value==="aborted")return J;const l=this._def.schema._parseSync({data:o,path:r.path,parent:r});return l.status==="aborted"?J:l.status==="dirty"||t.value==="dirty"?si(l.value):l}}if(a.type==="refinement"){const o=l=>{const p=a.refinement(l,s);if(r.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(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?J:(l.status==="dirty"&&t.dirty(),o(l.value),{status:t.value,value:l.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>l.status==="aborted"?J:(l.status==="dirty"&&t.dirty(),o(l.value).then(()=>({status:t.value,value:l.value}))))}if(a.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Hi(o))return o;const l=a.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:r.data,path:r.path,parent:r}).then(o=>Hi(o)?Promise.resolve(a.transform(o.value,s)).then(l=>({status:t.value,value:l})):o);ne.assertNever(a)}}zt.create=(i,e,t)=>new zt({schema:i,typeName:q.ZodEffects,effect:e,...K(t)}),zt.createWithPreprocess=(i,e,t)=>new zt({schema:e,effect:{type:"preprocess",transform:i},typeName:q.ZodEffects,...K(t)});class an extends Q{_parse(e){return this._getType(e)===G.undefined?ft(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}an.create=(i,e)=>new an({innerType:i,typeName:q.ZodOptional,...K(e)});class jn extends Q{_parse(e){return this._getType(e)===G.null?ft(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}jn.create=(i,e)=>new jn({innerType:i,typeName:q.ZodNullable,...K(e)});class sa extends Q{_parse(e){const{ctx:t}=this._processInputParams(e);let r=t.data;return t.parsedType===G.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}sa.create=(i,e)=>new sa({innerType:i,typeName:q.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...K(e)});class oa extends Q{_parse(e){const{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Yi(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Dt(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Dt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}oa.create=(i,e)=>new oa({innerType:i,typeName:q.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...K(e)});class As extends Q{_parse(e){if(this._getType(e)!==G.nan){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.nan,received:r.parsedType}),J}return{status:"valid",value:e.data}}}As.create=i=>new As({typeName:q.ZodNaN,...K(i)});const uO=Symbol("zod_brand");class sc extends Q{_parse(e){const{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class la extends Q{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?J:s.status==="dirty"?(t.dirty(),si(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?J:a.status==="dirty"?(t.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(e,t){return new la({in:e,out:t,typeName:q.ZodPipeline})}}class ca extends Q{_parse(e){const t=this._def.innerType._parse(e),r=a=>(Hi(a)&&(a.value=Object.freeze(a.value)),a);return Yi(t)?t.then(a=>r(a)):r(t)}unwrap(){return this._def.innerType}}ca.create=(i,e)=>new ca({innerType:i,typeName:q.ZodReadonly,...K(e)});function Wb(i,e={},t){return i?oi.create().superRefine((r,a)=>{var s,o;if(!i(r)){const l=typeof e=="function"?e(r):typeof e=="string"?{message:e}:e,p=(o=(s=l.fatal)!==null&&s!==void 0?s:t)!==null&&o!==void 0?o:!0,y=typeof l=="string"?{message:l}:l;a.addIssue({code:"custom",...y,fatal:p})}}):oi.create()}const pO={object:qe.lazycreate};var q;(function(i){i.ZodString="ZodString",i.ZodNumber="ZodNumber",i.ZodNaN="ZodNaN",i.ZodBigInt="ZodBigInt",i.ZodBoolean="ZodBoolean",i.ZodDate="ZodDate",i.ZodSymbol="ZodSymbol",i.ZodUndefined="ZodUndefined",i.ZodNull="ZodNull",i.ZodAny="ZodAny",i.ZodUnknown="ZodUnknown",i.ZodNever="ZodNever",i.ZodVoid="ZodVoid",i.ZodArray="ZodArray",i.ZodObject="ZodObject",i.ZodUnion="ZodUnion",i.ZodDiscriminatedUnion="ZodDiscriminatedUnion",i.ZodIntersection="ZodIntersection",i.ZodTuple="ZodTuple",i.ZodRecord="ZodRecord",i.ZodMap="ZodMap",i.ZodSet="ZodSet",i.ZodFunction="ZodFunction",i.ZodLazy="ZodLazy",i.ZodLiteral="ZodLiteral",i.ZodEnum="ZodEnum",i.ZodEffects="ZodEffects",i.ZodNativeEnum="ZodNativeEnum",i.ZodOptional="ZodOptional",i.ZodNullable="ZodNullable",i.ZodDefault="ZodDefault",i.ZodCatch="ZodCatch",i.ZodPromise="ZodPromise",i.ZodBranded="ZodBranded",i.ZodPipeline="ZodPipeline",i.ZodReadonly="ZodReadonly"})(q||(q={}));const yO=(i,e={message:`Input not instance of ${i.name}`})=>Wb(t=>t instanceof i,e),Os=Ht.create,oc=Fn.create,fO=As.create,hO=Un.create,lc=Ki.create,Hb=yr.create,mO=vs.create,TO=Xi.create,Yb=Qi.create,EO=oi.create,Ss=fr.create,bO=Rn.create,RO=Is.create,gO=Yt.create,zb=qe.create,vO=qe.strictCreate,IO=ea.create,DO=Ds.create,PO=ta.create,AO=rn.create,Zb=na.create,OO=Ps.create,SO=hr.create,CO=ci.create,BO=ra.create,wO=ia.create,Kb=xn.create,_O=aa.create,NO=di.create,Xb=zt.create,MO=an.create,VO=jn.create,LO=zt.createWithPreprocess,GO=la.create;var u=Object.freeze({__proto__:null,defaultErrorMap:ai,setErrorMap:YA,getErrorMap:bs,makeIssue:Rs,EMPTY_PATH:zA,addIssueToContext:L,ParseStatus:at,INVALID:J,DIRTY:si,OK:ft,isAborted:nc,isDirty:rc,isValid:Hi,isAsync:Yi,get util(){return ne},get objectUtil(){return tc},ZodParsedType:G,getParsedType:$n,ZodType:Q,datetimeRegex:qb,ZodString:Ht,ZodNumber:Fn,ZodBigInt:Un,ZodBoolean:Ki,ZodDate:yr,ZodSymbol:vs,ZodUndefined:Xi,ZodNull:Qi,ZodAny:oi,ZodUnknown:fr,ZodNever:Rn,ZodVoid:Is,ZodArray:Yt,ZodObject:qe,ZodUnion:ea,ZodDiscriminatedUnion:Ds,ZodIntersection:ta,ZodTuple:rn,ZodRecord:na,ZodMap:Ps,ZodSet:hr,ZodFunction:ci,ZodLazy:ra,ZodLiteral:ia,ZodEnum:xn,ZodNativeEnum:aa,ZodPromise:di,ZodEffects:zt,ZodTransformer:zt,ZodOptional:an,ZodNullable:jn,ZodDefault:sa,ZodCatch:oa,ZodNaN:As,BRAND:uO,ZodBranded:sc,ZodPipeline:la,ZodReadonly:ca,custom:Wb,Schema:Q,ZodSchema:Q,late:pO,get ZodFirstPartyTypeKind(){return q},coerce:{string:i=>Ht.create({...i,coerce:!0}),number:i=>Fn.create({...i,coerce:!0}),boolean:i=>Ki.create({...i,coerce:!0}),bigint:i=>Un.create({...i,coerce:!0}),date:i=>yr.create({...i,coerce:!0})},any:EO,array:gO,bigint:hO,boolean:lc,date:Hb,discriminatedUnion:DO,effect:Xb,enum:Kb,function:CO,instanceof:yO,intersection:PO,lazy:BO,literal:wO,map:OO,nan:fO,nativeEnum:_O,never:bO,null:Yb,nullable:VO,number:oc,object:zb,oboolean:()=>lc().optional(),onumber:()=>oc().optional(),optional:MO,ostring:()=>Os().optional(),pipeline:GO,preprocess:LO,promise:NO,record:Zb,set:SO,strictObject:vO,string:Os,symbol:mO,transformer:Xb,tuple:AO,undefined:TO,union:IO,unknown:Ss,void:RO,NEVER:J,ZodIssueCode:w,quotelessJson:HA,ZodError:Dt});function Qb(i){var a,s,o;if(!(i!=null&&i.dataType))return Ss();const e=i.dataType.isNullable||!1,t=i.dataType.isList||!1;let r=Ss();if(((a=i.dataType.entity)==null?void 0:a.type)===n.PrimitiveEntity)switch(i.dataType.entity.name){case I.String:r=Os();break;case I.KeyValue:r=Zb(Ss());break;case I.Number:r=oc();break;case I.Boolean:r=lc();break;case I.Date:r=Hb();break;case I.Enum:{const l=i.dataType.options||[];if(l.length===0)throw new Error(`Enum property ${i.name} has no options`);r=Kb(l);break}case I.Null:r=Yb();break;case I.UUID:r=Os().uuid();break}else if(((s=i.dataType.entity)==null?void 0:s.type)===n.CustomEntity)r=eR(i.dataType.entity);else throw new Error(`Unsupported data type validation: ${(o=i.dataType.entity)==null?void 0:o.type}`);return e&&(r=r.nullable()),t&&(r=r.array()),r}function eR(i){const e=zb({});for(const t of i.properties){const r=Qb(t);e.shape[t.name]=r}return e}function tR(i){const e=i.rangeStart;return new Date(e.getTime()+Math.random()*(Date.now()-e.getTime()))}function nR(i){const e=i.rangeEnd;return new Date(Math.random()*e.getTime())}function rR(i){const e=i.rangeStart,t=i.rangeEnd;return new Date(e.getTime()+Math.random()*(t.getTime()-e.getTime()))}function iR(i){return i.rangeStart&&i.rangeEnd?rR(i):i.rangeStart?tR(i):i.rangeEnd?nR(i):new Date}function $O(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var aR={},Cs={},Bs={};Object.defineProperty(Bs,"__esModule",{value:!0}),Bs.default=UO;let ws;const FO=new Uint8Array(16);function UO(){if(!ws&&(ws=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ws))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ws(FO)}var kn={},mr={},_s={};Object.defineProperty(_s,"__esModule",{value:!0}),_s.default=void 0;var xO=/^(?:[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;_s.default=xO,Object.defineProperty(mr,"__esModule",{value:!0}),mr.default=void 0;var jO=kO(_s);function kO(i){return i&&i.__esModule?i:{default:i}}function qO(i){return typeof i=="string"&&jO.default.test(i)}var JO=qO;mr.default=JO,Object.defineProperty(kn,"__esModule",{value:!0}),kn.default=void 0,kn.unsafeStringify=sR;var WO=HO(mr);function HO(i){return i&&i.__esModule?i:{default:i}}const it=[];for(let i=0;i<256;++i)it.push((i+256).toString(16).slice(1));function sR(i,e=0){return it[i[e+0]]+it[i[e+1]]+it[i[e+2]]+it[i[e+3]]+"-"+it[i[e+4]]+it[i[e+5]]+"-"+it[i[e+6]]+it[i[e+7]]+"-"+it[i[e+8]]+it[i[e+9]]+"-"+it[i[e+10]]+it[i[e+11]]+it[i[e+12]]+it[i[e+13]]+it[i[e+14]]+it[i[e+15]]}function YO(i,e=0){const t=sR(i,e);if(!(0,WO.default)(t))throw TypeError("Stringified UUID is invalid");return t}var zO=YO;kn.default=zO,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.default=void 0;var ZO=XO(Bs),KO=kn;function XO(i){return i&&i.__esModule?i:{default:i}}let oR,cc,dc=0,uc=0;function QO(i,e,t){let r=e&&t||0;const a=e||new Array(16);i=i||{};let s=i.node||oR,o=i.clockseq!==void 0?i.clockseq:cc;if(s==null||o==null){const R=i.random||(i.rng||ZO.default)();s==null&&(s=oR=[R[0]|1,R[1],R[2],R[3],R[4],R[5]]),o==null&&(o=cc=(R[6]<<8|R[7])&16383)}let l=i.msecs!==void 0?i.msecs:Date.now(),p=i.nsecs!==void 0?i.nsecs:uc+1;const y=l-dc+(p-uc)/1e4;if(y<0&&i.clockseq===void 0&&(o=o+1&16383),(y<0||l>dc)&&i.nsecs===void 0&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");dc=l,uc=p,cc=o,l+=122192928e5;const h=((l&268435455)*1e4+p)%4294967296;a[r++]=h>>>24&255,a[r++]=h>>>16&255,a[r++]=h>>>8&255,a[r++]=h&255;const m=l/4294967296*1e4&268435455;a[r++]=m>>>8&255,a[r++]=m&255,a[r++]=m>>>24&15|16,a[r++]=m>>>16&255,a[r++]=o>>>8|128,a[r++]=o&255;for(let R=0;R<6;++R)a[r+R]=s[R];return e||(0,KO.unsafeStringify)(a)}var eS=QO;Cs.default=eS;var Ns={},qn={},da={};Object.defineProperty(da,"__esModule",{value:!0}),da.default=void 0;var tS=nS(mr);function nS(i){return i&&i.__esModule?i:{default:i}}function rS(i){if(!(0,tS.default)(i))throw TypeError("Invalid UUID");let e;const t=new Uint8Array(16);return t[0]=(e=parseInt(i.slice(0,8),16))>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t[4]=(e=parseInt(i.slice(9,13),16))>>>8,t[5]=e&255,t[6]=(e=parseInt(i.slice(14,18),16))>>>8,t[7]=e&255,t[8]=(e=parseInt(i.slice(19,23),16))>>>8,t[9]=e&255,t[10]=(e=parseInt(i.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 iS=rS;da.default=iS,Object.defineProperty(qn,"__esModule",{value:!0}),qn.URL=qn.DNS=void 0,qn.default=cS;var aS=kn,sS=oS(da);function oS(i){return i&&i.__esModule?i:{default:i}}function lS(i){i=unescape(encodeURIComponent(i));const e=[];for(let t=0;t<i.length;++t)e.push(i.charCodeAt(t));return e}const lR="6ba7b810-9dad-11d1-80b4-00c04fd430c8";qn.DNS=lR;const cR="6ba7b811-9dad-11d1-80b4-00c04fd430c8";qn.URL=cR;function cS(i,e,t){function r(a,s,o,l){var p;if(typeof a=="string"&&(a=lS(a)),typeof s=="string"&&(s=(0,sS.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 y=new Uint8Array(16+a.length);if(y.set(s),y.set(a,s.length),y=t(y),y[6]=y[6]&15|e,y[8]=y[8]&63|128,o){l=l||0;for(let h=0;h<16;++h)o[l+h]=y[h];return o}return(0,aS.unsafeStringify)(y)}try{r.name=i}catch{}return r.DNS=lR,r.URL=cR,r}var Ms={};Object.defineProperty(Ms,"__esModule",{value:!0}),Ms.default=void 0;function dS(i){if(typeof i=="string"){const e=unescape(encodeURIComponent(i));i=new Uint8Array(e.length);for(let t=0;t<e.length;++t)i[t]=e.charCodeAt(t)}return uS(pS(yS(i),i.length*8))}function uS(i){const e=[],t=i.length*32,r="0123456789abcdef";for(let a=0;a<t;a+=8){const s=i[a>>5]>>>a%32&255,o=parseInt(r.charAt(s>>>4&15)+r.charAt(s&15),16);e.push(o)}return e}function dR(i){return(i+64>>>9<<4)+14+1}function pS(i,e){i[e>>5]|=128<<e%32,i[dR(e)-1]=e;let t=1732584193,r=-271733879,a=-1732584194,s=271733878;for(let o=0;o<i.length;o+=16){const l=t,p=r,y=a,h=s;t=st(t,r,a,s,i[o],7,-680876936),s=st(s,t,r,a,i[o+1],12,-389564586),a=st(a,s,t,r,i[o+2],17,606105819),r=st(r,a,s,t,i[o+3],22,-1044525330),t=st(t,r,a,s,i[o+4],7,-176418897),s=st(s,t,r,a,i[o+5],12,1200080426),a=st(a,s,t,r,i[o+6],17,-1473231341),r=st(r,a,s,t,i[o+7],22,-45705983),t=st(t,r,a,s,i[o+8],7,1770035416),s=st(s,t,r,a,i[o+9],12,-1958414417),a=st(a,s,t,r,i[o+10],17,-42063),r=st(r,a,s,t,i[o+11],22,-1990404162),t=st(t,r,a,s,i[o+12],7,1804603682),s=st(s,t,r,a,i[o+13],12,-40341101),a=st(a,s,t,r,i[o+14],17,-1502002290),r=st(r,a,s,t,i[o+15],22,1236535329),t=ot(t,r,a,s,i[o+1],5,-165796510),s=ot(s,t,r,a,i[o+6],9,-1069501632),a=ot(a,s,t,r,i[o+11],14,643717713),r=ot(r,a,s,t,i[o],20,-373897302),t=ot(t,r,a,s,i[o+5],5,-701558691),s=ot(s,t,r,a,i[o+10],9,38016083),a=ot(a,s,t,r,i[o+15],14,-660478335),r=ot(r,a,s,t,i[o+4],20,-405537848),t=ot(t,r,a,s,i[o+9],5,568446438),s=ot(s,t,r,a,i[o+14],9,-1019803690),a=ot(a,s,t,r,i[o+3],14,-187363961),r=ot(r,a,s,t,i[o+8],20,1163531501),t=ot(t,r,a,s,i[o+13],5,-1444681467),s=ot(s,t,r,a,i[o+2],9,-51403784),a=ot(a,s,t,r,i[o+7],14,1735328473),r=ot(r,a,s,t,i[o+12],20,-1926607734),t=lt(t,r,a,s,i[o+5],4,-378558),s=lt(s,t,r,a,i[o+8],11,-2022574463),a=lt(a,s,t,r,i[o+11],16,1839030562),r=lt(r,a,s,t,i[o+14],23,-35309556),t=lt(t,r,a,s,i[o+1],4,-1530992060),s=lt(s,t,r,a,i[o+4],11,1272893353),a=lt(a,s,t,r,i[o+7],16,-155497632),r=lt(r,a,s,t,i[o+10],23,-1094730640),t=lt(t,r,a,s,i[o+13],4,681279174),s=lt(s,t,r,a,i[o],11,-358537222),a=lt(a,s,t,r,i[o+3],16,-722521979),r=lt(r,a,s,t,i[o+6],23,76029189),t=lt(t,r,a,s,i[o+9],4,-640364487),s=lt(s,t,r,a,i[o+12],11,-421815835),a=lt(a,s,t,r,i[o+15],16,530742520),r=lt(r,a,s,t,i[o+2],23,-995338651),t=ct(t,r,a,s,i[o],6,-198630844),s=ct(s,t,r,a,i[o+7],10,1126891415),a=ct(a,s,t,r,i[o+14],15,-1416354905),r=ct(r,a,s,t,i[o+5],21,-57434055),t=ct(t,r,a,s,i[o+12],6,1700485571),s=ct(s,t,r,a,i[o+3],10,-1894986606),a=ct(a,s,t,r,i[o+10],15,-1051523),r=ct(r,a,s,t,i[o+1],21,-2054922799),t=ct(t,r,a,s,i[o+8],6,1873313359),s=ct(s,t,r,a,i[o+15],10,-30611744),a=ct(a,s,t,r,i[o+6],15,-1560198380),r=ct(r,a,s,t,i[o+13],21,1309151649),t=ct(t,r,a,s,i[o+4],6,-145523070),s=ct(s,t,r,a,i[o+11],10,-1120210379),a=ct(a,s,t,r,i[o+2],15,718787259),r=ct(r,a,s,t,i[o+9],21,-343485551),t=Jn(t,l),r=Jn(r,p),a=Jn(a,y),s=Jn(s,h)}return[t,r,a,s]}function yS(i){if(i.length===0)return[];const e=i.length*8,t=new Uint32Array(dR(e));for(let r=0;r<e;r+=8)t[r>>5]|=(i[r/8]&255)<<r%32;return t}function Jn(i,e){const t=(i&65535)+(e&65535);return(i>>16)+(e>>16)+(t>>16)<<16|t&65535}function fS(i,e){return i<<e|i>>>32-e}function Vs(i,e,t,r,a,s){return Jn(fS(Jn(Jn(e,i),Jn(r,s)),a),t)}function st(i,e,t,r,a,s,o){return Vs(e&t|~e&r,i,e,a,s,o)}function ot(i,e,t,r,a,s,o){return Vs(e&r|t&~r,i,e,a,s,o)}function lt(i,e,t,r,a,s,o){return Vs(e^t^r,i,e,a,s,o)}function ct(i,e,t,r,a,s,o){return Vs(t^(e|~r),i,e,a,s,o)}var hS=dS;Ms.default=hS,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.default=void 0;var mS=uR(qn),TS=uR(Ms);function uR(i){return i&&i.__esModule?i:{default:i}}var ES=(0,mS.default)("v3",48,TS.default);Ns.default=ES;var Ls={},Gs={};Object.defineProperty(Gs,"__esModule",{value:!0}),Gs.default=void 0;var bS={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};Gs.default=bS,Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.default=void 0;var pR=yR(Gs),RS=yR(Bs),gS=kn;function yR(i){return i&&i.__esModule?i:{default:i}}function vS(i,e,t){if(pR.default.randomUUID&&!e&&!i)return pR.default.randomUUID();i=i||{};const r=i.random||(i.rng||RS.default)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(let a=0;a<16;++a)e[t+a]=r[a];return e}return(0,gS.unsafeStringify)(r)}var IS=vS;Ls.default=IS;var $s={},Fs={};Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.default=void 0;function DS(i,e,t,r){switch(i){case 0:return e&t^~e&r;case 1:return e^t^r;case 2:return e&t^e&r^t&r;case 3:return e^t^r}}function pc(i,e){return i<<e|i>>>32-e}function PS(i){const e=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof i=="string"){const o=unescape(encodeURIComponent(i));i=[];for(let l=0;l<o.length;++l)i.push(o.charCodeAt(l))}else Array.isArray(i)||(i=Array.prototype.slice.call(i));i.push(128);const r=i.length/4+2,a=Math.ceil(r/16),s=new Array(a);for(let o=0;o<a;++o){const l=new Uint32Array(16);for(let p=0;p<16;++p)l[p]=i[o*64+p*4]<<24|i[o*64+p*4+1]<<16|i[o*64+p*4+2]<<8|i[o*64+p*4+3];s[o]=l}s[a-1][14]=(i.length-1)*8/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=(i.length-1)*8&4294967295;for(let o=0;o<a;++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]=pc(l[v-3]^l[v-8]^l[v-14]^l[v-16],1);let p=t[0],y=t[1],h=t[2],m=t[3],R=t[4];for(let v=0;v<80;++v){const P=Math.floor(v/20),A=pc(p,5)+DS(P,y,h,m)+R+e[P]+l[v]>>>0;R=m,m=h,h=pc(y,30)>>>0,y=p,p=A}t[0]=t[0]+p>>>0,t[1]=t[1]+y>>>0,t[2]=t[2]+h>>>0,t[3]=t[3]+m>>>0,t[4]=t[4]+R>>>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 AS=PS;Fs.default=AS,Object.defineProperty($s,"__esModule",{value:!0}),$s.default=void 0;var OS=fR(qn),SS=fR(Fs);function fR(i){return i&&i.__esModule?i:{default:i}}var CS=(0,OS.default)("v5",80,SS.default);$s.default=CS;var Us={};Object.defineProperty(Us,"__esModule",{value:!0}),Us.default=void 0;var BS="00000000-0000-0000-0000-000000000000";Us.default=BS;var xs={};Object.defineProperty(xs,"__esModule",{value:!0}),xs.default=void 0;var wS=_S(mr);function _S(i){return i&&i.__esModule?i:{default:i}}function NS(i){if(!(0,wS.default)(i))throw TypeError("Invalid UUID");return parseInt(i.slice(14,15),16)}var MS=NS;xs.default=MS,function(i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(i,"parse",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(i,"stringify",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(i,"v1",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(i,"v3",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(i,"v4",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(i,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(i,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(i,"version",{enumerable:!0,get:function(){return o.default}});var e=h(Cs),t=h(Ns),r=h(Ls),a=h($s),s=h(Us),o=h(xs),l=h(mr),p=h(kn),y=h(da);function h(m){return m&&m.__esModule?m:{default:m}}}(aR);function yc(i,e){if(!i||!e||!i.length||!e.length)throw new Error("Bad alphabet");this.srcAlphabet=i,this.dstAlphabet=e}yc.prototype.convert=function(i){var e,t,r,a={},s=this.srcAlphabet.length,o=this.dstAlphabet.length,l=i.length,p=typeof i=="string"?"":[];if(!this.isValid(i))throw new Error('Number "'+i+'" contains of non-alphabetic digits ('+this.srcAlphabet+")");if(this.srcAlphabet===this.dstAlphabet)return i;for(e=0;e<l;e++)a[e]=this.srcAlphabet.indexOf(i[e]);do{for(t=0,r=0,e=0;e<l;e++)t=t*s+a[e],t>=o?(a[r++]=parseInt(t/o,10),t=t%o):r>0&&(a[r++]=0);l=r,p=this.dstAlphabet.slice(t,t+1).concat(p)}while(r!==0);return p},yc.prototype.isValid=function(i){for(var e=0;e<i.length;++e)if(this.srcAlphabet.indexOf(i[e])===-1)return!1;return!0};var VS=yc,LS=VS;function ua(i,e){var t=new LS(i,e);return function(r){return t.convert(r)}}ua.BIN="01",ua.OCT="01234567",ua.DEC="0123456789",ua.HEX="0123456789abcdef";var GS=ua;const{v4:fc,validate:$S}=aR,js=GS,hc={cookieBase90:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~",flickrBase58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",uuid25Base36:"0123456789abcdefghijklmnopqrstuvwxyz"},FS={consistentLength:!0};let mc;const hR=(i,e,t)=>{const r=e(i.toLowerCase().replace(/-/g,""));return!t||!t.consistentLength?r:r.padStart(t.shortIdLength,t.paddingChar)},mR=(i,e)=>{const r=e(i).padStart(32,"0").match(/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/);return[r[1],r[2],r[3],r[4],r[5]].join("-")},US=i=>Math.ceil(Math.log(2**128)/Math.log(i));var xS=(()=>{const i=(e,t)=>{const r=e||hc.flickrBase58,a={...FS,...t};if([...new Set(Array.from(r))].length!==r.length)throw new Error("The provided Alphabet has duplicate characters resulting in unreliable results");const s=US(r.length),o={shortIdLength:s,consistentLength:a.consistentLength,paddingChar:r[0]},l=js(js.HEX,r),p=js(r,js.HEX),y=()=>hR(fc(),l,o),m={alphabet:r,fromUUID:R=>hR(R,l,o),maxLength:s,generate:y,new:y,toUUID:R=>mR(R,p),uuid:fc,validate:(R,v=!1)=>{if(!R||typeof R!="string")return!1;const P=a.consistentLength?R.length===s:R.length<=s,A=R.split("").every(D=>r.includes(D));return v===!1?P&&A:P&&A&&$S(mR(R,p))}};return Object.freeze(m),m};return i.constants=hc,i.uuid=fc,i.generate=()=>(mc||(mc=i(hc.flickrBase58).generate),mc()),i})();const ks=$O(xS);function TR(){return ks().uuid()}function ER(i){return i.rangeStart+Math.random()}function bR(i){const e=i.rangeEnd;return Math.random()*e}function RR(i){const e=i.rangeStart,t=i.rangeEnd;return Math.random()*(t-e)+e}function gR(i){return i.rangeStart&&i.rangeEnd?RR(i):i.rangeStart?ER(i):i.rangeEnd?bR(i):Math.random()}function vR(i){const e=i.rangeStart;return Math.random().toString(36).substring(e)}function IR(i){const e=i.rangeEnd;return Math.random().toString(36).substring(0,e)}function DR(i){const e=i.rangeStart,t=i.rangeEnd;return Math.random().toString(36).substring(e,t)}function PR(i){return i.rangeStart&&i.rangeEnd?DR(i):i.rangeStart?vR(i):i.rangeEnd?IR(i):Math.random().toString(36)}function AR(i){return Math.random()>=.5}function jS(i){if(!i||!i.autogeneration)return null;switch(i.autogeneration.type){case je.CurrentDateAndTime:if(i.name===I.Date)return new Date;case je.Random:{if(i.name===I.Date)return iR(i.autogeneration);if(i.name===I.Number)return gR(i.autogeneration);if(i.name===I.String)return PR(i.autogeneration);if(i.name===I.Boolean)return AR(i.autogeneration)}case je.Unique:if(i.name===I.UUID)return TR();default:throw new Error(`Generating a ${i.autogeneration.type} value for a ${i.name} is not supported`)}}const W="e7eb5382-3d99-44fd-972a-b8b1e819f6be",Tc="global-user-variable-id",Ec="last-executed-timestamp-variable-id",kS={id:"alternative-relational-database-entity-identifier-property-data-type-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-identifier-property-id",entityType:n.ValueDescriptor},qS={id:"alternative-relational-database-entity-identifier-property-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-identifier-property-id",entityType:n.Property},JS={like:!1,inferred:!1,id:"alternative-relational-database-entity-identifier-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:qS},qs={id:"alternative-relational-database-entity-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},WS={hidden:!1,required:!0,id:"alternative-relational-database-entity-identifier-property-id",name:"Identifier name",version:1,type:n.Property,private:!1,abstract:!1,implements:fs,static:!0,index:0,defaultValue:{id:"alternative-relational-database-entity-identifier-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.String,value:null,parent:kS,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:JS,description:"The name of the main database inside of the server instance where the data will be stored.",parent:qs};n.GenericReference,n.ValueDescriptor;const HS={id:"alternative-relational-database-entity-username-property-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-username-property-id",entityType:n.Property},YS={like:!1,inferred:!1,id:"alternative-relational-database-entity-username-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:HS},zS={hidden:!1,required:!0,id:"alternative-relational-database-entity-username-property-id",name:"Username",version:1,type:n.Property,private:!1,abstract:!1,implements:hs,static:!0,index:1,defaultValue:null,dataType:YS,description:"The username that will be used to connect to the database.",parent:qs};n.GenericReference,n.ValueDescriptor;const ZS={id:"alternative-relational-database-entity-password-property-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-password-property-id",entityType:n.Property},KS={like:!1,inferred:!1,id:"alternative-relational-database-entity-password-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:ZS},XS={hidden:!1,required:!0,id:"alternative-relational-database-entity-password-property-id",name:"Password",version:1,type:n.Property,private:!1,abstract:!1,implements:ms,static:!0,index:2,defaultValue:null,dataType:KS,description:"The password that will be used to connect to the database.",parent:qs},QS={id:"alternative-relational-database-entity-min-size-property-data-type-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-min-size-property-id",entityType:n.ValueDescriptor},eC={id:"alternative-relational-database-entity-min-size-property-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-min-size-property-id",entityType:n.Property},tC={like:!1,inferred:!1,id:"alternative-relational-database-entity-min-size-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:eC},nC={hidden:!1,required:!0,id:"alternative-relational-database-entity-min-size-property-id",name:"Minimum GB size",version:1,type:n.Property,private:!1,abstract:!1,implements:Ts,static:!0,index:3,defaultValue:{id:"alternative-relational-database-entity-min-size-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.Number,value:6,parent:QS,autogeneration:null,valueAsType:null},dataType:tC,description:"The minimum size of the database in GB.",parent:qs},rC={id:"alternative-relational-database-entity-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},bc={id:"alternative-relational-database-entity-id",type:n.CustomEntity,version:1,name:"Alternative relational Database",description:"A database that permanently stores the persisted entities attached to it.",abstract:!1,static:!0,properties:[WS,zS,XS,nC],methods:[],abstractMethods:[],extends:[],implements:[bn],x:0,y:0,parent:rC},iC={id:"animal-prototype-database-property-ref-id",type:n.GenericReference,entityId:"animal-prototype-database-property-id",entityType:n.Property},aC={id:"animal-prototype-database-property-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:"animal-prototype-database-property-id",entityType:n.Property},sC={like:!1,inferred:!1,id:"animal-prototype-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:bn,asType:!1,parent:iC},oC={id:"animal-prototype-database-property-parent-ref-id",type:n.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:n.CustomEntity},lC={hidden:!1,required:!0,id:"animal-prototype-database-property-id",name:"Database",version:1,type:n.Property,private:!1,abstract:!1,implements:ti,static:!0,index:0,defaultValue:{id:"animal-prototype-database-property-data-type-default-value-id",type:n.LiteralValue,version:1,value:null,name:I.EntityTemplate,valueAsType:bc,autogeneration:null,parent:aC},dataType:sC,description:"The database that the entity belongs to.",parent:oC},cC={type:n.GenericReference,id:"291e4d4f-01d8-40a0-90dc-5f1ac6636e9b",entityType:n.Property,entityId:"5cb617b0-92be-4dbe-a007-49093368d94f"},dC={like:!1,inferred:!1,id:"c1930577-9e79-48a6-8905-be24611015c1",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:cC},uC={type:n.GenericReference,id:"animal-name-property-parent-ref-id",entityType:n.CustomEntity,entityId:"83eaa847-e62b-4192-84fb-3d8d6f5ea970"},pC={hidden:!1,required:!0,type:n.Property,id:"5cb617b0-92be-4dbe-a007-49093368d94f",version:1,name:"Name",description:"The name of the animal",defaultValue:null,implements:ni,static:!1,private:!1,index:0,dataType:dC,abstract:!1,parent:uC},yC={type:n.GenericReference,id:"abc565de-4c83-4936-bc48-4013bef213b8",entityType:n.Project,entityId:W},fC={type:n.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:[lC,pC],methods:[],extends:[],implements:[rt],x:0,y:0,parent:yC},pa="base-table-entity",OR="base-table-entity-identifier-property-id";n.GenericReference,n.Property,n.GenericReference,n.Property;const hC={id:"base-table-entity-identifier-property-data-type-ref-id",type:n.GenericReference,entityId:OR,entityType:n.Property},mC={id:"base-table-entity-identifier-property-ref-id",type:n.GenericReference,entityId:"base-table-entity-identifier-property-id",entityType:n.Property},TC={like:!1,inferred:!1,id:"base-table-entity-identifier-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parent:mC},EC={id:"base-table-entity-identifier-property-parent-ref-id",type:n.GenericReference,entityId:pa,entityType:n.CustomEntity};n.Property,n.LiteralValue,I.UUID,je.Unique,n.GenericReference,n.Property;const bC={id:"base-table-entity-deleted-at-property-ref-id",type:n.GenericReference,entityId:"base-table-entity-deleted-at-property-id",entityType:n.Property},RC={like:!1,inferred:!1,id:"base-table-entity-deleted-at-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!0,constant:!1,entity:mn,asType:!1,parent:bC},gC={id:"base-table-entity-deleted-at-property-parent-ref-id",type:n.GenericReference,entityId:pa,entityType:n.CustomEntity},vC={hidden:!0,required:!0,id:"base-table-entity-deleted-at-property-id",name:"Deleted at",version:1,type:n.Property,private:!1,abstract:!0,implements:null,static:!1,index:0,defaultValue:null,dataType:RC,description:"The date and time when the entity was deleted.",parent:gC};n.GenericReference,n.Property;const IC={id:"base-table-entity-created-at-property-ref-id",type:n.GenericReference,entityId:"base-table-entity-created-at-property-id",entityType:n.Property},DC={like:!1,inferred:!1,id:"base-table-entity-created-at-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:mn,asType:!1,parent:IC},PC={id:"base-table-entity-created-at-property-parent-ref-id",type:n.GenericReference,entityId:pa,entityType:n.CustomEntity},AC={hidden:!0,required:!0,id:"base-table-entity-created-at-property-id",name:"Created at",version:1,type:n.Property,private:!1,abstract:!0,implements:null,static:!1,index:0,defaultValue:null,dataType:DC,description:"The date and time when the entity was created.",parent:PC};n.GenericReference,n.Property;const OC={id:"base-table-entity-updated-at-property-ref-id",type:n.GenericReference,entityId:"base-table-entity-updated-at-property-id",entityType:n.Property},SC={like:!1,inferred:!1,id:"base-table-entity-updated-at-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:mn,asType:!1,parent:OC},CC={id:"base-table-entity-updated-at-property-parent-ref-id",type:n.GenericReference,entityId:pa,entityType:n.CustomEntity},BC={hidden:!0,required:!0,id:"base-table-entity-updated-at-property-id",name:"Updated at",version:1,type:n.Property,private:!1,implements:null,abstract:!0,static:!1,index:0,defaultValue:null,dataType:SC,description:"The date and time when the entity was last updated.",parent:CC},wC={id:"base-table-entity-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},_t={id:pa,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:n.CustomEntity,abstract:!0,static:!1,abstractMethods:[],implements:[],properties:[vC,AC,BC],methods:[],extends:[],x:0,y:0,parent:wC},_C={id:"default-relational-database-entity-identifier-property-data-type-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-identifier-property-id",entityType:n.Property},NC={id:"default-relational-database-entity-identifier-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-identifier-property-id",entityType:n.Property},MC={like:!1,inferred:!1,id:"default-relational-database-entity-identifier-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:NC},ui={id:"default-relational-database-entity-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},VC={id:"default-relational-database-entity-identifier-property-id",hidden:!1,required:!0,name:"Identifier name",version:1,type:n.Property,private:!1,abstract:!1,implements:fs,static:!0,index:0,defaultValue:{id:"default-relational-database-entity-identifier-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.String,value:"main",parent:_C,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:MC,description:"The name of the main database inside of the server instance where the data will be stored.",parent:ui};n.GenericReference,n.Property;const LC={id:"default-relational-database-entity-username-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-username-property-id",entityType:n.Property},GC={id:"default-relational-database-entity-username-property-default-value-parent-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-username-property-id",entityType:n.Property},$C={like:!1,inferred:!1,id:"default-relational-database-entity-username-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:LC},FC={hidden:!1,required:!0,id:"default-relational-database-entity-username-property-id",name:"Username",version:1,type:n.Property,private:!1,abstract:!1,implements:hs,defaultValue:{id:"default-relational-database-entity-username-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.String,value:"root",parent:GC,autogeneration:null,valueAsType:null},static:!0,index:1,dataType:$C,description:"The username that will be used to connect to the database.",parent:ui};n.GenericReference,n.Property;const UC={id:"default-relational-database-entity-password-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-password-property-id",entityType:n.Property},xC={id:"default-relational-database-entity-password-property-default-value-parent-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-password-property-id",entityType:n.Property},jC={like:!1,inferred:!1,id:"default-relational-database-entity-password-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:UC},kC={hidden:!1,required:!0,id:"default-relational-database-entity-password-property-id",name:"Password",version:1,type:n.Property,private:!1,abstract:!1,implements:ms,static:!0,index:2,defaultValue:{id:"default-relational-database-entity-password-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.String,value:"password",parent:xC,autogeneration:null,valueAsType:null},dataType:jC,description:"The password that will be used to connect to the database.",parent:ui},qC={id:"default-relational-database-entity-min-size-property-data-type-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-min-size-property-id",entityType:n.Property},JC={id:"default-relational-database-entity-min-size-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-min-size-property-id",entityType:n.Property},WC={like:!1,inferred:!1,id:"default-relational-database-entity-min-size-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:JC},HC={hidden:!1,required:!0,id:"default-relational-database-entity-min-size-property-id",name:"Minimum GB size",version:1,type:n.Property,private:!1,abstract:!1,implements:Ts,static:!0,index:3,defaultValue:{id:"default-relational-database-entity-min-size-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.Number,value:6,parent:qC,autogeneration:null,valueAsType:null},dataType:WC,description:"The minimum size of the database in GB.",parent:ui},YC={id:"default-relational-database-entity-default-property-data-type-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-default-property-id",entityType:n.Property},zC={id:"default-relational-database-entity-default-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-default-property-id",entityType:n.Property},ZC={like:!1,inferred:!1,id:"default-relational-database-entity-default-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:zC},KC={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:n.Property,private:!1,abstract:!1,implements:Wl,static:!0,index:4,dataType:ZC,defaultValue:{id:"default-relational-database-entity-default-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.Boolean,value:!0,parent:YC,autogeneration:null,valueAsType:null},parent:ui},XC={id:"default-relational-database-entity-autoscaling-property-data-type-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-autoscaling-property-id",entityType:n.Property},QC={id:"default-relational-database-entity-autoscaling-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-autoscaling-property-id",entityType:n.Property},eB={like:!1,inferred:!1,id:"default-relational-database-entity-autoscaling-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:QC},tB={id:"default-relational-database-entity-autoscaling-property-id",hidden:!1,required:!0,name:"Auto-scaling",version:1,type:n.Property,private:!1,abstract:!1,implements:Hl,static:!0,index:5,defaultValue:{id:"default-relational-database-entity-autoscaling-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.Boolean,value:!0,parent:XC,autogeneration:null,valueAsType:null},dataType:eB,description:"If true, this database will automatically scale up or down in memory size, based on the usage.s",parent:ui},nB={id:"default-relational-database-entity-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},Rc={id:"default-relational-database-entity-id",type:n.CustomEntity,version:1,name:"Relational Database",description:"A database that permanently stores the persisted entities attached to it.",abstract:!1,static:!0,properties:[KC,tB,VC,FC,kC,HC],methods:[],abstractMethods:[],extends:[],implements:[bn],x:0,y:0,parent:nB},rB={id:"user-prototype-database-property-data-type-ref-id",type:n.GenericReference,entityId:"user-prototype-database-property-id",entityType:n.Property},iB={id:"user-prototype-database-property-ref-id",type:n.GenericReference,entityId:"user-prototype-database-property-id",entityType:n.Property},aB={like:!1,inferred:!1,id:"user-prototype-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:bn,asType:!1,parent:iB},sB={id:"user-prototype-database-property-parent-ref-id",type:n.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:n.CustomEntity},oB={hidden:!1,required:!0,id:"user-prototype-database-property-id",name:"Database",version:1,type:n.Property,private:!1,abstract:!1,implements:ti,static:!0,index:0,defaultValue:{id:"user-prototype-database-property-data-type-default-value-id",type:n.LiteralValue,version:1,value:null,name:I.EntityTemplate,valueAsType:Rc,autogeneration:null,parent:rB},dataType:aB,description:"The database that the entity belongs to.",parent:sB},lB={type:n.GenericReference,id:"user-prototype-parent-ref-id",entityType:n.Project,entityId:W},cB={id:"user-prototype-primary-key-property-data-type-ref-id",type:n.GenericReference,entityId:"user-prototype-primary-key-property-id",entityType:n.Property},dB={id:"user-prototype-primary-key-property-ref-id",type:n.GenericReference,entityId:"user-prototype-primary-key-property-id",entityType:n.Property},uB={like:!1,inferred:!1,id:"user-prototype-primary-key-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parent:dB},pB={id:"user-prototype-primary-key-property-parent-ref-id",type:n.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:n.CustomEntity},yB={hidden:!1,required:!0,id:"user-prototype-primary-key-property-id",name:"Identifier",version:1,type:n.Property,private:!1,abstract:!1,implements:ni,static:!1,index:1,defaultValue:{id:"user-prototype-primary-key-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.UUID,value:null,parent:cB,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:uB,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:pB},gc={type:n.CustomEntity,id:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",version:1,name:"User",description:"A user of the application",implements:[rt,_t],abstract:!1,static:!1,abstractMethods:[],extends:[],properties:[oB,yB],methods:[],x:0,y:0,parent:lB},fB={type:n.GenericReference,id:"person-date-of-birth-property-data-type-parent-ref-id",entityType:n.Property,entityId:"person-date-of-birth-property-id"},hB={like:!1,inferred:!1,id:"person-date-of-birth-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:mn,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:fB},mB={type:n.GenericReference,id:"person-date-of-birth-property-parent-ref-id",entityType:n.CustomEntity,entityId:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416"},TB={hidden:!1,required:!0,type:n.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:hB,abstract:!1,parent:mB},EB={type:n.GenericReference,id:"a2867827-2f8e-4c25-b18b-d91857d7f24e",entityType:n.Property,entityId:"cacfec92-46c3-4fca-a1d9-fd1ba94d78c7"},bB={like:!1,inferred:!1,id:"1d49f41b-17b9-4f48-87aa-3ce43498e5a9",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:EB},RB={type:n.GenericReference,id:"01cbe760-40a9-4f49-8e3d-194d2f57cb1e",entityType:n.CustomEntity,entityId:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416"},gB={hidden:!1,required:!0,type:n.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:bB,abstract:!1,parent:RB},vB={type:n.GenericReference,id:"3542b22a-3a2f-41c6-876e-24c885572498",entityType:n.Project,entityId:W},ht={type:n.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:[gB,TB],abstract:!1,static:!1,abstractMethods:[],methods:[],implements:[],extends:[gc],x:0,y:0,parent:vB},IB={type:n.GenericReference,id:"b59c80b7-b2e9-41e9-abcd-7c5652835efc",entityType:n.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},DB={type:n.GenericReference,id:"1190b5a2-f25e-46db-884d-8a3dd1a44d94",entityType:n.ReturnStatement,entityId:"3ebc4342-c9e8-42e7-a61c-7937081e1d2e"},PB={type:n.GenericReference,id:"36c63126-7814-496f-a6cc-48662c2aabae",entityType:n.ArgumentDeclaration,entityId:"500dee3a-3435-4453-9699-0d053f646523"},AB={type:n.GenericReference,id:"c567e55d-ec12-4e4e-958e-f07522892b4b",entityType:n.ReturnDeclaration,entityId:"9e070523-7e07-4100-8637-960a187f5f14"},OB={like:!1,inferred:!1,id:"3973c5a1-f0d8-49a0-a9a9-a0009bf3f0d8",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:AB},vc={isError:!1,id:"9e070523-7e07-4100-8637-960a187f5f14",type:n.ReturnDeclaration,version:1,name:"Output Account Owner",description:null,defaultValue:null,dataType:OB,implements:null,readsValue:PB,required:!0,index:0,parent:DB},SB={type:n.GenericReference,id:"567d923c-20da-4c1e-956d-962ea30c6d0b",entityType:n.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},CB={type:n.GenericReference,id:"da85e620-59f3-42ab-88c8-b38d33c2c833",entityType:n.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},SR={type:n.ReturnStatement,id:"3ebc4342-c9e8-42e7-a61c-7937081e1d2e",version:1,outputs:[vc],calledByError:[],calledByEntry:[SB],calledBySuccess:[],throws:null,x:0,y:0,parent:CB},BB={type:n.GenericReference,id:"1c806bb7-4c25-4bad-963b-93dfbb7c8304",entityType:n.ArgumentDeclaration,entityId:"500dee3a-3435-4453-9699-0d053f646523"},wB={like:!1,inferred:!1,id:"d90fcc18-642b-433c-8fcb-4094b9031cd5",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:BB},CR={id:"500dee3a-3435-4453-9699-0d053f646523",type:n.ArgumentDeclaration,version:1,name:"New Account Owner",description:null,defaultValue:null,dataType:wB,implements:null,required:!0,writesValues:[vc],index:0,parent:IB},_B={type:n.GenericReference,id:"83dceb60-f3c4-4085-824c-85f2003bfd27",entityType:n.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},BR={type:n.FunctionDeclaration,id:"36f29f96-c001-4b9a-b49c-83eff406a060",version:1,name:"Change owner of bank account",description:null,implements:null,inputs:[CR],calls:[SR],returnStatements:[SR],index:0,collapsed:!1,private:!1,x:0,y:0,parent:_B},NB={type:n.GenericReference,id:"adbaf302-ffa9-49b6-a3c6-83f9a75068e3",entityType:n.VariableDeclaration,entityId:"8e36a476-766e-4cc2-a8a7-27a07dfb5a4b"},MB={like:!1,inferred:!1,id:"79ee04aa-1ba4-4ae9-a406-ed45e5b03f7f",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:NB},VB={type:n.GenericReference,id:"55e212d1-f0ec-4bb6-acbe-60f741367daf",entityType:n.OutputMap,entityId:"dc9ddb8f-02a0-4a43-aea6-270ec7b7f8a4"},LB={type:n.GenericReference,id:"944e1171-3d9b-4559-9386-1d4974b15962",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},GB={id:"8e36a476-766e-4cc2-a8a7-27a07dfb5a4b",type:n.VariableDeclaration,version:1,name:"Output Account Owner",description:null,defaultValue:null,dataType:MB,readsValue:VB,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:LB},$B={type:n.GenericReference,id:"b89ebc83-52cf-4447-a5ae-62241f713079",entityType:n.FunctionCall,entityId:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e"},FB={id:"dc9ddb8f-02a0-4a43-aea6-270ec7b7f8a4",type:n.OutputMap,version:1,declaration:vc,defaultValue:null,writesValues:[GB],index:0,parent:$B},UB={type:n.GenericReference,id:"c1b9e125-1aad-48b7-9687-95c57a6bc10d",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},xB={type:n.GenericReference,id:"d2deaa02-e164-4425-905c-6dee47eb4eac",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},jB={type:n.GenericReference,id:"1109a655-ac62-4110-a933-42a72106f4f0",entityType:n.VariableDeclaration,entityId:"8bea6986-8da2-487b-905d-2fb962db6728"},kB={like:!1,inferred:!1,id:"7d9a1307-512e-42ec-9797-2f7229796b97",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:jB},qB={type:n.GenericReference,id:"bb61ebf7-57b3-4d14-905d-82ec907205b5",entityType:n.ArgumentDeclaration,entityId:"38f6b236-98ac-47b0-ab9c-d2f9610137b9"},JB={type:n.GenericReference,id:"6b8c7bf2-9fc8-4ea4-9ec0-f41679d513b1",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},WB={type:n.GenericReference,id:"6163d1a1-7a94-49b1-95bb-aecd8d6d335c",entityType:n.FunctionCall,entityId:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e"},HB={type:n.GenericReference,id:"1f900f62-4bd2-4246-94aa-b8f5aad384fd",entityType:n.VariableDeclaration,entityId:"8bea6986-8da2-487b-905d-2fb962db6728"},wR={id:"be8538be-e6f9-4b94-9314-a546003ebaa0",type:n.InputMap,version:1,declaration:CR,name:null,description:null,readsValue:HB,defaultValue:null,index:0,parent:WB},YB={type:n.VariableDeclaration,id:"8bea6986-8da2-487b-905d-2fb962db6728",version:1,name:"Changed Account Owner",description:null,defaultValue:null,dataType:kB,readsValue:qB,writesValues:[wR],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:JB},zB={type:n.FunctionCall,id:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e",version:1,declaration:BR,inputs:[wR],outputs:[FB],process:null,successCalls:[],errorCalls:[],calledByError:[],calledByEntry:[UB],calledBySuccess:[],parent:xB,error:null,x:0,y:0},ZB={type:n.GenericReference,id:"2d47aba1-a918-46a7-8db7-78809928654a",entityType:n.ArgumentDeclaration,entityId:"38f6b236-98ac-47b0-ab9c-d2f9610137b9"},KB={like:!1,inferred:!1,id:"5583766c-e9a5-484c-8f43-f4b0a6a1876c",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ZB},XB={type:n.GenericReference,id:"3e2a81e4-55b2-49f5-94eb-39135e95c3d7",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},QB={id:"38f6b236-98ac-47b0-ab9c-d2f9610137b9",type:n.ArgumentDeclaration,version:1,description:null,name:"New Company Owner",defaultValue:null,dataType:KB,implements:null,required:!0,index:0,writesValues:[YB],parent:XB},ew={type:n.GenericReference,id:"30291b01-1b94-4d03-b434-dec122c2bc7d",entityType:n.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},tw={type:n.FunctionDeclaration,id:"15ee556d-681f-47de-a31f-16d4ba73cc4e",version:1,description:null,name:"Change Account Owner",inputs:[QB],collapsed:!0,returnStatements:[],calls:[zB],private:!1,index:0,implements:null,x:0,y:0,parent:ew},nw={type:n.GenericReference,id:"72c7ac0a-886e-4e10-b7ed-2f5a819a0233",entityType:n.Property,entityId:"b8f4656a-2b77-43ab-af51-7c32ddede044"},rw={like:!1,inferred:!1,id:"c09dd282-73f6-4077-a467-b66db20b9fc6",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:nw},iw={type:n.GenericReference,id:"8a950024-512c-4580-81db-a705410aeb99",entityType:n.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},aw={hidden:!1,required:!0,type:n.Property,id:"b8f4656a-2b77-43ab-af51-7c32ddede044",version:1,name:"Account number",description:null,private:!0,defaultValue:null,implements:ni,static:!1,index:0,dataType:rw,abstract:!1,parent:iw},sw={type:n.GenericReference,id:"b6704b6c-c3bd-49d0-8ebc-82d03e726cbb",entityType:n.Property,entityId:"733d06a6-b8c5-44f3-a1f7-a8c9bd9e44ea"},ow={like:!1,inferred:!1,id:"c03e0b0a-88ab-401a-8833-4806738bdc37",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:sw},lw={type:n.GenericReference,id:"1ef999a7-e9ed-406a-866e-e58277fc985b",entityType:n.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},cw={hidden:!1,required:!0,type:n.Property,id:"733d06a6-b8c5-44f3-a1f7-a8c9bd9e44ea",version:1,description:null,name:"Account Owner",index:1,defaultValue:null,dataType:ow,implements:null,static:!1,private:!0,abstract:!1,parent:lw},dw={type:n.GenericReference,id:"d41d7f41-98b8-4f67-be92-c349fdda5156",entityType:n.Project,entityId:W},pi={type:n.CustomEntity,id:"506946aa-30da-48e6-918f-ffd9eac58813",version:1,name:"Bank Account",description:null,abstract:!1,static:!1,abstractMethods:[],properties:[aw,cw],methods:[BR,tw],extends:[],implements:[rt,_t],x:0,y:0,parent:dw},ya="bitcoin-api-response-id",_R="time-property-id",NR="disclaimer-property-id",MR="chart-name-property-id",VR="bpi-property-id",Js="bpi-entity-id",LR="usd-property-id",GR="gbp-property-id",$R="eur-property-id",yi="currency-entity-id",FR="currency-code-property-id",UR="currency-symbol-property-id",xR="currency-rate-property-id",jR="currency-description-property-id",kR="currency-rate-number-property-id",uw={type:n.GenericReference,id:"code-property-data-type-parent-ref-id",entityType:n.Property,entityId:FR},pw={like:!1,inferred:!1,id:"code-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Vn,isList:!1,asType:!1,isNullable:!1,options:["USD","GBP","EUR"],constant:!1,parent:uw},yw={type:n.GenericReference,id:"code-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},fw={hidden:!1,required:!0,type:n.Property,id:FR,version:1,name:"code",description:null,defaultValue:null,dataType:pw,index:0,implements:null,static:!1,private:!1,abstract:!1,parent:yw},hw={type:n.GenericReference,id:"symbol-property-data-type-parent-ref-id",entityType:n.Property,entityId:UR},mw={like:!1,inferred:!1,id:"symbol-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Vn,isList:!1,asType:!1,isNullable:!1,options:["&#36;","&pound;","&euro;"],constant:!1,parent:hw},Tw={type:n.GenericReference,id:"symbol-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},Ew={hidden:!1,required:!0,type:n.Property,id:UR,version:1,name:"symbol",description:null,index:0,defaultValue:null,dataType:mw,implements:null,static:!1,private:!1,abstract:!1,parent:Tw},bw={type:n.GenericReference,id:"rate-property-data-type-parent-ref-id",entityType:n.Property,entityId:xR},Rw={like:!1,inferred:!1,id:"rate-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:bw},gw={type:n.GenericReference,id:"rate-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},vw={hidden:!1,required:!0,type:n.Property,id:xR,version:1,name:"rate",description:null,index:0,defaultValue:null,dataType:Rw,implements:null,static:!1,private:!1,abstract:!1,parent:gw},Iw={type:n.GenericReference,id:"description-property-data-type-parent-ref-id",entityType:n.Property,entityId:jR},Dw={like:!1,inferred:!1,id:"description-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Iw},Pw={type:n.GenericReference,id:"description-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},Aw={hidden:!1,required:!0,type:n.Property,id:jR,version:1,name:"description",description:null,defaultValue:null,dataType:Dw,implements:null,static:!1,index:0,private:!1,abstract:!1,parent:Pw},Ow={type:n.GenericReference,id:"rate-number-property-data-type-parent-ref-id",entityType:n.Property,entityId:kR},Sw={like:!1,inferred:!1,id:"rate-number-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Ow},Cw={type:n.GenericReference,id:"rate-number-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},Bw={hidden:!1,required:!0,type:n.Property,id:kR,version:1,name:"rate_float",description:null,defaultValue:null,dataType:Sw,implements:null,static:!1,index:0,private:!1,abstract:!1,parent:Cw},ww={type:n.GenericReference,id:"currency-prototype-parent-ref-id",entityType:n.Project,entityId:W},Ws={type:n.CustomEntity,id:yi,version:1,name:"Currency",description:"This entity describes a currency in the Bitcoin Price Index.",properties:[fw,Ew,vw,Aw,Bw],static:!1,abstract:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:ww},_w={type:n.GenericReference,id:"usd-property-data-type-parent-ref-id",entityType:n.Property,entityId:LR},Nw={like:!1,inferred:!1,id:"usd-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ws,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:_w},Mw={type:n.GenericReference,id:"usd-property-parent-ref-id",entityType:n.CustomEntity,entityId:Js},Vw={hidden:!1,required:!0,id:LR,type:n.Property,version:1,name:"USD",description:null,index:0,dataType:Nw,defaultValue:null,implements:null,static:!1,private:!1,abstract:!1,parent:Mw},Lw={type:n.GenericReference,id:"gbp-property-data-type-parent-ref-id",entityType:n.Property,entityId:GR},Gw={like:!1,inferred:!1,id:"gbp-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ws,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Lw},$w={type:n.GenericReference,id:"gbp-property-parent-ref-id",entityType:n.CustomEntity,entityId:Js},Fw={hidden:!1,required:!0,id:GR,type:n.Property,version:1,name:"GBP",description:null,index:0,dataType:Gw,defaultValue:null,implements:null,static:!1,private:!1,abstract:!1,parent:$w},Uw={type:n.GenericReference,id:"eur-property-data-type-parent-ref-id",entityType:n.Property,entityId:$R},xw={like:!1,inferred:!1,id:"eur-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ws,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Uw},jw={type:n.GenericReference,id:"eur-property-parent-ref-id",entityType:n.CustomEntity,entityId:Js},kw={hidden:!1,required:!0,id:$R,type:n.Property,version:1,name:"EUR",description:null,implements:null,static:!1,index:0,defaultValue:null,dataType:xw,private:!1,abstract:!1,parent:jw},qw={type:n.GenericReference,id:"bpi-prototype-parent-ref-id",entityType:n.Project,entityId:W},qR={type:n.CustomEntity,id:Js,version:1,name:"BPI",description:"The Bitcoin Price Index",properties:[Vw,Fw,kw],abstract:!1,static:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:qw},Jw={type:n.GenericReference,id:"time-property-data-type-parent-ref-id",entityType:n.Property,entityId:_R},Ww={like:!1,inferred:!1,id:"time-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Fi,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Jw},Hw={type:n.GenericReference,id:"time-property-parent-ref-id",entityType:n.CustomEntity,entityId:ya},Yw={hidden:!1,required:!0,type:n.Property,id:_R,version:1,name:"time",description:null,index:0,defaultValue:null,dataType:Ww,implements:null,static:!1,private:!1,abstract:!1,parent:Hw},zw={type:n.GenericReference,id:"disclaimer-property-data-type-parent-ref-id",entityType:n.Property,entityId:NR},Zw={like:!1,inferred:!1,id:"disclaimer-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:zw},Kw={type:n.GenericReference,id:"disclaimer-property-parent-ref-id",entityType:n.CustomEntity,entityId:ya},Xw={hidden:!1,required:!0,type:n.Property,id:NR,version:1,name:"disclaimer",description:null,index:0,defaultValue:null,dataType:Zw,implements:null,static:!1,private:!1,abstract:!1,parent:Kw},Qw={type:n.GenericReference,id:"chart-name-property-data-type-parent-ref-id",entityType:n.Property,entityId:MR},e_={like:!1,inferred:!1,id:"chart-name-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Qw},t_={type:n.GenericReference,id:"chart-name-property-parent-ref-id",entityType:n.CustomEntity,entityId:ya},n_={hidden:!1,required:!0,type:n.Property,id:MR,version:1,name:"chartName",description:null,index:0,defaultValue:null,dataType:e_,implements:null,static:!1,private:!1,abstract:!1,parent:t_},r_={type:n.GenericReference,id:"bpi-property-data-type-parent-ref-id",entityType:n.Property,entityId:VR},i_={like:!1,inferred:!1,id:"bpi-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:qR,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:r_},a_={type:n.GenericReference,id:"bpi-property-parent-ref-id",entityType:n.CustomEntity,entityId:ya},s_={hidden:!1,required:!0,type:n.Property,id:VR,version:1,name:"bpi",description:null,implements:null,index:0,defaultValue:null,dataType:i_,static:!1,private:!1,abstract:!1,parent:a_},o_={type:n.GenericReference,id:"bitcoin-api-response-parent-ref-id",entityType:n.Project,entityId:W},JR={type:n.CustomEntity,id:ya,version:1,name:"Bitcoin API Response type",description:"The type of the data structure response from the Bitcoin API call",properties:[Yw,Xw,n_,s_],abstract:!1,static:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:o_},l_={type:n.GenericReference,id:"eefa0147-f873-484b-b4f3-9e6493aab183",entityType:n.ArgumentDeclaration,entityId:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},c_={like:!1,inferred:!1,id:"b9f35112-dcb2-4b7c-8fb9-f196b3fa37f9",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:l_},d_={type:n.GenericReference,id:"128770d6-5e3a-4aff-bca0-ad1f32ebefa8",entityType:n.ReturnStatement,entityId:"e4e05975-c277-471a-b869-f0aed316045c"},u_={type:n.GenericReference,id:"0be84bf9-6421-42b9-980f-6a03f30cb809",entityType:n.ReturnDeclaration,entityId:"a1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},p_={like:!1,inferred:!1,id:"43daa02a-237b-4b7c-a6e9-2b8c167f6e22",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:u_},y_={type:n.GenericReference,id:"ad380383-4a47-43da-968e-75a2d603b230",entityType:n.ArgumentDeclaration,entityId:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},WR={isError:!1,id:"a1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:n.ReturnDeclaration,version:1,name:"New Company Owner",description:"The new owner of the company",implements:null,defaultValue:null,dataType:p_,readsValue:y_,required:!0,index:0,parent:d_},f_={type:n.GenericReference,id:"4f24dc27-59a1-49bf-abcc-7d72b00926e4",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},h_={id:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a",type:n.ArgumentDeclaration,version:1,name:"New Company Owner",description:null,implements:null,defaultValue:null,dataType:c_,writesValues:[WR],required:!0,index:0,parent:f_},m_={type:n.GenericReference,id:"5c9a02f0-d2cf-4efc-828e-467f33a74dd3",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},T_={type:n.GenericReference,id:"2ff8f3da-e0c5-4f0f-b688-2c051c588786",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},E_={type:n.GenericReference,id:"195ae28c-159b-42de-80b1-2ebb8be3619f",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},HR={type:n.ReturnStatement,id:"e4e05975-c277-471a-b869-f0aed316045c",version:1,outputs:[WR],calledByError:[],calledByEntry:[T_],calledBySuccess:[],throws:null,x:0,y:0,parent:E_},b_={type:n.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:[h_],calls:[HR],index:0,collapsed:!1,implements:null,returnStatements:[HR],private:!1,x:0,y:0,parent:m_},R_={type:n.GenericReference,id:"e691026f-6db0-43ec-93cd-805ae7d713e3",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},g_={type:n.GenericReference,id:"29c4e3e0-1b66-4075-b559-45b27c5cf356",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},v_={type:n.GenericReference,id:"b1289358-b185-455d-8f58-7791b15cd52a",entityType:n.ReturnStatement,entityId:"9690cd1d-ea35-4e83-823d-0c7310265fee"},I_={type:n.GenericReference,id:"d847bb49-8789-4550-bb2d-e2d551993b28",entityType:n.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},D_={type:n.GenericReference,id:"06535500-c37c-4915-8398-1d4e184fa5e7",entityType:n.ReturnDeclaration,entityId:"e7a35277-a0c4-46d5-aca2-bddd0c26e931"},P_={like:!1,inferred:!1,id:"d358dd91-35f7-4095-b728-3fb3c71dbc05",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Mn,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:D_},Ic={isError:!1,id:"e7a35277-a0c4-46d5-aca2-bddd0c26e931",type:n.ReturnDeclaration,version:1,name:"Is name registered",description:"Whether the company name is already registered",defaultValue:null,dataType:P_,implements:null,readsValue:I_,required:!0,index:0,parent:v_},A_={type:n.GenericReference,id:"gov-company-registry-return-statement-called-by-success-ref-id",entityType:n.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},Dc={type:n.ReturnStatement,id:"9690cd1d-ea35-4e83-823d-0c7310265fee",version:1,outputs:[Ic],calledByError:[],calledByEntry:[],calledBySuccess:[R_,A_],throws:null,x:0,y:0,parent:g_},O_={type:n.GenericReference,id:"b3126414-4c9b-495f-901e-59f5073c8d67",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},S_={type:n.GenericReference,id:"35115c48-618b-411b-a290-d746d22fdd10",entityType:n.VariableDeclaration,entityId:"83e12ebb-c958-4dee-b750-8ab9930f0f4e"},YR={id:"a0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a",type:n.InputMap,version:1,declaration:Il,name:null,description:null,readsValue:S_,defaultValue:null,parent:O_,index:2},C_={type:n.GenericReference,id:"14f46eae-04a5-47d1-9c7f-28fb09b84d1d",entityType:n.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},B_={like:!1,inferred:!1,id:"990bd5d1-07ea-4253-acc1-d03bedd22a38",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Mn,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:C_},w_={type:n.GenericReference,id:"e4c3542a-8fb0-4b72-8d6e-3fdff812dd67",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},__={type:n.GenericReference,id:"825f9f60-22a8-4cc6-9055-d7333f8e92f4",entityType:n.OutputMap,entityId:"8f30d787-9459-4d8d-98a2-b46fbc2006d5"},N_={type:n.GenericReference,id:"is-company-name-registered-var-called-by-ref",entityType:n.Operation,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},zR={type:n.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:B_,readsValue:__,writesValues:[Ic],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[N_],successCalls:[Dc],errorCalls:[],internalCalls:[],x:0,y:0,parent:w_},M_={type:n.GenericReference,id:"1aba021e-48ef-44ac-93d0-eaecac5895da",entityType:n.InputMap,entityId:"c3c8d6c1-3e0d-4e6c-9f9c-6b8c7d7f8e9a"},V_={type:n.GenericReference,id:"dffae7e0-0a5c-4c14-8ed2-8d680b4c4c86",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},L_={type:n.InputMap,id:"c3c8d6c1-3e0d-4e6c-9f9c-6b8c7d7f8e9a",version:1,declaration:rs,name:null,description:null,readsValue:null,defaultValue:{id:"gov-http-request-url-argument-default-value-id",type:n.LiteralValue,version:1,value:"https://api.publicapis.org/entries",name:I.String,valueAsType:null,parent:M_,autogeneration:null},index:1,parent:V_},G_={type:n.GenericReference,id:"64ae61f5-ace7-401b-926d-25f852daa60e",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},$_={id:"8f30d787-9459-4d8d-98a2-b46fbc2006d5",type:n.OutputMap,version:1,defaultValue:null,declaration:ls,index:2,writesValues:[zR],parent:G_},F_={type:n.GenericReference,id:"62a1a086-caea-4270-9c9f-a1695503e745",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},U_={id:"48cf7654-8f3e-4fcd-abc6-740876c310a0",type:n.InputMap,version:1,declaration:ns,name:null,description:null,readsValue:null,index:0,defaultValue:null,parent:F_},x_={type:n.GenericReference,id:"b0c9c79f-f525-428d-99e7-087d3237ad62",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},j_={id:"2c1dc406-4b71-4023-87b2-abede3a111d2",type:n.InputMap,version:1,name:null,description:null,declaration:is,index:3,readsValue:null,defaultValue:null,parent:x_},k_={type:n.GenericReference,id:"9887d6c9-d75b-4c97-b722-e2e60945ea20",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},q_={id:"3fef94b2-0278-43ae-b0c5-bc7083f0a111",type:n.InputMap,version:1,declaration:as,name:null,description:null,readsValue:null,index:4,defaultValue:null,parent:k_},J_={type:n.GenericReference,id:"561275b6-5056-45d8-bf7d-8abaa4645593",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},W_={id:"3efe20a7-4d63-411e-89ef-63e277f48d66",type:n.OutputMap,version:1,defaultValue:null,declaration:os,index:1,writesValues:[],parent:J_},H_={type:n.GenericReference,id:"3170ccc2-13de-4bfc-802a-a643be41cd42",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},Y_={id:"40d34323-d7e6-440a-8016-67c05a3b66dd",type:n.OutputMap,version:1,defaultValue:null,declaration:ss,index:0,writesValues:[],parent:H_},z_={type:n.GenericReference,id:"7432fa82-f574-4c54-a8fa-4cc4376da3d5",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},Z_={type:n.GenericReference,id:"8f518502-9eea-462c-8753-8bc3bf3e29a9",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},K_={type:n.GenericReference,id:"123b8f18-79d9-4166-a5f6-78ec4b461680",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},X_={type:n.GenericReference,id:"e691026f-6db0-43ec-93cd-805ae7d713e3",entityType:n.FunctionCall,entityId:"abb5d456-ee85-4800-bdd9-d409415f60d7"},Q_={type:n.GenericReference,id:"a375eedf-4811-41aa-a998-4897c69c46b9",entityType:n.ReturnDeclaration,entityId:"024a9b77-c1cd-4b67-b3ba-1935046b590d"},eN={like:!1,inferred:!1,id:"767cc5ed-20ec-4fd1-89b1-c8d19daa87d1",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Q_},tN={type:n.GenericReference,id:"e64b0c23-129d-4d74-8ab4-eec60e1e5b9b",entityType:n.ReturnStatement,entityId:"ea444a9e-6a5b-4138-b81f-0d5618c3c6f3"},ZR={isError:!0,id:"024a9b77-c1cd-4b67-b3ba-1935046b590d",type:n.ReturnDeclaration,version:1,name:"Error",description:"The error that occurred during the HTTP request to the government company registry",dataType:eN,defaultValue:null,implements:null,required:!0,readsValue:null,index:0,parent:tN},nN={type:n.ReturnStatement,id:"ea444a9e-6a5b-4138-b81f-0d5618c3c6f3",version:1,outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[X_],throws:ZR,x:0,y:0,parent:K_},rN={type:n.GenericReference,id:"323814fb-9723-49ef-bbba-f882384f18e4",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},iN={id:"2f63f7ba-0ff0-458a-92bc-65d1dd4df8c3",type:n.OutputMap,declaration:Dl,defaultValue:null,version:1,writesValues:[ZR],index:0,parentRelationType:zr.Error,parent:rN},aN={type:n.Operation,id:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7",version:1,declaration:ji,inputs:[U_,L_,YR,j_,q_],outputs:[Y_,W_,$_],process:null,calledByError:[],calledByEntry:[z_],calledBySuccess:[],successCalls:[Dc,zR],errorCalls:[nN],error:iN,x:0,y:0,parent:Z_},sN={type:n.GenericReference,id:"597b8aa2-f6f2-4f7d-bbb9-b703d02de96a",entityType:n.InputMap,entityId:"b0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a"},oN={type:n.GenericReference,id:"546d99b3-28c4-4186-93a0-ac53c1565e07",entityType:n.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},lN={id:"b0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a",type:n.InputMap,version:1,declaration:Qa,name:null,description:null,readsValue:null,defaultValue:{id:"base-query-string-map-default-value-id",type:n.LiteralValue,version:1,value:"?name=",name:I.String,parent:sN,valueAsType:null,autogeneration:null},index:0,parent:oN},cN={type:n.GenericReference,id:"6a56fb22-82e1-47c9-bf85-41c4e5986c74",entityType:n.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},dN={type:n.GenericReference,id:"191c6a6d-9bcb-441e-bf98-de0da96f5f3a",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},uN={type:n.GenericReference,id:"d8fcbb76-dae2-40cf-847a-02364721b387",entityType:n.VariableDeclaration,entityId:"83e12ebb-c958-4dee-b750-8ab9930f0f4e"},pN={like:!1,inferred:!1,id:"6a70c42b-024a-47c6-8a9d-af52be9c9b9a",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:uN},yN={type:n.GenericReference,id:"2282e2c0-ed9e-4c7b-86fc-1a364fa0fdb8",entityType:n.OutputMap,entityId:"f6c22cf8-63e4-4b2d-b649-b5ab884cf9a5"},fN={type:n.GenericReference,id:"assembled-query-string-called-by-ref",entityType:n.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},KR={type:n.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:pN,readsValue:yN,writesValues:[YR],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[fN],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:dN},hN={id:"f6c22cf8-63e4-4b2d-b649-b5ab884cf9a5",type:n.OutputMap,version:1,defaultValue:null,writesValues:[KR],declaration:Ui,index:0,parent:cN},mN={type:n.GenericReference,id:"a1b48e7c-0301-4747-b4dd-b5af79956f7f",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},TN={type:n.GenericReference,id:"487c9235-be95-4c96-b9b5-2714b374a277",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},EN={type:n.GenericReference,id:"f6471f4f-b269-46fa-80ec-885e87a449c2",entityId:"a4106e8e-ec4f-4633-a636-09ae73135f69",entityType:n.ArgumentDeclaration},bN={type:n.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:n.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},XR={id:"08f36e2b-bad2-425c-8129-93560bec8488",version:1,type:n.InputMap,declaration:es,name:null,description:null,readsValue:EN,defaultValue:null,index:1,parent:bN},RN={type:n.Operation,id:"8f2094c0-e27e-465e-9280-112da0de9019",declaration:xi,version:1,inputs:[XR,lN],outputs:[hN],process:null,calledByError:[],calledByEntry:[mN],calledBySuccess:[],successCalls:[KR],errorCalls:[],error:null,x:0,y:0,parent:TN},gN={type:n.GenericReference,id:"c2e0e9b4-aa46-4974-bf8a-886b737b12fb",entityType:n.ArgumentDeclaration,entityId:"a4106e8e-ec4f-4633-a636-09ae73135f69"},vN={like:!1,inferred:!1,id:"a4279518-3bf3-44b7-a2ac-65142ca37f1c",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:gN},IN={type:n.GenericReference,id:"dc273f24-164b-4943-82f9-589b237141e2",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},QR={id:"a4106e8e-ec4f-4633-a636-09ae73135f69",type:n.ArgumentDeclaration,version:1,name:"Company Name to check",description:"The name of the company to check in the government registry",dataType:vN,defaultValue:null,implements:null,required:!1,writesValues:[XR],index:0,parent:IN},DN={type:n.GenericReference,id:"2178a10c-1cc0-4dad-97c3-0941be6c9738",entityType:n.Project,entityId:W},eg={type:n.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:[QR],calls:[RN,aN],returnStatements:[Dc],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:DN},PN={type:n.GenericReference,id:"4d66c53c-f0f7-496a-9955-1e6c8533c5e0",entityType:n.Condition,entityId:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b"},AN={type:n.GenericReference,id:"6fa0c8e0-d104-4b4d-a035-d4f6e0c49f09",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},ON={type:n.GenericReference,id:"146408d5-5336-4877-941a-777dd5871926",entityType:n.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},SN={type:n.GenericReference,id:"34ae8f8c-548d-4654-984a-6f36affdaf49",entityType:n.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},tg={id:"69b1215d-9ebf-4274-b9cb-d4a5888f5122",version:1,type:n.InputMap,declaration:QR,name:null,description:null,readsValue:ON,defaultValue:null,index:0,parent:SN},CN={type:n.GenericReference,id:"07540a94-dda1-40b3-8452-f209bdc87b88",entityType:n.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},BN={type:n.GenericReference,id:"eaddf12a-a995-429e-90a0-13bf06efeb28",entityType:n.VariableDeclaration,entityId:"faaf3bf6-917d-40d7-aee6-5164f6646c4b"},wN={like:!1,inferred:!1,id:"7fdaf943-3ffb-48e0-b766-b86cc24090cf",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Mn,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:BN},_N={type:n.GenericReference,id:"030fb5c5-af4d-4c85-8cf0-e99edd50d2bd",entityType:n.OutputMap,entityId:"c1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},NN={type:n.GenericReference,id:"a8b618e9-c68c-48c1-8bd6-ef47c87d699e",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},MN={type:n.GenericReference,id:"is-company-name-valid-var-called-by-ref",entityType:n.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},ng={type:n.VariableDeclaration,id:"faaf3bf6-917d-40d7-aee6-5164f6646c4b",version:1,name:"Is name valid",description:"Whether the company name is valid",defaultValue:null,dataType:wN,readsValue:_N,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[MN],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:NN},VN={id:"c1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:n.OutputMap,version:1,declaration:Ic,defaultValue:null,writesValues:[ng],index:0,parent:CN},LN={type:n.FunctionCall,id:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a",version:1,declaration:eg,inputs:[tg],outputs:[VN],calledByError:[],calledByEntry:[],process:null,calledBySuccess:[PN],successCalls:[ng],errorCalls:[],error:null,x:0,y:0,parent:AN},GN={type:n.GenericReference,id:"9d0b87b4-bfed-4e02-9e84-6831c21feae2",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},$N={type:n.GenericReference,id:"74345f4f-e80d-48be-adff-d12fcea25bec",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},FN={type:n.GenericReference,id:"b39279ea-969a-4efb-a9ec-353bfd13db65",entityType:n.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},UN={type:n.GenericReference,id:"549db613-f225-4c5b-9634-7d096717f0ff",entityType:n.Condition,entityId:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b"},rg={id:"358e242c-7448-442e-ab8b-fd7fa119ea71",version:1,type:n.InputMap,declaration:pr.inputs[0],name:null,description:null,readsValue:FN,defaultValue:null,index:0,parent:UN},xN={type:n.Condition,id:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b",version:1,declaration:pr,inputs:[rg],calledByError:[],calledByEntry:[GN],calledBySuccess:[],successCalls:[LN],errorCalls:[],x:0,y:0,parent:$N},jN={type:n.GenericReference,id:"43ba1e25-f805-488f-8ae8-c58bb6215b2f",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},kN={type:n.GenericReference,id:"eb091bed-507f-4a1e-93b5-7cd2fccfe002",entityType:n.VariableDeclaration,entityId:"9c928995-0dd5-4f97-9962-56b343bc8a45"},qN={like:!1,inferred:!1,id:"d64152ea-831f-4426-9506-a39bfa170513",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:pi,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:kN},JN={type:n.GenericReference,id:"7e79c29f-f7bd-441a-a77e-c627604dae94",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},WN={type:n.GenericReference,id:"8995ce5f-d5cf-4341-a8b1-5c046cc78b89",entityType:n.ArgumentDeclaration,entityId:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071"},HN={type:n.GenericReference,id:"new-company-bank-account-var-decl-1-called-by-ref",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},ig={type:n.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:qN,readsValue:WN,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[HN],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:JN},YN={type:n.GenericReference,id:"9a4887bf-d50d-43e4-bdd5-a5262f65f04b",entityType:n.ArgumentDeclaration,entityId:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071"},zN={like:!1,inferred:!1,id:"ae148c06-3143-49e9-9614-c3aca3f6fa7b",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:pi,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:YN},ZN={id:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071",type:n.ArgumentDeclaration,version:1,name:"New bank account",description:"The new bank account of the company",dataType:zN,implements:null,defaultValue:null,required:!0,index:1,writesValues:[ig],parent:jN},KN={type:n.GenericReference,id:"caec9cf8-3133-48d4-a390-114fa71b2933",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},XN={type:n.GenericReference,id:"cebcbad8-ca87-4c4b-be8a-312293d49892",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},QN={type:n.GenericReference,id:"7b8ccfe5-f9cd-4776-a19b-80c689bbe3df",entityType:n.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},eM={like:!1,inferred:!1,id:"2a6b4703-ac8d-4d25-8abd-48a115577fec",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:QN},tM={id:"c6cf620c-1eee-4919-8578-1a0b6c088551",type:n.ArgumentDeclaration,version:1,name:"New company name",description:null,dataType:eM,implements:null,defaultValue:null,required:!0,index:0,writesValues:[rg,tg],parent:XN},nM={type:n.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:[tM,ZN],calls:[xN,ig],index:1,private:!1,implements:null,x:0,y:0,parent:KN},rM={type:n.GenericReference,id:"employee-manager-property-data-type-entity-ref-id",entityType:n.CustomEntity,entityId:"employee-entity-id"},iM={type:n.GenericReference,id:"employee-manager-property-data-type-parent-ref-id",entityType:n.Property,entityId:"employee-manager-property-id"},aM={like:!1,inferred:!1,id:"employee-manager-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:rM,isList:!1,isNullable:!0,asType:!1,constant:!1,parent:iM},sM={type:n.GenericReference,id:"employee-manager-property-parent-ref-id",entityType:n.CustomEntity,entityId:"employee-entity-id"},oM={hidden:!1,required:!0,type:n.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:aM,abstract:!1,parent:sM},lM={type:n.GenericReference,id:"employee-start-date-property-data-type-parent-ref-id",entityType:n.Property,entityId:"employee-start-date-property-id"},cM={like:!1,inferred:!1,id:"employee-start-date-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:mn,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:lM},dM={type:n.GenericReference,id:"employee-start-date-property-parent-ref-id",entityType:n.CustomEntity,entityId:"employee-entity-id"},uM={hidden:!1,required:!0,type:n.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:cM,abstract:!1,parent:dM},pM={type:n.GenericReference,id:"employee-department-property-ref-id",entityType:n.Property,entityId:"employee-department-property-id"},yM={like:!1,inferred:!1,id:"employee-department-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Vn,isList:!1,isNullable:!1,asType:!1,options:["Human Resources","Finance","IT","Sales","Marketing","Customer Service","Logistics","Product"],constant:!1,parent:pM},fM={type:n.GenericReference,id:"employee-department-property-parent-ref-id",entityType:n.CustomEntity,entityId:"employee-entity-id"},hM={hidden:!1,required:!0,type:n.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:yM,abstract:!1,parent:fM},mM={type:n.GenericReference,id:"employee-prototype-parent-ref-id",entityType:n.Project,entityId:W},Ft={type:n.CustomEntity,id:"employee-entity-id",version:1,name:"Employee",description:"A entity that represents an employee in the company",properties:[hM,uM,oM],abstract:!1,static:!1,abstractMethods:[],methods:[],implements:[],extends:[ht],x:0,y:0,parent:mM},TM={type:n.GenericReference,id:"dec8fbfe-9124-41fd-9f1c-5b2f07cfd6ba",entityType:n.Property,entityId:"4f52d044-f3dd-4bdf-927e-637c3b92e8bd"},EM={like:!1,inferred:!1,id:"bc0b8979-6c43-4d47-a712-6742b89e3c00",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:TM},bM={type:n.GenericReference,id:"4f8c0a05-466e-4672-b4c4-6bd408c0be9a",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},RM={hidden:!1,required:!0,type:n.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:EM,abstract:!1,parent:bM},gM={type:n.GenericReference,id:"95173fe0-a6e6-443c-94f3-f7c5cf171fcf",entityType:n.Property,entityId:"80c86e1b-caca-4ba5-9b1f-38f72d10e4a3"},vM={like:!1,inferred:!1,id:"ddbb6f5c-0cf4-41fb-83b3-b6c47c0e338d",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:pi,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:gM},IM={type:n.GenericReference,id:"6a9a0b72-a05d-4169-b3f3-5afb01e8d0df",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},Pc={hidden:!1,required:!0,type:n.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:vM,abstract:!1,parent:IM},DM={type:n.GenericReference,id:"62892cc6-d227-4088-90d3-ae7c15ed4af4",entityType:n.Property,entityId:"19a31727-1fba-40a5-be25-18e0f149d5cb"},PM={like:!1,inferred:!1,id:"1f7629df-dc29-4c89-8369-c6d043e97a9e",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:DM},AM={type:n.GenericReference,id:"89384206-fd5a-4f0a-849c-f777473e5773",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},OM={hidden:!1,required:!0,type:n.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:PM,private:!0,abstract:!1,parent:AM},SM={type:n.GenericReference,id:"4d2ffb6c-5f38-436e-8339-fb9878ac2b5e",entityType:n.Property,entityId:"f8310850-a87e-405c-b182-4f1d5fa49240"},CM={like:!1,inferred:!1,id:"ad44250b-40c2-48f7-a480-381fa938f562",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ft,isList:!0,asType:!1,isNullable:!1,constant:!1,parent:SM},BM={type:n.GenericReference,id:"aa5d4eee-6fac-4e72-bf21-9c8750024541",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},wM={hidden:!1,required:!0,type:n.Property,id:"f8310850-a87e-405c-b182-4f1d5fa49240",version:1,name:"Employees",description:null,index:3,defaultValue:null,dataType:CM,implements:null,private:!0,static:!1,abstract:!1,parent:BM},_M={id:"company-prototype-primary-key-property-data-type-ref-id",type:n.GenericReference,entityId:"company-prototype-primary-key-property-id",entityType:n.Property},NM={id:"company-prototype-primary-key-property-ref-id",type:n.GenericReference,entityId:"company-prototype-primary-key-property-id",entityType:n.Property},MM={like:!1,inferred:!1,id:"company-prototype-primary-key-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parent:NM},VM={id:"company-prototype-primary-key-property-parent-ref-id",type:n.GenericReference,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d",entityType:n.CustomEntity},LM={hidden:!1,required:!0,id:"company-prototype-primary-key-property-id",name:"Identifier",version:1,type:n.Property,private:!1,abstract:!1,implements:ni,static:!1,index:4,defaultValue:{id:"company-prototype-primary-key-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.UUID,value:null,parent:_M,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:MM,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:VM},GM={type:n.GenericReference,id:"e3c03b6b-2ea0-4d99-865d-5e6a348672d0",entityType:n.Project,entityId:W},Ut={type:n.CustomEntity,id:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d",version:1,name:"Company",description:null,properties:[RM,Pc,OM,wM,LM],static:!1,abstract:!1,abstractMethods:[],methods:[b_,nM],extends:[],implements:[rt,_t],x:0,y:0,parent:GM},$M={type:n.GenericReference,id:"ffcad334-138d-4b67-8fb3-5f0e6f5fefbd",entityType:n.Project,entityId:W},Ac={type:n.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:$M};n.GenericReference,n.DataType;const FM={id:"cron-job-entity-expression-property-ref-id",type:n.GenericReference,entityId:"cron-job-entity-expression-property-id",entityType:n.Property},UM={like:!1,inferred:!1,id:"cron-job-entity-expression-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:FM},xM={id:"cron-job-entity-ref-id",type:n.GenericReference,entityId:"cron-job-entity-id",entityType:n.CustomEntity},jM={hidden:!1,required:!0,id:"cron-job-entity-expression-property-id",type:n.Property,version:1,name:"Cron expression",description:"The cron expression that defines when the cron job should be triggered",defaultValue:null,dataType:UM,implements:null,static:!0,private:!1,abstract:!1,index:0,parent:xM},kM={id:"cron-job-entity-trigger-show-popup-func-call-called-by-ref-one-id",type:n.GenericReference,entityId:"show-popup-func-decl-id",entityType:n.FunctionDeclaration},qM={id:"cron-job-entity-trigger-show-popup-func-call-parent-ref-id",type:n.GenericReference,entityId:"cron-job-entity-trigger-func-decl-id",entityType:n.FunctionDeclaration},JM={id:"cron-job-entity-trigger-show-popup-func-call-id",version:1,type:n.FunctionCall,declaration:Ac,inputs:[],outputs:[],process:null,successCalls:[],calledByError:[],calledByEntry:[kM],calledBySuccess:[],errorCalls:[],error:null,x:0,y:0,parent:qM},WM={id:"cron-job-entity-trigger-func-decl-parent-ref-id",type:n.GenericReference,entityId:"cron-job-entity-id",entityType:n.CustomEntity},HM={id:"cron-job-entity-trigger-func-decl-id",version:1,type:n.FunctionDeclaration,name:"Scheduled trigger",description:"The function that is called when the cron job is triggered",inputs:[],private:!1,implements:zl,calls:[JM],collapsed:!1,returnStatements:[],index:0,x:0,y:0,parent:WM},YM={id:"cron-job-entity-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},zM={id:"cron-job-entity-id",version:1,type:n.CustomEntity,name:"Run at 12pm on Christmas day",description:"A cron job that runs at 12pm on Christmas day",properties:[jM],static:!0,abstract:!1,abstractMethods:[],extends:[Zl],implements:[],methods:[HM],x:0,y:0,parent:YM},ZM={type:n.GenericReference,id:"52dbd85c-48b1-462a-8205-2437d6fb1cb4",entityType:n.Project,entityId:W},KM={type:n.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:[ys],x:0,y:0,parent:ZM},ag="f558fbf8-67de-4545-9804-6ae621e0b2d4",XM={id:"getCompanyByIdEndpointPathParamsVariableDataTypeRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointPathParamsArgumentDeclaration"},QM={id:"getCompanyByIdEndpointPathParamsArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointPathParamsArgumentDeclaration"},eV={like:!1,inferred:!1,id:"getCompanyByIdEndpointPathParamsVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:U,asType:!1,parent:QM},tV={id:"getCompanyByIdEndpointReachedEntityEventRef",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},nV={id:"getCompanyByIdEndpointRequestHeadersVariableDataTypeRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration"},rV={id:"getCompanyByIdEndpointRequestHeadersArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration"},iV={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestHeadersVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:rV},aV={id:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the request.",type:n.ArgumentDeclaration,writesValues:[],name:"Request headers",defaultValue:{id:"getCompanyByIdEndpointRequestHeadersVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:nV,autogeneration:null,valueAsType:null},dataType:iV,implements:$l,required:!0,index:0,parent:tV},sV={id:"getCompanyByIdEndpointReachedEntityEventRefTwo",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},oV={id:"getCompanyByIdEndpointPathParamsArgumentDeclaration",type:n.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:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:XM,autogeneration:null,valueAsType:null},dataType:eV,implements:Fl,required:!0,index:1,parent:sV},lV={id:"getCompanyByIdEndpointReachedEntityEventRefThree",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},cV={id:"getCompanyByIdEndpointRequestQueryParamsVariableDataTypeRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration"},dV={id:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration"},uV={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestQueryParamsVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,asType:!1,entity:U,parent:dV},pV={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:n.ArgumentDeclaration,writesValues:[],name:"Request query params",defaultValue:{id:"getCompanyByIdEndpointRequestQueryParamsVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:cV,autogeneration:null,valueAsType:null},dataType:uV,implements:Ul,required:!0,index:2,parent:lV},yV={id:"getCompanyByIdEndpointReachedEntityEventRefFour",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},fV={id:"getCompanyByIdEndpointRequestBodyArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestBodyArgumentDeclaration"},hV={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestBodyVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:Xe,parent:fV},mV={id:"getCompanyByIdEndpointRequestBodyArgumentDeclaration",version:1,description:"The main data payload of the request.",type:n.ArgumentDeclaration,writesValues:[],name:"Request body",defaultValue:null,dataType:hV,implements:xl,index:3,required:!0,parent:yV},TV={id:"getCompanyByIdEndpointResponseCodeReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseCodeReturnDeclaration"},EV={like:!1,inferred:!1,id:"9ba575b0-6f8e-436d-a3de-3b843622aa17",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:TV},bV={id:"getCompanyByIdEndpointReturnStatementRef",type:n.GenericReference,entityType:n.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},RV={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:n.ReturnDeclaration,name:"Response code",defaultValue:null,dataType:EV,implements:jl,readsValue:null,required:!0,index:0,parent:bV},gV={id:"getCompanyByIdEndpointResponseHeadersDataTypeRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseHeadersReturnDeclaration"},vV={id:"getCompanyByIdEndpointResponseHeadersReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseHeadersReturnDeclaration"},IV={like:!1,inferred:!1,id:"getCompanyByIdEndpointResponseHeadersDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:vV},DV={id:"getCompanyByIdEndpointReturnStatementRefTwo",type:n.GenericReference,entityType:n.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},PV={isError:!1,id:"getCompanyByIdEndpointResponseHeadersReturnDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the response.",type:n.ReturnDeclaration,name:"Response headers",defaultValue:{id:"getCompanyByIdEndpointResponseHeadersDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:gV,autogeneration:null,valueAsType:null},dataType:IV,implements:kl,readsValue:null,required:!0,index:1,parent:DV},AV={id:"getCompanyByIdEndpointResponseBodyReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseBodyReturnDeclaration"},OV={like:!1,inferred:!1,id:"getCompanyByIdEndpointResponseBodyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:Xe,parent:AV},SV={id:"getCompanyByIdEndpointReturnStatementRefThree",type:n.GenericReference,entityType:n.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},CV={isError:!1,id:"getCompanyByIdEndpointResponseBodyReturnDeclaration",version:1,description:"The main data payload of the response.",type:n.ReturnDeclaration,name:"Response body",implements:ql,defaultValue:null,dataType:OV,readsValue:null,required:!0,index:2,parent:SV},BV={id:"getCompanyByIdEndpointReturnStatementCallerRef",type:n.GenericReference,entityId:"getCompanyByIdEndpointReachedEntityEvent",entityType:n.FunctionDeclaration},wV={id:"getCompanyByIdEndpointReachedEntityEventRefFive",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},_V={id:"getCompanyByIdEndpointReturnStatement",type:n.ReturnStatement,version:1,outputs:[RV,PV,CV],calledByError:[],calledByEntry:[BV],calledBySuccess:[],throws:null,x:0,y:0,parent:wV},NV={id:"endpointBuiltInBaseEntityRefFour",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:ag},MV={id:"getCompanyByIdEndpointReachedEntityEvent",name:"Endpoint reached",version:1,type:n.FunctionDeclaration,inputs:[aV,oV,pV,mV],returnStatements:[_V],description:"Fired when the endpoint is reached.",calls:[],collapsed:!1,implements:Jl,index:0,private:!1,x:0,y:0,parent:NV},VV={id:"getCompanyByIdEndpointPathPropertyDataTypeRef",type:n.GenericReference,entityType:n.Property,entityId:"getCompanyByIdEndpointPathProperty"},LV={id:"getCompanyByIdEndpointPathPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:"getCompanyByIdEndpointPathProperty"},GV={like:!1,inferred:!1,id:"getCompanyByIdEndpointPathPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:LV},$V={id:"getCompanyByIdEndpointBaseEntityRefTwo",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},FV={id:"getCompanyByIdEndpointPathProperty",hidden:!1,required:!0,name:"Path",version:1,type:n.Property,private:!1,abstract:!1,static:!0,implements:Ll,defaultValue:{id:"getCompanyByIdEndpointPathPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.String,value:"/company/{id}",parent:VV,valueAsType:null,autogeneration:null},dataType:GV,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:$V},UV={id:"getCompanyByIdEndpointMethodPropertyDataTypeRef",type:n.GenericReference,entityType:n.Property,entityId:"getCompanyByIdEndpointMethodProperty"},xV={id:"getCompanyByIdEndpointMethodPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:"getCompanyByIdEndpointMethodProperty"},jV={like:!1,inferred:!1,id:"getCompanyByIdEndpointMethodPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Vn,isList:!0,isNullable:!1,constant:!0,asType:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],parent:xV},kV={id:"getCompanyByIdEndpointBaseEntityRefThree",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},qV={hidden:!1,required:!0,id:"getCompanyByIdEndpointMethodProperty",name:"Method",version:1,type:n.Property,private:!1,abstract:!1,static:!0,implements:Gl,index:0,defaultValue:{id:"getCompanyByIdEndpointMethodPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,value:"GET",name:I.Enum,parent:UV,valueAsType:null,autogeneration:null},dataType:jV,description:null,parent:kV},JV={type:n.GenericReference,id:"6a905153-8aa8-4424-bd7b-6415731a2725",entityType:n.Project,entityId:W},WV={type:n.CustomEntity,id:ag,version:1,name:"Get given company data by id",description:null,properties:[FV,qV],methods:[MV],static:!0,abstract:!1,abstractMethods:[],extends:[],implements:[ys],x:0,y:0,parent:JV},HV={id:"plant-prototype-database-property-ref-id",type:n.GenericReference,entityId:"plant-prototype-database-property-id",entityType:n.Property},YV={id:"plant-prototype-database-property-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:"plant-prototype-database-property-id",entityType:n.Property},zV={like:!1,inferred:!1,id:"plant-prototype-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:bn,asType:!1,parent:HV},ZV={id:"plant-prototype-database-property-parent-ref-id",type:n.GenericReference,entityId:"plant-entity-id",entityType:n.CustomEntity},KV={hidden:!1,required:!0,id:"plant-prototype-database-property-id",name:"Database",version:1,type:n.Property,private:!1,abstract:!1,implements:ti,static:!0,index:0,defaultValue:{id:"plant-prototype-database-property-data-type-default-value-id",type:n.LiteralValue,version:1,value:null,name:I.EntityTemplate,valueAsType:bc,autogeneration:null,parent:YV},dataType:zV,description:"The database that the entity belongs to.",parent:ZV},XV={type:n.GenericReference,id:"plant-name-property-ref-id",entityType:n.Property,entityId:"plant-name-property-id"},QV={like:!1,inferred:!1,id:"plant-name-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:XV},eL={type:n.GenericReference,id:"animal-name-property-parent-ref-id",entityType:n.CustomEntity,entityId:"plant-entity-id"},tL={hidden:!1,required:!0,type:n.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:QV,abstract:!1,parent:eL},nL={type:n.GenericReference,id:"plant-prototype-parent-ref-id",entityType:n.Project,entityId:W},rL={type:n.CustomEntity,id:"plant-entity-id",version:1,name:"Plant",description:"A living creature that is not an animal",abstract:!1,static:!1,abstractMethods:[],properties:[KV,tL],methods:[],extends:[],implements:[rt],x:0,y:0,parent:nL},iL={id:"product-prototype-database-property-ref-id",type:n.GenericReference,entityId:"product-prototype-database-property-id",entityType:n.Property},aL={id:"product-prototype-database-property-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:"product-prototype-database-property-id",entityType:n.Property},sL={like:!1,inferred:!1,id:"product-prototype-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:bn,asType:!1,parent:iL},oL={id:"product-prototype-database-property-parent-ref-id",type:n.GenericReference,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",entityType:n.CustomEntity},lL={hidden:!1,required:!0,id:"product-prototype-database-property-id",name:"Database",version:1,type:n.Property,private:!1,abstract:!1,implements:ti,static:!0,index:0,defaultValue:{id:"product-prototype-database-property-data-type-default-value-id",type:n.LiteralValue,version:1,value:null,name:I.EntityTemplate,valueAsType:Rc,autogeneration:null,parent:aL},dataType:sL,description:"The database that the entity belongs to.",parent:oL},cL={type:n.GenericReference,id:"13a4045e-dcb0-4159-8d33-10a646078b5a",entityType:n.Property,entityId:"d519c26a-15b8-40d8-ad09-13fa9342e9ba"},dL={like:!1,inferred:!1,id:"7449779e-1d4e-409c-81c6-4b611336ed18",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:cL},uL={type:n.GenericReference,id:"0969562f-d836-406f-8b48-dd9d417fbe72",entityType:n.CustomEntity,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c"},pL={hidden:!1,required:!0,type:n.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:dL,abstract:!1,parent:uL},yL={type:n.GenericReference,id:"833a5425-7bd0-41dd-9e97-e018acce9592",entityType:n.Project,entityId:W},fL={id:"product-prototype-primary-key-property-data-type-ref-id",type:n.GenericReference,entityId:"product-prototype-primary-key-property-id",entityType:n.Property},hL={id:"product-prototype-primary-key-property-ref-id",type:n.GenericReference,entityId:"product-prototype-primary-key-property-id",entityType:n.Property},mL={like:!1,inferred:!1,id:"product-prototype-primary-key-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parent:hL},TL={id:"product-prototype-primary-key-property-parent-ref-id",type:n.GenericReference,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",entityType:n.CustomEntity},EL={hidden:!1,required:!0,id:"product-prototype-primary-key-property-id",name:"Identifier",version:1,type:n.Property,private:!1,abstract:!1,implements:null,static:!1,index:0,defaultValue:{id:"product-prototype-primary-key-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.UUID,value:null,parent:fL,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:mL,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:TL},bL={type:n.CustomEntity,id:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",version:1,name:"Product",description:"A product that can be sold",implements:[rt,_t],extends:[],abstract:!1,static:!1,abstractMethods:[],properties:[EL,lL,pL],methods:[],x:0,y:0,parent:yL},fa="project-loaded-event-id",sn="get-bitcoin-price-http-call-operation-id",sg="get-bitcoin-price-http-call-response-body-id",Hs="validate-bitcoin-price-response-operation-ids",RL={type:n.GenericReference,id:"validate-bitcoin-data-to-validate-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:sg},gL={type:n.GenericReference,id:"validate-bitcoin-data-to-validate-input-map-parent-ref-id",entityType:n.Operation,entityId:Hs},og={id:"validate-bitcoin-data-to-validate-input-map-id",type:n.InputMap,version:1,declaration:sr.inputs[1],name:null,description:null,readsValue:RL,defaultValue:null,index:0,parent:gL},vL={type:n.GenericReference,id:"validate-bitcoin-type-to-match-input-map-default-value-parent-ref-id",entityType:n.InputMap,entityId:"validate-bitcoin-type-to-match-input-map-id"},IL={type:n.GenericReference,id:"validate-bitcoin-type-to-match-input-map-parent-ref-id",entityType:n.Operation,entityId:Hs},DL={id:"validate-bitcoin-type-to-match-input-map-id",type:n.InputMap,version:1,declaration:sr.inputs[0],name:null,description:null,readsValue:null,defaultValue:{id:"validate-bitcoin-type-to-match-input-map-default-value-id",type:n.LiteralValue,version:1,name:I.EntityTemplate,valueAsType:JR,value:null,parent:vL,autogeneration:null},index:0,parent:IL},PL={type:n.GenericReference,id:"validate-bitcoin-validated-entity-output-map-parent-ref-id",entityType:n.Operation,entityId:Hs},AL={id:"validate-bitcoin-validated-entity-output-map-id",type:n.OutputMap,version:1,defaultValue:null,declaration:sr.outputs[0],writesValues:[],index:0,parent:PL},OL={type:n.GenericReference,id:"validate-bitcoin-price-response-operation-parent-ref-id",entityType:n.GlobalEvent,entityId:fa},SL={type:n.GenericReference,id:"validate-bitcoin-price-response-operation-called-by-ref-id",entityType:n.Operation,entityId:sn},CL={type:n.Operation,id:Hs,version:1,declaration:sr,inputs:[DL,og],outputs:[AL],process:null,successCalls:[],errorCalls:[],error:null,x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[SL],parent:OL},BL={type:n.GenericReference,id:"96edb661-3f36-406c-8921-f1679dd796a3",entityType:n.FunctionCall,entityId:sn},wL={id:"c93e1393-9b5e-4de2-b8da-7eae647d715a",version:1,type:n.InputMap,declaration:ns,name:null,description:null,readsValue:null,defaultValue:null,index:0,parent:BL},_L={type:n.GenericReference,id:"40312b28-71b8-4b01-a654-58b87191939d",entityType:n.FunctionCall,entityId:sn},NL={type:n.GenericReference,id:"6ea96c7d-02a7-4971-82ad-2f32a0fec8b4",entityType:n.InputMap,entityId:"9f21cbac-5a83-4983-8923-9224ffd3ba9f"},ML={id:"9f21cbac-5a83-4983-8923-9224ffd3ba9f",version:1,type:n.InputMap,declaration:rs,name:null,description:null,readsValue:null,defaultValue:{id:"get-bitcoin-price-http-request-url-argument-default-value-id",type:n.LiteralValue,version:1,value:"https://api.coindesk.com/v1/bpi/currentprice.json",name:I.String,parent:NL,valueAsType:null,autogeneration:null},index:1,parent:_L},VL={type:n.GenericReference,id:"2610bf4a-c8a2-4746-b6cc-eb15f7fa8e9c",entityType:n.FunctionCall,entityId:sn},LL={id:"ffb3cd9d-c955-4104-bc7b-299120fe4ede",version:1,type:n.InputMap,declaration:is,name:null,description:null,readsValue:null,defaultValue:null,index:2,parent:VL},GL={type:n.GenericReference,id:"bfd29a6a-671a-448c-9f2f-f8c7e4ad8349",entityType:n.FunctionCall,entityId:sn},$L={id:"412bf1f3-1a8e-4665-a95f-82117540e34e",version:1,type:n.InputMap,declaration:as,name:null,description:null,readsValue:null,defaultValue:null,index:3,parent:GL},FL={type:n.GenericReference,id:"616a15f3-c224-4b11-b95c-63314edef409",entityType:n.FunctionCall,entityId:sn},UL={id:"4dd4651c-02e4-45f1-b50f-824f3bcb1648",version:1,type:n.OutputMap,defaultValue:null,declaration:os,writesValues:[],index:1,parent:FL},xL={type:n.GenericReference,id:"28793b68-4d7e-4826-aee1-f201a3499faf",entityType:n.FunctionCall,entityId:sn},jL={id:"94fe9d35-4dd4-4729-a50c-5283ccd7e661",version:1,type:n.OutputMap,defaultValue:null,declaration:ss,writesValues:[],index:0,parent:xL},kL={type:n.GenericReference,id:"f13e04b2-49b4-4c69-85b8-cbbafafa3524",entityType:n.FunctionCall,entityId:sn},qL={id:sg,type:n.OutputMap,defaultValue:null,version:1,declaration:ls,writesValues:[og],index:2,parent:kL},JL={type:n.GenericReference,id:"6148d6d0-caaa-45fc-b601-ff2493dfc60f",entityType:n.FunctionDeclaration,entityId:sn},WL={type:n.GenericReference,id:"b115f084-807b-44b3-ae01-b69cc342f761",entityType:n.GlobalEvent,entityId:fa},HL={type:n.Operation,id:sn,version:1,declaration:ji,inputs:[wL,ML,LL,$L],outputs:[jL,UL,qL],process:null,parent:WL,calledByError:[],calledByEntry:[JL],calledBySuccess:[],successCalls:[CL],errorCalls:[],error:null,x:0,y:0},YL={type:n.GenericReference,id:"24e76019-3f94-475b-91ce-297f76bbc224",entityType:n.GlobalEvent,entityId:fa},zL={type:n.GenericReference,id:"0eac8e29-cdf2-42f8-8ea7-ad76d4d79abe",entityType:n.GlobalEvent,entityId:fa},ZL={process:null,type:n.FunctionCall,id:"2d2e7593-bfbf-457c-a607-5fce18eef457",version:1,declaration:Ac,inputs:[],outputs:[],calledByError:[],calledByEntry:[YL],calledBySuccess:[],parent:zL,successCalls:[],errorCalls:[],error:null,x:0,y:0},KL={id:"793b5999-a9da-47fb-9665-0c17ebc6d5c9",type:n.GenericReference,entityType:n.Project,entityId:"2e7eb5382-3d99-44fd-972a-b8b1e819f6be"},XL={type:n.GlobalEvent,id:fa,version:1,name:fn.PROJECT_PUBLICATION_COMPLETED,returnStatements:[],collapsed:!1,implements:Es,parent:KL,inputs:[],calls:[ZL,HL],x:0,y:0},xt="abort-execution-func-declaration-id",ha="abort-execution-func-exec-var-declaration-id",Ys="abort-execution-func-small-wait-op-id",Oc="abort-execution-func-long-wait-op-id",lg="abort-execution-func-long-wait-process-output-id",cg="abort-execution-func-exec-var-instance-write-id",dg="abort-execution-func-long-wait-return-stmt-id",ug="abort-execution-func-small-wait-return-stmt-id",QL="abort-execution-func-exec-var-instance-abort-call-id",Sc="abort-execution-func-exec-var-instance-abort-internal-call-id",pg="abort-execution-func-exec-second-wait-op-id",e1={type:n.GenericReference,id:"short-wait-return-statement-returned-hello-string-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:"short-wait-return-statement-returned-hello-string-id"},t1={type:n.GenericReference,id:"short-wait-return-statement-returned-hello-string-data-type-default-value-parent-ref-id",entityType:n.ReturnDeclaration,entityId:"short-wait-return-statement-returned-hello-string-id"},n1={like:!1,inferred:!1,id:"short-wait-return-statement-returned-hello-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:e1},r1={type:n.GenericReference,id:"short-wait-return-statement-returned-hello-string-parent-ref-id",entityType:n.ReturnStatement,entityId:ug},i1={isError:!1,id:"short-wait-return-statement-returned-hello-string-id",type:n.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:n.LiteralValue,version:1,name:I.String,value:"Hello 2",autogeneration:null,valueAsType:null,parent:t1},dataType:n1,implements:null,readsValue:null,required:!0,index:0,parent:r1},a1={type:n.GenericReference,id:"short-wait-return-statement-called-by-ref-id",entityType:n.Operation,entityId:Ys},s1={type:n.GenericReference,id:"short-wait-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},yg={type:n.ReturnStatement,id:ug,version:1,outputs:[i1],calledByError:[],calledByEntry:[],calledBySuccess:[a1],throws:null,x:0,y:0,parent:s1},o1={type:n.GenericReference,id:"second-wait-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:"second-wait-argument-map-id"},l1={type:n.GenericReference,id:"second-wait-argument-map-parent-ref-id",entityType:n.Operation,entityId:pg},c1={id:"second-wait-argument-map-id",type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"second-wait-argument-default-value-id",type:n.LiteralValue,version:1,value:2e3,valueAsType:null,autogeneration:null,name:I.Number,parent:o1},index:0,parent:l1},d1={type:n.GenericReference,id:"small-wait-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},u1={type:n.GenericReference,id:"small-wait-called-by-ref-one-id",entityType:n.InternalCall,entityId:Sc},p1={id:pg,type:n.Operation,version:1,declaration:yt,inputs:[c1],outputs:[],process:null,successCalls:[yg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[u1],error:null,parent:d1},y1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-abort-internal-call-called-by-ref-one-id",entityType:n.VariableInstance,entityId:cg},f1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-abort-internal-call-called-by-ref-two-id",entityType:n.Operation,entityId:Ys},h1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-main-project-ref-id",entityType:n.FunctionDeclaration,entityId:xt},m1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-declaration-ref-id",entityType:n.VariableDeclaration,entityId:ha},T1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-internal-call-ref-one-id",entityType:n.InternalCall,entityId:Sc},E1={id:QL,type:n.VariableInstance,version:1,declaration:m1,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[T1],parent:h1},fg={id:Sc,type:n.InternalCall,version:1,inputs:[],outputs:[],declaration:Kl,process:null,calledByError:[],calledByEntry:[],calledBySuccess:[y1,f1],successCalls:[p1],errorCalls:[],error:null,index:0,parent:E1},b1={type:n.GenericReference,id:"abort-exec-func-var-write-instance-main-project-ref-id",entityType:n.FunctionDeclaration,entityId:xt},R1={type:n.GenericReference,id:"abort-exec-func-var-write-instance-called-by-ref-one-id",entityType:n.VariableDeclaration,entityId:ha},g1={type:n.GenericReference,id:"abort-exec-func-var-write-instance-called-by-ref-two-id",entityType:n.FunctionDeclaration,entityId:xt},v1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-declaration-ref-id",entityType:n.VariableDeclaration,entityId:ha},I1={type:n.GenericReference,id:"abort-exec-func-var-write-instance-reads-value-ref-id",entityType:n.OutputMap,entityId:lg},Cc={id:cg,type:n.VariableInstance,version:1,declaration:v1,inputs:[],outputs:[],defaultValue:null,calledByError:[],calledByEntry:[g1],calledBySuccess:[R1],successCalls:[fg],errorCalls:[],x:0,y:0,readsValue:I1,writesValues:[],internalCalls:[],parent:b1},D1={type:n.GenericReference,id:"abort-exec-func-var-decl-datatype-parent-ref-id",entityType:n.VariableDeclaration,entityId:ha};n.GenericReference,n.DataType;const P1={like:!1,inferred:!1,id:"abort-exec-func-var-decl-datatype-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Xl,version:1,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:D1},A1={type:n.GenericReference,id:"abort-exec-func-var-decl-main-project-ref-id",entityType:n.FunctionDeclaration,entityId:xt},O1={type:n.GenericReference,id:"abort-exec-func-var-decl-called-by-ref-one-id",entityType:n.FunctionDeclaration,entityId:xt},S1={id:ha,type:n.VariableDeclaration,version:1,name:"Execution in progress",description:"A variable that holds an ongoing execution to abort it if needed",defaultValue:null,dataType:P1,inputs:[],outputs:[],calledByError:[],calledByEntry:[O1],calledBySuccess:[],successCalls:[Cc],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[],parent:A1},C1={type:n.GenericReference,id:"long-wait-return-statement-returned-hello-string-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:"long-wait-return-statement-returned-hello-string-id"},B1={type:n.GenericReference,id:"long-wait-return-statement-returned-hello-string-data-type-default-value-parent-ref-id",entityType:n.ReturnDeclaration,entityId:"long-wait-return-statement-returned-hello-string-id"},w1={like:!1,inferred:!1,id:"long-wait-return-statement-returned-hello-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:C1},_1={type:n.GenericReference,id:"long-wait-return-statement-returned-hello-string-parent-ref-id",entityType:n.ReturnStatement,entityId:dg},N1={isError:!1,id:"long-wait-return-statement-returned-hello-string-id",type:n.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:n.LiteralValue,version:1,name:I.String,value:"Hello 1",autogeneration:null,valueAsType:null,parent:B1},dataType:w1,readsValue:null,required:!0,index:0,parent:_1},M1={type:n.GenericReference,id:"long-wait-return-statement-called-by-ref-id",entityType:n.Operation,entityId:Oc},V1={type:n.GenericReference,id:"long-wait-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},hg={type:n.ReturnStatement,id:dg,version:1,outputs:[N1],calledByError:[],calledByEntry:[],calledBySuccess:[M1],throws:null,x:0,y:0,parent:V1},L1={type:n.GenericReference,id:"long-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:"long-argument-map-id"},mg={type:n.GenericReference,id:"long-argument-map-parent-ref-id",entityType:n.Operation,entityId:Oc},G1={id:"long-argument-map-id",type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"long-argument-default-value-id",type:n.LiteralValue,version:1,value:1500,valueAsType:null,autogeneration:null,name:I.Number,parent:L1},index:0,parent:mg},$1={type:n.GenericReference,id:"long-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},F1={type:n.GenericReference,id:"long-called-by-ref-one-id",entityType:n.FunctionDeclaration,entityId:xt},U1={id:lg,type:n.OutputMap,version:1,defaultValue:null,declaration:ec,writesValues:[Cc],index:0,parent:mg},x1={id:Oc,type:n.Operation,version:1,declaration:yt,inputs:[G1],outputs:[],process:U1,successCalls:[hg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[F1],calledBySuccess:[],error:null,parent:$1},j1={type:n.GenericReference,id:"small-wait-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:"small-wait-argument-map-id"},k1={type:n.GenericReference,id:"small-wait-argument-map-parent-ref-id",entityType:n.Operation,entityId:Ys},q1={id:"small-wait-argument-map-id",type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"small-wait-argument-default-value-id",type:n.LiteralValue,version:1,value:500,valueAsType:null,autogeneration:null,name:I.Number,parent:j1},index:0,parent:k1},J1={type:n.GenericReference,id:"small-wait-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},W1={type:n.GenericReference,id:"small-wait-called-by-ref-one-id",entityType:n.FunctionDeclaration,entityId:xt},H1={id:Ys,type:n.Operation,version:1,declaration:yt,inputs:[q1],outputs:[],process:null,successCalls:[fg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[W1],calledBySuccess:[],error:null,parent:J1},Y1={type:n.GenericReference,id:"abort-execution-func-decl-parent-ref-id",entityType:n.Project,entityId:W},Tg={id:"abort-execution-func-decl-id",type:n.FunctionDeclaration,version:1,name:"Test aborting execution",description:"Executes a wait and then aborts the execution of that wait",inputs:[],returnStatements:[hg,yg],calls:[H1,S1,Cc,x1],implements:null,private:!1,collapsed:!1,index:null,x:0,y:0,parent:Y1},z1={type:n.GenericReference,id:"call-execution-abort-func-parent-ref-id",entityType:n.Project,entityId:W},Z1={id:"call-execution-abort-func-id",type:n.FunctionCall,version:1,declaration:Tg,inputs:[],process:null,outputs:[],successCalls:[],errorCalls:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[],x:0,y:0,parent:z1},Bc="manual-hello-world-loop-func-decl-id",Eg="manual-hello-world-loop-func-return-statement-id",on="manual-hello-world-loop-id",ma="manual-hello-world-loop-body-id",wc="manual-hello-world-loop-break-statement-id",Ta="manual-hello-world-loop-current-iteration-number-output-map-id",_c="manual-hello-world-loop-previous-iterations-results-output-map-id",Nc="assembled-hello-world-text-output-id",bg="assembled-hello-world-list-output-id",Ea="iteration-number-is-equal-or-greater-than-10-condition-id",zs="join-hello-world-and-number-operation-id",Zs="append-string-to-list-operation-id",Rg="hello-world-loop-output-map-id",K1={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-parent-ref",entityType:n.ReturnStatement,entityId:Eg},X1={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-data-type-parent-ref",entityType:n.ReturnDeclaration,entityId:"manual-hello-world-loop-function-declaration-output-declaration"},Q1={like:!1,inferred:!1,id:"manual-hello-world-loop-function-declaration-output-declaration-data-type",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!0,asType:!1,isNullable:!1,constant:!1,parent:X1},e0={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-reads-value-ref",entityType:n.OutputMap,entityId:Rg},gg={isError:!1,id:"manual-hello-world-loop-function-declaration-output-declaration",version:1,type:n.ReturnDeclaration,name:"Results",description:null,defaultValue:null,dataType:Q1,implements:null,readsValue:e0,required:!0,index:0,parent:K1},t0={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-return-statement-called-by-ref",entityType:n.Loop,entityId:on},n0={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-parent-ref",entityType:n.FunctionDeclaration,entityId:Bc},vg={type:n.ReturnStatement,id:Eg,version:1,outputs:[gg],calledByError:[],calledByEntry:[],calledBySuccess:[t0],parent:n0,throws:null,x:0,y:0},r0={type:n.GenericReference,id:"hello-world-loop-break-statement-ref-id",entityType:n.BreakStatement,entityId:wc},i0={type:n.GenericReference,id:"hello-world-loop-break-statement-reads-value-ref-id",entityType:n.OutputMap,entityId:Nc},Ig={isError:!1,id:"hello-world-loop-break-statement-output-id",version:1,type:n.ReturnDeclaration,name:"Iteration result",description:null,defaultValue:null,dataType:null,readsValue:i0,implements:null,required:!0,index:0,parent:r0},a0={type:n.GenericReference,id:"hello-world-loop-break-statement-counter-reads-value-ref-id",entityType:n.ArgumentDeclaration,entityId:Ta},s0={type:n.GenericReference,id:"hello-world-loop-break-statement-counter-ref-id",entityType:n.BreakStatement,entityId:wc},Dg={isError:!1,id:"hello-world-loop-break-statement-counter-output-id",version:1,type:n.ReturnDeclaration,name:"Iteration counter",description:null,implements:null,defaultValue:null,dataType:null,readsValue:a0,required:!0,index:1,parent:s0},o0={type:n.GenericReference,id:"hello-world-loop-break-statement-called-by-ref-id",entityType:n.Condition,entityId:Ea},l0={type:n.GenericReference,id:"hello-world-loop-break-statement-parent-ref-id",entityType:n.Loop,entityId:on},Pg={type:n.BreakStatement,id:wc,version:1,outputs:[Ig,Dg],calledByError:[],calledByEntry:[],calledBySuccess:[o0],parent:l0,throws:null,x:0,y:0},c0={type:n.GenericReference,id:"hello-world-loop-continue-statement-ref-id",entityType:n.ContinueStatement,entityId:"hello-world-loop-continue-statement"},d0={type:n.GenericReference,id:"hello-world-loop-continue-statement-output-data-type-ref-id",entityType:n.ReturnDeclaration,entityId:"hello-world-loop-continue-statement-output-id"},u0={like:!1,inferred:!1,id:"hello-world-loop-continue-statement-output-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:d0},p0={type:n.GenericReference,id:"hello-world-loop-continue-statement-reads-value-ref-id",entityType:n.OutputMap,entityId:Nc},Ag={isError:!1,id:"hello-world-loop-continue-statement-output-id",version:1,type:n.ReturnDeclaration,name:"Iteration result",description:null,defaultValue:null,implements:null,dataType:u0,readsValue:p0,required:!0,index:0,parent:c0},y0={type:n.GenericReference,id:"hello-world-loop-continue-statement-called-by-ref-id",entityType:n.Condition,entityId:Ea},f0={type:n.GenericReference,id:"hello-world-loop-continue-statement-parent-ref-id",entityType:n.Loop,entityId:on},Og={type:n.ContinueStatement,id:"hello-world-loop-continue-statement",version:1,outputs:[Ag],calledBySuccess:[],calledByError:[y0],calledByEntry:[],parent:f0,throws:null,x:0,y:0};n.GenericReference,n.InputMap;const h0={type:n.GenericReference,id:"append-string-to-list-base-string-map-parent-ref-id",entityType:n.Operation,entityId:Zs},m0={type:n.GenericReference,id:"base-string-map-reads-value-ref-id",entityType:n.OutputMap,entityId:_c},Sg={id:"append-string-to-list-base-string-map-id",type:n.InputMap,version:1,declaration:Tl,name:null,description:null,readsValue:m0,defaultValue:null,index:0,parent:h0},T0={type:n.GenericReference,id:"assembly-string-map-parent-ref-id",entityType:n.Operation,entityId:Zs},E0={id:bg,type:n.OutputMap,version:1,defaultValue:null,writesValues:[Ig],declaration:Ui,index:0,parent:T0},b0={type:n.GenericReference,id:"append-string-to-list-called-by-ref-id",entityType:n.Condition,entityId:Ea},R0={type:n.GenericReference,id:"latest-string-to-add-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:bg},g0={type:n.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:n.Operation,entityId:Zs},Cg={id:"latest-string-to-add-input-map-id",version:1,type:n.InputMap,declaration:El,name:null,description:null,readsValue:R0,defaultValue:null,index:1,parent:g0},v0={type:n.GenericReference,id:"append-string-to-list-parent-ref-id",entityType:n.FunctionDeclaration,entityId:on},I0={type:n.Operation,id:Zs,declaration:ts,version:1,inputs:[Sg,Cg],outputs:[E0],calledByError:[],process:null,calledByEntry:[],calledBySuccess:[b0],successCalls:[],errorCalls:[],error:null,x:0,y:0,parent:v0},D0={type:n.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:ma},P0={type:n.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-parent-ref-id",entityType:n.Loop,entityId:on},A0={type:n.GenericReference,id:"current-iteration-number-to-check-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Ta},Bg={type:n.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-ref-two-id",entityType:n.Condition,entityId:Ea},O0={id:"current-iteration-number-to-check-map-id",version:1,type:n.InputMap,declaration:ii.inputs[0],name:null,description:null,readsValue:A0,index:0,defaultValue:null,parent:Bg},S0={type:n.GenericReference,id:"max-num-iterations-value-map-default-value-parent-ref-id",entityType:n.InputMap,entityId:"max-num-iterations-value-map-id"},C0={id:"max-num-iterations-value-map-id",version:1,type:n.InputMap,declaration:ii.inputs[1],name:null,description:null,readsValue:null,index:1,defaultValue:{id:"max-num-iterations-value-map-default-value-id",type:n.LiteralValue,version:1,name:I.Number,value:10,autogeneration:null,valueAsType:null,parent:S0},parent:Bg},B0={type:n.Condition,id:Ea,version:1,declaration:ii,inputs:[O0,C0],calledByError:[],calledByEntry:[D0],calledBySuccess:[],successCalls:[Pg,I0],errorCalls:[Og],x:0,y:0,parent:P0},w0={type:n.GenericReference,id:"base-string-map-ref-id",entityType:n.InputMap,entityId:"join-hello-world-and-number-base-string-map-id"},_0={type:n.GenericReference,id:"join-hello-world-and-number-base-string-map-parent-ref-id",entityType:n.Operation,entityId:zs},N0={id:"join-hello-world-and-number-base-string-map-id",type:n.InputMap,version:1,declaration:Qa,name:null,description:null,readsValue:null,defaultValue:{id:"join-hello-world-and-number-base-string-map-default-value-id",type:n.LiteralValue,version:1,value:"Hello world ",name:I.String,parent:w0,valueAsType:null,autogeneration:null},index:0,parent:_0},M0={type:n.GenericReference,id:"assembly-string-map-parent-ref-id",entityType:n.Operation,entityId:zs},V0={id:Nc,type:n.OutputMap,version:1,defaultValue:null,writesValues:[Cg,Ag],declaration:Ui,index:0,parent:M0},L0={type:n.GenericReference,id:"join-hello-world-and-number-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:ma},G0={type:n.GenericReference,id:"current-iteration-number-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Ta},$0={type:n.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:n.Operation,entityId:zs},wg={id:"current-iteration-number-input-map-id",version:1,type:n.InputMap,declaration:es,name:null,description:null,readsValue:G0,defaultValue:null,index:1,parent:$0},F0={type:n.GenericReference,id:"join-hello-world-and-number-parent-ref-id",entityType:n.FunctionDeclaration,entityId:on},U0={type:n.Operation,id:zs,declaration:xi,version:1,inputs:[N0,wg],outputs:[V0],process:null,calledByError:[],calledByEntry:[L0],calledBySuccess:[],successCalls:[],errorCalls:[],error:null,x:0,y:0,parent:F0},x0={id:"manual-hello-world-loop-iterations-results-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:_c,entityType:n.ArgumentDeclaration},j0={like:!1,inferred:!1,id:"manual-hello-world-loop-iterations-results-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!0,isNullable:!1,constant:!1,entity:null,asType:!1,parent:x0},k0={id:"manual-hello-world-loop-previous-iterations-results-output-map-parent-ref-id",type:n.GenericReference,entityId:ma,entityType:n.FunctionDeclaration},q0={id:_c,type:n.ArgumentDeclaration,version:1,name:"Previous iterations results",description:"The results of the previous iterations of the loop.",required:!0,defaultValue:null,dataType:j0,implements:null,writesValues:[Sg],index:1,parent:k0},J0={id:"manual-hello-world-loop-current-iteration-number-output-map-parent-ref-id",type:n.GenericReference,entityId:ma,entityType:n.FunctionDeclaration},W0={id:"manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:Ta,entityType:n.ArgumentDeclaration};n.DataType;const H0={id:Ta,type:n.ArgumentDeclaration,version:1,name:"Current iteration number",description:"The number of the current iteration of the loop. Starts at 1.",required:!0,implements:Al,defaultValue:null,dataType:null,writesValues:[wg,Dg],index:0,parent:J0},Y0={id:"manual-flow-loop-body-parent-ref-id",type:n.GenericReference,entityId:on,entityType:n.Loop},z0={id:ma,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called multiple times, once for each iteration of the loop.",inputs:[H0,q0],calls:[B0,U0],implements:Ol,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:Y0},Z0={type:n.GenericReference,id:"hello-world-loop-iteration-result-inline-output-declaration-parent-ref-id",entityType:n.Loop,entityId:on},_g={id:"hello-world-loop-iteration-result-inline-output-declaration-id",version:1,type:n.ValueDescriptor,name:"Iteration result",defaultValue:null,description:null,dataType:null,required:!0,index:0,parent:Z0},K0={type:n.GenericReference,id:"hello-world-loop-break-statement-output-map-parent-ref-id",entityType:n.Loop,entityId:on},X0={type:n.OutputMap,id:Rg,version:1,defaultValue:null,declaration:_g,writesValues:[gg],index:0,parent:K0},Q0={id:"manual-hello-world-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},eG={id:"manual-hello-world-loop-called-by-ref-id",type:n.GenericReference,entityId:Bc,entityType:n.FunctionDeclaration},tG={id:on,type:n.Loop,version:1,declaration:Pl,inputs:[],outputsDeclarations:[_g],outputs:[X0],body:z0,successCalls:[vg],errorCalls:[],process:null,error:null,calledByError:[],calledByEntry:[eG],calledBySuccess:[],breakStatements:[Pg],continueStatements:[Og],x:0,y:0,parent:Q0},nG={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-parent-ref-id",entityType:n.Project,entityId:W},Ng={type:n.FunctionDeclaration,id:Bc,version:1,name:"Manual hello world loop",description:null,inputs:[],calls:[tG],returnStatements:[vg],implements:null,collapsed:!1,private:!1,index:null,x:0,y:0,parent:nG},rG={type:n.GenericReference,id:"call-hello-world-loop-parent-ref-id",entityType:n.Project,entityId:W},iG={id:"call-hello-world-loop-id",type:n.FunctionCall,version:1,declaration:Ng,inputs:[],outputs:[],process:null,successCalls:[],errorCalls:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[],x:0,y:0,parent:rG},vn="company-dto-function-declaration-id",Mc="company-dto-func-declaration-argument-dcl-id",ln="company-dto-function-company-variable-id",Wn="company-dto-function-company-dto-variable-id",fi="iterate-over-employee-list-loop-id",Mg="iterate-over-employee-list-loop-employee-dto-output-map-id",Vc="iterate-over-employee-list-loop-body-current-employee-argument-declaration-id",ba="iterate-over-employee-list-loop-body-map-employee-dto-function-call-id",Vg="iterate-over-employee-list-continue-statement-employee-dto-output-decl-id",aG="iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-id",Lg="iterate-over-employee-list-continue-statement-id",Ks="iterate-over-employee-list-loop-body-id",Gg="company-dto-func-declaration-return-statement-id",$g="company-dto-func-declaration-return-decl-id",Fg="company-dto-func-declaration-company-variable-id-output-map-id",Ug="company-dto-func-declaration-company-variable-employess-output-map-id",xg="company-dto-func-declaration-company-variable-name-output-map-id",sG="company-dto-func-declaration-company-dto-variable-input-map-id",oG="company-dto-func-declaration-company-dto-variable-employess-input-map-id",lG="company-dto-func-declaration-company-dto-variable-name-input-map-id",Xs="company-dto-func-declaration-owner-variable-id",cG="company-dto-func-declaration-company-dto-variable-owner-input-map-id",jg="company-dto-func-declaration-company-variable-owner-output-map-id",kg="company-dto-func-declaration-owner-variable-id-output-map-id",Qs="company-dto-func-declaration-bank-account-variable-id",dG="company-dto-func-declaration-company-dto-variable-bank-account-input-map-id",qg="company-dto-func-declaration-company-variable-bank-account-output-map-id",Jg="company-dto-func-declaration-bank-account-variable-id-output-map-id",uG={type:n.GenericReference,id:"company-dto-func-returned-company-dto-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:$g},pG={like:!1,inferred:!1,id:"company-dto-func-returned-company-dto-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:uG},yG={type:n.GenericReference,id:"company-dto-func-returned-company-dto-parent-ref-id",entityType:n.ReturnStatement,entityId:Gg},fG={type:n.GenericReference,id:"company-dto-func-returned-company-dto-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Wg={isError:!1,id:$g,type:n.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:pG,readsValue:fG,required:!0,index:0,parent:yG},hG={type:n.GenericReference,id:"company-dto-func-return-statement-called-by-ref-id",entityType:n.Operation,entityId:Wn},mG={type:n.GenericReference,id:"company-dto-func-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn},Lc={type:n.ReturnStatement,id:Gg,version:1,outputs:[Wg],calledByError:[],calledByEntry:[],calledBySuccess:[hG],throws:null,x:0,y:0,parent:mG},TG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-owner-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:kg},EG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-owner-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Hg={id:cG,type:n.InputMap,version:1,declaration:null,name:"owner_id",description:null,defaultValue:null,index:5,readsValue:TG,parent:EG},bG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-bank-account-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Jg},RG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-bank-account-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Yg={id:dG,type:n.InputMap,version:1,declaration:null,name:"bank_account_id",description:null,defaultValue:null,index:4,readsValue:bG,parent:RG},gG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-name-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:xg},vG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-name-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},zg={id:lG,type:n.InputMap,version:1,declaration:null,name:"name",description:null,defaultValue:null,index:3,readsValue:gG,parent:vG},IG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-employess-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Mg},DG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-employess-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Zg={id:oG,type:n.InputMap,version:1,declaration:null,name:"employees",description:null,defaultValue:null,index:2,readsValue:IG,parent:DG},PG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-id-output-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Fg},AG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Kg={id:sG,type:n.InputMap,version:1,declaration:null,name:"id",description:"The ID of the company",defaultValue:null,index:1,readsValue:PG,parent:AG},OG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn},SG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-one-id",entityType:n.VariableDeclaration,entityId:Qs},CG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-two-id",entityType:n.VariableDeclaration,entityId:Xs},BG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-three-id",entityType:n.VariableDeclaration,entityId:fi},Gc={id:Wn,type:n.VariableDeclaration,version:1,name:"Company DTO",dataType:null,description:"A variable holding the data of a mapped company DTO",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[SG,CG,BG],successCalls:[Lc],errorCalls:[],readsValue:null,writesValues:[Wg],inputs:[Kg,zg,Yg,Hg,Zg],outputs:[],internalCalls:[],parent:OG,x:0,y:0},Tr="employee-dto-func-declaration-id",$c="employee-dto-func-declaration-argument-dcl-id",Xg="employee-dto-func-declaration-return-statement-id",Qg="employee-dto-func-declaration-return-decl-id",Er="employee-dto-func-declaration-employee-variable-id",br="employee-dto-func-declaration-employee-dto-variable-id",eo="employee-dto-func-declaration-manager-variable-id",ev="employee-dto-func-declaration-employee-variable-id-output-map-id",tv="employee-dto-func-declaration-employee-variable-birth-date-output-map-id",nv="employee-dto-func-declaration-employee-variable-department-output-map-id",rv="employee-dto-func-declaration-employee-variable-manager-output-map-id",iv="employee-dto-func-declaration-manager-variable-id-output-map-id",wG="employee-dto-func-declaration-employee-dto-variable-input-map-id",_G="employee-dto-func-declaration-employee-dto-variable-birth-date-input-map-id",NG="employee-dto-func-declaration-employee-dto-variable-department-input-map-id",MG="employee-dto-func-declaration-employee-dto-variable-manager-input-map-id",VG={type:n.GenericReference,id:"employee-dto-func-returned-employee-dto-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:Qg},LG={like:!1,inferred:!1,id:"employee-dto-func-returned-employee-dto-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:VG},GG={type:n.GenericReference,id:"employee-dto-func-returned-employee-dto-parent-ref-id",entityType:n.ReturnStatement,entityId:Xg},$G={type:n.GenericReference,id:"employee-dto-func-returned-employee-dto-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:br},av={isError:!1,id:Qg,type:n.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:LG,implements:null,readsValue:$G,required:!0,index:0,parent:GG},FG={type:n.GenericReference,id:"employee-dto-func-return-statement-called-by-ref-id",entityType:n.Operation,entityId:br},UG={type:n.GenericReference,id:"employee-dto-func-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tr},Fc={type:n.ReturnStatement,id:Xg,version:1,outputs:[av],calledByError:[],calledByEntry:[],calledBySuccess:[FG],throws:null,x:0,y:0,parent:UG},xG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-manager-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:iv},jG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-manager-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:br},sv={id:MG,type:n.InputMap,version:1,declaration:null,name:"manager_id",description:null,defaultValue:null,index:4,readsValue:xG,parent:jG},kG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-department-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:nv},qG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-department-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:br},ov={id:NG,type:n.InputMap,version:1,declaration:null,name:"department_name",description:null,defaultValue:null,index:3,readsValue:kG,parent:qG},JG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-birth-date-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:tv},WG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-birth-date-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:br},lv={id:_G,type:n.InputMap,version:1,declaration:null,name:"birth_date",description:null,defaultValue:null,index:2,readsValue:JG,parent:WG},HG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-id-output-map-reads-value-ref-id",entityType:n.OutputMap,entityId:ev},YG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:br},cv={id:wG,type:n.InputMap,version:1,declaration:null,name:"id",description:"The ID of the employee",defaultValue:null,index:1,readsValue:HG,parent:YG},zG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tr},ZG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-called-by-ref-id",entityType:n.VariableDeclaration,entityId:eo},KG={id:br,type:n.VariableDeclaration,version:1,name:"Employee DTO",dataType:null,description:"A variable holding the data of a mapped employee DTO",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[ZG],successCalls:[Fc],errorCalls:[],readsValue:null,writesValues:[av],inputs:[cv,lv,ov,sv],outputs:[],internalCalls:[],parent:zG,x:0,y:0},XG={type:n.GenericReference,id:"employee-dto-func-manager-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:eo},QG={id:iv,type:n.OutputMap,version:1,defaultValue:null,declaration:_t.properties[0],index:0,writesValues:[sv],parent:XG},e$={type:n.GenericReference,id:"employee-dto-func-manager-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:eo},t$={like:!1,inferred:!1,id:"employee-dto-func-manager-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ft,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:e$},n$={type:n.GenericReference,id:"employee-dto-func-manager-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:rv},r$={type:n.GenericReference,id:"employee-dto-func-manager-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tr};n.GenericReference,n.VariableDeclaration;const dv={id:eo,type:n.VariableDeclaration,version:1,name:"Manager",description:"A variable holding an inherited manager",defaultValue:null,dataType:t$,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[KG],errorCalls:[],readsValue:n$,writesValues:[],inputs:[],outputs:[QG],internalCalls:[],parent:r$,x:0,y:0},i$={type:n.GenericReference,id:"employee-dto-func-employee-variable-manager-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},a$={id:rv,type:n.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[2],index:3,writesValues:[dv],parent:i$},s$={type:n.GenericReference,id:"employee-dto-func-employee-variable-department-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},o$={id:nv,type:n.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:2,writesValues:[ov],parent:s$},l$={type:n.GenericReference,id:"employee-dto-func-employee-variable-birth-date-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},c$={id:tv,type:n.OutputMap,version:1,defaultValue:null,declaration:ht.properties[1],index:1,writesValues:[lv],parent:l$},d$={type:n.GenericReference,id:"employee-dto-func-employee-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},u$={id:ev,type:n.OutputMap,version:1,defaultValue:null,declaration:_t.properties[0],index:0,writesValues:[cv],parent:d$},p$={type:n.GenericReference,id:"employee-dto-func-employee-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},y$={like:!1,inferred:!1,id:"employee-dto-func-employee-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ft,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:p$},f$={type:n.GenericReference,id:"employee-dto-func-employee-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tr},h$={type:n.GenericReference,id:"employee-dto-func-employee-variable-reads-value-ref-id",entityType:n.ArgumentDeclaration,entityId:$c},m$={type:n.GenericReference,id:"employee-dto-func-employee-variable-called-by-id",entityType:n.FunctionDeclaration,entityId:Tr},uv={id:Er,type:n.VariableDeclaration,version:1,name:"Company employee",dataType:y$,description:"A variable holding a company employee",calledByError:[],defaultValue:null,calledByEntry:[m$],calledBySuccess:[],successCalls:[dv],errorCalls:[],readsValue:h$,writesValues:[],inputs:[],outputs:[u$,c$,o$,a$],internalCalls:[],parent:f$,x:0,y:0},T$={type:n.GenericReference,id:"employee-dto-func-declaration-employee-input-declaration-data-type-parent-ref-id",entityId:$c,entityType:n.ArgumentDeclaration},E$={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"employee-dto-func-declaration-employee-input-declaration-data-type-id",version:1,entity:Ft,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:T$},b$={type:n.GenericReference,id:"employee-dto-func-declaration-employee-input-declaration-parent-ref-id",entityId:Tr,entityType:n.FunctionDeclaration},R$={type:n.ArgumentDeclaration,id:$c,version:1,name:"Employee",description:"The employee to create a DTO for",required:!0,implements:null,defaultValue:null,dataType:E$,index:0,writesValues:[uv],parent:b$},g$={type:n.GenericReference,id:"employee-dto-function-declaration-parent-ref-id",entityType:n.Project,entityId:W},Uc={type:n.FunctionDeclaration,id:Tr,version:1,name:"Employee DTO",description:"Takes a employee and returns a DTO of that employee",index:null,inputs:[R$],calls:[uv],implements:null,returnStatements:[Fc],collapsed:!1,private:!1,x:0,y:0,parent:g$},v$={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-data-type-parent-ref-id",type:n.GenericReference,entityId:Vg,entityType:n.ReturnDeclaration},I$={like:!1,inferred:!1,id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:v$},D$={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-reads-value-ref-id",type:n.GenericReference,entityId:ba,entityType:n.OutputMap},P$={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-parent-ref-id",type:n.GenericReference,entityId:Lg,entityType:n.ContinueStatement},pv={isError:!1,id:Vg,type:n.ReturnDeclaration,version:1,name:"Employee DTO",description:"The DTO of the employee entity.",defaultValue:null,readsValue:D$,dataType:I$,implements:null,required:!0,index:0,parent:P$},A$={id:"iterate-over-employee-list-continue-statement-called-by-ref-id",type:n.GenericReference,entityId:ba,entityType:n.FunctionCall},O$={id:"iterate-over-employee-list-continue-statement-parent-ref-id",type:n.GenericReference,entityId:fi,entityType:n.Loop},yv={id:Lg,type:n.ContinueStatement,version:1,calledByError:[],calledByEntry:[],calledBySuccess:[A$],outputs:[pv],throws:null,x:0,y:0,parent:O$},S$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-parent-ref-id",type:n.GenericReference,entityId:ba,entityType:n.FunctionCall},C$={id:aG,type:n.OutputMap,version:1,defaultValue:null,declaration:Fc.outputs[0],writesValues:[pv],index:0,parent:S$},B$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-reads-value-ref-id",type:n.GenericReference,entityId:Vc,entityType:n.ArgumentDeclaration},w$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-parent-ref-id",type:n.GenericReference,entityId:ba,entityType:n.FunctionCall},fv={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:Uc.inputs[0],readsValue:B$,index:0,defaultValue:null,parent:w$},_$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-called-by-ref-id",type:n.GenericReference,entityId:Ks,entityType:n.FunctionDeclaration},N$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-parent-ref-id",type:n.GenericReference,entityId:Ks,entityType:n.FunctionDeclaration},M$={id:ba,type:n.FunctionCall,version:1,declaration:Uc,inputs:[fv],process:null,outputs:[C$],calledByError:[],calledByEntry:[_$],calledBySuccess:[],successCalls:[yv],errorCalls:[],error:null,x:0,y:0,parent:N$},V$={type:n.GenericReference,id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-data-type-parent-ref-id",entityId:Vc,entityType:n.ArgumentDeclaration},L$={like:!1,inferred:!1,id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ft,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:V$},G$={id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:Ks,entityType:n.FunctionDeclaration},$$={id:Vc,type:n.ArgumentDeclaration,version:1,name:"Current employee",description:"The current employee entity being processed.",defaultValue:null,dataType:L$,required:!0,implements:cs,index:0,writesValues:[fv],parent:G$},F$={id:"iterate-over-employee-list-loop-body-parent-ref-id",type:n.GenericReference,entityId:fi,entityType:n.Loop},U$={id:Ks,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[$$],calls:[M$],implements:ds,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:F$},x$={id:"iterate-over-employee-list-loop-iteration-list-input-map-parent-ref-id",type:n.GenericReference,entityId:fi,entityType:n.Loop},j$={id:"iterate-over-employee-list-loop-iteration-list-input-map-reads-value-ref-id",type:n.GenericReference,entityId:Ug,entityType:n.OutputMap},hv={id:"iterate-over-employee-list-loop-iteration-list-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:or.inputs[0],defaultValue:null,readsValue:j$,index:0,parent:x$},k$={id:"iterate-over-employee-list-loop-parent-ref-id",type:n.GenericReference,entityId:vn,entityType:n.FunctionDeclaration},q$={id:"iterate-over-employee-list-loop-employee-dto-output-map-parent-ref-id",type:n.GenericReference,entityId:fi,entityType:n.Loop},J$={id:Mg,type:n.OutputMap,version:1,defaultValue:null,declaration:or.outputs[0],writesValues:[Zg],index:0,parent:q$},W$={type:n.GenericReference,id:"iterate-over-employee-list-loop-called-by-ref-id",entityType:n.VariableDeclaration,entityId:ln},H$={id:fi,type:n.Loop,version:1,declaration:or,inputs:[hv],successCalls:[Gc],errorCalls:[],outputsDeclarations:[],outputs:[J$],body:U$,process:null,calledByError:[],calledByEntry:[],calledBySuccess:[W$],breakStatements:[],continueStatements:[yv],error:null,x:0,y:0,parent:k$},Y$={type:n.GenericReference,id:"company-dto-func-bank-account-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Qs},z$={id:Jg,type:n.OutputMap,version:1,defaultValue:null,declaration:_t.properties[0],index:0,writesValues:[Yg],parent:Y$},Z$={type:n.GenericReference,id:"company-dto-func-bank-account-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:Qs},K$={like:!1,inferred:!1,id:"company-dto-func-bank-account-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:Z$},X$={type:n.GenericReference,id:"company-dto-func-bank-account-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:qg},Q$={type:n.GenericReference,id:"company-dto-func-bank-account-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn};n.GenericReference,n.VariableDeclaration;const mv={id:Qs,type:n.VariableDeclaration,version:1,name:"Bank account",description:"A variable holding an inherited bank account",defaultValue:null,dataType:K$,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[Gc],errorCalls:[],readsValue:X$,writesValues:[],inputs:[],outputs:[z$],internalCalls:[],parent:Q$,x:0,y:0},eF={type:n.GenericReference,id:"company-dto-func-owner-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Xs},tF={id:kg,type:n.OutputMap,version:1,declaration:_t.properties[0],index:0,defaultValue:null,writesValues:[Hg],parent:eF},nF={type:n.GenericReference,id:"company-dto-func-owner-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:Xs},rF={like:!1,inferred:!1,id:"company-dto-func-owner-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:nF},iF={type:n.GenericReference,id:"company-dto-func-owner-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:jg},aF={type:n.GenericReference,id:"company-dto-func-owner-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn};n.GenericReference,n.VariableDeclaration;const Tv={id:Xs,type:n.VariableDeclaration,version:1,name:"Owner",dataType:rF,description:"A variable holding an inherited owner",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[Gc],errorCalls:[],readsValue:iF,writesValues:[],inputs:[],outputs:[tF],internalCalls:[],parent:aF,x:0,y:0},sF={type:n.GenericReference,id:"company-dto-func-company-variable-owner-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},oF={id:jg,type:n.OutputMap,version:1,defaultValue:null,declaration:Ut.properties[2],index:4,writesValues:[Tv],parent:sF},lF={type:n.GenericReference,id:"company-dto-func-company-variable-bank-account-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},cF={id:qg,type:n.OutputMap,version:1,defaultValue:null,declaration:Ut.properties[2],index:3,writesValues:[mv],parent:lF},dF={type:n.GenericReference,id:"company-dto-func-company-variable-name-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},uF={id:xg,type:n.OutputMap,version:1,defaultValue:null,declaration:Ut.properties[0],index:2,writesValues:[zg],parent:dF},pF={type:n.GenericReference,id:"company-dto-func-company-variable-employess-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},yF={id:Ug,type:n.OutputMap,version:1,defaultValue:null,declaration:Ut.properties[3],index:1,writesValues:[hv],parent:pF},fF={type:n.GenericReference,id:"company-dto-func-company-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},hF={id:Fg,type:n.OutputMap,version:1,defaultValue:null,declaration:_t.properties[0],index:0,writesValues:[Kg],parent:fF},mF={type:n.GenericReference,id:"company-dto-func-company-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},TF={like:!1,inferred:!1,id:"company-dto-func-company-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:mF},EF={type:n.GenericReference,id:"company-dto-func-company-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn},bF={type:n.GenericReference,id:"company-dto-func-company-variable-reads-value-ref-id",entityType:n.ArgumentDeclaration,entityId:Mc},RF={type:n.GenericReference,id:"company-dto-func-company-variable-called-by-id",entityType:n.FunctionDeclaration,entityId:vn},Ev={id:ln,type:n.VariableDeclaration,version:1,name:"Company",dataType:TF,description:"A variable holding a company",defaultValue:null,calledByError:[],calledByEntry:[RF],calledBySuccess:[],successCalls:[mv,Tv,H$],errorCalls:[],readsValue:bF,writesValues:[],inputs:[],outputs:[hF,yF,uF,cF,oF],internalCalls:[],parent:EF,x:0,y:0},gF={type:n.GenericReference,id:"company-dto-func-declaration-company-input-declaration-data-type-parent-ref-id",entityId:Mc,entityType:n.ArgumentDeclaration},vF={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"company-dto-func-declaration-company-input-declaration-data-type-id",version:1,entity:Ut,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:gF},IF={type:n.GenericReference,id:"company-dto-func-declaration-company-input-declaration-parent-ref-id",entityId:vn,entityType:n.FunctionDeclaration},DF={type:n.ArgumentDeclaration,id:Mc,version:1,name:"Company",description:"The company to create a DTO for",defaultValue:null,required:!0,implements:null,dataType:vF,index:0,writesValues:[Ev],parent:IF},PF={type:n.GenericReference,id:"company-dto-function-declaration-parent-ref-id",entityType:n.Project,entityId:W},xc={type:n.FunctionDeclaration,id:vn,version:1,name:"Company DTO",description:"Takes a company and returns a DTO of that company",inputs:[DF],calls:[Ev],implements:null,index:null,returnStatements:[Lc],collapsed:!1,private:!1,x:0,y:0,parent:PF},Ra="exec-in-parallel-operation-call-id",ga="exec-sequentially-operation-call-id",mt="concurrency-and-wait-function-declaration-id",bv="concurrency-and-wait-return-statement-id",Rv="concurrency-and-wait-return-declaration-id",jc="exec-in-parallel-argument-map-id",gv="exec-sequentially-argument-map-id",kc="wait-for-2-seconds-operation-id",vv="wait-for-2-seconds-argument-map-id",qc="map-company-dto-function-call-id",Iv="map-company-dto-function-call-company-dto-output-map-id",va="company-dto-variable-one-id",Jc="company-dto-variable-one-instance-id",AF="company-dto-variable-two-id",OF={type:n.GenericReference,id:"returned-company-dto-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:Rv},SF={like:!1,inferred:!1,id:"returned-company-dto-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:OF},CF={type:n.GenericReference,id:"returned-company-dto-parent-ref-id",entityType:n.ReturnStatement,entityId:bv},BF={type:n.GenericReference,id:"returned-company-dto-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:va},Dv={isError:!1,id:Rv,type:n.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:SF,implements:null,readsValue:BF,required:!0,index:0,parent:CF},wF={type:n.GenericReference,id:"concurrency-and-wait-return-statement-called-by-ref-id",entityType:n.Operation,entityId:kc},_F={type:n.GenericReference,id:"concurrency-and-wait-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},Pv={type:n.ReturnStatement,id:bv,version:1,outputs:[Dv],calledByError:[],calledByEntry:[],calledBySuccess:[wF],throws:null,x:0,y:0,parent:_F},NF={type:n.GenericReference,id:"company-dto-variable-two-called-by-ref-id",entityType:n.VariableInstance,entityId:Jc},MF={type:n.GenericReference,id:"company-dto-variable-two-reads-value-ref-id",entityType:n.VariableInstance,entityId:Jc},VF={type:n.GenericReference,id:"company-dto-variable-two-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},Av={id:AF,type:n.VariableDeclaration,version:1,name:"Company DTO",description:null,defaultValue:null,dataType:null,inputs:[],outputs:[],successCalls:[],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[NF],internalCalls:[],writesValues:[Dv],readsValue:MF,x:0,y:0,parent:VF},LF={type:n.GenericReference,id:"company-dto-variable-one-instance-called-by-ref-id",entityType:n.VariableDeclaration,entityId:va},GF={type:n.GenericReference,id:"company-dto-variable-one-instance-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:va},$F={type:n.GenericReference,id:"company-dto-variable-one-instance-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},FF={type:n.GenericReference,id:"company-dto-variable-one-instance-declaration-ref-id",entityType:n.VariableDeclaration,entityId:va},Ov={id:Jc,type:n.VariableInstance,version:1,declaration:FF,inputs:[],outputs:[],successCalls:[Av],errorCalls:[],defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[LF],internalCalls:[],writesValues:[Av],readsValue:GF,x:0,y:0,parent:$F},UF={type:n.GenericReference,id:"company-dto-variable-one-called-by-ref-id",entityType:n.FunctionCall,entityId:qc},xF={type:n.GenericReference,id:"company-dto-variable-one-reads-value-ref-id",entityType:n.OutputMap,entityId:Iv},jF={type:n.GenericReference,id:"company-dto-variable-one-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},Sv={id:va,type:n.VariableDeclaration,version:1,name:"Company DTO",description:null,defaultValue:null,dataType:null,inputs:[],outputs:[],successCalls:[Ov],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[UF],internalCalls:[],writesValues:[Ov],readsValue:xF,x:0,y:0,parent:jF},Cv={type:n.GenericReference,id:"map-company-dto-function-call-company-input-map-parent-ref-id",entityType:n.FunctionCall,entityId:qc},kF={id:"map-company-dto-function-call-company-input-map-id",type:n.InputMap,version:1,declaration:xc.inputs[0],name:null,description:null,defaultValue:null,index:0,readsValue:null,parent:Cv},qF={id:Iv,type:n.OutputMap,version:1,defaultValue:null,declaration:Lc.outputs[0],writesValues:[Sv],index:0,parent:Cv},JF={id:"map-company-dto-function-call-called-by-ref-id",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:mt},WF={id:"map-company-dto-function-call-parent-ref-id",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:mt},HF={id:qc,type:n.FunctionCall,version:1,declaration:xc,successCalls:[Sv],process:null,errorCalls:[],inputs:[kF],outputs:[qF],calledByError:[],calledByEntry:[JF],calledBySuccess:[],parent:WF,x:0,y:0,error:null},YF={type:n.GenericReference,id:"last-timestamp-variable-datatype-parent-ref-id",entityType:n.VariableDeclaration,entityId:Ec},zF={type:n.GenericReference,id:"last-timestamp-variable-default-value-parent-ref-id",entityType:n.VariableDeclaration,entityId:Ec},ZF={like:!1,inferred:!1,id:"last-timestamp-variable-datatype-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:mn,version:1,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:YF},KF={type:n.GenericReference,id:"last-timestamp-variable-main-project-ref-id",entityType:n.Project,entityId:W},Wc={id:Ec,type:n.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:n.LiteralValue,version:1,name:I.Date,value:null,autogeneration:{type:je.CurrentDateAndTime,rangeStart:null,rangeEnd:null},valueAsType:null,parent:zF},dataType:ZF,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[],parent:KF},XF={type:n.GenericReference,id:"wait-for-2-seconds-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:vv},QF={type:n.GenericReference,id:"wait-for-2-seconds-argument-map-parent-ref-id",entityType:n.Operation,entityId:kc},eU={id:vv,type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"wait-for-2-seconds-argument-default-value-id",type:n.LiteralValue,version:1,value:2e3,valueAsType:null,autogeneration:null,name:I.Number,parent:XF},index:0,parent:QF},tU={type:n.GenericReference,id:"wait-for-2-seconds-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},nU={type:n.GenericReference,id:"wait-for-2-seconds-called-by-ref-one-id",entityType:n.FunctionDeclaration,entityId:ga},rU={type:n.GenericReference,id:"wait-for-2-seconds-called-by-ref-two-id",entityType:n.FunctionDeclaration,entityId:Ra},Bv={id:kc,type:n.Operation,version:1,declaration:Wt,inputs:[eU],outputs:[],process:null,successCalls:[Pv],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[nU,rU],calledBySuccess:[],error:null,parent:tU},iU={type:n.GenericReference,id:"wait-for-random-amount-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:"wait-for-random-amount-input-map-id"},aU={type:n.GenericReference,id:"wait-for-random-amount-argument-map-parent-ref-id",entityType:n.Operation,entityId:"wait-for-random-amount-id"},sU={id:"wait-for-random-amount-input-map-id",type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"wait-for-random-amount-argument-default-value-id",type:n.LiteralValue,version:1,value:null,valueAsType:null,autogeneration:{type:je.Random,rangeStart:1e3,rangeEnd:4e3},name:I.Number,parent:iU},index:0,parent:aU},oU={type:n.GenericReference,id:"wait-for-random-amount-parent-ref-id",entityType:n.Project,entityId:W},hi={id:"wait-for-random-amount-id",type:n.Operation,version:1,declaration:Wt,inputs:[sU],process:null,outputs:[],successCalls:[],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[],error:null,parent:oU},Hc="list-of-functions-variable-id",lU={type:n.GenericReference,id:"list-of-functions-variable-action-descriptor-dynamic-argument-parent-ref-id",entityType:n.ActionDescriptor,entityId:"list-of-functions-variable-action-descriptor-id"},cU={id:"list-of-functions-variable-action-descriptor-dynamic-argument-id",type:n.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:lU},dU={type:n.GenericReference,id:"list-of-functions-variable-action-descriptor-dynamic-return-parent-ref-id",entityType:n.ActionDescriptor,entityId:"list-of-functions-variable-action-descriptor-id"},uU={id:"list-of-functions-variable-action-descriptor-dynamic-return-id",type:n.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:dU},pU={type:n.GenericReference,id:"list-of-functions-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:Hc},yU={id:"list-of-functions-variable-action-descriptor-id",type:n.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:[cU],error:null,outputs:[uU],parent:null},fU={type:n.GenericReference,id:"list-of-functions-variable-data-type-default-parent-ref-id",entityType:n.VariableDeclaration,entityId:Hc},hU={like:!1,inferred:!1,id:"list-of-functions-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:yU,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:pU},mU={type:n.GenericReference,id:"list-of-functions-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt};n.GenericReference,n.InputMap;const TU={type:n.GenericReference,id:"list-of-functions-variable-writes-value-one-ref-id",entityType:n.InputMap,entityId:gv},EU={type:n.GenericReference,id:"list-of-functions-variable-writes-value-two-ref-id",entityType:n.InputMap,entityId:jc},wv={id:Hc,type:n.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:n.LiteralValue,version:1,name:I.ActionDescriptor,value:null,valueAsType:[hi,hi,hi,hi,hi],autogeneration:null,parent:fU},dataType:hU,parent:mU,readsValue:null,writesValues:[TU,EU],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],inputs:[],outputs:[],internalCalls:[],x:0,y:0},bU={type:n.GenericReference,id:"exec-in-parallel-return-map-parent-ref-id",entityType:n.Operation,entityId:Ra},RU={type:n.GenericReference,id:"exec-in-parallel-result-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},gU={type:n.GenericReference,id:"exec-in-parallel-result-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:"exec-in-parallel-return-map-id"},vU={type:n.GenericReference,id:"exec-in-parallel-result-variable-called-by-ref-id",entityType:n.Operation,entityId:Ra},_v={id:"exec-in-parallel-result-variable-id",type:n.VariableInstance,version:1,declaration:Wc,readsValue:gU,writesValues:[],defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[vU],successCalls:[],errorCalls:[],internalCalls:[],parent:RU,x:0,y:0},IU={id:"exec-in-parallel-return-map-id",type:n.OutputMap,version:1,defaultValue:null,declaration:Rl,writesValues:[_v],index:0,parent:bU},DU={type:n.GenericReference,id:"exec-in-parallel-argument-map-parent-ref-id",entityType:n.Operation,entityId:Ra},PU={id:jc,type:n.InputMap,version:1,declaration:bl,name:null,description:null,readsValue:wv,defaultValue:null,index:0,parent:DU},AU={type:n.GenericReference,id:"exec-in-parallel-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},OU={type:n.GenericReference,id:"exec-in-parallel-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:mt},SU={process:null,id:Ra,type:n.Operation,version:1,declaration:Wt,inputs:[PU],outputs:[IU],successCalls:[Bv,_v],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[OU],calledBySuccess:[],error:null,parent:AU},CU={type:n.GenericReference,id:"exec-sequentially-return-map-parent-ref-id",entityType:n.Operation,entityId:ga},BU={type:n.GenericReference,id:"exec-sequentially-result-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},wU={type:n.GenericReference,id:"exec-sequentially-result-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:"exec-sequentially-return-map-id"},_U={type:n.GenericReference,id:"exec-sequentially-result-variable-called-by-ref-id",entityType:n.Operation,entityId:ga},Nv={id:"exec-sequentially-result-variable-id",type:n.VariableInstance,version:1,declaration:Wc,readsValue:wU,defaultValue:null,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[_U],successCalls:[],errorCalls:[],internalCalls:[],parent:BU,x:0,y:0},NU={id:"exec-sequentially-return-map-id",type:n.OutputMap,version:1,defaultValue:null,declaration:vl,writesValues:[Nv],index:0,parent:CU},MU={type:n.GenericReference,id:"exec-sequentially-argument-map-parent-ref-id",entityType:n.Operation,entityId:ga},VU={id:gv,type:n.InputMap,version:1,declaration:gl,name:null,description:null,readsValue:wv,defaultValue:null,index:0,parent:MU},LU={type:n.GenericReference,id:"exec-sequentially-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},GU={type:n.GenericReference,id:"exec-sequentially-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:mt},$U={id:ga,type:n.Operation,version:1,declaration:En,inputs:[VU],process:null,outputs:[NU],successCalls:[Bv,Nv],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[GU],calledBySuccess:[],error:null,parent:LU},FU={type:n.GenericReference,id:"concurrency-and-wait-parent-ref-id",entityType:n.Project,entityId:W},UU={type:n.FunctionDeclaration,id:mt,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:[$U,SU,HF],returnStatements:[Pv],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:FU},xU={type:n.GenericReference,id:"3521f2c8-a5c0-419c-8808-4fc6a73d0b78",entityType:n.ReturnDeclaration,entityId:"e1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},jU={like:!1,inferred:!1,id:"ce8b9a30-afe9-4d4f-879f-1677efca2c47",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:xU},kU={type:n.GenericReference,id:"8ee66e38-b060-474e-a503-594063a8ec24",entityType:n.ReturnStatement,entityId:"40a23a98-d3b2-42b1-9652-b33779ad15aa"},qU={isError:!1,id:"e1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:n.ReturnDeclaration,version:1,name:"Created company",description:"The new company that was created",defaultValue:null,implements:null,dataType:jU,readsValue:null,required:!0,index:0,parent:kU},JU={type:n.GenericReference,id:"9cb3c1e4-7250-4be6-be2a-69c2dd366d6f",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},WU={type:n.GenericReference,id:"c065fcdd-e054-4f95-941c-7eaa65c35d04",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},Mv={type:n.ReturnStatement,id:"40a23a98-d3b2-42b1-9652-b33779ad15aa",version:1,outputs:[qU],calledByError:[],calledByEntry:[WU],calledBySuccess:[],throws:null,x:0,y:0,parent:JU},HU={type:n.GenericReference,id:"312ef836-9e40-4d57-b177-03b7145ed074",entityType:n.Project,entityId:W},YU={type:n.FunctionDeclaration,id:"5059c093-eda2-4efc-b7b4-aaaadd4d44de",version:1,name:"Create new company",description:null,inputs:[],calls:[Mv],index:null,implements:null,returnStatements:[Mv],collapsed:!1,private:!1,x:0,y:0,parent:HU},Yc="get-current-date-and-time-func-decl-id",Vv="get-current-date-and-time-return-statement-id",zc="get-current-date-and-time-return-declaration-id",zU="get-current-date-and-time-return-declaration-data-type-id",ZU={type:n.GenericReference,id:"get-current-date-and-time-return-declaration-data-type-value-parent-ref-id",entityType:n.ReturnDeclaration,entityId:zc},KU={type:n.GenericReference,id:"get-current-date-and-time-return-declaration-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:zc},XU={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:zU,version:1,entity:mn,asType:!1,isList:!1,isNullable:!1,like:!1,inferred:!1,constant:!1,parent:KU},QU={type:n.GenericReference,id:"get-current-date-and-time-return-declaration-parent-ref-id",entityType:n.ReturnStatement,entityId:Vv};n.ReturnDeclaration,n.LiteralValue,I.Date,je.CurrentDateAndTime;const e4={type:n.GenericReference,id:"get-current-date-and-time-return-statement-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:Yc},t4={type:n.GenericReference,id:"get-current-date-and-time-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Yc};n.ReturnStatement;const n4={type:n.GenericReference,id:"concurrency-and-wait-parent-ref-id",entityType:n.Project,entityId:W},r4={type:n.FunctionDeclaration,id:Yc,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:n4},Lv="do-math-return-statement-id",Gv="do-math-return-declaration-id",i4={type:n.GenericReference,id:"do-math-func-var-to-return-one-ref-id",entityType:n.VariableDeclaration,entityId:"do-math-func-var-to-return-one-id"},a4={like:!1,inferred:!1,id:"do-math-func-var-to-return-one-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:i4},s4={type:n.GenericReference,id:"do-math-func-decl-ref-two-id",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},o4={type:n.GenericReference,id:"do-math-func-var-to-return-one-map-ref-id",entityType:n.ReturnDeclaration,entityId:Gv},l4={type:n.VariableDeclaration,id:"do-math-func-var-to-return-one-id",version:1,description:null,name:"Fixed result",defaultValue:null,dataType:a4,readsValue:null,writesValues:[o4],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:s4},c4={type:n.GenericReference,id:"96ec244e-594b-45f7-802b-6dc3056920f6",entityType:n.ReturnStatement,entityId:Lv},d4={type:n.GenericReference,id:"d120c0cc-9d13-4e45-90e2-4e1ee825ca46",entityType:n.ReturnDeclaration,entityId:"873a3556-4911-4141-b2a0-49c677b56fb4"},u4={like:!1,inferred:!1,id:"da91aa23-9985-49ac-a8bf-9d623ba1ba8f",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:d4},p4={isError:!1,id:Gv,version:1,type:n.ReturnDeclaration,name:"Result",description:null,implements:null,defaultValue:null,dataType:u4,readsValue:l4,required:!0,index:0,parent:c4},y4={type:n.GenericReference,id:"57fd93e4-93a1-484e-82eb-4dd15d2d0e24",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},f4={type:n.GenericReference,id:"0a86e8d5-ab21-476e-a482-b928cbf351e3",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},$v={type:n.ReturnStatement,id:Lv,version:1,outputs:[p4],calledByError:[],calledByEntry:[],calledBySuccess:[y4],parent:f4,throws:null,x:0,y:0},h4={type:n.GenericReference,id:"a2db26be-57f2-48e5-9769-cdbf0d95dc7c",entityType:n.VariableDeclaration,entityId:"d0e9f1f3-7e9f-4e1f-8d8e-7b4b3e6c6a6a"},m4={like:!1,inferred:!1,id:"c3e9d5f0-204f-45f9-85f7-e1b56b468388",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:h4},T4={type:n.GenericReference,id:"692122c5-610a-4504-90dd-f5a5202d116c",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},E4={type:n.GenericReference,id:"do-math-func-return-one-called-by",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},b4={type:n.GenericReference,id:"6dceb501-be5b-4252-afb4-3c0d08abba33",entityType:n.OutputMap,entityId:"64752080-ee0f-4cfe-9897-a0668f2b2aca"},Fv={type:n.VariableDeclaration,id:"d0e9f1f3-7e9f-4e1f-8d8e-7b4b3e6c6a6a",version:1,name:"Result",dataType:m4,description:null,defaultValue:null,readsValue:b4,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[E4],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:T4},R4={type:n.GenericReference,id:"5440f523-af38-4981-8035-89d162fe8041",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},g4={type:n.GenericReference,id:"8c482c35-e674-4713-a1dd-63c3d13b611c",entityType:n.OutputMap,entityId:"64752080-ee0f-4cfe-9897-a0668f2b2aca"},v4={type:n.GenericReference,id:"c0a299cd-5869-4930-8cf0-90e3ceb8a903",entityType:n.VariableDeclaration,entityId:"46b2fe23-b417-4887-a35d-09b186679172"},I4={like:!1,inferred:!1,id:"51c0c1df-2ee3-41df-ae52-ac512d8cf795",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:v4},D4={type:n.GenericReference,id:"do-math-func-return-two-called-by",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Uv={type:n.VariableDeclaration,id:"46b2fe23-b417-4887-a35d-09b186679172",version:1,name:"Total",description:null,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[D4],successCalls:[],errorCalls:[],dataType:I4,readsValue:g4,writesValues:[],internalCalls:[],parent:R4,x:0,y:0},xv={type:n.GenericReference,id:"6e4d776e-6af2-4321-b630-c78110fd677c",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},P4={type:n.GenericReference,id:"5b60955b-2486-40b6-bb24-ffd97ccd8902",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},A4={type:n.GenericReference,id:"1a49923f-bc6f-453f-a438-e74e5475c2a9",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},O4={type:n.GenericReference,id:"02bfde0a-b757-4072-9613-6e9c7c9a424a",entityType:n.ArgumentDeclaration,entityId:"d8895765-f705-457e-85fa-25d130926769"},jv={id:"928953b0-0e3f-4d8c-ae5a-84620b4b8c68",version:1,type:n.InputMap,declaration:sl,name:null,description:null,readsValue:O4,defaultValue:null,index:0,parent:A4},S4={id:"64752080-ee0f-4cfe-9897-a0668f2b2aca",type:n.OutputMap,version:1,defaultValue:null,declaration:cl,writesValues:[Fv,Uv],index:0,parent:P4},C4={type:n.GenericReference,id:"d235a7f6-07ff-4f35-98d2-8f42dd59cf9f",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},B4={id:"8827e8e9-9381-4ad7-8f61-5419c23c9136",type:n.GenericReference,entityType:n.VariableDeclaration,entityId:"72a338d8-0183-4ca2-8760-227517854595"},kv={id:"a5525249-0eb5-472b-97bc-5e4cc0d75aee",version:1,type:n.InputMap,declaration:ol,name:null,description:null,readsValue:B4,defaultValue:null,index:1,parent:C4},w4={type:n.Operation,id:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e",declaration:Xa,version:1,inputs:[jv,kv],outputs:[S4],calledByError:[],calledByEntry:[xv],calledBySuccess:[],process:null,successCalls:[$v,Fv,Uv],errorCalls:[],parent:xv,error:null,x:0,y:0},_4={type:n.GenericReference,id:"a2c40226-2270-4963-a865-c777ba79c551",entityType:n.VariableDeclaration,entityId:"72a338d8-0183-4ca2-8760-227517854595"},N4={id:"f47731b3-f278-4ab5-aeb2-24519c1119fb",type:n.GenericReference,entityId:"72a338d8-0183-4ca2-8760-227517854595",entityType:n.ArgumentDeclaration},qv={like:!1,inferred:!1,id:"a350a9e9-25ee-477f-a83d-9e98ed2451662",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:N4},M4={type:n.GenericReference,id:"5f5d8dd0-7f3b-40cd-9f84-83d976887eaf",entityType:n.ArgumentDeclaration,entityId:"649bf0a4-6532-44aa-9818-a03d1c6564e9"},V4={type:n.GenericReference,id:"ca018d0f-a8b3-4c7e-a408-c8b372d04aff",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},L4={type:n.GenericReference,id:"do-math-func-var-called-by-ref",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},Jv={id:"72a338d8-0183-4ca2-8760-227517854595",type:n.VariableDeclaration,version:1,name:"Z",description:null,defaultValue:{id:"do-math-func-argument-two-default-value-id",type:n.LiteralValue,version:1,value:1,name:I.Number,valueAsType:null,autogeneration:null,parent:_4},dataType:qv,inputs:[],outputs:[],calledByError:[],calledByEntry:[L4],calledBySuccess:[],successCalls:[],errorCalls:[],readsValue:M4,writesValues:[kv],internalCalls:[],x:0,y:0,parent:V4},G4={entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b",type:n.GenericReference,id:"af0cf105-4075-425f-aecc-b25d3600fcc4"},$4={id:"649bf0a4-6532-44aa-9818-a03d1c6564e9",type:n.ArgumentDeclaration,version:1,name:"Z",description:"The number to add",defaultValue:null,dataType:qv,implements:null,writesValues:[Jv],required:!0,index:1,parent:G4},F4={type:n.GenericReference,id:"56953b5d-3e43-4dea-a62c-f3e868ba81bb",entityType:n.Project,entityId:W},U4={id:"868defc8-5c95-48ed-942d-257e8b9b9b00",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},x4={type:n.GenericReference,id:"35167664-a793-49f1-9eaf-fb57eac30897",entityType:n.VariableDeclaration,entityId:"d8895765-f705-457e-85fa-25d130926769"},j4={id:"d47ceef6-be6f-40f1-a7b3-c73c8d8a6c6a",type:n.GenericReference,entityId:"d8895765-f705-457e-85fa-25d130926769",entityType:n.ArgumentDeclaration},k4={like:!1,inferred:!1,id:"55b12914-91b1-48b7-9a3e-9c5d0d2a2ec2",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:j4},q4={id:"d8895765-f705-457e-85fa-25d130926769",type:n.ArgumentDeclaration,version:1,name:"N",dataType:k4,description:"The number to add",implements:null,defaultValue:{id:"do-math-func-argument-one-default-value-id",type:n.LiteralValue,version:1,value:5,name:I.Number,valueAsType:null,autogeneration:null,parent:x4},writesValues:[jv],required:!0,index:0,parent:U4},J4={type:n.FunctionDeclaration,id:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b",version:1,name:"Do math",description:"This function does math",inputs:[q4,$4],calls:[w4,Jv],implements:null,index:null,collapsed:!1,returnStatements:[$v],private:!1,x:0,y:0,parent:F4},Tt="replace-bank-account-in-company-func-declaration-id",Zc="company-entity-to-modify-arg-declaration-id",Kc="account-number-to-create-arg-decl-id",mi="company-main-variable-id",Ti="search-person-by-id-id",Wv="new-bank-account-owner-arg-decl-id",Hv="search-person-by-id-output-declaration-id",Xc="search-person-by-id-output-entity-map-id",Ia="person-not-empty-condition-id",to="create-new-bank-account-instance-operation-id",Yv="create-new-bank-account-instance-operation-output-entity-map-id",zv="company-bank-account-output-map-id",Qc="old-bank-account-var-declaration-id",Zv="old-bank-account-var-instance-id",Kv="company-variable-instance-id",ed="delete-bank-account-internal-call-id",Da="new-bank-account-data-variable-declaration-id",W4={type:n.GenericReference,id:"company-variable-instance-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},H4={type:n.GenericReference,id:"company-variable-instance-called-by-ref-id",entityType:n.InternalCall,entityId:ed},Y4={type:n.GenericReference,id:"company-variable-instance-declaration-ref-id",entityType:n.VariableDeclaration,entityId:mi},z4={type:n.GenericReference,id:"bank-account-input-map-parent-ref-id",entityType:n.VariableInstance,entityId:Kv},Z4={type:n.GenericReference,id:"bank-account-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Yv},Xv={type:n.InputMap,id:"bank-account-input-map-id",version:1,readsValue:Z4,declaration:Pc,name:null,description:null,index:0,defaultValue:null,parent:z4},K4={type:n.VariableInstance,id:Kv,version:1,defaultValue:null,declaration:Y4,inputs:[Xv],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[H4],successCalls:[],errorCalls:[],internalCalls:[],parent:W4,readsValue:null,writesValues:[],x:0,y:0},X4={type:n.GenericReference,id:"bank-account-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:mi},Q4={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"bank-account-variable-data-type-id",version:1,entity:pi,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:X4},ex={type:n.GenericReference,id:"bank-account-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:zv},tx={type:n.GenericReference,id:"bank-account-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},nx={type:n.GenericReference,id:"bank-account-variable-called-by-ref-id",entityType:n.VariableDeclaration,entityId:mi},rx={type:n.GenericReference,id:"delete-bank-account-internal-call-called-by-ref-id",entityType:n.Operation,entityId:to};n.GenericReference,n.VariableInstance;const ix={type:n.GenericReference,id:"delete-bank-account-internal-call-called-by-ref-two-id",entityType:n.VariableDeclaration,entityId:Qc},ax={type:n.GenericReference,id:"old-bank-account-variable-trigger-delete-decl-ref-id",entityType:n.VariableDeclaration,entityId:Qc},sx={type:n.GenericReference,id:"bank-account-variable-parent-ref-two-id",entityType:n.FunctionDeclaration,entityId:Tt},ox={type:n.GenericReference,id:"old-bank-account-variable-trigger-delete-internal-call-ref-id",entityType:n.InternalCall,entityId:ed},lx={type:n.VariableInstance,id:Zv,version:1,defaultValue:null,declaration:ax,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],internalCalls:[ox],errorCalls:[],parent:sx,readsValue:null,writesValues:[],x:0,y:0},Qv={process:null,type:n.InternalCall,id:ed,version:1,declaration:Yl,index:0,successCalls:[K4],errorCalls:[],inputs:[],outputs:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[rx,ix],parent:lx},eI={type:n.VariableDeclaration,id:Qc,version:1,name:"Old bank account",description:"The existing bank account that needs to be replaced in the company entity",dataType:Q4,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[nx],successCalls:[Qv],internalCalls:[],errorCalls:[],parent:tx,readsValue:ex,writesValues:[],x:0,y:0},cx={type:n.GenericReference,id:"company-variable-declaration-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:mi},dx={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"company-variable-declaration-data-type-id",version:1,entity:Ut,asType:!1,isList:!1,isNullable:!1,like:!1,inferred:!1,constant:!1,parent:cx},ux={type:n.GenericReference,id:"company-variable-declaration-reads-value-ref-id",entityType:n.ArgumentDeclaration,entityId:Zc},px={type:n.GenericReference,id:"company-variable-declaration-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},yx={type:n.GenericReference,id:"company-variable-declaration-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},fx={type:n.GenericReference,id:"company-bank-account-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:mi},hx={id:zv,version:1,type:n.OutputMap,defaultValue:null,declaration:Pc,index:0,parent:fx,writesValues:[eI]},tI={type:n.VariableDeclaration,id:mi,version:1,name:"Company",description:"The company entity that was passed as an argument to the parent function",defaultValue:null,dataType:dx,inputs:[],outputs:[hx],calledByError:[],calledByEntry:[yx],calledBySuccess:[],successCalls:[eI],errorCalls:[],parent:px,internalCalls:[],readsValue:ux,writesValues:[],x:0,y:0},mx={type:n.GenericReference,id:"create-new-bank-account-account-owner-dynamic-input-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Da},Tx={id:"create-new-bank-account-account-owner-dynamic-input-map-reads-value-ref-id",type:n.GenericReference,entityType:n.OutputMap,entityId:Xc},nI={id:"create-new-bank-account-account-owner-dynamic-input-map-id",version:1,type:n.InputMap,declaration:null,name:"Account owner",description:null,readsValue:Tx,index:1,defaultValue:null,parent:mx},Ex={id:"create-new-bank-account-account-number-dynamic-input-map-reads-value-ref-id",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:Kc},bx={type:n.GenericReference,id:"create-new-bank-account-account-number-dynamic-input-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Da},rI={id:"create-new-bank-account-account-number-dynamic-input-map-id",version:1,type:n.InputMap,declaration:null,name:"Account number",description:null,readsValue:Ex,defaultValue:null,index:0,parent:bx},iI={type:n.GenericReference,id:"create-new-bank-account-instance-operation-entity-to-create-input-map-parent-ref-id",entityType:n.Operation,entityId:to},Rx={id:"create-new-bank-account-instance-operation-entity-to-create-input-map-id",version:1,type:n.InputMap,declaration:ar.inputs[0],name:null,description:null,index:0,readsValue:null,defaultValue:{type:n.LiteralValue,name:I.EntityTemplate,value:null,valueAsType:pi,autogeneration:null},parent:iI},gx={type:n.GenericReference,id:"create-new-bank-account-instance-operation-entity-data-input-map-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:Da},aI={id:"create-new-bank-account-instance-operation-entity-data-input-map-id",version:1,type:n.InputMap,declaration:ar.inputs[1],name:null,description:null,index:1,readsValue:gx,defaultValue:null,parent:iI},vx={type:n.GenericReference,id:"create-new-bank-account-instance-operation-output-entity-map-parent-ref-id",entityType:n.Operation,entityId:to},Ix={id:Yv,version:1,type:n.OutputMap,defaultValue:null,declaration:ar.outputs[0],index:0,writesValues:[Xv],parent:vx},Dx={type:n.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:n.Condition,entityId:Ia},Px={type:n.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:n.VariableDeclaration,entityId:Da},Ax={type:n.GenericReference,id:"create-new-bank-account-instance-operation-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},sI={process:null,id:to,type:n.Operation,version:1,declaration:ar,inputs:[Rx,aI],error:null,outputs:[Ix],successCalls:[Qv],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[Px,Dx],parent:Ax,x:0,y:0},Ox={type:n.GenericReference,id:"new-bank-account-data-variable-declaration-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},Sx={type:n.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:n.Condition,entityId:Ia},Cx={id:Da,type:n.VariableDeclaration,version:1,defaultValue:null,inputs:[rI,nI],dataType:null,name:"New bank Account's data",description:null,readsValue:null,outputs:[],writesValues:[aI],successCalls:[sI],errorCalls:[],internalCalls:[],calledByError:[],calledBySuccess:[Sx],calledByEntry:[],x:0,y:0,parent:Ox},Bx={id:"person-not-found-thrown-error-datatype-default-value-parent-ref-id",type:n.GenericReference,entityId:"person-not-found-thrown-error-id",entityType:n.ReturnDeclaration},wx={id:"person-not-found-thrown-error-datatype-parent-ref-id",type:n.GenericReference,entityId:"person-not-found-thrown-error-id",entityType:n.ReturnDeclaration},_x={like:!1,inferred:!1,id:"person-not-found-thrown-error-datatype-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:wx},Nx={id:"person-not-found-thrown-error-parent-ref-id",type:n.GenericReference,entityId:"person-not-found-error-return-statement-id",entityType:n.ReturnStatement},Mx={isError:!0,id:"person-not-found-thrown-error-id",type:n.ReturnDeclaration,version:1,dataType:_x,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:n.LiteralValue,version:1,value:"Person not found",name:I.String,parent:Bx,valueAsType:null,autogeneration:null},parent:Nx,implements:null,required:!0,index:0,readsValue:null},Vx={id:"person-not-found-error-return-statement-called-by-ref-id",type:n.GenericReference,entityId:Ia,entityType:n.Condition},Lx={id:"person-not-found-error-return-statement-parent-ref-id",type:n.GenericReference,entityId:Tt,entityType:n.FunctionDeclaration},Gx={id:"person-not-found-error-return-statement-id",type:n.ReturnStatement,version:1,throws:Mx,outputs:[],calledBySuccess:[],calledByError:[Vx],calledByEntry:[],x:0,y:0,parent:Lx},$x={type:n.GenericReference,id:"person-not-empty-condition-called-by-ref-id",entityType:n.Search,entityId:Ti},Fx={type:n.GenericReference,id:"person-not-empty-condition-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},Ux={type:n.GenericReference,id:"person-entity-to-check-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Xc},xx={type:n.GenericReference,id:"person-not-empty-condition-ref-two-id",entityType:n.Condition,entityId:Ia},oI={id:"person-entity-to-check-map-id",version:1,type:n.InputMap,declaration:pr.inputs[0],name:null,description:null,readsValue:Ux,index:0,defaultValue:null,parent:xx},jx={type:n.Condition,id:Ia,version:1,declaration:pr,inputs:[oI],calledByError:[],calledByEntry:[],calledBySuccess:[$x],successCalls:[Cx,sI],errorCalls:[Gx],x:0,y:0,parent:Fx},kx={type:n.GenericReference,id:"search-person-by-id-output-entity-declaration-datatype-parent-ref-id",entityType:n.ValueDescriptor,entityId:Hv},qx={like:!1,inferred:!1,id:"search-person-by-id-output-entity-declaration-datatype-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,constant:!1,asType:!1,isNullable:!1,entity:ht,parent:kx},Jx={type:n.GenericReference,id:"search-person-by-id-output-entity-declaration-parent-ref-id",entityType:n.Search,entityId:Ti},lI={id:Hv,type:n.ValueDescriptor,version:1,defaultValue:null,dataType:qx,name:"Found person",description:"The person entity that was found",parent:Jx,required:!0,index:0},Wx={type:n.GenericReference,id:"search-person-by-id-output-entity-map-parent-ref-id",entityType:n.Search,entityId:Ti},Hx={type:n.OutputMap,id:Xc,version:1,defaultValue:null,declaration:lI,parent:Wx,writesValues:[oI,nI],index:0},Yx={id:"search-person-by-id-input-declaration-datatype-parent-ref-id",type:n.GenericReference,entityId:"search-person-by-id-input-declaration-id",entityType:n.ArgumentDeclaration};n.DataType;const zx={type:n.GenericReference,id:"search-person-by-id-input-declaration-parent-ref-id",entityType:n.Search,entityId:Ti},cI={id:"search-person-by-id-input-declaration-id",type:n.ValueDescriptor,version:1,dataType:null,defaultValue:null,name:"Person ID",description:"The unique identifier (ID) property of the person entity",parentRelationType:O.FixedArguments,index:0,required:!0,parent:zx},Zx={type:n.GenericReference,id:"search-person-by-id-input-map-parent-ref-id",entityType:n.Search,entityId:Ti},Kx={id:"search-person-by-id-input-map-reads-value-ref-id",type:n.GenericReference,entityId:Wv,entityType:n.ArgumentDeclaration},dI={type:n.InputMap,id:"search-person-by-id-input-map",version:1,declaration:cI,name:null,description:null,readsValue:Kx,defaultValue:null,parent:Zx,index:0},Xx="SELECT * FROM Person WHERE id = your_id;",Qx={type:n.GenericReference,id:"search-person-by-id-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},ej={type:n.GenericReference,id:"search-person-by-id-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},tj={type:n.Search,id:Ti,version:1,name:"Search person by ID",description:"Searches for a person entity given the UUID",query:Xx,inputsDeclarations:[cI],inputs:[dI],outputsDeclarations:[lI],outputs:[Hx],calledByError:[],calledByEntry:[ej],calledBySuccess:[],error:null,successCalls:[jx],errorCalls:[],parent:Qx,x:0,y:0};n.GenericReference,n.DataType;const nj={id:"account-number-to-create-arg-decl-data-type-parent-ref-id",type:n.GenericReference,entityId:Kc,entityType:n.ArgumentDeclaration},rj={like:!1,inferred:!1,id:"account-number-to-create-arg-decl-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:nj},ij={entityType:n.FunctionDeclaration,entityId:Tt,type:n.GenericReference,id:"account-number-to-create-arg-decl-parent-ref-id"},aj={id:Kc,type:n.ArgumentDeclaration,version:1,name:"Account number",description:"The account number of the new bank account entity",defaultValue:null,dataType:rj,implements:null,writesValues:[rI],required:!0,index:1,parent:ij};n.GenericReference,n.DataType;const sj={id:"new-bank-account-owner-arg-decl-data-type-parent-ref-id",type:n.GenericReference,entityId:"new-bank-account-owner-arg-decl-id",entityType:n.ArgumentDeclaration},oj={like:!1,inferred:!1,id:"new-bank-account-owner-arg-decl-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ln,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:sj},lj={entityType:n.FunctionDeclaration,entityId:Tt,type:n.GenericReference,id:"new-bank-account-owner-arg-decl-parent-ref-id"},cj={id:Wv,type:n.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:oj,implements:null,writesValues:[dI],required:!1,index:1,parent:lj},dj={type:n.GenericReference,id:"replace-bank-account-in-company-parent-ref",entityType:n.Project,entityId:W},uj={type:n.GenericReference,id:"company-entity-to-modify-parent-ref",entityType:n.FunctionDeclaration,entityId:Tt};n.GenericReference,n.DataType;const pj={id:"d47ceef6-be6f-40f1-a7b3-c73c8d8a6c6a",type:n.GenericReference,entityId:Zc,entityType:n.ArgumentDeclaration},yj={like:!1,inferred:!1,id:"company-entity-to-modify-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:pj},fj={id:Zc,type:n.ArgumentDeclaration,version:1,name:"Company",defaultValue:null,dataType:yj,implements:null,description:"The company to replace the bank account for",writesValues:[tI],required:!0,index:0,parent:uj},hj={type:n.FunctionDeclaration,id:Tt,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:[fj,aj,cj],index:null,implements:null,calls:[tj,tI],collapsed:!1,returnStatements:[],private:!1,x:0,y:0,parent:dj},mj={type:n.GenericReference,id:"e0a937bd-3a85-4037-a973-916985b9f94b",entityType:n.Project,entityId:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6"},Tj={type:n.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:mj,x:0,y:0},Ej={type:n.GenericReference,id:"948e6869-ae5b-4914-bea0-b9f02ad6a014",entityType:n.Project,entityId:"23b23d8b-1929-4505-a350-745c8550e731"},bj={type:n.GenericReference,id:"f3d6f2c6-1b3e-4e9d-8c9d-5b5b9f0b8d9c",entityType:n.Project,entityId:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6"},Rj={type:n.InstalledProject,version:1,id:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6",name:"Third Party Installed Project",description:null,functions:[Tj],events:[],implements:bj,parent:Ej,x:0,y:0},td="global-counted-test-loop-id",uI="global-counted-test-loop-body-id",pI="global-counted-test-loop-body-current-iteration-value-argument-declaration-id",gj={type:n.GenericReference,id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:pI,entityType:n.ArgumentDeclaration},vj={like:!1,inferred:!1,id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:gj},Ij={id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:uI,entityType:n.FunctionDeclaration},Dj={id:pI,type:n.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:vj,implements:Ml,required:!0,index:0,writesValues:[],parent:Ij},Pj={id:"global-counted-test-loop-body-parent-ref-id",type:n.GenericReference,entityId:td,entityType:n.Loop},Aj={id:uI,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[Dj],calls:[],implements:Vl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:Pj},Ei="random-company-employee-test-variable-id",nd="manager-global-variable-id",yI="global-user-instance-id",In="employee-mapped-dto-variable-id",Hn="employee-mapped-dto-variable-instance-id",fI="random-employee-id-output-map-id",hI="random-employee-birth-date-output-map-id",mI="random-employee-department-output-map-id",TI="random-employee-manager-output-map-id",EI="manager-global-id-output-map-id",bI="global-user-instance-id-output-map-id",Oj="employee-mapped-dto-requester-id-input-map-id",RI="employee-mapped-dto-now-timestamp-input-map-id",Sj="employee-mapped-dto-id-input-map-id",Cj="employee-mapped-dto-birth-date-input-map-id",Bj="employee-mapped-dto-department-input-map-id",wj="employee-mapped-dto-manager-input-map-id",_j={id:"global-counted-test-loop-iteration-number-input-map-parent-ref-id",type:n.GenericReference,entityId:td,entityType:n.Loop};n.GenericReference,n.VariableDeclaration;const Nj={id:"global-counted-test-loop-iteration-number-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:ps.inputs[0],defaultValue:null,readsValue:null,index:0,parent:_j},Mj={id:"global-counted-test-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},Vj={id:"global-counted-test-loop-called-by-success-ref-id",type:n.GenericReference,entityId:Hn,entityType:n.VariableDeclaration},Lj={id:td,type:n.Loop,version:1,declaration:ps,inputs:[Nj],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:Aj,calledByError:[],calledByEntry:[],calledBySuccess:[Vj],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:Mj},rd="global-object-keys-test-loop-id",gI="global-object-keys-test-loop-body-id",vI="global-object-keys-test-loop-body-current-iteration-value-argument-declaration-id",Gj={type:n.GenericReference,id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:vI,entityType:n.ArgumentDeclaration},$j={like:!1,inferred:!1,id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Gj},Fj={id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:gI,entityType:n.FunctionDeclaration},Uj={id:vI,type:n.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:$j,implements:wl,required:!0,index:0,writesValues:[],parent:Fj},xj={id:"global-object-keys-test-loop-body-parent-ref-id",type:n.GenericReference,entityId:rd,entityType:n.Loop},jj={id:gI,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[Uj],calls:[],implements:qi,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:xj},kj={id:"global-object-keys-test-loop-iteration-object-input-map-parent-ref-id",type:n.GenericReference,entityId:rd,entityType:n.Loop},qj={id:"global-object-keys-test-loop-iteration-object-input-map-reads-value-ref-id",type:n.GenericReference,entityId:In,entityType:n.VariableDeclaration},II={id:"global-object-keys-test-loop-iteration-object-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:qi.inputs[0],defaultValue:null,readsValue:qj,index:0,parent:kj},Jj={id:"global-object-keys-test-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},Wj={id:"global-object-keys-test-loop-called-by-success-ref-two-id",type:n.GenericReference,entityId:Hn,entityType:n.VariableDeclaration},Hj={id:"global-object-keys-test-loop-called-by-success-ref-one-id",type:n.GenericReference,entityId:In,entityType:n.VariableDeclaration},id={id:rd,type:n.Loop,version:1,declaration:qi,inputs:[II],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:jj,calledByError:[],calledByEntry:[],calledBySuccess:[Hj,Wj],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:Jj},ad="global-object-values-test-loop-id",DI="global-object-values-test-loop-body-id",PI="global-object-values-test-loop-body-current-iteration-value-argument-declaration-id",Yj={type:n.GenericReference,id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:PI,entityType:n.ArgumentDeclaration},zj={like:!1,inferred:!1,id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Yj},Zj={id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:DI,entityType:n.FunctionDeclaration},Kj={id:PI,type:n.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:zj,implements:_l,required:!0,index:0,writesValues:[],parent:Zj},Xj={id:"global-object-values-test-loop-body-parent-ref-id",type:n.GenericReference,entityId:ad,entityType:n.Loop},Qj={id:DI,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[Kj],calls:[],implements:Ji,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:Xj},e8={id:"global-object-values-test-loop-iteration-object-input-map-parent-ref-id",type:n.GenericReference,entityId:ad,entityType:n.Loop},t8={id:"global-object-values-test-loop-iteration-object-input-map-reads-value-ref-id",type:n.GenericReference,entityId:Hn,entityType:n.VariableDeclaration},AI={id:"global-object-values-test-loop-iteration-object-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:Ji.inputs[0],defaultValue:null,readsValue:t8,index:0,parent:e8},n8={id:"global-object-values-test-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},r8={id:"global-object-values-test-loop-called-by-success-ref-id",type:n.GenericReference,entityId:Hn,entityType:n.VariableDeclaration},OI={id:ad,type:n.Loop,version:1,declaration:Ji,inputs:[AI],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:Qj,calledByError:[],calledByEntry:[],calledBySuccess:[r8],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:n8},sd="global-test-iterate-over-string-loop-id",od="global-test-iterate-over-string-loop-body-id",no="global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-id",SI="global-test-iterate-over-string-loop-iteration-list-input-map-id",i8={type:n.GenericReference,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:no,entityType:n.ArgumentDeclaration},a8={like:!1,inferred:!1,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:i8},s8={id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:od,entityType:n.FunctionDeclaration},o8={id:no,type:n.ArgumentDeclaration,version:1,name:"Current character",description:"The current character value being processed.",defaultValue:null,dataType:a8,implements:Sl,required:!0,index:1,writesValues:[],parent:s8},l8={type:n.GenericReference,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:no,entityType:n.ArgumentDeclaration},c8={like:!1,inferred:!1,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:l8},d8={id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:od,entityType:n.FunctionDeclaration},u8={id:no,type:n.ArgumentDeclaration,version:1,name:"Current character",description:"The current character value being processed.",defaultValue:null,dataType:c8,implements:Cl,required:!0,index:0,writesValues:[],parent:d8},p8={id:"global-test-iterate-over-string-loop-body-parent-ref-id",type:n.GenericReference,entityId:sd,entityType:n.Loop},y8={id:od,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[u8,o8],calls:[],implements:Bl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:p8},f8={id:"global-test-iterate-over-string-loop-iteration-list-input-map-parent-ref-id",type:n.GenericReference,entityId:sd,entityType:n.Loop},h8={id:"global-test-iterate-over-string-loop-iteration-list-input-map-default-value-parent-ref-id",type:n.GenericReference,entityId:SI,entityType:n.InputMap},m8={id:"global-test-iterate-over-string-loop-iteration-list-input-map-default-value-id",type:n.LiteralValue,name:I.String,version:1,value:"Hello",valueAsType:null,autogeneration:{type:je.Random,rangeStart:4,rangeEnd:5},parent:h8},T8={id:SI,type:n.InputMap,version:1,name:null,description:null,declaration:us.inputs[0],defaultValue:m8,readsValue:null,index:0,parent:f8},E8={id:"global-test-iterate-over-string-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},b8={id:sd,type:n.Loop,version:1,declaration:us,inputs:[T8],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:y8,calledByError:[],calledByEntry:[],calledBySuccess:[],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:E8},ld="iterate-over-list-loop-id",CI="iterate-over-list-loop-body-id",BI="iterate-over-list-loop-body-current-iteration-value-argument-declaration-id",R8={type:n.GenericReference,id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:BI,entityType:n.ArgumentDeclaration},g8={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:R8},v8={id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:CI,entityType:n.FunctionDeclaration},I8={id:BI,type:n.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:g8,implements:cs,required:!0,index:0,writesValues:[],parent:v8},D8={id:"iterate-over-list-loop-body-parent-ref-id",type:n.GenericReference,entityId:ld,entityType:n.Loop},P8={id:CI,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[I8],calls:[],implements:ds,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:D8},A8={id:"iterate-over-list-loop-iteration-list-input-map-parent-ref-id",type:n.GenericReference,entityId:ld,entityType:n.Loop},O8={id:"iterate-over-list-loop-iteration-list-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:or.inputs[0],defaultValue:null,readsValue:null,index:0,parent:A8},S8={id:"iterate-over-list-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},C8={id:ld,type:n.Loop,version:1,declaration:or,inputs:[O8],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:P8,calledByError:[],calledByEntry:[],calledBySuccess:[],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:S8},B8=`SELECT
1
+ (function(d,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(d=typeof globalThis<"u"?globalThis:d||self,n(d["@elyx-code/project-logic-tree"]={}))})(this,function(d){"use strict";var gq=Object.defineProperty;var vq=(d,n,V)=>n in d?gq(d,n,{enumerable:!0,configurable:!0,writable:!0,value:V}):d[n]=V;var c=(d,n,V)=>(vq(d,typeof n!="symbol"?n+"":n,V),V);var n=(i=>(i.CustomEntity="custom-entity",i.BuiltInBaseEntity="built-in-base-entity",i.Project="project",i.InstalledProject="installed-project",i.GlobalEvent="global-event",i.DataType="data-type",i.FunctionCall="function-call",i.FunctionDeclaration="function-declaration",i.ActionDescriptor="action-descriptor",i.ValueDescriptor="value-descriptor",i.ArgumentDeclaration="argument-declaration",i.InputMap="input-map",i.ReturnStatement="return-statement",i.BreakStatement="break-statement",i.ContinueStatement="continue-statement",i.ReturnDeclaration="return-declaration",i.OutputMap="output-map",i.PrimitiveEntity="primitive-entity",i.LiteralValue="literal-value",i.Property="property",i.Operation="operation",i.Condition="condition",i.VariableDeclaration="variable-declaration",i.VariableInstance="variable-instance",i.Search="search",i.Loop="loop",i.InternalCall="internal-call",i.GenericReference="generic-reference",i))(n||{}),V=(i=>(i.HTTP_ENDPOINT="BUILT_IN_HTTP_ENDPOINT_ENTITY",i.RELATIONAL_DATABASE="BUILT_IN_RELATIONAL_DATABASE_ENTITY",i.PERSISTED_ENTITY="BUILT_IN_PERSISTED_ENTITY_ENTITY",i.CRON_JOB="BUILT_IN_CRON_JOB_ENTITY",i.EXECUTION="BUILT_IN_EXECUTION_ENTITY",i.KEY_VALUE_PARAM="BUILT_IN_KEY_VALUE_PARAM_ENTITY",i))(V||{}),je=(i=>(i.CurrentDateAndTime="current-date-and-time",i.Unique="unique",i.Random="random",i))(je||{}),I=(i=>(i.EntityTemplate="entity-template",i.ActionDescriptor="action-descriptor",i.String="string",i.Number="number",i.Boolean="boolean",i.Null="null",i.Enum="enum",i.KeyValue="key-value",i.Date="date",i.UUID="uuid",i.File="file",i.Untyped="untyped",i))(I||{}),Te=(i=>(i.Addition="addition",i.Subtraction="subtraction",i.Multiplication="multiplication",i.Division="division",i.Remainder="remainder",i.Exponentiation="exponentiation",i))(Te||{}),X=(i=>(i.Join="string-join",i.Split="string-split",i.DeleteLast="string-delete-last",i.DeleteFirst="string-delete-first",i.DeleteIndex="string-delete-index",i.AddIndex="string-add-index",i.ReplaceFirst="string-replace-first",i.ReplaceLast="string-replace-last",i.ReplaceIndex="string-replace-index",i.ReplaceSingleMatch="string-replace-single-match",i.ReplaceAllMatches="string-replace-all-matches",i.GetIndex="string-get-index",i.GetFirst="string-get-first",i.GetLast="string-get-last",i.Append="string-append",i.Prepend="string-prepend",i))(X||{}),H=(i=>(i.Join="list-join",i.Split="list-split",i.DeleteLast="list-delete-last",i.DeleteFirst="list-delete-first",i.DeleteIndex="list-delete-index",i.AddIndex="list-add-index",i.ReplaceFirst="list-replace-first",i.ReplaceLast="list-replace-last",i.ReplaceIndex="list-replace-index",i.ReplaceSingleMatch="list-replace-single-match",i.ReplaceAllMatches="list-replace-all-matches",i.GetIndex="list-get-index",i.GetFirst="list-get-first",i.GetLast="list-get-last",i.Append="list-append",i.Prepend="list-prepend",i))(H||{}),le=(i=>(i.Parallel="parallel",i.Sequential="sequential",i.Wait="wait",i))(le||{}),ce=(i=>(i.CreateNewInstance="create-new-instance",i.Validate="validate",i))(ce||{}),tt=(i=>(i.HttpRequest="base-http-request",i))(tt||{}),$e=(i=>(i.Equal="equal",i.NotEqual="not-equal",i.And="and",i.Or="or",i.LessThan="less-than",i.MoreThan="more-than",i.LessThanOrEqual="less-than-or-equal",i.MoreThanOrEqual="more-than-or-equal",i))($e||{}),Gt=(i=>(i.Empty="empty",i.NotEmpty="not-empty",i))(Gt||{}),$=(i=>(i.ManualFlow="manual-flow-loop",i.Counted="counted-loop",i.List="list-loop",i.ObjectKeys="object-keys-loop",i.ObjectValues="object-values-loop",i.String="string-loop",i))($||{}),O=(i=>(i.FixedArguments="fixed-arguments",i.FixedReturns="fixed-returns",i.ReturnedError="returned-error",i.OngoingProcessExecution="ongoing-process-execution",i.DynamicArgument="dynamic-argument-types",i.DynamicReturn="dynamic-return-types",i))(O||{}),He=(i=>(i.OrDataTypeGroup="or-data-type-group",i.AndDataTypeGroup="and-data-type-group",i))(He||{}),fn=(i=>(i.PROJECT_PUBLICATION_COMPLETED="GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED",i))(fn||{}),Bt=(i=>(i.DeletePersistedEntity="base-delete-persisted-entity",i.SoftDeletePersistedEntity="base-soft-delete-persisted-entity",i.AbortExecution="base-abort-execution",i))(Bt||{}),zr=(i=>(i.Error="error",i.Task="task",i.Return="return",i))(zr||{});const Nn=[n.VariableDeclaration,n.VariableInstance,n.InputMap,n.ReturnDeclaration],ke=[n.VariableDeclaration,n.VariableInstance,n.ArgumentDeclaration,n.OutputMap],Ku=[...Nn,...ke],Fe=[n.VariableDeclaration,n.VariableInstance],Zr=[n.GlobalEvent],Ue=[n.Operation,n.FunctionCall,n.Condition,n.Search,n.VariableDeclaration,n.VariableInstance,n.InternalCall,n.Loop],nl=[n.Operation,n.FunctionCall,n.Condition,n.Search,n.VariableDeclaration,n.VariableInstance,n.Loop],xe=[n.FunctionDeclaration,...Zr],hn=[...Ue,n.ReturnStatement,n.BreakStatement,n.ContinueStatement],rl=[...nl,n.ReturnStatement,n.BreakStatement,n.ContinueStatement],Qt=[...Ue,...xe],Xu=[...nl,...xe],BA=[...hn,...xe],wA=[...rl,...xe],pt=[...xe,n.Loop],Ve=[n.ReturnStatement,n.BreakStatement,n.ContinueStatement],_A=[n.CustomEntity,n.BuiltInBaseEntity,n.Project,n.InstalledProject,n.GlobalEvent,n.DataType,n.FunctionCall,n.FunctionDeclaration,n.ActionDescriptor,n.ValueDescriptor,n.ArgumentDeclaration,n.InputMap,n.ReturnStatement,n.BreakStatement,n.ContinueStatement,n.ReturnDeclaration,n.OutputMap,n.PrimitiveEntity,n.LiteralValue,n.Property,n.Operation,n.Condition,n.VariableDeclaration,n.VariableInstance,n.Search,n.Loop,n.InternalCall],il=[n.CustomEntity,n.GlobalEvent,n.FunctionDeclaration,n.FunctionCall,n.VariableDeclaration,n.VariableInstance,n.Operation,n.Condition,n.ReturnStatement,n.BreakStatement,n.ContinueStatement,n.InstalledProject,n.Loop,n.Search],Qu=[n.CustomEntity,n.FunctionDeclaration,n.ArgumentDeclaration,n.ReturnDeclaration,n.Property,n.VariableDeclaration,n.Search,n.Project,n.InstalledProject,n.ActionDescriptor,n.ValueDescriptor],Kr=[n.BuiltInBaseEntity,n.PrimitiveEntity],NA=[n.CustomEntity,n.FunctionDeclaration,n.ArgumentDeclaration,n.ReturnDeclaration,n.Property,n.VariableDeclaration,n.GlobalEvent,n.Search,n.Project,n.InstalledProject,n.ActionDescriptor,n.ValueDescriptor,n.InputMap,n.OutputMap,n.FunctionCall,n.Operation,n.Condition,n.ReturnStatement,n.BreakStatement,n.ContinueStatement,n.VariableInstance,n.LiteralValue,n.InternalCall];var al=(i=>(i.ActionOngoingProcessOutputValue="action-ongoing-process-output-value-descriptor-id",i))(al||{});const B={[n.PrimitiveEntity]:{[I.String]:{id:"8b5fbe15-4c2b-48c0-9fd8-e5efbe3978dc",properties:{}},[I.Boolean]:{id:"f596545d-1565-4faa-9969-d95fa5edfea4",properties:{}},[I.Number]:{id:"ecb84c29-6153-4b82-86a5-fce2b5f92002",properties:{}},[I.KeyValue]:{id:"b6f3c3c4-9c3d-4f9d-9e9e-1c0f6a3c8c6b",properties:{}},[I.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"}}}}},[I.UUID]:{id:"4a6234aa-c0f6-4731-b4dd-750388029226",properties:{}},[I.Date]:{id:"dc58f38b-d574-4956-aac6-32ce9529b937",properties:{}},[I.Null]:{id:"7d698f34-5a89-4aab-846b-07ef3843b8c4",properties:{}},[I.Untyped]:{id:"4044a018-818e-49d7-bf9a-c3dd1fff2102",properties:{}}},[n.ValueDescriptor]:{"action-ongoing-process-output-value-descriptor-id":{id:"action-ongoing-process-output-value-descriptor-id",dataType:{id:"process-output-value-data-type-id"}}},[n.BuiltInBaseEntity]:{[V.KEY_VALUE_PARAM]:{id:V.KEY_VALUE_PARAM},[V.HTTP_ENDPOINT]:{id:V.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"}}},[V.PERSISTED_ENTITY]:{id:V.PERSISTED_ENTITY,properties:{database:{id:"persisted-built-in-base-entity-database-property-id"},primaryKey:{id:"persisted-built-in-base-entity-primary-key-property-id"}}},[V.RELATIONAL_DATABASE]:{id:V.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"}}},[V.CRON_JOB]:{id:V.CRON_JOB,properties:{expression:{id:"cron-job-built-in-base-entity-expression-property-id"}}}},[n.Operation]:{[X.Join]:{id:X.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"}}},[X.Split]:{id:X.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"}}},[Te.Addition]:{id:Te.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"}}},[Te.Subtraction]:{id:Te.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"}}},[tt.HttpRequest]:{id:tt.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"}}},[ce.Validate]:{id:ce.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"}}},[le.Parallel]:{id:le.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"}}}},[n.Loop]:{[$.List]:{id:$.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"}}}},[$.String]:{id:$.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"}}}},[$.ObjectKeys]:{id:$.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"}}}},[$.ObjectValues]:{id:$.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"}}}},[$.ManualFlow]:{id:$.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"}}}},[$.Counted]:{id:$.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"}}}}},[n.Condition]:{[$e.MoreThanOrEqual]:{id:$e.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"}}}},[Gt.NotEmpty]:{id:Gt.NotEmpty,inputs:{leftHand:{id:"condition-not-empty-input-id"}}}},[n.GlobalEvent]:{[fn.PROJECT_PUBLICATION_COMPLETED]:{id:fn.PROJECT_PUBLICATION_COMPLETED}}},wt=B[n.PrimitiveEntity],U={type:n.PrimitiveEntity,id:wt.string.id,description:"A string of characters.",version:1,name:I.String,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Mn={type:n.PrimitiveEntity,id:wt.boolean.id,description:"A 'true' or 'false' value.",version:1,name:I.Boolean,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Z={type:n.PrimitiveEntity,id:wt.number.id,description:"A number value.",version:1,name:I.Number,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},MA={type:n.PrimitiveEntity,id:wt.null.id,description:"An explicitly empty value.",version:1,name:I.Null,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Xe={type:n.PrimitiveEntity,id:wt.untyped.id,description:"Data of any type that isn't known in advance.",version:1,name:I.Untyped,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},ep={id:"c2f52f01-8f2e-490e-8083-72289c8189c1",type:n.GenericReference,entityId:wt.enum.properties.options.id,entityType:n.Property},tp={id:"4e803941-2e6a-4227-b803-b8877c0d7fee",type:n.GenericReference,entityId:"00ccfcae-2104-45ef-bf6c-50ddccd74286",entityType:n.Property},np={like:!1,inferred:!1,id:wt.enum.properties.options.dataType.id,version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:U,asType:!1,parent:tp},rp={id:"a2983c4c-0286-4ef1-8b5c-5a52904d3200",type:n.GenericReference,entityId:"9542b8b4-2642-4eee-9db9-def7963a17a0",entityType:n.PrimitiveEntity},ip={hidden:!1,required:!0,id:wt.enum.properties.options.id,name:"Options",version:1,type:n.Property,private:!1,abstract:!1,implements:null,static:!1,index:0,defaultValue:{id:wt.enum.properties.options.dataType.defaultValue.id,type:n.LiteralValue,version:1,name:I.KeyValue,autogeneration:null,value:[],valueAsType:null,parent:ep},dataType:np,description:"Options for the enum. Each option is a text value.",parent:rp},Vn={type:n.PrimitiveEntity,id:wt.enum.id,description:"A set of text options to choose from.",version:1,name:I.Enum,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[ip],methods:[]},mn={type:n.PrimitiveEntity,id:wt.date.id,description:"A date and time value.",version:1,name:I.Date,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},Ln={type:n.PrimitiveEntity,id:wt.uuid.id,description:"A unique identifier in the form of a 36-character string.",version:1,name:I.UUID,static:!1,abstract:!1,abstractMethods:[],extends:[U],properties:[],methods:[]},Fi={type:n.PrimitiveEntity,id:wt[I.KeyValue].id,description:"A complex data structure with any combination of properties with names and values.",version:1,name:I.KeyValue,static:!1,abstract:!1,abstractMethods:[],extends:[],properties:[],methods:[]},en=B[n.Operation][Te.Addition],ap={type:n.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:en.inputs.firstSummand.id,entityType:n.ValueDescriptor},sp={like:!1,inferred:!1,id:"number-addition-first-number-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:ap},op={type:n.GenericReference,id:"9f486db2-a983-4293-9eef-81d4fc8d2d3e",entityId:en.inputs.secondSummand.id,entityType:n.ValueDescriptor},lp={like:!1,inferred:!1,id:"1d4abe83-3e87-4f74-99be-c1fd8c2f8d2d",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:op},cp={type:n.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:en.outputs.result.id,entityType:n.ValueDescriptor},dp={like:!1,inferred:!1,id:en.outputs.result.dataType.id,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:cp},up={type:n.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:Te.Addition,entityType:n.ActionDescriptor},sl={id:en.inputs.firstSummand.id,type:n.ValueDescriptor,version:1,name:"Summand",description:"The first number to add",defaultValue:null,dataType:sp,required:!0,parentRelationType:O.FixedArguments,index:0,parent:up},pp={type:n.GenericReference,id:"c5015128-4a65-462c-9da0-1c86e83ef897",entityId:Te.Addition,entityType:n.ActionDescriptor},ol={id:en.inputs.secondSummand.id,type:n.ValueDescriptor,description:"The second number to add",version:1,name:"Summand",defaultValue:null,dataType:lp,required:!0,parentRelationType:O.FixedArguments,index:1,parent:pp},ll={type:n.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:Te.Addition,entityType:n.ActionDescriptor},cl={parentRelationType:O.FixedReturns,id:en.outputs.result.id,type:n.ValueDescriptor,description:"The result number of the addition",version:1,name:"Result",defaultValue:null,dataType:dp,required:!0,index:0,parent:ll},yp={type:n.GenericReference,id:"number-addition-operation-error-parent-ref",entityId:Te.Addition,entityType:n.ActionDescriptor},fp={parentRelationType:O.FixedReturns,id:en.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:yp},hp={type:n.GenericReference,id:"number-addition-operation-dynamic-summand-argument-type-parent-ref",entityId:en.inputs.dynamicSummand.id,entityType:n.ValueDescriptor},mp={like:!1,inferred:!1,id:"number-addition-operation-dynamic-summand-argument-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:hp},Tp={parentRelationType:O.DynamicArgument,id:en.inputs.dynamicSummand.id,type:n.ValueDescriptor,description:"A number to add",version:1,name:"Summand",defaultValue:null,dataType:mp,required:!0,index:2,parent:ll},Xa={id:Te.Addition,type:n.ActionDescriptor,description:"Sum numbers",version:1,name:Te.Addition,inputs:[sl,ol,Tp],error:fp,outputs:[cl],parent:null},tn=B[n.Operation][Te.Subtraction],Ep={type:n.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:tn.inputs.minuend.id,entityType:n.ValueDescriptor},bp={like:!1,inferred:!1,id:"number-subtraction-first-number-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Ep},Rp={type:n.GenericReference,id:"9f486db2-a983-4293-9eef-81d4fc8d2d3e",entityId:tn.inputs.subtrahend.id,entityType:n.ValueDescriptor},gp={like:!1,inferred:!1,id:"1d4abe83-3e87-4f74-99be-c1fd8c2f8d2d",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Rp},vp={type:n.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:tn.outputs.result.id,entityType:n.ValueDescriptor},Ip={like:!1,inferred:!1,id:tn.outputs.result.dataType.id,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:vp},dl={type:n.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:Te.Subtraction,entityType:n.ActionDescriptor},Dp={id:tn.inputs.minuend.id,type:n.ValueDescriptor,version:1,name:"Minuend",description:"Base number to substract from",defaultValue:null,dataType:bp,required:!0,parentRelationType:O.FixedArguments,index:0,parent:dl},Pp={type:n.GenericReference,id:"c5015128-4a65-462c-9da0-1c86e83ef897",entityId:Te.Subtraction,entityType:n.ActionDescriptor},Ap={id:tn.inputs.subtrahend.id,type:n.ValueDescriptor,description:"The second number to substract",version:1,name:"Subtrahend",defaultValue:null,dataType:gp,required:!0,parentRelationType:O.FixedArguments,index:1,parent:Pp},Op={type:n.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:Te.Subtraction,entityType:n.ActionDescriptor},Sp={parentRelationType:O.FixedReturns,id:tn.outputs.result.id,type:n.ValueDescriptor,description:"The result number of the subtraction",version:1,name:"Result",defaultValue:null,dataType:Ip,required:!0,index:0,parent:Op},Cp={type:n.GenericReference,id:"number-subtraction-operation-error-parent-ref",entityId:Te.Subtraction,entityType:n.ActionDescriptor},Bp={parentRelationType:O.FixedReturns,id:tn.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Cp},wp={type:n.GenericReference,id:"number-subtraction-operation-dynamic-subtrahend-argument-type-parent-ref",entityId:tn.inputs.dynamicSubtrahend.id,entityType:n.ValueDescriptor},_p={like:!1,inferred:!1,id:"number-subtraction-operation-dynamic-subtrahend-argument-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:wp},Np={id:tn.inputs.dynamicSubtrahend.id,type:n.ValueDescriptor,version:1,name:"Subtrahend",description:"A number to substract",defaultValue:null,dataType:_p,required:!0,parentRelationType:O.DynamicArgument,index:2,parent:dl},ul={id:Te.Subtraction,type:n.ActionDescriptor,description:"Substract numbers",version:1,name:Te.Subtraction,inputs:[Dp,Ap,Np],error:Bp,outputs:[Sp],parent:null},Mp={[Te.Addition]:Xa,[Te.Subtraction]:ul},$t=B[n.Operation][X.Join],Vp={type:n.GenericReference,id:"join-strings-first-string-argument-declaration",entityId:$t.inputs.first.id,entityType:n.ValueDescriptor},Lp={like:!1,inferred:!1,id:"join-strings-first-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Vp},Gp={type:n.GenericReference,id:"join-strings-second-string-argument-declaration",entityId:$t.inputs.second.id,entityType:n.ValueDescriptor},$p={like:!1,inferred:!1,id:"join-strings-second-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Gp},Fp={type:n.GenericReference,id:"join-strings-result-string-return-delaration",entityId:$t.outputs.result.id,entityType:n.ValueDescriptor},Up={like:!1,inferred:!1,id:"join-strings-result-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Fp},xp={type:n.GenericReference,id:"join-strings-operation-first-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Qa={id:$t.inputs.first.id,type:n.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:Lp,parentRelationType:O.FixedArguments,required:!0,index:1,parent:xp},jp={type:n.GenericReference,id:"join-strings-first-string-argument-declaration",entityId:$t.inputs.first.id,entityType:n.ValueDescriptor},kp={type:n.GenericReference,id:"join-strings-separator-string-data-type-default-value-parent-ref",entityId:$t.inputs.separator.id,entityType:n.ValueDescriptor},qp={type:n.LiteralValue,id:"join-strings-separator-string-data-type-default-value-id",version:1,name:I.String,value:"",valueAsType:null,autogeneration:null,parent:kp},Jp={like:!1,inferred:!1,id:"join-strings-separator-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:jp},Wp={type:n.GenericReference,id:"join-strings-operation-separator-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Hp={id:$t.inputs.separator.id,type:n.ValueDescriptor,version:1,name:"Separator",description:"The text value that will be inserted between each of the values that are joined.",defaultValue:qp,dataType:Jp,parentRelationType:O.FixedArguments,required:!1,index:0,parent:Wp},Yp={type:n.GenericReference,id:"join-strings-operation-second-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},es={id:$t.inputs.second.id,type:n.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:$p,parentRelationType:O.FixedArguments,required:!0,index:2,parent:Yp},zp={type:n.GenericReference,id:"join-strings-operation-result-string-return-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Ui={parentRelationType:O.FixedReturns,id:$t.outputs.result.id,type:n.ValueDescriptor,version:1,name:"Result",description:"The resulting text value.",defaultValue:null,dataType:Up,required:!0,index:0,parent:zp},Zp={type:n.GenericReference,id:"join-strings-operation-error-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Kp={parentRelationType:O.FixedReturns,id:$t.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Zp},Xp={type:n.GenericReference,id:"join-strings-dynamic-string-argument-declaration",entityId:$t.inputs.dynamicString.id,entityType:n.ValueDescriptor},Qp={like:!1,inferred:!1,id:"join-strings-dynamic-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Xp},ey={type:n.GenericReference,id:"join-strings-operation-dynamic-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},ty={id:$t.inputs.dynamicString.id,type:n.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:Qp,parentRelationType:O.DynamicArgument,required:!0,index:3,parent:ey},xi={id:X.Join,type:n.ActionDescriptor,version:1,name:X.Join,description:"Join text values together, to form a single resulting text value.",inputs:[Hp,Qa,es,ty],outputs:[Ui],error:Kp,parent:null},Tn=B[n.Operation][X.Split],ny={type:n.GenericReference,id:"split-string-string-argument-declaration",entityId:Tn.inputs.stringValue.id,entityType:n.ValueDescriptor},ry={like:!1,inferred:!1,id:"split-string-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ny},iy={type:n.GenericReference,id:"split-string-index-argument-declaration",entityId:Tn.inputs.indexLocation.id,entityType:n.ValueDescriptor},ay={like:!1,inferred:!1,id:"split-string-index-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:iy},sy={type:n.GenericReference,id:"split-string-first-part-result-string-return-delaration",entityId:Tn.outputs.firstPartResult.id,entityType:n.ValueDescriptor},oy={like:!1,inferred:!1,id:"split-string-first-part-result-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:sy},ly={type:n.GenericReference,id:"split-string-second-part-result-string-return-delaration",entityId:Tn.outputs.secondPartResult.id,entityType:n.ValueDescriptor},cy={like:!1,inferred:!1,id:"split-string-second-part-result-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ly},dy={type:n.GenericReference,id:"split-string-operation-string-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},uy={id:Tn.inputs.stringValue.id,type:n.ValueDescriptor,version:1,name:"Text value",description:"The text value that will be split into two at the given index location.",defaultValue:null,dataType:ry,parentRelationType:O.FixedArguments,required:!0,index:0,parent:dy},py={type:n.GenericReference,id:"split-string-operation-index-argument-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},yy={id:Tn.inputs.indexLocation.id,type:n.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:ay,parentRelationType:O.FixedArguments,required:!0,index:1,parent:py},fy={type:n.GenericReference,id:"split-string-operation-second-part-result-string-return-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},VA={parentRelationType:O.FixedReturns,id:Tn.outputs.secondPartResult.id,type:n.ValueDescriptor,version:1,name:"Second part",description:"The secont part of the resulting text value.",defaultValue:null,dataType:cy,required:!0,index:1,parent:fy},hy={type:n.GenericReference,id:"split-string-operation-first-part-result-string-return-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},my={parentRelationType:O.FixedReturns,id:Tn.outputs.firstPartResult.id,type:n.ValueDescriptor,version:1,name:"First part",description:"The first part of the resulting text value.",defaultValue:null,dataType:oy,required:!0,index:0,parent:hy},Ty={type:n.GenericReference,id:"split-string-operation-error-parent-ref",entityId:X.Join,entityType:n.ActionDescriptor},Ey={parentRelationType:O.FixedReturns,id:Tn.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Ty},pl={id:X.Split,type:n.ActionDescriptor,version:1,name:X.Split,description:"Split a text into two, at the given index location.",inputs:[uy,yy],outputs:[my],error:Ey,parent:null},by={[X.Join]:xi,[X.Split]:pl};var Ry=(i=>(i.FirstInputList="join-list-first-list-argument-declaration",i.SecondInputList="join-list-second-list-argument-declaration",i))(Ry||{}),gy=(i=>(i.ResultList="join-list-result-list-return-delaration",i.Error="join-list-error-return-delaration",i))(gy||{});const vy={type:n.GenericReference,id:"join-list-operation-first-list-argument-ref",entityId:"join-list-first-list-argument-declaration",entityType:n.ValueDescriptor},Iy={like:!1,inferred:!1,id:"join-list-first-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:vy},Dy={type:n.GenericReference,id:"join-list-operation-second-list-argument-ref",entityId:"join-list-second-list-argument-declaration",entityType:n.ValueDescriptor},Py={like:!1,inferred:!1,id:"join-list-second-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Dy},Ay={type:n.GenericReference,id:"join-list-operation-result-list-return-ref",entityId:"join-list-result-list-return-delaration",entityType:n.ValueDescriptor},Oy={like:!1,inferred:!1,id:"join-list-result-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Ay},Sy={type:n.GenericReference,id:"join-list-operation-first-list-argument-parent-ref",entityId:H.Join,entityType:n.ActionDescriptor},Cy={id:"join-list-first-list-argument-declaration",type:n.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:Iy,parentRelationType:O.FixedArguments,required:!0,index:0,parent:Sy},By={type:n.GenericReference,id:"join-list-operation-second-list-argument-parent-ref",entityId:H.Join,entityType:n.ActionDescriptor},wy={id:"join-list-second-list-argument-declaration",type:n.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:Py,parentRelationType:O.FixedArguments,required:!0,index:1,parent:By},_y={type:n.GenericReference,id:"join-list-operation-result-list-return-parent-ref",entityId:H.Join,entityType:n.ActionDescriptor},Ny={parentRelationType:O.FixedReturns,id:"join-list-result-list-return-delaration",type:n.ValueDescriptor,version:1,name:"Result",description:"The resulting list value.",defaultValue:null,dataType:Oy,required:!0,index:0,parent:_y},My={type:n.GenericReference,id:"join-list-operation-error-parent-ref",entityId:H.Join,entityType:n.ActionDescriptor},Vy={parentRelationType:O.FixedReturns,id:"join-list-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:My},yl={id:H.Join,type:n.ActionDescriptor,version:1,name:H.Join,description:"Join two lists together, to form a single resulting list value.",inputs:[Cy,wy],error:Vy,outputs:[Ny],parent:null};var Ly=(i=>(i.InputList="list-to-split-argument-declaration",i.SplitIndex="split-list-index-argument-declaration",i))(Ly||{}),Gy=(i=>(i.FirstOutputList="split-list-first-output-list-return-delaration",i.SecondOutputList="split-list-second-output-list-return-delaration",i.Error="split-list-error-return-delaration",i))(Gy||{});const $y={type:n.GenericReference,id:"split-list-operation-input-list-argument-ref",entityId:"list-to-split-argument-declaration",entityType:n.ValueDescriptor},Fy={like:!1,inferred:!1,id:"split-list-operation-input-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:$y},Uy={type:n.GenericReference,id:"split-list-operation-split-index-argument-ref",entityId:"split-list-index-argument-declaration",entityType:n.ValueDescriptor},xy={like:!1,inferred:!1,id:"split-list-operation-split-index-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Uy},fl={type:n.GenericReference,id:"split-list-operation-first-output-list-return-ref",entityId:"split-list-first-output-list-return-delaration",entityType:n.ValueDescriptor},jy={like:!1,inferred:!1,id:"split-list-operation-first-output-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:fl},ky={type:n.GenericReference,id:"split-list-operation-input-list-argument-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},qy={id:"list-to-split-argument-declaration",type:n.ValueDescriptor,version:1,name:"List to split",description:"The list to split at the given index",defaultValue:null,dataType:Fy,parentRelationType:O.FixedArguments,required:!0,index:0,parent:ky},Jy={type:n.GenericReference,id:"split-list-operation-split-index-argument-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},Wy={id:"split-list-index-argument-declaration",type:n.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:xy,parentRelationType:O.FixedArguments,required:!0,index:1,parent:Jy},Hy={type:n.GenericReference,id:"split-list-operation-first-output-list-return-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},Yy={parentRelationType:O.FixedReturns,id:"split-list-first-output-list-return-delaration",type:n.ValueDescriptor,version:1,name:"First list",description:"The list of values up to the split index",defaultValue:null,dataType:jy,required:!0,index:0,parent:Hy},zy={like:!1,inferred:!1,id:"split-list-operation-second-output-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:fl},Zy={type:n.GenericReference,id:"split-list-operation-second-output-list-return-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},Ky={parentRelationType:O.FixedReturns,id:"split-list-second-output-list-return-delaration",type:n.ValueDescriptor,version:1,name:"Second list",description:"The list of values up to the split index",defaultValue:null,dataType:zy,required:!0,index:0,parent:Zy},Xy={type:n.GenericReference,id:"split-list-operation-error-parent-ref",entityId:H.Split,entityType:n.ActionDescriptor},Qy={parentRelationType:O.FixedReturns,id:"split-list-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Xy},hl={id:H.Split,type:n.ActionDescriptor,version:1,name:H.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:[qy,Wy],outputs:[Yy,Ky],error:Qy,parent:null};var ef=(i=>(i.InputList="get-last-in-list-input-list-argument-declaration",i))(ef||{}),tf=(i=>(i.OutputElement="get-last-in-list-output-element-return-delaration",i.Error="get-last-in-list-error-return-delaration",i))(tf||{});const nf={type:n.GenericReference,id:"get-last-in-list-operation-input-list-argument-ref",entityId:"get-last-in-list-input-list-argument-declaration",entityType:n.ValueDescriptor},rf={like:!1,inferred:!1,id:"get-last-in-list-input-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:nf},af={type:n.GenericReference,id:"get-last-in-list-operation-output-element-return-ref",entityId:"get-last-in-list-output-element-return-delaration",entityType:n.ValueDescriptor},sf={like:!1,inferred:!1,id:"get-last-in-list-output-element-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:af},of={type:n.GenericReference,id:"get-last-in-list-operation-input-list-argument-parent-ref",entityId:H.GetLast,entityType:n.ActionDescriptor},lf={id:"get-last-in-list-input-list-argument-declaration",type:n.ValueDescriptor,version:1,name:"List",description:"The list to get the last element from.",defaultValue:null,dataType:rf,parentRelationType:O.FixedArguments,required:!0,index:0,parent:of},cf={type:n.GenericReference,id:"get-last-in-list-operation-output-element-return-parent-ref",entityId:H.GetLast,entityType:n.ActionDescriptor},df={parentRelationType:O.FixedReturns,id:"get-last-in-list-output-element-return-delaration",type:n.ValueDescriptor,version:1,name:"Last element",description:"The last element of the given list.",defaultValue:null,dataType:sf,required:!0,index:0,parent:cf},uf={type:n.GenericReference,id:"get-last-in-list-operation-error-parent-ref",entityId:H.GetLast,entityType:n.ActionDescriptor},pf={parentRelationType:O.FixedReturns,id:"get-last-in-list-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:uf},ml={id:H.GetLast,type:n.ActionDescriptor,version:1,name:H.GetLast,description:"Outputs the last element of a given list.",inputs:[lf],outputs:[df],error:pf,parent:null};var yf=(i=>(i.List="append-to-list-lsit-argument-declaration",i.ElementToAppend="append-to-list-element-to-append-argument-declaration",i))(yf||{}),ff=(i=>(i.ResultList="append-to-list-result-list-return-delaration",i.Error="append-to-list-error-return-delaration",i))(ff||{});const hf={type:n.GenericReference,id:"append-to-list-operation-lsit-argument-ref",entityId:"append-to-list-lsit-argument-declaration",entityType:n.ValueDescriptor},mf={like:!1,inferred:!1,id:"append-to-list-lsit-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:hf},Tf={type:n.GenericReference,id:"append-to-list-operation-second-list-argument-ref",entityId:"append-to-list-element-to-append-argument-declaration",entityType:n.ValueDescriptor},Ef={like:!1,inferred:!1,id:"append-to-list-second-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Tf},bf={type:n.GenericReference,id:"append-to-list-operation-result-list-return-ref",entityId:"append-to-list-result-list-return-delaration",entityType:n.ValueDescriptor},Rf={like:!1,inferred:!1,id:"append-to-list-result-list-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:bf},gf={type:n.GenericReference,id:"append-to-list-operation-lsit-argument-parent-ref",entityId:H.Append,entityType:n.ActionDescriptor},Tl={id:"append-to-list-lsit-argument-declaration",type:n.ValueDescriptor,version:1,name:"List value",description:"The list to which the element will be appended",defaultValue:null,dataType:mf,parentRelationType:O.FixedArguments,required:!0,index:0,parent:gf},vf={type:n.GenericReference,id:"append-to-list-operation-second-list-argument-parent-ref",entityId:H.Append,entityType:n.ActionDescriptor},El={id:"append-to-list-element-to-append-argument-declaration",type:n.ValueDescriptor,version:1,name:"Element",description:"The element that will be added at the end of the list",defaultValue:null,dataType:Ef,parentRelationType:O.FixedArguments,required:!0,index:1,parent:vf},If={type:n.GenericReference,id:"append-to-list-operation-result-list-return-parent-ref",entityId:H.Append,entityType:n.ActionDescriptor},Df={parentRelationType:O.FixedReturns,id:"append-to-list-result-list-return-delaration",type:n.ValueDescriptor,version:1,name:"Result",description:"The resulting list value.",defaultValue:null,dataType:Rf,required:!0,index:0,parent:If},Pf={type:n.GenericReference,id:"append-to-list-operation-error-parent-ref",entityId:H.Append,entityType:n.ActionDescriptor},Af={parentRelationType:O.FixedReturns,id:"append-to-list-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Pf},ts={id:H.Append,type:n.ActionDescriptor,version:1,name:H.Append,description:"Adds a given element to the end of a list value.",inputs:[Tl,El],error:Af,outputs:[Df],parent:null},Of={[H.Join]:yl,[H.Split]:hl,[H.GetLast]:ml,[H.Append]:ts},Xr=B[n.Operation][le.Parallel],Sf={id:"parallel-execution-list-of-functions-blueprint-dynamic-output-id",type:n.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:O.DynamicArgument},Cf={id:"parallel-execution-list-of-functions-blueprint-dynamic-input-id",type:n.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:O.DynamicArgument},Bf={id:"parallel-execution-list-of-functions-blueprint-id",type:n.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:[Cf],outputs:[Sf],error:null,parent:null},wf={type:n.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityId:Xr.inputs.listOfActions.id,entityType:n.ValueDescriptor},_f={like:!1,inferred:!1,id:"parallel-execution-list-of-functions-argument-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Bf,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:wf},Nf={type:n.GenericReference,id:"da5e9fe9-f18a-49e3-98e5-c1bf7b9b3153",entityId:Xr.outputs.results.id,entityType:n.ValueDescriptor},Mf={like:!1,inferred:!1,id:Xr.outputs.results.dataType.id,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Nf},Vf={type:n.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityId:le.Parallel,entityType:n.ActionDescriptor},bl={id:Xr.inputs.listOfActions.id,type:n.ValueDescriptor,version:1,name:"Actions to execute",description:"A value, of a list of actions to be executed in parallel",dataType:_f,defaultValue:null,required:!0,index:0,parent:Vf,parentRelationType:O.FixedArguments},Lf={type:n.GenericReference,id:"caac2bc7-c23c-4f01-9581-a515c2e4637f",entityId:le.Parallel,entityType:n.ActionDescriptor},Rl={id:Xr.outputs.results.id,type:n.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:Mf,defaultValue:null,required:!0,index:0,parent:Lf,parentRelationType:O.FixedReturns},Gf={type:n.GenericReference,id:"parallel-execution-operation-error-parent-ref",entityId:le.Parallel,entityType:n.ActionDescriptor},$f={id:Xr.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Gf,parentRelationType:O.ReturnedError},Wt={id:le.Parallel,type:n.ActionDescriptor,description:"Execute a list of actions in parallel",version:1,name:le.Parallel,inputs:[bl],outputs:[Rl],error:$f,parent:null};var Ff=(i=>(i.MillisecondsNumber="wait-milliseconds-number-argument-declaration",i))(Ff||{}),Uf=(i=>(i.Error="wait-operation-error-return-delaration",i))(Uf||{});const xf={type:n.GenericReference,id:"3bd4aeb2-e3b7-4120-b289-011ebb03dba5",entityType:n.ValueDescriptor,entityId:"wait-milliseconds-number-argument-declaration"},jf={like:!1,inferred:!1,id:"wait-milliseconds-number-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:xf},kf={type:n.GenericReference,id:"a6c14305-d4f7-43ae-9d5e-b7dbacdc830a",entityType:n.ActionDescriptor,entityId:le.Wait},ir={id:"wait-milliseconds-number-argument-declaration",type:n.ValueDescriptor,version:1,name:"Milliseconds to wait",description:"The amount of milliseconds to wait before calling the next entity",defaultValue:null,dataType:jf,required:!0,index:0,parent:kf,parentRelationType:O.FixedArguments},qf={type:n.GenericReference,id:"wait-operation-error-parent-ref",entityId:le.Wait,entityType:n.ActionDescriptor},Jf={id:"wait-operation-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:qf,parentRelationType:O.ReturnedError},yt={id:le.Wait,type:n.ActionDescriptor,description:"Wait for the given amount of milliseconds before calling the next entity",version:1,name:le.Wait,inputs:[ir],outputs:[],error:Jf,parent:null};var Wf=(i=>(i.ListOfFunctions="sequential-execution-list-of-functions-argument-declaration",i))(Wf||{}),Hf=(i=>(i.ListOfExecutionResults="sequential-execution-result-return-delaration",i.Error="sequential-execution-error-return-delaration",i))(Hf||{});const Yf={id:"sequential-execution-list-of-functions-blueprint-dynamic-output-id",type:n.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:O.DynamicArgument},zf={id:"sequential-execution-list-of-functions-blueprint-dynamic-input-id",type:n.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:O.DynamicArgument},Zf={id:"sequential-execution-list-of-functions-blueprint-id",type:n.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:[zf],outputs:[Yf],error:null,parent:null},Kf={type:n.GenericReference,id:"parallel-execution-list-of-functions-argument-declaration-id",entityId:"sequential-execution-list-of-functions-argument-declaration",entityType:n.ValueDescriptor},Xf={like:!1,inferred:!1,id:"sequential-execution-list-of-functions-argument-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Zf,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Kf},Qf={type:n.GenericReference,id:"sequential-execution-list-of-execution-results-return-declaration-id",entityId:"sequential-execution-result-return-delaration",entityType:n.ValueDescriptor},eh={like:!1,inferred:!1,id:"sequential-execution-list-of-execution-results-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:Qf},th={type:n.GenericReference,id:"parallel-execution-operation-list-of-functions-argument-parent-ref",entityId:le.Sequential,entityType:n.ActionDescriptor},gl={id:"sequential-execution-list-of-functions-argument-declaration",type:n.ValueDescriptor,version:1,name:"Actions to execute",description:"A value, of a list of actions to be executed in parallel",defaultValue:null,dataType:Xf,required:!0,index:0,parent:th,parentRelationType:O.FixedArguments},nh={type:n.GenericReference,id:"parallel-execution-operation-list-of-execution-results-return-parent-ref",entityId:le.Sequential,entityType:n.ActionDescriptor},vl={id:"sequential-execution-result-return-delaration",type:n.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:eh,required:!0,index:0,parent:nh,parentRelationType:O.FixedReturns},rh={type:n.GenericReference,id:"sequential-execution-operation-error-parent-ref",entityId:le.Sequential,entityType:n.ActionDescriptor},ih={id:"sequential-execution-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:rh,parentRelationType:O.ReturnedError},En={id:le.Sequential,type:n.ActionDescriptor,description:"Execute a list of actions one after the other",version:1,name:le.Sequential,inputs:[gl],outputs:[vl],error:ih,parent:null},ah={[le.Parallel]:Wt,[le.Wait]:yt,[le.Sequential]:En};var sh=(i=>(i.EntityToInstanciate="entity-to-instanciate-argument-declaration",i.NewEntityData="new-entity-data-argument-declaration",i))(sh||{}),oh=(i=>(i.Error="create-new-instance-error-return-delaration",i))(oh||{});const lh={type:n.GenericReference,id:"new-entity-data-argument-declaration-parent-ref",entityId:ce.CreateNewInstance,entityType:n.ActionDescriptor},ch={type:n.GenericReference,id:"new-entity-data-argument-data-type-parent-ref",entityId:"new-entity-data-argument-declaration",entityType:n.ValueDescriptor},dh={like:!1,inferred:!1,id:"new-entity-data-argument-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:ch},uh={id:"new-entity-data-argument-declaration",type:n.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:dh,required:!0,defaultValue:null,parentRelationType:O.FixedArguments,index:1,parent:lh},ph={type:n.GenericReference,id:"entity-to-instanciate-argument-declaration-ref",entityType:n.ValueDescriptor,entityId:"entity-to-instanciate-argument-declaration"},yh={like:!1,inferred:!1,id:"entity-to-instanciate-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!0,isNullable:!1,constant:!1,parent:ph},fh={type:n.GenericReference,id:"create-new-instance-operation-ref",entityType:n.ActionDescriptor,entityId:ce.CreateNewInstance},hh={id:"entity-to-instanciate-argument-declaration",type:n.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:yh,required:!0,parentRelationType:O.FixedArguments,index:0,parent:fh},mh={type:n.GenericReference,id:"create-new-instance-output-entity-declaration-parent-ref",entityId:ce.CreateNewInstance,entityType:n.ActionDescriptor},Th={parentRelationType:O.FixedReturns,id:"create-new-instance-output-entity-declaration",type:n.ValueDescriptor,version:1,name:"Created entity",description:"The entity that was created",defaultValue:null,dataType:null,parent:mh,required:!0,index:0},Eh={type:n.GenericReference,id:"create-new-instance-error-parent-ref",entityId:ce.CreateNewInstance,entityType:n.ActionDescriptor},bh={parentRelationType:O.FixedReturns,id:"create-new-instance-error-return-delaration",type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",defaultValue:null,dataType:null,required:!0,index:1,parent:Eh},ar={id:ce.CreateNewInstance,type:n.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:ce.CreateNewInstance,inputs:[hh,uh],outputs:[Th],error:bh,parent:null},Qr=B[n.Operation][ce.Validate],Rh={type:n.GenericReference,id:"validate-data-operation-data-to-validate-argument-declaration-ref",entityType:n.ValueDescriptor,entityId:Qr.inputs.dataToValidate.id},gh={like:!1,inferred:!1,id:"validate-data-operation-data-to-validate-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Rh},vh={type:n.GenericReference,id:"validate-data-operation-data-to-validate-argument-parent-ref",entityType:n.ActionDescriptor,entityId:ce.Validate},Ih={id:Qr.inputs.dataToValidate.id,type:n.ValueDescriptor,version:1,name:"Data to validate",description:"The value to validate against the given entity type",defaultValue:null,dataType:gh,required:!0,parentRelationType:O.FixedArguments,index:0,parent:vh},Dh={type:n.GenericReference,id:"validate-data-operation-entity-to-match-type-argument-declaration-ref",entityType:n.ValueDescriptor,entityId:Qr.inputs.entityToMatch.id},Ph={like:!1,inferred:!1,id:"validate-data-operation-entity-to-match-type-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!0,isNullable:!1,constant:!1,parent:Dh},Ah={type:n.GenericReference,id:"validate-data-operation-entity-to-match-type-argument-parent-ref",entityType:n.ActionDescriptor,entityId:ce.Validate},Oh={id:Qr.inputs.entityToMatch.id,type:n.ValueDescriptor,version:1,name:"Entity to match",description:"The entity to match the data against",dataType:Ph,defaultValue:null,required:!0,index:0,parentRelationType:O.FixedArguments,parent:Ah},Sh={type:n.GenericReference,id:"validate-data-operation-output-entity-declaration-parent-ref",entityId:ce.Validate,entityType:n.ActionDescriptor},Ch={id:Qr.outputs.outputEntity.id,type:n.ValueDescriptor,version:1,dataType:null,name:"Output value",description:"A value with the type of the entity that was validated",defaultValue:null,parent:Sh,required:!0,index:0,parentRelationType:O.FixedReturns},Bh={type:n.GenericReference,id:"wait-operation-error-parent-ref",entityId:ce.Validate,entityType:n.ActionDescriptor},wh={id:Qr.outputs.error.id,type:n.ValueDescriptor,version:1,name:"Error",description:"An error that occurred during the operation.",dataType:null,defaultValue:null,required:!0,index:1,parent:Bh,parentRelationType:O.ReturnedError},sr={id:ce.Validate,type:n.ActionDescriptor,description:"Validates the given data to see if it matches the structure of a given type/entity",version:1,name:ce.Validate,inputs:[Oh,Ih],outputs:[Ch],error:wh,parent:null},_h={[ce.CreateNewInstance]:ar,[ce.Validate]:sr},We=B[n.Operation]["base-http-request"],Nh={type:n.GenericReference,id:"d87cf943-57e1-4d19-9f05-190fa8c8ebc4",entityType:n.ValueDescriptor,entityId:We.inputs.url.id},Mh={id:"http-request-url-default-value-id",type:n.LiteralValue,version:1,value:"https://some-url.com",name:I.String,valueAsType:null,parent:Nh,autogeneration:null},Vh={type:n.GenericReference,id:"aed50d73-eab5-42ce-b00e-7f5c45a9026f",entityId:We.inputs.url.id,entityType:n.ValueDescriptor},Lh={like:!1,inferred:!1,id:"0deb4ef7-d739-4ddc-a4d6-50bd6fababe3",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Vh},Gh={type:n.GenericReference,id:"c3145af6-3387-464a-8887-272e483c856d",entityId:We.inputs.query.id,entityType:n.ValueDescriptor},$h={like:!1,inferred:!1,id:"2a5ba737-6335-4cc4-a2c0-16dca4052fac",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Gh},Fh={type:n.GenericReference,id:"075556b7-e468-48f7-8485-7159eaf389b2",entityType:n.ValueDescriptor,entityId:We.inputs.method.id},Uh={id:"http-request-method-default-value-id",type:n.LiteralValue,version:1,value:"GET",name:I.Enum,valueAsType:null,parent:Fh,autogeneration:null},xh={type:n.GenericReference,id:"aed647c8-a1b5-4cfc-9a3d-97887a567a80",entityId:We.inputs.method.id,entityType:n.ValueDescriptor},jh={like:!1,inferred:!1,id:"6df7ec2b-5dbd-44af-896b-17b314e88560",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Vn,isList:!1,asType:!1,isNullable:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],constant:!1,parent:xh},kh={type:n.GenericReference,id:"77203dfa-d2f6-4804-9556-e1cce46228f3",entityId:We.inputs.headers.id,entityType:n.ValueDescriptor},qh={like:!1,inferred:!1,id:"2c8a2a07-69c6-40ad-b5c9-f0dc4d5955ce",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:kh},Jh={type:n.GenericReference,id:"03db68a0-7ab6-4c6a-85b6-f4b95ebb53ff",entityId:We.inputs.body.id,entityType:n.ValueDescriptor},Wh={like:!1,inferred:!1,id:"0397876c-ed54-4ee9-85a4-04fd16dad973",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Jh},Hh={type:n.GenericReference,id:"182f767f-50e8-4394-ba5f-43e78c232733",entityType:n.ValueDescriptor,entityId:We.outputs.code.id},Yh={like:!1,inferred:!1,id:"45e6d0bc-0c0e-4059-a7a1-6bee925d73d0",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Hh},zh={type:n.GenericReference,id:"2baaa53a-9aef-4bd1-b06d-967c17b7b627",entityType:n.ValueDescriptor,entityId:We.outputs.headers.id},Zh={type:n.GenericReference,id:"69f34d6c-c686-4165-b6ff-70dae8e1778b",entityType:n.ValueDescriptor,entityId:We.outputs.headers.id},Kh={like:!1,inferred:!1,id:"dac63bfa-640d-4f4e-ba0f-86c2401bcfbe",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Zh},Xh={type:n.GenericReference,id:"744334e0-5135-4214-85d0-809437cb620b",entityType:n.ValueDescriptor,entityId:We.outputs.body.id},Qh={type:n.GenericReference,id:"0e0e20df-1a46-432c-ba01-fd96508a6a61",entityType:n.ValueDescriptor,entityId:We.outputs.body.id},em={like:!1,inferred:!1,id:"05fc1a5d-151a-479a-9c4e-4063f3456177",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Qh},tm={type:n.GenericReference,id:"26911792-f707-4bf1-b6f7-03d04a84232c",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},ns={id:We.inputs.method.id,type:n.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:Uh,dataType:jh,required:!1,index:0,parentRelationType:O.FixedArguments,parent:tm},nm={type:n.GenericReference,id:"eee0c501-0ae6-4448-b914-aada76d63163",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},rs={id:We.inputs.url.id,type:n.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:Lh,defaultValue:Mh,required:!1,index:1,parentRelationType:O.FixedArguments,parent:nm},rm={type:n.GenericReference,id:"670091a4-21b1-4223-ad4c-b6dada0aec49",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},Il={id:We.inputs.query.id,type:n.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:$h,required:!1,index:2,parentRelationType:O.FixedArguments,parent:rm},im={type:n.GenericReference,id:"85aad3eb-22fe-45f9-b68c-1dc7061f41e0",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},is={id:We.inputs.headers.id,type:n.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:qh,required:!1,index:3,parent:im,parentRelationType:O.FixedArguments},am={type:n.GenericReference,id:"c3e2a4af-9b84-4574-8b30-5044ffc51776",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},as={id:We.inputs.body.id,type:n.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:Wh,defaultValue:null,required:!1,index:4,parentRelationType:O.FixedArguments,parent:am},sm={type:n.GenericReference,id:"92e04dc7-2145-4a31-908e-03810f7235e8",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},ss={id:We.outputs.code.id,type:n.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:Yh,required:!0,index:0,parentRelationType:O.FixedReturns,parent:sm},om={type:n.GenericReference,id:"86aca556-bbf1-4679-9909-31db61b288e2",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},os={parentRelationType:O.FixedReturns,id:We.outputs.headers.id,type:n.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:n.LiteralValue,version:1,value:{},name:I.KeyValue,parent:zh,valueAsType:null,autogeneration:null},dataType:Kh,required:!0,index:1,parent:om},lm={type:n.GenericReference,id:"ccf3d1be-04e4-4d03-99fd-5bc1e1919f90",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},ls={id:We.outputs.body.id,type:n.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:O.FixedReturns,dataType:em,defaultValue:{id:"http-response-body-default-value-id",type:n.LiteralValue,version:1,value:{},name:I.KeyValue,parent:Xh,valueAsType:null,autogeneration:null},required:!0,index:2,parent:lm},cm={type:n.GenericReference,id:"21487ffc-82b9-473d-bc19-6e7d7c480ed7",entityType:n.ActionDescriptor,entityId:tt.HttpRequest},dm={type:n.GenericReference,id:"ad69861b-32f7-4461-b7f7-aa84a82578d9",entityType:n.ValueDescriptor,entityId:We.outputs.error.id},um={like:!1,inferred:!1,id:"5da68b15-57bc-40c1-b79f-a9075e0f22c1",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:dm},Dl={parentRelationType:O.ReturnedError,id:We.outputs.error.id,type:n.ValueDescriptor,description:"Http request error, if any. Contains a payload describing what went wrong.",version:1,name:"Error",defaultValue:null,dataType:um,required:!0,index:0,parent:cm},ji={type:n.ActionDescriptor,id:tt.HttpRequest,name:tt.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:[ns,rs,Il,is,as],outputs:[ss,os,ls],error:Dl,parent:null},pm={[tt.HttpRequest]:ji},LA={...by,...Mp,...Of,...ah,..._h,...pm},GA=B[n.Loop]["manual-flow-loop"],ym={id:"manual-flow-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ManualFlow,entityType:n.ActionDescriptor},fm={id:GA.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:ym,parentRelationType:O.DynamicReturn},Pl={id:$.ManualFlow,type:n.ActionDescriptor,version:1,name:$.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:[fm],error:null,parent:null},ki=B[n.Loop]["manual-flow-loop"],hm={id:"manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"manual-flow-loop-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},mm={like:!1,inferred:!1,id:"manual-flow-loop-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:hm},Tm={id:"manual-flow-loop-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:ki.body.id,entityType:n.ActionDescriptor},Al={id:ki.body.inputs.iterationNumber.id,type:n.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:mm,required:!0,index:0,parentRelationType:O.FixedArguments,parent:Tm},Em={id:"manual-flow-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:ki.body.id,entityType:n.ActionDescriptor},bm={id:"manual-flow-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:Em},Rm={id:"manual-flow-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:ki.body.id,entityType:n.ActionDescriptor},gm={id:"manual-flow-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:Rm},Ol={id:ki.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the manual flow loop.",inputs:[Al,bm],outputs:[gm],error:null,parent:null},vm=B[n.Loop]["list-loop"],Im={id:"iterate-over-list-loop-list-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-list-loop-list-argument-declaration-id",entityType:n.ValueDescriptor},Dm={like:!1,inferred:!1,id:"iterate-over-list-loop-list-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!0,isNullable:!1,constant:!1,entity:null,asType:!1,parent:Im},Pm={id:"iterate-over-list-loop-list-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.List,entityType:n.ActionDescriptor},Am={id:vm.inputs.list.id,type:n.ValueDescriptor,version:1,name:"List",description:"The list to iterate over",required:!0,defaultValue:null,dataType:Dm,index:0,parent:Pm,parentRelationType:O.FixedArguments},Om={id:"iterate-over-list-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.List,entityType:n.ActionDescriptor},Sm={id:vm.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",required:!1,defaultValue:null,dataType:null,index:0,parent:Om,parentRelationType:O.DynamicReturn},or={id:$.List,type:n.ActionDescriptor,version:1,name:$.List,description:"Iterates over a list of entities",inputs:[Am],outputs:[Sm],error:null,parent:null},lr=B[n.Loop]["list-loop"],Cm={id:"iterate-over-list-loop-body-current-value-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-list-loop-body-current-value-declaration-id",entityType:n.ValueDescriptor},Bm={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-value-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:null,asType:!1,parent:Cm},wm={id:"iterate-over-list-loop-body-current-value-declaration-parent-ref-id",type:n.GenericReference,entityId:lr.body.id,entityType:n.ActionDescriptor},cs={id:lr.body.inputs.currentValue.id,type:n.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:Bm,required:!0,index:1,parentRelationType:O.FixedArguments,parent:wm},_m={id:"iterate-over-list-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-list-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},Nm={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:_m},Mm={id:"iterate-over-list-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:lr.body.id,entityType:n.ActionDescriptor},Vm={id:lr.body.inputs.iterationNumber.id,type:n.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:Nm,required:!0,index:0,parentRelationType:O.FixedArguments,parent:Mm},Lm={id:"iterate-over-list-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:lr.body.id,entityType:n.ActionDescriptor},Gm={id:"iterate-over-list-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:Lm},$m={id:"iterate-over-list-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:lr.body.id,entityType:n.ActionDescriptor},Fm={id:"iterate-over-list-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:$m},ds={id:lr.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the list loop.",inputs:[Vm,cs,Gm],outputs:[Fm],error:null,parent:null},Um=B[n.Loop]["string-loop"],xm={id:"iterate-over-string-loop-string-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-string-loop-string-argument-declaration-id",entityType:n.ValueDescriptor},jm={like:!1,inferred:!1,id:"iterate-over-string-loop-string-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:U,asType:!1,parent:xm},km={id:"iterate-over-string-loop-string-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.String,entityType:n.ActionDescriptor},qm={id:Um.inputs.string.id,type:n.ValueDescriptor,version:1,name:"Texts",description:"The text to iterate over the characters of",defaultValue:null,required:!0,dataType:jm,index:0,parent:km,parentRelationType:O.FixedArguments},Jm={id:"iterate-over-string-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.String,entityType:n.ActionDescriptor},Wm={id:Um.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:Jm,parentRelationType:O.DynamicReturn},us={id:$.String,type:n.ActionDescriptor,version:1,name:$.String,description:"Iterates over a string of entities",inputs:[qm],outputs:[Wm],error:null,parent:null},cr=B[n.Loop]["string-loop"],Hm={id:"iterate-over-string-loop-body-current-value-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-string-loop-body-current-value-declaration-id",entityType:n.ValueDescriptor},Ym={like:!1,inferred:!1,id:"iterate-over-string-loop-body-current-value-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:U,asType:!1,parent:Hm},zm={id:"iterate-over-string-loop-body-current-value-declaration-parent-ref-id",type:n.GenericReference,entityId:cr.body.id,entityType:n.ActionDescriptor},Sl={id:cr.body.inputs.currentValue.id,type:n.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:Ym,required:!0,index:1,parentRelationType:O.FixedArguments,parent:zm},Zm={id:"iterate-over-string-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-string-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},Km={like:!1,inferred:!1,id:"iterate-over-string-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:Zm},Xm={id:"iterate-over-string-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:cr.body.id,entityType:n.ActionDescriptor},Cl={id:cr.body.inputs.iterationNumber.id,type:n.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:Km,required:!0,index:0,parentRelationType:O.FixedArguments,parent:Xm},Qm={id:"iterate-over-string-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:cr.body.id,entityType:n.ActionDescriptor},eT={id:"iterate-over-string-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:Qm},tT={id:"iterate-over-string-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:cr.body.id,entityType:n.ActionDescriptor},nT={id:"iterate-over-string-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:tT},Bl={id:cr.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the string loop.",inputs:[Cl,Sl,eT],outputs:[nT],error:null,parent:null},rT=B[n.Loop]["object-keys-loop"],iT={id:"iterate-over-object-keys-loop-object-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-keys-loop-object-argument-declaration-id",entityType:n.ValueDescriptor},aT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-object-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:iT},sT={id:"iterate-over-object-keys-loop-object-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ObjectKeys,entityType:n.ActionDescriptor},oT={id:rT.inputs.object.id,type:n.ValueDescriptor,version:1,name:"Object",description:"The object to iterate over",required:!0,defaultValue:null,dataType:aT,index:0,parent:sT,parentRelationType:O.FixedArguments},lT={id:"iterate-over-object-keys-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ObjectKeys,entityType:n.ActionDescriptor},cT={id:rT.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:lT,parentRelationType:O.DynamicReturn},qi={id:$.ObjectKeys,type:n.ActionDescriptor,version:1,name:$.ObjectKeys,description:"Iterates over a object of entities",inputs:[oT],outputs:[cT],error:null,parent:null},dr=B[n.Loop]["object-keys-loop"],dT={id:"iterate-over-object-keys-loop-body-current-value-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-keys-loop-body-current-value-declaration-id",entityType:n.ValueDescriptor},uT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-body-current-value-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:U,asType:!1,parent:dT},pT={id:"iterate-over-object-keys-loop-body-current-value-declaration-parent-ref-id",type:n.GenericReference,entityId:dr.body.id,entityType:n.ActionDescriptor},wl={id:dr.body.inputs.currentValue.id,type:n.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:uT,required:!0,index:1,parentRelationType:O.FixedArguments,parent:pT},yT={id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},fT={like:!1,inferred:!1,id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:yT},hT={id:"iterate-over-object-keys-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:dr.body.id,entityType:n.ActionDescriptor},mT={id:dr.body.inputs.iterationNumber.id,type:n.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:fT,required:!0,index:0,parentRelationType:O.FixedArguments,parent:hT},TT={id:"iterate-over-object-keys-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:dr.body.id,entityType:n.ActionDescriptor},ET={id:"iterate-over-object-keys-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:TT},bT={id:"iterate-over-object-keys-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:dr.body.id,entityType:n.ActionDescriptor},RT={id:"iterate-over-object-keys-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:bT},gT={id:dr.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the object-keys loop.",inputs:[mT,wl,ET],outputs:[RT],error:null,parent:null},vT=B[n.Loop]["object-values-loop"],IT={id:"iterate-over-object-values-loop-object-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-values-loop-object-argument-declaration-id",entityType:n.ValueDescriptor},DT={like:!1,inferred:!1,id:"iterate-over-object-values-loop-object-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:IT},PT={id:"iterate-over-object-values-loop-object-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ObjectValues,entityType:n.ActionDescriptor},AT={id:vT.inputs.object.id,type:n.ValueDescriptor,version:1,name:"Object",description:"The object to iterate over",required:!0,defaultValue:null,dataType:DT,index:0,parent:PT,parentRelationType:O.FixedArguments},OT={id:"iterate-over-object-values-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.ObjectValues,entityType:n.ActionDescriptor},ST={id:vT.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:OT,parentRelationType:O.DynamicReturn},Ji={id:$.ObjectValues,type:n.ActionDescriptor,version:1,name:$.ObjectValues,description:"Iterates over a object of entities",inputs:[AT],outputs:[ST],error:null,parent:null},ur=B[n.Loop]["object-values-loop"],CT={id:"iterate-over-object-values-loop-body-current-value-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-values-loop-body-current-value-declaration-id",entityType:n.ValueDescriptor},BT={id:"iterate-over-object-values-loop-body-current-value-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:null,isNullable:!1,constant:!1,entity:null,asType:null,like:!1,inferred:!1,parent:CT},wT={id:"iterate-over-object-values-loop-body-current-value-declaration-parent-ref-id",type:n.GenericReference,entityId:ur.body.id,entityType:n.ActionDescriptor},_l={id:ur.body.inputs.currentValue.id,type:n.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:BT,required:!0,index:1,parentRelationType:O.FixedArguments,parent:wT},_T={id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"iterate-over-object-values-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},NT={like:!1,inferred:!1,id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:_T},MT={id:"iterate-over-object-values-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:ur.body.id,entityType:n.ActionDescriptor},VT={id:ur.body.inputs.iterationNumber.id,type:n.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:NT,required:!0,index:0,parentRelationType:O.FixedArguments,parent:MT},LT={id:"iterate-over-object-values-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:ur.body.id,entityType:n.ActionDescriptor},GT={id:"iterate-over-object-values-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:LT},$T={id:"iterate-over-object-values-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:ur.body.id,entityType:n.ActionDescriptor},FT={id:"iterate-over-object-values-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:$T},UT={id:ur.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the object-values loop.",inputs:[VT,_l,GT],outputs:[FT],error:null,parent:null},Nl=B[n.Loop]["counted-loop"],xT={id:"counted-loop-string-argument-declaration-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:Nl.inputs.number.id,entityType:n.ValueDescriptor},jT={id:"counted-loop-string-argument-declaration-data-type-default-value-id",type:n.LiteralValue,name:I.Number,version:1,value:5,valueAsType:null,autogeneration:null,parent:xT},kT={id:"counted-loop-string-argument-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"counted-loop-string-argument-declaration-id",entityType:n.ValueDescriptor},qT={like:!1,inferred:!1,id:"counted-loop-string-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:kT},JT={id:"counted-loop-string-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:$.Counted,entityType:n.ActionDescriptor},WT={id:Nl.inputs.number.id,type:n.ValueDescriptor,version:1,name:"Number of iterations",description:"The number of iterations to perform",required:!0,dataType:qT,defaultValue:jT,index:0,parent:JT,parentRelationType:O.FixedArguments},HT={id:"counted-loop-dynamic-return-declaration-parent-ref-id",type:n.GenericReference,entityId:$.Counted,entityType:n.ActionDescriptor},YT={id:Nl.outputs.results.id,type:n.ValueDescriptor,version:1,name:"Ouput value",description:"An output value of the loop",defaultValue:null,required:!1,dataType:null,index:0,parent:HT,parentRelationType:O.DynamicReturn},ps={id:$.Counted,type:n.ActionDescriptor,version:1,name:$.Counted,description:"Iterates a given number of times",inputs:[WT],outputs:[YT],error:null,parent:null},Wi=B[n.Loop]["counted-loop"],zT={id:"counted-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:"counted-loop-body-current-iteration-number-declaration-id",entityType:n.ValueDescriptor},ZT={like:!1,inferred:!1,id:"counted-loop-body-current-iteration-number-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,isNullable:!1,constant:!1,entity:Z,asType:!1,parent:zT},KT={id:"counted-loop-body-current-iteration-number-declaration-parent-ref-id",type:n.GenericReference,entityId:Wi.body.id,entityType:n.ActionDescriptor},Ml={id:Wi.body.inputs.iterationNumber.id,type:n.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:ZT,required:!0,index:0,parentRelationType:O.FixedArguments,parent:KT},XT={id:"counted-loop-body-any-dynamic-argument-parent-ref-id",type:n.GenericReference,entityId:Wi.body.id,entityType:n.ActionDescriptor},QT={id:"counted-loop-body-any-dynamic-argument-id",type:n.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:O.DynamicArgument,parent:XT},eE={id:"counted-loop-body-any-dynamic-return-parent-ref-id",type:n.GenericReference,entityId:Wi.body.id,entityType:n.ActionDescriptor},tE={id:"counted-loop-body-any-dynamic-return-id",type:n.ValueDescriptor,version:1,name:"Any value",description:"Values outputed by the loop's body.",defaultValue:null,dataType:null,required:!1,index:0,parentRelationType:O.DynamicReturn,parent:eE},Vl={id:Wi.body.id,type:n.ActionDescriptor,version:1,name:"Iteration logic trigger",description:"Describes the body of the string loop.",inputs:[Ml,QT],outputs:[tE],error:null,parent:null},Gn=B[n.BuiltInBaseEntity][V.HTTP_ENDPOINT].properties,nE={id:"endpointBuiltInCorsPropertyDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:Gn.cors.id},rE={id:"endpointBuiltInCorsPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:Gn.cors.id},iE={like:!1,inferred:!1,id:"endpointBuiltInCorsPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!0,entity:U,asType:!1,parent:rE},aE={id:"endpointBuiltInBaseEntityRef",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},sE={hidden:!0,required:!0,id:Gn.cors.id,name:"Allowed origins",version:1,type:n.Property,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:iE,defaultValue:{id:"endpointBuiltInCorsPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:["*"],parent:nE,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:aE},oE={id:"endpointBuiltInPathPropertyDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:Gn.path.id},lE={id:"endpointBuiltInPathPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:Gn.path.id},cE={like:!1,inferred:!1,id:"endpointBuiltInPathPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:lE},dE={id:"endpointBuiltInBaseEntityRefTwo",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},Ll={id:Gn.path.id,hidden:!1,required:!0,name:"Path",version:1,type:n.Property,private:!1,abstract:!0,implements:null,static:!0,index:1,dataType:cE,defaultValue:{id:"endpointBuiltInPathPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.String,value:"/",parent:oE,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:dE},uE={id:"endpointBuiltInMethodPropertyDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:Gn.method.id},pE={id:"endpointBuiltInMethodPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:"endpointBuiltInMethodProperty"},yE={like:!1,inferred:!1,id:"endpointBuiltInMethodPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Vn,isList:!0,isNullable:!1,constant:!0,asType:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],parent:pE},fE={id:"endpointBuiltInBaseEntityRefThree",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},Gl={hidden:!1,required:!0,id:Gn.method.id,name:"Method",version:1,type:n.Property,private:!1,index:2,implements:null,defaultValue:{id:"endpointBuiltInMethodPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,value:"GET",name:I.Enum,parent:uE,autogeneration:null,valueAsType:null},abstract:!0,static:!0,dataType:yE,description:"The HTTP method that this endpoint will respond to, for example GET, POST, PUT, DELETE, etc.",parent:fE},hE={id:"endpointRequestHeadersVariableDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:"endpointRequestHeadersArgumentDeclaration"},mE={id:"endpointRequestHeadersArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"endpointRequestHeadersArgumentDeclaration"},TE={like:!1,inferred:!1,id:"endpointRequestHeadersVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:mE},EE={id:"endpointRequestBodyArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"endpointRequestBodyArgumentDeclaration"},bE={like:!1,inferred:!1,id:"endpointRequestBodyVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:Xe,parent:EE},RE={id:"endpointRequestQueryParamsVariableDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:"endpointRequestQueryParamsArgumentDeclaration"},gE={id:"endpointRequestQueryParamsArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"endpointRequestQueryParamsArgumentDeclaration"},vE={like:!1,inferred:!1,id:"endpointRequestQueryParamsVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,asType:!1,entity:Fi,parent:gE},IE={id:"endpointPathParamsVariableDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:"endpointPathParamsArgumentDeclaration"},DE={id:"endpointPathParamsArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"endpointPathParamsArgumentDeclaration"},PE={like:!1,inferred:!1,id:"endpointPathParamsVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Fi,asType:!1,parent:DE},AE={id:"endpointReachedTriggerActionDescriptorRef",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},$l={id:"endpointRequestHeadersArgumentDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the request.",type:n.ValueDescriptor,name:"Request headers",dataType:TE,defaultValue:{id:"endpointRequestHeadersVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:hE,autogeneration:null,valueAsType:null},required:!0,index:0,parentRelationType:O.FixedArguments,parent:AE},OE={id:"endpointReachedTriggerActionDescriptorRefTwo",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},Fl={id:"endpointPathParamsArgumentDeclaration",type:n.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:PE,defaultValue:{id:"endpointPathParamsVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:[],parent:IE,autogeneration:null,valueAsType:null},required:!0,index:1,parentRelationType:O.FixedArguments,parent:OE},SE={id:"endpointReachedTriggerActionDescriptorRefThree",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},Ul={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:n.ValueDescriptor,name:"Request query params",dataType:vE,defaultValue:{id:"endpointRequestQueryParamsVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:[],parent:RE,autogeneration:null,valueAsType:null},required:!0,index:2,parentRelationType:O.FixedArguments,parent:SE},CE={id:"endpointReachedTriggerActionDescriptorRefFour",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReachedTriggerActionDescriptor"},xl={id:"endpointRequestBodyArgumentDeclaration",version:1,description:"The main data payload of the request.",type:n.ValueDescriptor,name:"Request body",dataType:bE,defaultValue:null,index:3,required:!0,parentRelationType:O.FixedArguments,parent:CE},BE={id:"endpointResponseCodeReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"endpointResponseCodeReturnDeclaration"},wE={like:!1,inferred:!1,id:"9ba575b0-6f8e-436d-a3de-3b843622aa17",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:BE},_E={id:"endpointReturnStatementRef",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReturnStatement"},jl={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:n.ValueDescriptor,name:"Response code",dataType:wE,defaultValue:null,required:!0,index:0,parentRelationType:O.FixedReturns,parent:_E},NE={id:"endpointResponseHeadersDataTypeRef",type:n.GenericReference,entityType:n.ValueDescriptor,entityId:"endpointResponseHeadersReturnDeclaration"},ME={id:"endpointResponseHeadersReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"endpointResponseHeadersReturnDeclaration"},VE={like:!1,inferred:!1,id:"endpointResponseHeadersDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:ME},LE={id:"endpointReturnStatementRefTwo",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReturnStatement"},kl={id:"endpointResponseHeadersReturnDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the response.",type:n.ValueDescriptor,name:"Response headers",dataType:VE,defaultValue:{id:"endpointResponseHeadersDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:NE,autogeneration:null,valueAsType:null},required:!1,index:1,parentRelationType:O.FixedReturns,parent:LE},GE={id:"endpointResponseBodyReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"endpointResponseBodyReturnDeclaration"},$E={like:!1,inferred:!1,id:"endpointResponseBodyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:Xe,parent:GE},FE={id:"endpointReturnStatementRefThree",type:n.GenericReference,entityType:n.ActionDescriptor,entityId:"endpointReturnStatement"},ql={id:"endpointResponseBodyReturnDeclaration",version:1,description:"The main data payload of the response.",type:n.ValueDescriptor,name:"Response body",dataType:$E,defaultValue:null,required:!1,index:2,parentRelationType:O.FixedReturns,parent:FE},UE={id:"endpointBuiltInBaseEntityRefFour",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},Jl={id:"endpointReachedTriggerActionDescriptor",type:n.ActionDescriptor,version:1,name:"Endpoint reached",description:"Fired when the endpoint is reached.",inputs:[$l,Fl,Ul,xl],outputs:[jl,kl,ql],error:null,parent:UE},ys={id:V.HTTP_ENDPOINT,version:1,description:"An HTTP endpoint that can be reached by a client from the internet.",name:V.HTTP_ENDPOINT,type:n.BuiltInBaseEntity,interactive:!1,abstract:!0,static:!0,properties:[sE,Ll,Gl],abstractMethods:[Jl],extends:[],methods:[]},nt=B[n.BuiltInBaseEntity].BUILT_IN_RELATIONAL_DATABASE_ENTITY,xE={id:"relational-database-built-in-base-entity-identifier-property-data-type-ref-id",type:n.GenericReference,entityId:nt.properties.identifier.id,entityType:n.Property},jE={id:"relational-database-built-in-base-entity-identifier-property-ref-id",type:n.GenericReference,entityId:nt.properties.identifier.id,entityType:n.Property},kE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-identifier-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:jE},ei={id:"relational-database-built-in-base-entity-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},fs={id:nt.properties.identifier.id,hidden:!1,required:!0,name:"Identifier name",version:1,type:n.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:n.LiteralValue,version:1,name:I.String,value:null,parent:xE,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:kE,description:"The name of the main database inside of the server instance where the data will be stored.",parent:ei},$A={id:"relational-database-built-in-base-entity-username-property-data-type-ref-id",type:n.GenericReference,entityId:"relational-database-built-in-base-entity-username-property-data-type-idd",entityType:n.Property},qE={id:"relational-database-built-in-base-entity-username-property-ref-id",type:n.GenericReference,entityId:nt.properties.username.id,entityType:n.Property},JE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-username-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:qE},hs={hidden:!1,required:!0,id:nt.properties.username.id,name:"Username",version:1,type:n.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:n.LiteralValue,version:1,name:I.String,value:"postgres",parent:{id:"relational-database-built-in-base-entity-username-property-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:nt.properties.username.id,entityType:n.Property},autogeneration:null,valueAsType:null},dataType:JE,description:"The username that will be used to connect to the database.",parent:ei},FA={id:"relational-database-built-in-base-entity-password-property-data-type-ref-id",type:n.GenericReference,entityId:"relational-database-built-in-base-entity-password-property-data-type-id",entityType:n.Property},WE={id:"relational-database-built-in-base-entity-password-property-ref-id",type:n.GenericReference,entityId:nt.properties.password.id,entityType:n.Property},HE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-password-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:WE},ms={hidden:!1,required:!0,id:nt.properties.password.id,name:"Password",version:1,type:n.Property,private:!1,abstract:!0,static:!0,implements:null,index:2,defaultValue:null,dataType:HE,description:"The password that will be used to connect to the database.",parent:ei},YE={id:"relational-database-built-in-base-entity-min-size-property-data-type-ref-id",type:n.GenericReference,entityId:nt.properties.minSize.id,entityType:n.Property},zE={id:"relational-database-built-in-base-entity-min-size-property-ref-id",type:n.GenericReference,entityId:nt.properties.minSize.id,entityType:n.Property},ZE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-min-size-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:zE},Ts={hidden:!0,required:!0,id:nt.properties.minSize.id,name:"Minimum GB size",version:1,type:n.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:n.LiteralValue,version:1,name:I.Number,value:6,parent:YE,autogeneration:null,valueAsType:null},dataType:ZE,description:"The minimum size of the database in GB.",parent:ei},KE={id:"relational-database-built-in-base-entity-default-property-data-type-ref-id",type:n.GenericReference,entityId:nt.properties.default.id,entityType:n.Property},XE={id:"relational-database-built-in-base-entity-default-property-ref-id",type:n.GenericReference,entityId:nt.properties.default.id,entityType:n.Property},QE={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-default-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Mn,asType:!1,parent:XE},Wl={hidden:!0,required:!0,id:nt.properties.default.id,name:"Default",version:1,type:n.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:n.LiteralValue,version:1,name:I.Boolean,value:!1,parent:KE,autogeneration:null,valueAsType:null},dataType:QE,description:"If true, this database will be the default database for the server instance and all the new entities.",parent:ei},eb={id:"relational-database-built-in-base-entity-autoscaling-property-ref-id",type:n.GenericReference,entityId:nt.properties.autoscaling.id,entityType:n.Property},tb={id:"relational-database-built-in-base-entity-autoscaling-property-data-type-ref-id",type:n.GenericReference,entityId:nt.properties.autoscaling.id,entityType:n.Property},nb={like:!1,inferred:!1,id:"relational-database-built-in-base-entity-autoscaling-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Mn,asType:!1,parent:eb},rb={id:"relational-database-built-in-base-entity-autoscaling-property-parent-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},Hl={hidden:!0,required:!0,id:nt.properties.autoscaling.id,name:"Auto-scaling",version:1,type:n.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:n.LiteralValue,version:1,name:I.Boolean,value:!1,parent:tb,autogeneration:null,valueAsType:null},dataType:nb,description:"If true, this database will automatically scale up or down in memory size, based on the usage.",parent:rb},bn={id:V.RELATIONAL_DATABASE,version:1,description:"This entity provisions a relational database in the cloud.",name:V.RELATIONAL_DATABASE,type:n.BuiltInBaseEntity,abstract:!0,static:!0,interactive:!1,properties:[fs,hs,ms,Ts,Wl,Hl],abstractMethods:[],methods:[],extends:[]},ib={type:n.GenericReference,entityId:"persisted-built-in-base-entity-ref-id",entityType:n.BuiltInBaseEntity,id:Bt.DeletePersistedEntity},Yl={type:n.FunctionDeclaration,id:Bt.DeletePersistedEntity,name:Bt.DeletePersistedEntity,description:"Permanently deletes the current copy of an entity from the database",version:1,parent:ib,inputs:[],calls:[],implements:null,collapsed:!1,returnStatements:[],index:0,private:!1,x:0,y:0},ab=B[n.BuiltInBaseEntity][V.PERSISTED_ENTITY].properties,UA={id:"persisted-built-in-base-entity-database-property-data-type-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-database-property-data-type-id",entityType:n.DataType},sb={id:"persisted-built-in-base-entity-database-property-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-database-property-id",entityType:n.Property},ob={like:!1,inferred:!1,id:"persisted-built-in-base-entity-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:bn,asType:!1,parent:sb},lb={id:"persisted-built-in-base-entity-database-property-parent-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},ti={hidden:!0,required:!0,id:ab.database.id,name:"Database",version:1,type:n.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:ob,description:"The database that the entity belongs to.",parent:lb},cb={id:"persisted-built-in-base-entity-primary-key-property-number-data-type-option-parent-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:n.DataType},db={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-number-data-type-option-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parentRelationType:He.OrDataTypeGroup,parent:cb},ub={id:"persisted-built-in-base-entity-primary-key-property-string-data-type-option-parent-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:n.DataType},pb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-string-data-type-option-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parentRelationType:He.OrDataTypeGroup,parent:ub},yb={id:"persisted-built-in-base-entity-primary-key-property-uuid-data-type-option-parent-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-data-type-id",entityType:n.DataType},fb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-uuid-data-type-option-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parentRelationType:He.OrDataTypeGroup,parent:yb},hb={id:"persisted-built-in-base-entity-primary-key-property-ref-id",type:n.GenericReference,entityId:"persisted-built-in-base-entity-primary-key-property-id",entityType:n.Property},mb={like:!1,inferred:!1,id:"persisted-built-in-base-entity-primary-key-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:[fb,pb,db],isList:!1,isNullable:!1,constant:!0,entity:null,asType:null,implementationChooseOne:!0,parent:hb},Tb={id:"persisted-built-in-base-entity-primary-key-property-parent-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},ni={hidden:!1,required:!0,id:ab.primaryKey.id,name:"Primary key",version:1,type:n.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!1,index:0,dataType:mb,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:Tb},rt={id:V.PERSISTED_ENTITY,version:1,description:"An entity that is permanently stored in the database and can be accessed at any point.",name:V.PERSISTED_ENTITY,type:n.BuiltInBaseEntity,abstract:!0,static:!1,interactive:!0,abstractMethods:[],properties:[ti,ni],methods:[Yl],extends:[]},Eb={type:n.GenericReference,entityId:"persisted-built-in-base-entity-ref-id",entityType:n.BuiltInBaseEntity,id:Bt.SoftDeletePersistedEntity},xA={type:n.FunctionDeclaration,id:Bt.SoftDeletePersistedEntity,name:Bt.SoftDeletePersistedEntity,description:"Designates the entity as deleted, but does not remove it from the database.",version:1,parent:Eb,inputs:[],calls:[],implements:null,collapsed:!1,returnStatements:[],index:0,private:!1,x:0,y:0},bb={id:"cron-job-triggered-function-declaration-blueprint-parent-ref-id",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},zl={id:"cron-job-triggered-function-declaration-blueprint-id",name:"Cron job triggered",version:1,type:n.ActionDescriptor,description:"Executed when the cron job is triggered",inputs:[],error:null,outputs:[],parent:bb},Rb=B[n.BuiltInBaseEntity].BUILT_IN_CRON_JOB_ENTITY,jA={id:"cron-job-built-in-base-entity-expression-property-data-type-ref",type:n.GenericReference,entityId:"cron-job-built-in-base-entity-expression-property-data-type",entityType:n.DataType},gb={id:"cron-job-built-in-base-entity-expression-property-ref",type:n.GenericReference,entityId:Rb.properties.expression.id,entityType:n.Property},kA={like:!1,inferred:!1,id:"cron-job-built-in-base-entity-expression-property-data-type",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:gb},vb={id:"cron-job-built-in-base-entity-ref",type:n.GenericReference,entityId:V.CRON_JOB,entityType:n.BuiltInBaseEntity},Ib={hidden:!1,required:!0,id:Rb.properties.expression.id,name:"Cron expression",version:1,type:n.Property,defaultValue:null,private:!1,abstract:!0,implements:null,static:!0,index:0,dataType:kA,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:vb},Zl={id:V.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:V.CRON_JOB,type:n.BuiltInBaseEntity,abstract:!0,static:!0,interactive:!1,properties:[Ib],methods:[],abstractMethods:[zl],extends:[]},Db={type:n.GenericReference,id:"execution-built-in-entity-abort-method-parent-ref-id",entityType:n.BuiltInBaseEntity,entityId:"execution-built-in-entity-id"},Kl={id:"execution-built-in-entity-abort-method-id",type:n.FunctionDeclaration,version:1,name:Bt.AbortExecution,description:"Aborts the execution of the entity",inputs:[],returnStatements:[],calls:[],implements:null,private:!1,collapsed:!1,index:null,x:0,y:0,parent:Db},Xl={id:V.EXECUTION,type:n.BuiltInBaseEntity,version:1,name:V.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:[Kl],abstractMethods:[]},qA=B[n.Condition]["not-empty"],Pb={type:n.GenericReference,id:"not-empty-condition-ref",entityType:n.ActionDescriptor,entityId:Gt.NotEmpty},Ab={id:qA.inputs.leftHand.id,type:n.ValueDescriptor,version:1,name:"Value",description:"The value to check if it is not empty",defaultValue:null,dataType:null,required:!0,parentRelationType:O.FixedArguments,index:0,parent:Pb},pr={type:n.ActionDescriptor,id:Gt.NotEmpty,version:1,name:Gt.NotEmpty,description:"Checks if the value is not empty",parent:null,inputs:[Ab],outputs:[],error:null},Ob={[Gt.NotEmpty]:pr},ri=B[n.Condition]["more-than-or-equal"],Sb={type:n.GenericReference,id:"more-than-or-equal-condition-left-hand-argument-data-type-parent-ref",entityType:n.ValueDescriptor,entityId:ri.inputs.leftHand.id},Cb={type:n.DataType,id:ri.inputs.leftHand.dataType.id,version:1,entity:Z,like:!1,isList:!1,inferred:!1,andChildrenGroup:null,orChildrenGroup:null,isNullable:!1,constant:!1,asType:!1,parent:Sb},Bb={type:n.GenericReference,id:"more-than-or-equal-condition-left-hand-argument-parent-ref",entityType:n.ActionDescriptor,entityId:$e.MoreThanOrEqual},wb={id:ri.inputs.leftHand.id,type:n.ValueDescriptor,version:1,name:"First value",description:"The first value to compare",defaultValue:null,dataType:Cb,required:!0,parentRelationType:O.FixedArguments,index:0,parent:Bb},_b={type:n.GenericReference,id:"more-than-or-equal-condition-right-hand-argument-data-type-parent-ref",entityType:n.ValueDescriptor,entityId:ri.inputs.rightHand.id},Nb={type:n.DataType,id:ri.inputs.rightHand.dataType.id,version:1,entity:Z,like:!1,isList:!1,inferred:!1,andChildrenGroup:null,orChildrenGroup:null,isNullable:!1,constant:!1,asType:!1,parent:_b},Mb={type:n.GenericReference,id:"more-than-or-equal-condition-right-hand-argument-parent-ref",entityType:n.ActionDescriptor,entityId:$e.MoreThanOrEqual},Vb={id:ri.inputs.rightHand.id,type:n.ValueDescriptor,version:1,name:"Second value",description:"The second value to compare",defaultValue:null,dataType:Nb,required:!0,parentRelationType:O.FixedArguments,index:1,parent:Mb},ii={type:n.ActionDescriptor,id:$e.MoreThanOrEqual,version:1,name:$e.MoreThanOrEqual,description:"Checks if the value is not empty",parent:null,inputs:[wb,Vb],outputs:[],error:null},Lb={[$e.MoreThanOrEqual]:ii},JA={...Ob,...Lb},Es={type:n.ActionDescriptor,id:fn.PROJECT_PUBLICATION_COMPLETED,version:1,name:fn.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},WA={[fn.PROJECT_PUBLICATION_COMPLETED]:Es},Ql=B[n.ValueDescriptor][al.ActionOngoingProcessOutputValue],Gb={type:n.GenericReference,id:"182f767f-50e8-4394-ba5f-43e78c232733",entityType:n.ValueDescriptor,entityId:Ql.id},$b={like:!1,inferred:!1,id:Ql.dataType.id,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xl,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Gb},ec={id:Ql.id,type:n.ValueDescriptor,description:"A value that represents the ongoing process of the parent action",version:1,name:"Process",defaultValue:null,dataType:$b,required:!0,index:0,parent:null,parentRelationType:O.OngoingProcessExecution};var ne;(function(i){i.assertEqual=a=>a;function e(a){}i.assertIs=e;function t(a){throw new Error}i.assertNever=t,i.arrayToEnum=a=>{const s={};for(const o of a)s[o]=o;return s},i.getValidEnumValues=a=>{const s=i.objectKeys(a).filter(l=>typeof a[a[l]]!="number"),o={};for(const l of s)o[l]=a[l];return i.objectValues(o)},i.objectValues=a=>i.objectKeys(a).map(function(s){return a[s]}),i.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&s.push(o);return s},i.find=(a,s)=>{for(const o of a)if(s(o))return o},i.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&isFinite(a)&&Math.floor(a)===a;function r(a,s=" | "){return a.map(o=>typeof o=="string"?`'${o}'`:o).join(s)}i.joinValues=r,i.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(ne||(ne={}));var tc;(function(i){i.mergeShapes=(e,t)=>({...e,...t})})(tc||(tc={}));const G=ne.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),$n=i=>{switch(typeof i){case"undefined":return G.undefined;case"string":return G.string;case"number":return isNaN(i)?G.nan:G.number;case"boolean":return G.boolean;case"function":return G.function;case"bigint":return G.bigint;case"symbol":return G.symbol;case"object":return Array.isArray(i)?G.array:i===null?G.null:i.then&&typeof i.then=="function"&&i.catch&&typeof i.catch=="function"?G.promise:typeof Map<"u"&&i instanceof Map?G.map:typeof Set<"u"&&i instanceof Set?G.set:typeof Date<"u"&&i instanceof Date?G.date:G.object;default:return G.unknown}},w=ne.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"]),HA=i=>JSON.stringify(i,null,2).replace(/"([^"]+)":/g,"$1:");class Dt extends Error{constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};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},r={_errors:[]},a=s=>{for(const o of s.issues)if(o.code==="invalid_union")o.unionErrors.map(a);else if(o.code==="invalid_return_type")a(o.returnTypeError);else if(o.code==="invalid_arguments")a(o.argumentsError);else if(o.path.length===0)r._errors.push(t(o));else{let l=r,p=0;for(;p<o.path.length;){const y=o.path[p];p===o.path.length-1?(l[y]=l[y]||{_errors:[]},l[y]._errors.push(t(o))):l[y]=l[y]||{_errors:[]},l=l[y],p++}}};return a(this),r}static assert(e){if(!(e instanceof Dt))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ne.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){const t={},r=[];for(const a of this.issues)a.path.length>0?(t[a.path[0]]=t[a.path[0]]||[],t[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}Dt.create=i=>new Dt(i);const ai=(i,e)=>{let t;switch(i.code){case w.invalid_type:i.received===G.undefined?t="Required":t=`Expected ${i.expected}, received ${i.received}`;break;case w.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(i.expected,ne.jsonStringifyReplacer)}`;break;case w.unrecognized_keys:t=`Unrecognized key(s) in object: ${ne.joinValues(i.keys,", ")}`;break;case w.invalid_union:t="Invalid input";break;case w.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${ne.joinValues(i.options)}`;break;case w.invalid_enum_value:t=`Invalid enum value. Expected ${ne.joinValues(i.options)}, received '${i.received}'`;break;case w.invalid_arguments:t="Invalid function arguments";break;case w.invalid_return_type:t="Invalid function return type";break;case w.invalid_date:t="Invalid date";break;case w.invalid_string:typeof i.validation=="object"?"includes"in i.validation?(t=`Invalid input: must include "${i.validation.includes}"`,typeof i.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${i.validation.position}`)):"startsWith"in i.validation?t=`Invalid input: must start with "${i.validation.startsWith}"`:"endsWith"in i.validation?t=`Invalid input: must end with "${i.validation.endsWith}"`:ne.assertNever(i.validation):i.validation!=="regex"?t=`Invalid ${i.validation}`:t="Invalid";break;case w.too_small:i.type==="array"?t=`Array must contain ${i.exact?"exactly":i.inclusive?"at least":"more than"} ${i.minimum} element(s)`:i.type==="string"?t=`String must contain ${i.exact?"exactly":i.inclusive?"at least":"over"} ${i.minimum} character(s)`:i.type==="number"?t=`Number must be ${i.exact?"exactly equal to ":i.inclusive?"greater than or equal to ":"greater than "}${i.minimum}`:i.type==="date"?t=`Date must be ${i.exact?"exactly equal to ":i.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(i.minimum))}`:t="Invalid input";break;case w.too_big:i.type==="array"?t=`Array must contain ${i.exact?"exactly":i.inclusive?"at most":"less than"} ${i.maximum} element(s)`:i.type==="string"?t=`String must contain ${i.exact?"exactly":i.inclusive?"at most":"under"} ${i.maximum} character(s)`:i.type==="number"?t=`Number must be ${i.exact?"exactly":i.inclusive?"less than or equal to":"less than"} ${i.maximum}`:i.type==="bigint"?t=`BigInt must be ${i.exact?"exactly":i.inclusive?"less than or equal to":"less than"} ${i.maximum}`:i.type==="date"?t=`Date must be ${i.exact?"exactly":i.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(i.maximum))}`:t="Invalid input";break;case w.custom:t="Invalid input";break;case w.invalid_intersection_types:t="Intersection results could not be merged";break;case w.not_multiple_of:t=`Number must be a multiple of ${i.multipleOf}`;break;case w.not_finite:t="Number must be finite";break;default:t=e.defaultError,ne.assertNever(i)}return{message:t}};let Fb=ai;function YA(i){Fb=i}function bs(){return Fb}const Rs=i=>{const{data:e,path:t,errorMaps:r,issueData:a}=i,s=[...t,...a.path||[]],o={...a,path:s};if(a.message!==void 0)return{...a,path:s,message:a.message};let l="";const p=r.filter(y=>!!y).slice().reverse();for(const y of p)l=y(o,{data:e,defaultError:l}).message;return{...a,path:s,message:l}},zA=[];function L(i,e){const t=bs(),r=Rs({issueData:e,data:i.data,path:i.path,errorMaps:[i.common.contextualErrorMap,i.schemaErrorMap,t,t===ai?void 0:ai].filter(a=>!!a)});i.common.issues.push(r)}class at{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const r=[];for(const a of t){if(a.status==="aborted")return J;a.status==="dirty"&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const r=[];for(const a of t){const s=await a.key,o=await a.value;r.push({key:s,value:o})}return at.mergeObjectSync(e,r)}static mergeObjectSync(e,t){const r={};for(const a of t){const{key:s,value:o}=a;if(s.status==="aborted"||o.status==="aborted")return J;s.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof o.value<"u"||a.alwaysSet)&&(r[s.value]=o.value)}return{status:e.value,value:r}}}const J=Object.freeze({status:"aborted"}),si=i=>({status:"dirty",value:i}),ft=i=>({status:"valid",value:i}),nc=i=>i.status==="aborted",rc=i=>i.status==="dirty",Hi=i=>i.status==="valid",Yi=i=>typeof Promise<"u"&&i instanceof Promise;function gs(i,e,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?i!==e||!r:!e.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(i):r?r.value:e.get(i)}function Ub(i,e,t,r,a){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?i!==e||!a:!e.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?a.call(i,t):a?a.value=t:e.set(i,t),t}typeof SuppressedError=="function"&&SuppressedError;var x;(function(i){i.errToObj=e=>typeof e=="string"?{message:e}:e||{},i.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(x||(x={}));var zi,Zi;class nn{constructor(e,t,r,a){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=a}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 xb=(i,e)=>{if(Hi(e))return{success:!0,data:e.value};if(!i.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 Dt(i.common.issues);return this._error=t,this._error}}};function K(i){if(!i)return{};const{errorMap:e,invalid_type_error:t,required_error:r,description:a}=i;if(e&&(t||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(o,l)=>{var p,y;const{message:h}=i;return o.code==="invalid_enum_value"?{message:h??l.defaultError}:typeof l.data>"u"?{message:(p=h??r)!==null&&p!==void 0?p:l.defaultError}:o.code!=="invalid_type"?{message:l.defaultError}:{message:(y=h??t)!==null&&y!==void 0?y:l.defaultError}},description:a}}class Q{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 $n(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:$n(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new at,ctx:{common:e.parent.common,data:e.data,parsedType:$n(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(Yi(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 r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;const a={common:{issues:[],async:(r=t==null?void 0:t.async)!==null&&r!==void 0?r:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:$n(e)},s=this._parseSync({data:e,path:a.path,parent:a});return xb(a,s)}async parseAsync(e,t){const r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){const r={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:$n(e)},a=this._parse({data:e,path:r.path,parent:r}),s=await(Yi(a)?a:Promise.resolve(a));return xb(r,s)}refine(e,t){const r=a=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(a):t;return this._refinement((a,s)=>{const o=e(a),l=()=>s.addIssue({code:w.custom,...r(a)});return typeof Promise<"u"&&o instanceof Promise?o.then(p=>p?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(e,t){return this._refinement((r,a)=>e(r)?!0:(a.addIssue(typeof t=="function"?t(r,a):t),!1))}_refinement(e){return new zt({schema:this,typeName:q.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return an.create(this,this._def)}nullable(){return jn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Yt.create(this,this._def)}promise(){return di.create(this,this._def)}or(e){return ea.create([this,e],this._def)}and(e){return ta.create(this,e,this._def)}transform(e){return new zt({...K(this._def),schema:this,typeName:q.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new sa({...K(this._def),innerType:this,defaultValue:t,typeName:q.ZodDefault})}brand(){return new sc({typeName:q.ZodBranded,type:this,...K(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new oa({...K(this._def),innerType:this,catchValue:t,typeName:q.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return la.create(this,e)}readonly(){return ca.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const ZA=/^c[^\s-]{8,}$/i,KA=/^[0-9a-z]+$/,XA=/^[0-9A-HJKMNP-TV-Z]{26}$/,QA=/^[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,eO=/^[a-z0-9_-]{21}$/i,tO=/^[-+]?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)?)??$/,nO=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,rO="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let ic;const iO=/^(?:(?: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])$/,aO=/^(([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})))$/,sO=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,jb="((\\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])))",oO=new RegExp(`^${jb}$`);function kb(i){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return i.precision?e=`${e}\\.\\d{${i.precision}}`:i.precision==null&&(e=`${e}(\\.\\d+)?`),e}function lO(i){return new RegExp(`^${kb(i)}$`)}function qb(i){let e=`${jb}T${kb(i)}`;const t=[];return t.push(i.local?"Z?":"Z"),i.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function cO(i,e){return!!((e==="v4"||!e)&&iO.test(i)||(e==="v6"||!e)&&aO.test(i))}class Ht extends Q{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==G.string){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_type,expected:G.string,received:s.parsedType}),J}const r=new at;let a;for(const s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(a=this._getOrReturnCtx(e,a),L(a,{code:w.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")e.data.length>s.value&&(a=this._getOrReturnCtx(e,a),L(a,{code:w.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const o=e.data.length>s.value,l=e.data.length<s.value;(o||l)&&(a=this._getOrReturnCtx(e,a),o?L(a,{code:w.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):l&&L(a,{code:w.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")nO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"email",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")ic||(ic=new RegExp(rO,"u")),ic.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"emoji",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")QA.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"uuid",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")eO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"nanoid",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")ZA.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"cuid",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")KA.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"cuid2",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")XA.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"ulid",code:w.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a),L(a,{validation:"url",code:w.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"regex",code:w.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.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)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?qb(s).test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?oO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?lO(s).test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{code:w.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?tO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"duration",code:w.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?cO(e.data,s.version)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"ip",code:w.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?sO.test(e.data)||(a=this._getOrReturnCtx(e,a),L(a,{validation:"base64",code:w.invalid_string,message:s.message}),r.dirty()):ne.assertNever(s);return{status:r.value,value:e.data}}_regex(e,t,r){return this.refinement(a=>e.test(a),{validation:t,code:w.invalid_string,...x.errToObj(r)})}_addCheck(e){return new Ht({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...x.errToObj(e)})}url(e){return this._addCheck({kind:"url",...x.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...x.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...x.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...x.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...x.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...x.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...x.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...x.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...x.errToObj(e)})}datetime(e){var t,r;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:(r=e==null?void 0:e.local)!==null&&r!==void 0?r:!1,...x.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,...x.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...x.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...x.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...x.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...x.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...x.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...x.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...x.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...x.errToObj(t)})}nonempty(e){return this.min(1,x.errToObj(e))}trim(){return new Ht({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ht({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ht({...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}}Ht.create=i=>{var e;return new Ht({checks:[],typeName:q.ZodString,coerce:(e=i==null?void 0:i.coerce)!==null&&e!==void 0?e:!1,...K(i)})};function dO(i,e){const t=(i.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,a=t>r?t:r,s=parseInt(i.toFixed(a).replace(".","")),o=parseInt(e.toFixed(a).replace(".",""));return s%o/Math.pow(10,a)}class Fn extends Q{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)!==G.number){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_type,expected:G.number,received:s.parsedType}),J}let r;const a=new at;for(const s of this._def.checks)s.kind==="int"?ne.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),L(r,{code:w.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?dO(e.data,s.value)!==0&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),L(r,{code:w.not_finite,message:s.message}),a.dirty()):ne.assertNever(s);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,r,a){return new Fn({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:x.toString(a)}]})}_addCheck(e){return new Fn({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:x.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:x.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:x.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:x.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"&&ne.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(t===null||r.value>t)&&(t=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(t)&&Number.isFinite(e)}}Fn.create=i=>new Fn({checks:[],typeName:q.ZodNumber,coerce:(i==null?void 0:i.coerce)||!1,...K(i)});class Un extends Q{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)!==G.bigint){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_type,expected:G.bigint,received:s.parsedType}),J}let r;const a=new at;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),L(r,{code:w.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):ne.assertNever(s);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,r,a){return new Un({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:x.toString(a)}]})}_addCheck(e){return new Un({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.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}}Un.create=i=>{var e;return new Un({checks:[],typeName:q.ZodBigInt,coerce:(e=i==null?void 0:i.coerce)!==null&&e!==void 0?e:!1,...K(i)})};class Ki extends Q{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==G.boolean){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.boolean,received:r.parsedType}),J}return ft(e.data)}}Ki.create=i=>new Ki({typeName:q.ZodBoolean,coerce:(i==null?void 0:i.coerce)||!1,...K(i)});class yr extends Q{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==G.date){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_type,expected:G.date,received:s.parsedType}),J}if(isNaN(e.data.getTime())){const s=this._getOrReturnCtx(e);return L(s,{code:w.invalid_date}),J}const r=new at;let a;for(const s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(a=this._getOrReturnCtx(e,a),L(a,{code:w.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(a=this._getOrReturnCtx(e,a),L(a,{code:w.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):ne.assertNever(s);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new yr({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:x.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:x.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}}yr.create=i=>new yr({checks:[],coerce:(i==null?void 0:i.coerce)||!1,typeName:q.ZodDate,...K(i)});class vs extends Q{_parse(e){if(this._getType(e)!==G.symbol){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.symbol,received:r.parsedType}),J}return ft(e.data)}}vs.create=i=>new vs({typeName:q.ZodSymbol,...K(i)});class Xi extends Q{_parse(e){if(this._getType(e)!==G.undefined){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.undefined,received:r.parsedType}),J}return ft(e.data)}}Xi.create=i=>new Xi({typeName:q.ZodUndefined,...K(i)});class Qi extends Q{_parse(e){if(this._getType(e)!==G.null){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.null,received:r.parsedType}),J}return ft(e.data)}}Qi.create=i=>new Qi({typeName:q.ZodNull,...K(i)});class oi extends Q{constructor(){super(...arguments),this._any=!0}_parse(e){return ft(e.data)}}oi.create=i=>new oi({typeName:q.ZodAny,...K(i)});class fr extends Q{constructor(){super(...arguments),this._unknown=!0}_parse(e){return ft(e.data)}}fr.create=i=>new fr({typeName:q.ZodUnknown,...K(i)});class Rn extends Q{_parse(e){const t=this._getOrReturnCtx(e);return L(t,{code:w.invalid_type,expected:G.never,received:t.parsedType}),J}}Rn.create=i=>new Rn({typeName:q.ZodNever,...K(i)});class Is extends Q{_parse(e){if(this._getType(e)!==G.undefined){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.void,received:r.parsedType}),J}return ft(e.data)}}Is.create=i=>new Is({typeName:q.ZodVoid,...K(i)});class Yt extends Q{_parse(e){const{ctx:t,status:r}=this._processInputParams(e),a=this._def;if(t.parsedType!==G.array)return L(t,{code:w.invalid_type,expected:G.array,received:t.parsedType}),J;if(a.exactLength!==null){const o=t.data.length>a.exactLength.value,l=t.data.length<a.exactLength.value;(o||l)&&(L(t,{code:o?w.too_big:w.too_small,minimum:l?a.exactLength.value:void 0,maximum:o?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&t.data.length<a.minLength.value&&(L(t,{code:w.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&t.data.length>a.maxLength.value&&(L(t,{code:w.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((o,l)=>a.type._parseAsync(new nn(t,o,t.path,l)))).then(o=>at.mergeArray(r,o));const s=[...t.data].map((o,l)=>a.type._parseSync(new nn(t,o,t.path,l)));return at.mergeArray(r,s)}get element(){return this._def.type}min(e,t){return new Yt({...this._def,minLength:{value:e,message:x.toString(t)}})}max(e,t){return new Yt({...this._def,maxLength:{value:e,message:x.toString(t)}})}length(e,t){return new Yt({...this._def,exactLength:{value:e,message:x.toString(t)}})}nonempty(e){return this.min(1,e)}}Yt.create=(i,e)=>new Yt({type:i,minLength:null,maxLength:null,exactLength:null,typeName:q.ZodArray,...K(e)});function li(i){if(i instanceof qe){const e={};for(const t in i.shape){const r=i.shape[t];e[t]=an.create(li(r))}return new qe({...i._def,shape:()=>e})}else return i instanceof Yt?new Yt({...i._def,type:li(i.element)}):i instanceof an?an.create(li(i.unwrap())):i instanceof jn?jn.create(li(i.unwrap())):i instanceof rn?rn.create(i.items.map(e=>li(e))):i}class qe extends Q{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=ne.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==G.object){const y=this._getOrReturnCtx(e);return L(y,{code:w.invalid_type,expected:G.object,received:y.parsedType}),J}const{status:r,ctx:a}=this._processInputParams(e),{shape:s,keys:o}=this._getCached(),l=[];if(!(this._def.catchall instanceof Rn&&this._def.unknownKeys==="strip"))for(const y in a.data)o.includes(y)||l.push(y);const p=[];for(const y of o){const h=s[y],m=a.data[y];p.push({key:{status:"valid",value:y},value:h._parse(new nn(a,m,a.path,y)),alwaysSet:y in a.data})}if(this._def.catchall instanceof Rn){const y=this._def.unknownKeys;if(y==="passthrough")for(const h of l)p.push({key:{status:"valid",value:h},value:{status:"valid",value:a.data[h]}});else if(y==="strict")l.length>0&&(L(a,{code:w.unrecognized_keys,keys:l}),r.dirty());else if(y!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const y=this._def.catchall;for(const h of l){const m=a.data[h];p.push({key:{status:"valid",value:h},value:y._parse(new nn(a,m,a.path,h)),alwaysSet:h in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const y=[];for(const h of p){const m=await h.key,R=await h.value;y.push({key:m,value:R,alwaysSet:h.alwaysSet})}return y}).then(y=>at.mergeObjectSync(r,y)):at.mergeObjectSync(r,p)}get shape(){return this._def.shape()}strict(e){return x.errToObj,new qe({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,r)=>{var a,s,o,l;const p=(o=(s=(a=this._def).errorMap)===null||s===void 0?void 0:s.call(a,t,r).message)!==null&&o!==void 0?o:r.defaultError;return t.code==="unrecognized_keys"?{message:(l=x.errToObj(e).message)!==null&&l!==void 0?l:p}:{message:p}}}:{}})}strip(){return new qe({...this._def,unknownKeys:"strip"})}passthrough(){return new qe({...this._def,unknownKeys:"passthrough"})}extend(e){return new qe({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new qe({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:q.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new qe({...this._def,catchall:e})}pick(e){const t={};return ne.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new qe({...this._def,shape:()=>t})}omit(e){const t={};return ne.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new qe({...this._def,shape:()=>t})}deepPartial(){return li(this)}partial(e){const t={};return ne.objectKeys(this.shape).forEach(r=>{const a=this.shape[r];e&&!e[r]?t[r]=a:t[r]=a.optional()}),new qe({...this._def,shape:()=>t})}required(e){const t={};return ne.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof an;)s=s._def.innerType;t[r]=s}}),new qe({...this._def,shape:()=>t})}keyof(){return Jb(ne.objectKeys(this.shape))}}qe.create=(i,e)=>new qe({shape:()=>i,unknownKeys:"strip",catchall:Rn.create(),typeName:q.ZodObject,...K(e)}),qe.strictCreate=(i,e)=>new qe({shape:()=>i,unknownKeys:"strict",catchall:Rn.create(),typeName:q.ZodObject,...K(e)}),qe.lazycreate=(i,e)=>new qe({shape:i,unknownKeys:"strip",catchall:Rn.create(),typeName:q.ZodObject,...K(e)});class ea extends Q{_parse(e){const{ctx:t}=this._processInputParams(e),r=this._def.options;function a(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 Dt(l.ctx.common.issues));return L(t,{code:w.invalid_union,unionErrors:o}),J}if(t.common.async)return Promise.all(r.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(a);{let s;const o=[];for(const p of r){const y={...t,common:{...t.common,issues:[]},parent:null},h=p._parseSync({data:t.data,path:t.path,parent:y});if(h.status==="valid")return h;h.status==="dirty"&&!s&&(s={result:h,ctx:y}),y.common.issues.length&&o.push(y.common.issues)}if(s)return t.common.issues.push(...s.ctx.common.issues),s.result;const l=o.map(p=>new Dt(p));return L(t,{code:w.invalid_union,unionErrors:l}),J}}get options(){return this._def.options}}ea.create=(i,e)=>new ea({options:i,typeName:q.ZodUnion,...K(e)});const gn=i=>i instanceof ra?gn(i.schema):i instanceof zt?gn(i.innerType()):i instanceof ia?[i.value]:i instanceof xn?i.options:i instanceof aa?ne.objectValues(i.enum):i instanceof sa?gn(i._def.innerType):i instanceof Xi?[void 0]:i instanceof Qi?[null]:i instanceof an?[void 0,...gn(i.unwrap())]:i instanceof jn?[null,...gn(i.unwrap())]:i instanceof sc||i instanceof ca?gn(i.unwrap()):i instanceof oa?gn(i._def.innerType):[];class Ds extends Q{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==G.object)return L(t,{code:w.invalid_type,expected:G.object,received:t.parsedType}),J;const r=this.discriminator,a=t.data[r],s=this.optionsMap.get(a);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}):(L(t,{code:w.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),J)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){const a=new Map;for(const s of t){const o=gn(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(a.has(l))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(l)}`);a.set(l,s)}}return new Ds({typeName:q.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:a,...K(r)})}}function ac(i,e){const t=$n(i),r=$n(e);if(i===e)return{valid:!0,data:i};if(t===G.object&&r===G.object){const a=ne.objectKeys(e),s=ne.objectKeys(i).filter(l=>a.indexOf(l)!==-1),o={...i,...e};for(const l of s){const p=ac(i[l],e[l]);if(!p.valid)return{valid:!1};o[l]=p.data}return{valid:!0,data:o}}else if(t===G.array&&r===G.array){if(i.length!==e.length)return{valid:!1};const a=[];for(let s=0;s<i.length;s++){const o=i[s],l=e[s],p=ac(o,l);if(!p.valid)return{valid:!1};a.push(p.data)}return{valid:!0,data:a}}else return t===G.date&&r===G.date&&+i==+e?{valid:!0,data:i}:{valid:!1}}class ta extends Q{_parse(e){const{status:t,ctx:r}=this._processInputParams(e),a=(s,o)=>{if(nc(s)||nc(o))return J;const l=ac(s.value,o.value);return l.valid?((rc(s)||rc(o))&&t.dirty(),{status:t.value,value:l.data}):(L(r,{code:w.invalid_intersection_types}),J)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,o])=>a(s,o)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ta.create=(i,e,t)=>new ta({left:i,right:e,typeName:q.ZodIntersection,...K(t)});class rn extends Q{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==G.array)return L(r,{code:w.invalid_type,expected:G.array,received:r.parsedType}),J;if(r.data.length<this._def.items.length)return L(r,{code:w.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),J;!this._def.rest&&r.data.length>this._def.items.length&&(L(r,{code:w.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const s=[...r.data].map((o,l)=>{const p=this._def.items[l]||this._def.rest;return p?p._parse(new nn(r,o,r.path,l)):null}).filter(o=>!!o);return r.common.async?Promise.all(s).then(o=>at.mergeArray(t,o)):at.mergeArray(t,s)}get items(){return this._def.items}rest(e){return new rn({...this._def,rest:e})}}rn.create=(i,e)=>{if(!Array.isArray(i))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new rn({items:i,typeName:q.ZodTuple,rest:null,...K(e)})};class na extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==G.object)return L(r,{code:w.invalid_type,expected:G.object,received:r.parsedType}),J;const a=[],s=this._def.keyType,o=this._def.valueType;for(const l in r.data)a.push({key:s._parse(new nn(r,l,r.path,l)),value:o._parse(new nn(r,r.data[l],r.path,l)),alwaysSet:l in r.data});return r.common.async?at.mergeObjectAsync(t,a):at.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,r){return t instanceof Q?new na({keyType:e,valueType:t,typeName:q.ZodRecord,...K(r)}):new na({keyType:Ht.create(),valueType:e,typeName:q.ZodRecord,...K(t)})}}class Ps extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==G.map)return L(r,{code:w.invalid_type,expected:G.map,received:r.parsedType}),J;const a=this._def.keyType,s=this._def.valueType,o=[...r.data.entries()].map(([l,p],y)=>({key:a._parse(new nn(r,l,r.path,[y,"key"])),value:s._parse(new nn(r,p,r.path,[y,"value"]))}));if(r.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const p of o){const y=await p.key,h=await p.value;if(y.status==="aborted"||h.status==="aborted")return J;(y.status==="dirty"||h.status==="dirty")&&t.dirty(),l.set(y.value,h.value)}return{status:t.value,value:l}})}else{const l=new Map;for(const p of o){const y=p.key,h=p.value;if(y.status==="aborted"||h.status==="aborted")return J;(y.status==="dirty"||h.status==="dirty")&&t.dirty(),l.set(y.value,h.value)}return{status:t.value,value:l}}}}Ps.create=(i,e,t)=>new Ps({valueType:e,keyType:i,typeName:q.ZodMap,...K(t)});class hr extends Q{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==G.set)return L(r,{code:w.invalid_type,expected:G.set,received:r.parsedType}),J;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(L(r,{code:w.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),t.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(L(r,{code:w.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());const s=this._def.valueType;function o(p){const y=new Set;for(const h of p){if(h.status==="aborted")return J;h.status==="dirty"&&t.dirty(),y.add(h.value)}return{status:t.value,value:y}}const l=[...r.data.values()].map((p,y)=>s._parse(new nn(r,p,r.path,y)));return r.common.async?Promise.all(l).then(p=>o(p)):o(l)}min(e,t){return new hr({...this._def,minSize:{value:e,message:x.toString(t)}})}max(e,t){return new hr({...this._def,maxSize:{value:e,message:x.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}hr.create=(i,e)=>new hr({valueType:i,minSize:null,maxSize:null,typeName:q.ZodSet,...K(e)});class ci extends Q{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==G.function)return L(t,{code:w.invalid_type,expected:G.function,received:t.parsedType}),J;function r(l,p){return Rs({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,bs(),ai].filter(y=>!!y),issueData:{code:w.invalid_arguments,argumentsError:p}})}function a(l,p){return Rs({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,bs(),ai].filter(y=>!!y),issueData:{code:w.invalid_return_type,returnTypeError:p}})}const s={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof di){const l=this;return ft(async function(...p){const y=new Dt([]),h=await l._def.args.parseAsync(p,s).catch(v=>{throw y.addIssue(r(p,v)),y}),m=await Reflect.apply(o,this,h);return await l._def.returns._def.type.parseAsync(m,s).catch(v=>{throw y.addIssue(a(m,v)),y})})}else{const l=this;return ft(function(...p){const y=l._def.args.safeParse(p,s);if(!y.success)throw new Dt([r(p,y.error)]);const h=Reflect.apply(o,this,y.data),m=l._def.returns.safeParse(h,s);if(!m.success)throw new Dt([a(h,m.error)]);return m.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ci({...this._def,args:rn.create(e).rest(fr.create())})}returns(e){return new ci({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new ci({args:e||rn.create([]).rest(fr.create()),returns:t||fr.create(),typeName:q.ZodFunction,...K(r)})}}class ra extends Q{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})}}ra.create=(i,e)=>new ra({getter:i,typeName:q.ZodLazy,...K(e)});class ia extends Q{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return L(t,{received:t.data,code:w.invalid_literal,expected:this._def.value}),J}return{status:"valid",value:e.data}}get value(){return this._def.value}}ia.create=(i,e)=>new ia({value:i,typeName:q.ZodLiteral,...K(e)});function Jb(i,e){return new xn({values:i,typeName:q.ZodEnum,...K(e)})}class xn extends Q{constructor(){super(...arguments),zi.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),r=this._def.values;return L(t,{expected:ne.joinValues(r),received:t.parsedType,code:w.invalid_type}),J}if(gs(this,zi,"f")||Ub(this,zi,new Set(this._def.values),"f"),!gs(this,zi,"f").has(e.data)){const t=this._getOrReturnCtx(e),r=this._def.values;return L(t,{received:t.data,code:w.invalid_enum_value,options:r}),J}return ft(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 xn.create(e,{...this._def,...t})}exclude(e,t=this._def){return xn.create(this.options.filter(r=>!e.includes(r)),{...this._def,...t})}}zi=new WeakMap,xn.create=Jb;class aa extends Q{constructor(){super(...arguments),Zi.set(this,void 0)}_parse(e){const t=ne.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==G.string&&r.parsedType!==G.number){const a=ne.objectValues(t);return L(r,{expected:ne.joinValues(a),received:r.parsedType,code:w.invalid_type}),J}if(gs(this,Zi,"f")||Ub(this,Zi,new Set(ne.getValidEnumValues(this._def.values)),"f"),!gs(this,Zi,"f").has(e.data)){const a=ne.objectValues(t);return L(r,{received:r.data,code:w.invalid_enum_value,options:a}),J}return ft(e.data)}get enum(){return this._def.values}}Zi=new WeakMap,aa.create=(i,e)=>new aa({values:i,typeName:q.ZodNativeEnum,...K(e)});class di extends Q{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==G.promise&&t.common.async===!1)return L(t,{code:w.invalid_type,expected:G.promise,received:t.parsedType}),J;const r=t.parsedType===G.promise?t.data:Promise.resolve(t.data);return ft(r.then(a=>this._def.type.parseAsync(a,{path:t.path,errorMap:t.common.contextualErrorMap})))}}di.create=(i,e)=>new di({type:i,typeName:q.ZodPromise,...K(e)});class zt extends Q{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===q.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:r}=this._processInputParams(e),a=this._def.effect||null,s={addIssue:o=>{L(r,o),o.fatal?t.abort():t.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const o=a.transform(r.data,s);if(r.common.async)return Promise.resolve(o).then(async l=>{if(t.value==="aborted")return J;const p=await this._def.schema._parseAsync({data:l,path:r.path,parent:r});return p.status==="aborted"?J:p.status==="dirty"||t.value==="dirty"?si(p.value):p});{if(t.value==="aborted")return J;const l=this._def.schema._parseSync({data:o,path:r.path,parent:r});return l.status==="aborted"?J:l.status==="dirty"||t.value==="dirty"?si(l.value):l}}if(a.type==="refinement"){const o=l=>{const p=a.refinement(l,s);if(r.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(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?J:(l.status==="dirty"&&t.dirty(),o(l.value),{status:t.value,value:l.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>l.status==="aborted"?J:(l.status==="dirty"&&t.dirty(),o(l.value).then(()=>({status:t.value,value:l.value}))))}if(a.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Hi(o))return o;const l=a.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:r.data,path:r.path,parent:r}).then(o=>Hi(o)?Promise.resolve(a.transform(o.value,s)).then(l=>({status:t.value,value:l})):o);ne.assertNever(a)}}zt.create=(i,e,t)=>new zt({schema:i,typeName:q.ZodEffects,effect:e,...K(t)}),zt.createWithPreprocess=(i,e,t)=>new zt({schema:e,effect:{type:"preprocess",transform:i},typeName:q.ZodEffects,...K(t)});class an extends Q{_parse(e){return this._getType(e)===G.undefined?ft(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}an.create=(i,e)=>new an({innerType:i,typeName:q.ZodOptional,...K(e)});class jn extends Q{_parse(e){return this._getType(e)===G.null?ft(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}jn.create=(i,e)=>new jn({innerType:i,typeName:q.ZodNullable,...K(e)});class sa extends Q{_parse(e){const{ctx:t}=this._processInputParams(e);let r=t.data;return t.parsedType===G.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}sa.create=(i,e)=>new sa({innerType:i,typeName:q.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...K(e)});class oa extends Q{_parse(e){const{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Yi(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Dt(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Dt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}oa.create=(i,e)=>new oa({innerType:i,typeName:q.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...K(e)});class As extends Q{_parse(e){if(this._getType(e)!==G.nan){const r=this._getOrReturnCtx(e);return L(r,{code:w.invalid_type,expected:G.nan,received:r.parsedType}),J}return{status:"valid",value:e.data}}}As.create=i=>new As({typeName:q.ZodNaN,...K(i)});const uO=Symbol("zod_brand");class sc extends Q{_parse(e){const{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class la extends Q{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?J:s.status==="dirty"?(t.dirty(),si(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?J:a.status==="dirty"?(t.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(e,t){return new la({in:e,out:t,typeName:q.ZodPipeline})}}class ca extends Q{_parse(e){const t=this._def.innerType._parse(e),r=a=>(Hi(a)&&(a.value=Object.freeze(a.value)),a);return Yi(t)?t.then(a=>r(a)):r(t)}unwrap(){return this._def.innerType}}ca.create=(i,e)=>new ca({innerType:i,typeName:q.ZodReadonly,...K(e)});function Wb(i,e={},t){return i?oi.create().superRefine((r,a)=>{var s,o;if(!i(r)){const l=typeof e=="function"?e(r):typeof e=="string"?{message:e}:e,p=(o=(s=l.fatal)!==null&&s!==void 0?s:t)!==null&&o!==void 0?o:!0,y=typeof l=="string"?{message:l}:l;a.addIssue({code:"custom",...y,fatal:p})}}):oi.create()}const pO={object:qe.lazycreate};var q;(function(i){i.ZodString="ZodString",i.ZodNumber="ZodNumber",i.ZodNaN="ZodNaN",i.ZodBigInt="ZodBigInt",i.ZodBoolean="ZodBoolean",i.ZodDate="ZodDate",i.ZodSymbol="ZodSymbol",i.ZodUndefined="ZodUndefined",i.ZodNull="ZodNull",i.ZodAny="ZodAny",i.ZodUnknown="ZodUnknown",i.ZodNever="ZodNever",i.ZodVoid="ZodVoid",i.ZodArray="ZodArray",i.ZodObject="ZodObject",i.ZodUnion="ZodUnion",i.ZodDiscriminatedUnion="ZodDiscriminatedUnion",i.ZodIntersection="ZodIntersection",i.ZodTuple="ZodTuple",i.ZodRecord="ZodRecord",i.ZodMap="ZodMap",i.ZodSet="ZodSet",i.ZodFunction="ZodFunction",i.ZodLazy="ZodLazy",i.ZodLiteral="ZodLiteral",i.ZodEnum="ZodEnum",i.ZodEffects="ZodEffects",i.ZodNativeEnum="ZodNativeEnum",i.ZodOptional="ZodOptional",i.ZodNullable="ZodNullable",i.ZodDefault="ZodDefault",i.ZodCatch="ZodCatch",i.ZodPromise="ZodPromise",i.ZodBranded="ZodBranded",i.ZodPipeline="ZodPipeline",i.ZodReadonly="ZodReadonly"})(q||(q={}));const yO=(i,e={message:`Input not instance of ${i.name}`})=>Wb(t=>t instanceof i,e),Os=Ht.create,oc=Fn.create,fO=As.create,hO=Un.create,lc=Ki.create,Hb=yr.create,mO=vs.create,TO=Xi.create,Yb=Qi.create,EO=oi.create,Ss=fr.create,bO=Rn.create,RO=Is.create,gO=Yt.create,zb=qe.create,vO=qe.strictCreate,IO=ea.create,DO=Ds.create,PO=ta.create,AO=rn.create,Zb=na.create,OO=Ps.create,SO=hr.create,CO=ci.create,BO=ra.create,wO=ia.create,Kb=xn.create,_O=aa.create,NO=di.create,Xb=zt.create,MO=an.create,VO=jn.create,LO=zt.createWithPreprocess,GO=la.create;var u=Object.freeze({__proto__:null,defaultErrorMap:ai,setErrorMap:YA,getErrorMap:bs,makeIssue:Rs,EMPTY_PATH:zA,addIssueToContext:L,ParseStatus:at,INVALID:J,DIRTY:si,OK:ft,isAborted:nc,isDirty:rc,isValid:Hi,isAsync:Yi,get util(){return ne},get objectUtil(){return tc},ZodParsedType:G,getParsedType:$n,ZodType:Q,datetimeRegex:qb,ZodString:Ht,ZodNumber:Fn,ZodBigInt:Un,ZodBoolean:Ki,ZodDate:yr,ZodSymbol:vs,ZodUndefined:Xi,ZodNull:Qi,ZodAny:oi,ZodUnknown:fr,ZodNever:Rn,ZodVoid:Is,ZodArray:Yt,ZodObject:qe,ZodUnion:ea,ZodDiscriminatedUnion:Ds,ZodIntersection:ta,ZodTuple:rn,ZodRecord:na,ZodMap:Ps,ZodSet:hr,ZodFunction:ci,ZodLazy:ra,ZodLiteral:ia,ZodEnum:xn,ZodNativeEnum:aa,ZodPromise:di,ZodEffects:zt,ZodTransformer:zt,ZodOptional:an,ZodNullable:jn,ZodDefault:sa,ZodCatch:oa,ZodNaN:As,BRAND:uO,ZodBranded:sc,ZodPipeline:la,ZodReadonly:ca,custom:Wb,Schema:Q,ZodSchema:Q,late:pO,get ZodFirstPartyTypeKind(){return q},coerce:{string:i=>Ht.create({...i,coerce:!0}),number:i=>Fn.create({...i,coerce:!0}),boolean:i=>Ki.create({...i,coerce:!0}),bigint:i=>Un.create({...i,coerce:!0}),date:i=>yr.create({...i,coerce:!0})},any:EO,array:gO,bigint:hO,boolean:lc,date:Hb,discriminatedUnion:DO,effect:Xb,enum:Kb,function:CO,instanceof:yO,intersection:PO,lazy:BO,literal:wO,map:OO,nan:fO,nativeEnum:_O,never:bO,null:Yb,nullable:VO,number:oc,object:zb,oboolean:()=>lc().optional(),onumber:()=>oc().optional(),optional:MO,ostring:()=>Os().optional(),pipeline:GO,preprocess:LO,promise:NO,record:Zb,set:SO,strictObject:vO,string:Os,symbol:mO,transformer:Xb,tuple:AO,undefined:TO,union:IO,unknown:Ss,void:RO,NEVER:J,ZodIssueCode:w,quotelessJson:HA,ZodError:Dt});function Qb(i){var a,s,o;if(!(i!=null&&i.dataType))return Ss();const e=i.dataType.isNullable||!1,t=i.dataType.isList||!1;let r=Ss();if(((a=i.dataType.entity)==null?void 0:a.type)===n.PrimitiveEntity)switch(i.dataType.entity.name){case I.String:r=Os();break;case I.KeyValue:r=Zb(Ss());break;case I.Number:r=oc();break;case I.Boolean:r=lc();break;case I.Date:r=Hb();break;case I.Enum:{const l=i.dataType.options||[];if(l.length===0)throw new Error(`Enum property ${i.name} has no options`);r=Kb(l);break}case I.Null:r=Yb();break;case I.UUID:r=Os().uuid();break}else if(((s=i.dataType.entity)==null?void 0:s.type)===n.CustomEntity)r=eR(i.dataType.entity);else throw new Error(`Unsupported data type validation: ${(o=i.dataType.entity)==null?void 0:o.type}`);return e&&(r=r.nullable()),t&&(r=r.array()),r}function eR(i){const e=zb({});for(const t of i.properties){const r=Qb(t);e.shape[t.name]=r}return e}function tR(i){const e=i.rangeStart;return new Date(e.getTime()+Math.random()*(Date.now()-e.getTime()))}function nR(i){const e=i.rangeEnd;return new Date(Math.random()*e.getTime())}function rR(i){const e=i.rangeStart,t=i.rangeEnd;return new Date(e.getTime()+Math.random()*(t.getTime()-e.getTime()))}function iR(i){return i.rangeStart&&i.rangeEnd?rR(i):i.rangeStart?tR(i):i.rangeEnd?nR(i):new Date}function $O(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var aR={},Cs={},Bs={};Object.defineProperty(Bs,"__esModule",{value:!0}),Bs.default=UO;let ws;const FO=new Uint8Array(16);function UO(){if(!ws&&(ws=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ws))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ws(FO)}var kn={},mr={},_s={};Object.defineProperty(_s,"__esModule",{value:!0}),_s.default=void 0;var xO=/^(?:[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;_s.default=xO,Object.defineProperty(mr,"__esModule",{value:!0}),mr.default=void 0;var jO=kO(_s);function kO(i){return i&&i.__esModule?i:{default:i}}function qO(i){return typeof i=="string"&&jO.default.test(i)}var JO=qO;mr.default=JO,Object.defineProperty(kn,"__esModule",{value:!0}),kn.default=void 0,kn.unsafeStringify=sR;var WO=HO(mr);function HO(i){return i&&i.__esModule?i:{default:i}}const it=[];for(let i=0;i<256;++i)it.push((i+256).toString(16).slice(1));function sR(i,e=0){return it[i[e+0]]+it[i[e+1]]+it[i[e+2]]+it[i[e+3]]+"-"+it[i[e+4]]+it[i[e+5]]+"-"+it[i[e+6]]+it[i[e+7]]+"-"+it[i[e+8]]+it[i[e+9]]+"-"+it[i[e+10]]+it[i[e+11]]+it[i[e+12]]+it[i[e+13]]+it[i[e+14]]+it[i[e+15]]}function YO(i,e=0){const t=sR(i,e);if(!(0,WO.default)(t))throw TypeError("Stringified UUID is invalid");return t}var zO=YO;kn.default=zO,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.default=void 0;var ZO=XO(Bs),KO=kn;function XO(i){return i&&i.__esModule?i:{default:i}}let oR,cc,dc=0,uc=0;function QO(i,e,t){let r=e&&t||0;const a=e||new Array(16);i=i||{};let s=i.node||oR,o=i.clockseq!==void 0?i.clockseq:cc;if(s==null||o==null){const R=i.random||(i.rng||ZO.default)();s==null&&(s=oR=[R[0]|1,R[1],R[2],R[3],R[4],R[5]]),o==null&&(o=cc=(R[6]<<8|R[7])&16383)}let l=i.msecs!==void 0?i.msecs:Date.now(),p=i.nsecs!==void 0?i.nsecs:uc+1;const y=l-dc+(p-uc)/1e4;if(y<0&&i.clockseq===void 0&&(o=o+1&16383),(y<0||l>dc)&&i.nsecs===void 0&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");dc=l,uc=p,cc=o,l+=122192928e5;const h=((l&268435455)*1e4+p)%4294967296;a[r++]=h>>>24&255,a[r++]=h>>>16&255,a[r++]=h>>>8&255,a[r++]=h&255;const m=l/4294967296*1e4&268435455;a[r++]=m>>>8&255,a[r++]=m&255,a[r++]=m>>>24&15|16,a[r++]=m>>>16&255,a[r++]=o>>>8|128,a[r++]=o&255;for(let R=0;R<6;++R)a[r+R]=s[R];return e||(0,KO.unsafeStringify)(a)}var eS=QO;Cs.default=eS;var Ns={},qn={},da={};Object.defineProperty(da,"__esModule",{value:!0}),da.default=void 0;var tS=nS(mr);function nS(i){return i&&i.__esModule?i:{default:i}}function rS(i){if(!(0,tS.default)(i))throw TypeError("Invalid UUID");let e;const t=new Uint8Array(16);return t[0]=(e=parseInt(i.slice(0,8),16))>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t[4]=(e=parseInt(i.slice(9,13),16))>>>8,t[5]=e&255,t[6]=(e=parseInt(i.slice(14,18),16))>>>8,t[7]=e&255,t[8]=(e=parseInt(i.slice(19,23),16))>>>8,t[9]=e&255,t[10]=(e=parseInt(i.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 iS=rS;da.default=iS,Object.defineProperty(qn,"__esModule",{value:!0}),qn.URL=qn.DNS=void 0,qn.default=cS;var aS=kn,sS=oS(da);function oS(i){return i&&i.__esModule?i:{default:i}}function lS(i){i=unescape(encodeURIComponent(i));const e=[];for(let t=0;t<i.length;++t)e.push(i.charCodeAt(t));return e}const lR="6ba7b810-9dad-11d1-80b4-00c04fd430c8";qn.DNS=lR;const cR="6ba7b811-9dad-11d1-80b4-00c04fd430c8";qn.URL=cR;function cS(i,e,t){function r(a,s,o,l){var p;if(typeof a=="string"&&(a=lS(a)),typeof s=="string"&&(s=(0,sS.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 y=new Uint8Array(16+a.length);if(y.set(s),y.set(a,s.length),y=t(y),y[6]=y[6]&15|e,y[8]=y[8]&63|128,o){l=l||0;for(let h=0;h<16;++h)o[l+h]=y[h];return o}return(0,aS.unsafeStringify)(y)}try{r.name=i}catch{}return r.DNS=lR,r.URL=cR,r}var Ms={};Object.defineProperty(Ms,"__esModule",{value:!0}),Ms.default=void 0;function dS(i){if(typeof i=="string"){const e=unescape(encodeURIComponent(i));i=new Uint8Array(e.length);for(let t=0;t<e.length;++t)i[t]=e.charCodeAt(t)}return uS(pS(yS(i),i.length*8))}function uS(i){const e=[],t=i.length*32,r="0123456789abcdef";for(let a=0;a<t;a+=8){const s=i[a>>5]>>>a%32&255,o=parseInt(r.charAt(s>>>4&15)+r.charAt(s&15),16);e.push(o)}return e}function dR(i){return(i+64>>>9<<4)+14+1}function pS(i,e){i[e>>5]|=128<<e%32,i[dR(e)-1]=e;let t=1732584193,r=-271733879,a=-1732584194,s=271733878;for(let o=0;o<i.length;o+=16){const l=t,p=r,y=a,h=s;t=st(t,r,a,s,i[o],7,-680876936),s=st(s,t,r,a,i[o+1],12,-389564586),a=st(a,s,t,r,i[o+2],17,606105819),r=st(r,a,s,t,i[o+3],22,-1044525330),t=st(t,r,a,s,i[o+4],7,-176418897),s=st(s,t,r,a,i[o+5],12,1200080426),a=st(a,s,t,r,i[o+6],17,-1473231341),r=st(r,a,s,t,i[o+7],22,-45705983),t=st(t,r,a,s,i[o+8],7,1770035416),s=st(s,t,r,a,i[o+9],12,-1958414417),a=st(a,s,t,r,i[o+10],17,-42063),r=st(r,a,s,t,i[o+11],22,-1990404162),t=st(t,r,a,s,i[o+12],7,1804603682),s=st(s,t,r,a,i[o+13],12,-40341101),a=st(a,s,t,r,i[o+14],17,-1502002290),r=st(r,a,s,t,i[o+15],22,1236535329),t=ot(t,r,a,s,i[o+1],5,-165796510),s=ot(s,t,r,a,i[o+6],9,-1069501632),a=ot(a,s,t,r,i[o+11],14,643717713),r=ot(r,a,s,t,i[o],20,-373897302),t=ot(t,r,a,s,i[o+5],5,-701558691),s=ot(s,t,r,a,i[o+10],9,38016083),a=ot(a,s,t,r,i[o+15],14,-660478335),r=ot(r,a,s,t,i[o+4],20,-405537848),t=ot(t,r,a,s,i[o+9],5,568446438),s=ot(s,t,r,a,i[o+14],9,-1019803690),a=ot(a,s,t,r,i[o+3],14,-187363961),r=ot(r,a,s,t,i[o+8],20,1163531501),t=ot(t,r,a,s,i[o+13],5,-1444681467),s=ot(s,t,r,a,i[o+2],9,-51403784),a=ot(a,s,t,r,i[o+7],14,1735328473),r=ot(r,a,s,t,i[o+12],20,-1926607734),t=lt(t,r,a,s,i[o+5],4,-378558),s=lt(s,t,r,a,i[o+8],11,-2022574463),a=lt(a,s,t,r,i[o+11],16,1839030562),r=lt(r,a,s,t,i[o+14],23,-35309556),t=lt(t,r,a,s,i[o+1],4,-1530992060),s=lt(s,t,r,a,i[o+4],11,1272893353),a=lt(a,s,t,r,i[o+7],16,-155497632),r=lt(r,a,s,t,i[o+10],23,-1094730640),t=lt(t,r,a,s,i[o+13],4,681279174),s=lt(s,t,r,a,i[o],11,-358537222),a=lt(a,s,t,r,i[o+3],16,-722521979),r=lt(r,a,s,t,i[o+6],23,76029189),t=lt(t,r,a,s,i[o+9],4,-640364487),s=lt(s,t,r,a,i[o+12],11,-421815835),a=lt(a,s,t,r,i[o+15],16,530742520),r=lt(r,a,s,t,i[o+2],23,-995338651),t=ct(t,r,a,s,i[o],6,-198630844),s=ct(s,t,r,a,i[o+7],10,1126891415),a=ct(a,s,t,r,i[o+14],15,-1416354905),r=ct(r,a,s,t,i[o+5],21,-57434055),t=ct(t,r,a,s,i[o+12],6,1700485571),s=ct(s,t,r,a,i[o+3],10,-1894986606),a=ct(a,s,t,r,i[o+10],15,-1051523),r=ct(r,a,s,t,i[o+1],21,-2054922799),t=ct(t,r,a,s,i[o+8],6,1873313359),s=ct(s,t,r,a,i[o+15],10,-30611744),a=ct(a,s,t,r,i[o+6],15,-1560198380),r=ct(r,a,s,t,i[o+13],21,1309151649),t=ct(t,r,a,s,i[o+4],6,-145523070),s=ct(s,t,r,a,i[o+11],10,-1120210379),a=ct(a,s,t,r,i[o+2],15,718787259),r=ct(r,a,s,t,i[o+9],21,-343485551),t=Jn(t,l),r=Jn(r,p),a=Jn(a,y),s=Jn(s,h)}return[t,r,a,s]}function yS(i){if(i.length===0)return[];const e=i.length*8,t=new Uint32Array(dR(e));for(let r=0;r<e;r+=8)t[r>>5]|=(i[r/8]&255)<<r%32;return t}function Jn(i,e){const t=(i&65535)+(e&65535);return(i>>16)+(e>>16)+(t>>16)<<16|t&65535}function fS(i,e){return i<<e|i>>>32-e}function Vs(i,e,t,r,a,s){return Jn(fS(Jn(Jn(e,i),Jn(r,s)),a),t)}function st(i,e,t,r,a,s,o){return Vs(e&t|~e&r,i,e,a,s,o)}function ot(i,e,t,r,a,s,o){return Vs(e&r|t&~r,i,e,a,s,o)}function lt(i,e,t,r,a,s,o){return Vs(e^t^r,i,e,a,s,o)}function ct(i,e,t,r,a,s,o){return Vs(t^(e|~r),i,e,a,s,o)}var hS=dS;Ms.default=hS,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.default=void 0;var mS=uR(qn),TS=uR(Ms);function uR(i){return i&&i.__esModule?i:{default:i}}var ES=(0,mS.default)("v3",48,TS.default);Ns.default=ES;var Ls={},Gs={};Object.defineProperty(Gs,"__esModule",{value:!0}),Gs.default=void 0;var bS={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};Gs.default=bS,Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.default=void 0;var pR=yR(Gs),RS=yR(Bs),gS=kn;function yR(i){return i&&i.__esModule?i:{default:i}}function vS(i,e,t){if(pR.default.randomUUID&&!e&&!i)return pR.default.randomUUID();i=i||{};const r=i.random||(i.rng||RS.default)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(let a=0;a<16;++a)e[t+a]=r[a];return e}return(0,gS.unsafeStringify)(r)}var IS=vS;Ls.default=IS;var $s={},Fs={};Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.default=void 0;function DS(i,e,t,r){switch(i){case 0:return e&t^~e&r;case 1:return e^t^r;case 2:return e&t^e&r^t&r;case 3:return e^t^r}}function pc(i,e){return i<<e|i>>>32-e}function PS(i){const e=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof i=="string"){const o=unescape(encodeURIComponent(i));i=[];for(let l=0;l<o.length;++l)i.push(o.charCodeAt(l))}else Array.isArray(i)||(i=Array.prototype.slice.call(i));i.push(128);const r=i.length/4+2,a=Math.ceil(r/16),s=new Array(a);for(let o=0;o<a;++o){const l=new Uint32Array(16);for(let p=0;p<16;++p)l[p]=i[o*64+p*4]<<24|i[o*64+p*4+1]<<16|i[o*64+p*4+2]<<8|i[o*64+p*4+3];s[o]=l}s[a-1][14]=(i.length-1)*8/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=(i.length-1)*8&4294967295;for(let o=0;o<a;++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]=pc(l[v-3]^l[v-8]^l[v-14]^l[v-16],1);let p=t[0],y=t[1],h=t[2],m=t[3],R=t[4];for(let v=0;v<80;++v){const P=Math.floor(v/20),A=pc(p,5)+DS(P,y,h,m)+R+e[P]+l[v]>>>0;R=m,m=h,h=pc(y,30)>>>0,y=p,p=A}t[0]=t[0]+p>>>0,t[1]=t[1]+y>>>0,t[2]=t[2]+h>>>0,t[3]=t[3]+m>>>0,t[4]=t[4]+R>>>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 AS=PS;Fs.default=AS,Object.defineProperty($s,"__esModule",{value:!0}),$s.default=void 0;var OS=fR(qn),SS=fR(Fs);function fR(i){return i&&i.__esModule?i:{default:i}}var CS=(0,OS.default)("v5",80,SS.default);$s.default=CS;var Us={};Object.defineProperty(Us,"__esModule",{value:!0}),Us.default=void 0;var BS="00000000-0000-0000-0000-000000000000";Us.default=BS;var xs={};Object.defineProperty(xs,"__esModule",{value:!0}),xs.default=void 0;var wS=_S(mr);function _S(i){return i&&i.__esModule?i:{default:i}}function NS(i){if(!(0,wS.default)(i))throw TypeError("Invalid UUID");return parseInt(i.slice(14,15),16)}var MS=NS;xs.default=MS,function(i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(i,"parse",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(i,"stringify",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(i,"v1",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(i,"v3",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(i,"v4",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(i,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(i,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(i,"version",{enumerable:!0,get:function(){return o.default}});var e=h(Cs),t=h(Ns),r=h(Ls),a=h($s),s=h(Us),o=h(xs),l=h(mr),p=h(kn),y=h(da);function h(m){return m&&m.__esModule?m:{default:m}}}(aR);function yc(i,e){if(!i||!e||!i.length||!e.length)throw new Error("Bad alphabet");this.srcAlphabet=i,this.dstAlphabet=e}yc.prototype.convert=function(i){var e,t,r,a={},s=this.srcAlphabet.length,o=this.dstAlphabet.length,l=i.length,p=typeof i=="string"?"":[];if(!this.isValid(i))throw new Error('Number "'+i+'" contains of non-alphabetic digits ('+this.srcAlphabet+")");if(this.srcAlphabet===this.dstAlphabet)return i;for(e=0;e<l;e++)a[e]=this.srcAlphabet.indexOf(i[e]);do{for(t=0,r=0,e=0;e<l;e++)t=t*s+a[e],t>=o?(a[r++]=parseInt(t/o,10),t=t%o):r>0&&(a[r++]=0);l=r,p=this.dstAlphabet.slice(t,t+1).concat(p)}while(r!==0);return p},yc.prototype.isValid=function(i){for(var e=0;e<i.length;++e)if(this.srcAlphabet.indexOf(i[e])===-1)return!1;return!0};var VS=yc,LS=VS;function ua(i,e){var t=new LS(i,e);return function(r){return t.convert(r)}}ua.BIN="01",ua.OCT="01234567",ua.DEC="0123456789",ua.HEX="0123456789abcdef";var GS=ua;const{v4:fc,validate:$S}=aR,js=GS,hc={cookieBase90:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~",flickrBase58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",uuid25Base36:"0123456789abcdefghijklmnopqrstuvwxyz"},FS={consistentLength:!0};let mc;const hR=(i,e,t)=>{const r=e(i.toLowerCase().replace(/-/g,""));return!t||!t.consistentLength?r:r.padStart(t.shortIdLength,t.paddingChar)},mR=(i,e)=>{const r=e(i).padStart(32,"0").match(/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/);return[r[1],r[2],r[3],r[4],r[5]].join("-")},US=i=>Math.ceil(Math.log(2**128)/Math.log(i));var xS=(()=>{const i=(e,t)=>{const r=e||hc.flickrBase58,a={...FS,...t};if([...new Set(Array.from(r))].length!==r.length)throw new Error("The provided Alphabet has duplicate characters resulting in unreliable results");const s=US(r.length),o={shortIdLength:s,consistentLength:a.consistentLength,paddingChar:r[0]},l=js(js.HEX,r),p=js(r,js.HEX),y=()=>hR(fc(),l,o),m={alphabet:r,fromUUID:R=>hR(R,l,o),maxLength:s,generate:y,new:y,toUUID:R=>mR(R,p),uuid:fc,validate:(R,v=!1)=>{if(!R||typeof R!="string")return!1;const P=a.consistentLength?R.length===s:R.length<=s,A=R.split("").every(D=>r.includes(D));return v===!1?P&&A:P&&A&&$S(mR(R,p))}};return Object.freeze(m),m};return i.constants=hc,i.uuid=fc,i.generate=()=>(mc||(mc=i(hc.flickrBase58).generate),mc()),i})();const ks=$O(xS);function TR(){return ks().uuid()}function ER(i){return i.rangeStart+Math.random()}function bR(i){const e=i.rangeEnd;return Math.random()*e}function RR(i){const e=i.rangeStart,t=i.rangeEnd;return Math.random()*(t-e)+e}function gR(i){return i.rangeStart&&i.rangeEnd?RR(i):i.rangeStart?ER(i):i.rangeEnd?bR(i):Math.random()}function vR(i){const e=i.rangeStart;return Math.random().toString(36).substring(e)}function IR(i){const e=i.rangeEnd;return Math.random().toString(36).substring(0,e)}function DR(i){const e=i.rangeStart,t=i.rangeEnd;return Math.random().toString(36).substring(e,t)}function PR(i){return i.rangeStart&&i.rangeEnd?DR(i):i.rangeStart?vR(i):i.rangeEnd?IR(i):Math.random().toString(36)}function AR(i){return Math.random()>=.5}function jS(i){if(!i||!i.autogeneration)return null;switch(i.autogeneration.type){case je.CurrentDateAndTime:if(i.name===I.Date)return new Date;case je.Random:{if(i.name===I.Date)return iR(i.autogeneration);if(i.name===I.Number)return gR(i.autogeneration);if(i.name===I.String)return PR(i.autogeneration);if(i.name===I.Boolean)return AR(i.autogeneration)}case je.Unique:if(i.name===I.UUID)return TR();default:throw new Error(`Generating a ${i.autogeneration.type} value for a ${i.name} is not supported`)}}const W="e7eb5382-3d99-44fd-972a-b8b1e819f6be",Tc="global-user-variable-id",Ec="last-executed-timestamp-variable-id",kS={id:"alternative-relational-database-entity-identifier-property-data-type-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-identifier-property-id",entityType:n.ValueDescriptor},qS={id:"alternative-relational-database-entity-identifier-property-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-identifier-property-id",entityType:n.Property},JS={like:!1,inferred:!1,id:"alternative-relational-database-entity-identifier-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:qS},qs={id:"alternative-relational-database-entity-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},WS={hidden:!1,required:!0,id:"alternative-relational-database-entity-identifier-property-id",name:"Identifier name",version:1,type:n.Property,private:!1,abstract:!1,implements:fs,static:!0,index:0,defaultValue:{id:"alternative-relational-database-entity-identifier-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.String,value:null,parent:kS,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:JS,description:"The name of the main database inside of the server instance where the data will be stored.",parent:qs};n.GenericReference,n.ValueDescriptor;const HS={id:"alternative-relational-database-entity-username-property-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-username-property-id",entityType:n.Property},YS={like:!1,inferred:!1,id:"alternative-relational-database-entity-username-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:HS},zS={hidden:!1,required:!0,id:"alternative-relational-database-entity-username-property-id",name:"Username",version:1,type:n.Property,private:!1,abstract:!1,implements:hs,static:!0,index:1,defaultValue:null,dataType:YS,description:"The username that will be used to connect to the database.",parent:qs};n.GenericReference,n.ValueDescriptor;const ZS={id:"alternative-relational-database-entity-password-property-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-password-property-id",entityType:n.Property},KS={like:!1,inferred:!1,id:"alternative-relational-database-entity-password-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:ZS},XS={hidden:!1,required:!0,id:"alternative-relational-database-entity-password-property-id",name:"Password",version:1,type:n.Property,private:!1,abstract:!1,implements:ms,static:!0,index:2,defaultValue:null,dataType:KS,description:"The password that will be used to connect to the database.",parent:qs},QS={id:"alternative-relational-database-entity-min-size-property-data-type-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-min-size-property-id",entityType:n.ValueDescriptor},eC={id:"alternative-relational-database-entity-min-size-property-ref-id",type:n.GenericReference,entityId:"alternative-relational-database-entity-min-size-property-id",entityType:n.Property},tC={like:!1,inferred:!1,id:"alternative-relational-database-entity-min-size-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:eC},nC={hidden:!1,required:!0,id:"alternative-relational-database-entity-min-size-property-id",name:"Minimum GB size",version:1,type:n.Property,private:!1,abstract:!1,implements:Ts,static:!0,index:3,defaultValue:{id:"alternative-relational-database-entity-min-size-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.Number,value:6,parent:QS,autogeneration:null,valueAsType:null},dataType:tC,description:"The minimum size of the database in GB.",parent:qs},rC={id:"alternative-relational-database-entity-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},bc={id:"alternative-relational-database-entity-id",type:n.CustomEntity,version:1,name:"Alternative relational Database",description:"A database that permanently stores the persisted entities attached to it.",abstract:!1,static:!0,properties:[WS,zS,XS,nC],methods:[],abstractMethods:[],extends:[],implements:[bn],x:0,y:0,parent:rC},iC={id:"animal-prototype-database-property-ref-id",type:n.GenericReference,entityId:"animal-prototype-database-property-id",entityType:n.Property},aC={id:"animal-prototype-database-property-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:"animal-prototype-database-property-id",entityType:n.Property},sC={like:!1,inferred:!1,id:"animal-prototype-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:bn,asType:!1,parent:iC},oC={id:"animal-prototype-database-property-parent-ref-id",type:n.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:n.CustomEntity},lC={hidden:!1,required:!0,id:"animal-prototype-database-property-id",name:"Database",version:1,type:n.Property,private:!1,abstract:!1,implements:ti,static:!0,index:0,defaultValue:{id:"animal-prototype-database-property-data-type-default-value-id",type:n.LiteralValue,version:1,value:null,name:I.EntityTemplate,valueAsType:bc,autogeneration:null,parent:aC},dataType:sC,description:"The database that the entity belongs to.",parent:oC},cC={type:n.GenericReference,id:"291e4d4f-01d8-40a0-90dc-5f1ac6636e9b",entityType:n.Property,entityId:"5cb617b0-92be-4dbe-a007-49093368d94f"},dC={like:!1,inferred:!1,id:"c1930577-9e79-48a6-8905-be24611015c1",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:cC},uC={type:n.GenericReference,id:"animal-name-property-parent-ref-id",entityType:n.CustomEntity,entityId:"83eaa847-e62b-4192-84fb-3d8d6f5ea970"},pC={hidden:!1,required:!0,type:n.Property,id:"5cb617b0-92be-4dbe-a007-49093368d94f",version:1,name:"Name",description:"The name of the animal",defaultValue:null,implements:ni,static:!1,private:!1,index:0,dataType:dC,abstract:!1,parent:uC},yC={type:n.GenericReference,id:"abc565de-4c83-4936-bc48-4013bef213b8",entityType:n.Project,entityId:W},fC={type:n.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:[lC,pC],methods:[],extends:[],implements:[rt],x:0,y:0,parent:yC},pa="base-table-entity",OR="base-table-entity-identifier-property-id";n.GenericReference,n.Property,n.GenericReference,n.Property;const hC={id:"base-table-entity-identifier-property-data-type-ref-id",type:n.GenericReference,entityId:OR,entityType:n.Property},mC={id:"base-table-entity-identifier-property-ref-id",type:n.GenericReference,entityId:"base-table-entity-identifier-property-id",entityType:n.Property},TC={like:!1,inferred:!1,id:"base-table-entity-identifier-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parent:mC},EC={id:"base-table-entity-identifier-property-parent-ref-id",type:n.GenericReference,entityId:pa,entityType:n.CustomEntity};n.Property,n.LiteralValue,I.UUID,je.Unique,n.GenericReference,n.Property;const bC={id:"base-table-entity-deleted-at-property-ref-id",type:n.GenericReference,entityId:"base-table-entity-deleted-at-property-id",entityType:n.Property},RC={like:!1,inferred:!1,id:"base-table-entity-deleted-at-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!0,constant:!1,entity:mn,asType:!1,parent:bC},gC={id:"base-table-entity-deleted-at-property-parent-ref-id",type:n.GenericReference,entityId:pa,entityType:n.CustomEntity},vC={hidden:!0,required:!0,id:"base-table-entity-deleted-at-property-id",name:"Deleted at",version:1,type:n.Property,private:!1,abstract:!0,implements:null,static:!1,index:0,defaultValue:null,dataType:RC,description:"The date and time when the entity was deleted.",parent:gC};n.GenericReference,n.Property;const IC={id:"base-table-entity-created-at-property-ref-id",type:n.GenericReference,entityId:"base-table-entity-created-at-property-id",entityType:n.Property},DC={like:!1,inferred:!1,id:"base-table-entity-created-at-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:mn,asType:!1,parent:IC},PC={id:"base-table-entity-created-at-property-parent-ref-id",type:n.GenericReference,entityId:pa,entityType:n.CustomEntity},AC={hidden:!0,required:!0,id:"base-table-entity-created-at-property-id",name:"Created at",version:1,type:n.Property,private:!1,abstract:!0,implements:null,static:!1,index:0,defaultValue:null,dataType:DC,description:"The date and time when the entity was created.",parent:PC};n.GenericReference,n.Property;const OC={id:"base-table-entity-updated-at-property-ref-id",type:n.GenericReference,entityId:"base-table-entity-updated-at-property-id",entityType:n.Property},SC={like:!1,inferred:!1,id:"base-table-entity-updated-at-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:mn,asType:!1,parent:OC},CC={id:"base-table-entity-updated-at-property-parent-ref-id",type:n.GenericReference,entityId:pa,entityType:n.CustomEntity},BC={hidden:!0,required:!0,id:"base-table-entity-updated-at-property-id",name:"Updated at",version:1,type:n.Property,private:!1,implements:null,abstract:!0,static:!1,index:0,defaultValue:null,dataType:SC,description:"The date and time when the entity was last updated.",parent:CC},wC={id:"base-table-entity-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},_t={id:pa,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:n.CustomEntity,abstract:!0,static:!1,abstractMethods:[],implements:[],properties:[vC,AC,BC],methods:[],extends:[],x:0,y:0,parent:wC},_C={id:"default-relational-database-entity-identifier-property-data-type-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-identifier-property-id",entityType:n.Property},NC={id:"default-relational-database-entity-identifier-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-identifier-property-id",entityType:n.Property},MC={like:!1,inferred:!1,id:"default-relational-database-entity-identifier-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:NC},ui={id:"default-relational-database-entity-ref-id",type:n.GenericReference,entityId:V.PERSISTED_ENTITY,entityType:n.BuiltInBaseEntity},VC={id:"default-relational-database-entity-identifier-property-id",hidden:!1,required:!0,name:"Identifier name",version:1,type:n.Property,private:!1,abstract:!1,implements:fs,static:!0,index:0,defaultValue:{id:"default-relational-database-entity-identifier-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.String,value:"main",parent:_C,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:MC,description:"The name of the main database inside of the server instance where the data will be stored.",parent:ui};n.GenericReference,n.Property;const LC={id:"default-relational-database-entity-username-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-username-property-id",entityType:n.Property},GC={id:"default-relational-database-entity-username-property-default-value-parent-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-username-property-id",entityType:n.Property},$C={like:!1,inferred:!1,id:"default-relational-database-entity-username-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:LC},FC={hidden:!1,required:!0,id:"default-relational-database-entity-username-property-id",name:"Username",version:1,type:n.Property,private:!1,abstract:!1,implements:hs,defaultValue:{id:"default-relational-database-entity-username-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.String,value:"root",parent:GC,autogeneration:null,valueAsType:null},static:!0,index:1,dataType:$C,description:"The username that will be used to connect to the database.",parent:ui};n.GenericReference,n.Property;const UC={id:"default-relational-database-entity-password-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-password-property-id",entityType:n.Property},xC={id:"default-relational-database-entity-password-property-default-value-parent-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-password-property-id",entityType:n.Property},jC={like:!1,inferred:!1,id:"default-relational-database-entity-password-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:UC},kC={hidden:!1,required:!0,id:"default-relational-database-entity-password-property-id",name:"Password",version:1,type:n.Property,private:!1,abstract:!1,implements:ms,static:!0,index:2,defaultValue:{id:"default-relational-database-entity-password-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.String,value:"password",parent:xC,autogeneration:null,valueAsType:null},dataType:jC,description:"The password that will be used to connect to the database.",parent:ui},qC={id:"default-relational-database-entity-min-size-property-data-type-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-min-size-property-id",entityType:n.Property},JC={id:"default-relational-database-entity-min-size-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-min-size-property-id",entityType:n.Property},WC={like:!1,inferred:!1,id:"default-relational-database-entity-min-size-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:JC},HC={hidden:!1,required:!0,id:"default-relational-database-entity-min-size-property-id",name:"Minimum GB size",version:1,type:n.Property,private:!1,abstract:!1,implements:Ts,static:!0,index:3,defaultValue:{id:"default-relational-database-entity-min-size-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.Number,value:6,parent:qC,autogeneration:null,valueAsType:null},dataType:WC,description:"The minimum size of the database in GB.",parent:ui},YC={id:"default-relational-database-entity-default-property-data-type-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-default-property-id",entityType:n.Property},zC={id:"default-relational-database-entity-default-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-default-property-id",entityType:n.Property},ZC={like:!1,inferred:!1,id:"default-relational-database-entity-default-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:zC},KC={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:n.Property,private:!1,abstract:!1,implements:Wl,static:!0,index:4,dataType:ZC,defaultValue:{id:"default-relational-database-entity-default-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.Boolean,value:!0,parent:YC,autogeneration:null,valueAsType:null},parent:ui},XC={id:"default-relational-database-entity-autoscaling-property-data-type-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-autoscaling-property-id",entityType:n.Property},QC={id:"default-relational-database-entity-autoscaling-property-ref-id",type:n.GenericReference,entityId:"default-relational-database-entity-autoscaling-property-id",entityType:n.Property},eB={like:!1,inferred:!1,id:"default-relational-database-entity-autoscaling-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Z,asType:!1,parent:QC},tB={id:"default-relational-database-entity-autoscaling-property-id",hidden:!1,required:!0,name:"Auto-scaling",version:1,type:n.Property,private:!1,abstract:!1,implements:Hl,static:!0,index:5,defaultValue:{id:"default-relational-database-entity-autoscaling-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.Boolean,value:!0,parent:XC,autogeneration:null,valueAsType:null},dataType:eB,description:"If true, this database will automatically scale up or down in memory size, based on the usage.s",parent:ui},nB={id:"default-relational-database-entity-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},Rc={id:"default-relational-database-entity-id",type:n.CustomEntity,version:1,name:"Relational Database",description:"A database that permanently stores the persisted entities attached to it.",abstract:!1,static:!0,properties:[KC,tB,VC,FC,kC,HC],methods:[],abstractMethods:[],extends:[],implements:[bn],x:0,y:0,parent:nB},rB={id:"user-prototype-database-property-data-type-ref-id",type:n.GenericReference,entityId:"user-prototype-database-property-id",entityType:n.Property},iB={id:"user-prototype-database-property-ref-id",type:n.GenericReference,entityId:"user-prototype-database-property-id",entityType:n.Property},aB={like:!1,inferred:!1,id:"user-prototype-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:bn,asType:!1,parent:iB},sB={id:"user-prototype-database-property-parent-ref-id",type:n.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:n.CustomEntity},oB={hidden:!1,required:!0,id:"user-prototype-database-property-id",name:"Database",version:1,type:n.Property,private:!1,abstract:!1,implements:ti,static:!0,index:0,defaultValue:{id:"user-prototype-database-property-data-type-default-value-id",type:n.LiteralValue,version:1,value:null,name:I.EntityTemplate,valueAsType:Rc,autogeneration:null,parent:rB},dataType:aB,description:"The database that the entity belongs to.",parent:sB},lB={type:n.GenericReference,id:"user-prototype-parent-ref-id",entityType:n.Project,entityId:W},cB={id:"user-prototype-primary-key-property-data-type-ref-id",type:n.GenericReference,entityId:"user-prototype-primary-key-property-id",entityType:n.Property},dB={id:"user-prototype-primary-key-property-ref-id",type:n.GenericReference,entityId:"user-prototype-primary-key-property-id",entityType:n.Property},uB={like:!1,inferred:!1,id:"user-prototype-primary-key-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parent:dB},pB={id:"user-prototype-primary-key-property-parent-ref-id",type:n.GenericReference,entityId:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",entityType:n.CustomEntity},yB={hidden:!1,required:!0,id:"user-prototype-primary-key-property-id",name:"Identifier",version:1,type:n.Property,private:!1,abstract:!1,implements:ni,static:!1,index:1,defaultValue:{id:"user-prototype-primary-key-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.UUID,value:null,parent:cB,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:uB,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:pB},gc={type:n.CustomEntity,id:"de67fc84-3719-46fd-9ab4-3fca3a3cc50d",version:1,name:"User",description:"A user of the application",implements:[rt,_t],abstract:!1,static:!1,abstractMethods:[],extends:[],properties:[oB,yB],methods:[],x:0,y:0,parent:lB},fB={type:n.GenericReference,id:"person-date-of-birth-property-data-type-parent-ref-id",entityType:n.Property,entityId:"person-date-of-birth-property-id"},hB={like:!1,inferred:!1,id:"person-date-of-birth-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:mn,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:fB},mB={type:n.GenericReference,id:"person-date-of-birth-property-parent-ref-id",entityType:n.CustomEntity,entityId:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416"},TB={hidden:!1,required:!0,type:n.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:hB,abstract:!1,parent:mB},EB={type:n.GenericReference,id:"a2867827-2f8e-4c25-b18b-d91857d7f24e",entityType:n.Property,entityId:"cacfec92-46c3-4fca-a1d9-fd1ba94d78c7"},bB={like:!1,inferred:!1,id:"1d49f41b-17b9-4f48-87aa-3ce43498e5a9",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:EB},RB={type:n.GenericReference,id:"01cbe760-40a9-4f49-8e3d-194d2f57cb1e",entityType:n.CustomEntity,entityId:"c9bc312a-10d3-48a7-9ab4-ea483a9e2416"},gB={hidden:!1,required:!0,type:n.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:bB,abstract:!1,parent:RB},vB={type:n.GenericReference,id:"3542b22a-3a2f-41c6-876e-24c885572498",entityType:n.Project,entityId:W},ht={type:n.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:[gB,TB],abstract:!1,static:!1,abstractMethods:[],methods:[],implements:[],extends:[gc],x:0,y:0,parent:vB},IB={type:n.GenericReference,id:"b59c80b7-b2e9-41e9-abcd-7c5652835efc",entityType:n.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},DB={type:n.GenericReference,id:"1190b5a2-f25e-46db-884d-8a3dd1a44d94",entityType:n.ReturnStatement,entityId:"3ebc4342-c9e8-42e7-a61c-7937081e1d2e"},PB={type:n.GenericReference,id:"36c63126-7814-496f-a6cc-48662c2aabae",entityType:n.ArgumentDeclaration,entityId:"500dee3a-3435-4453-9699-0d053f646523"},AB={type:n.GenericReference,id:"c567e55d-ec12-4e4e-958e-f07522892b4b",entityType:n.ReturnDeclaration,entityId:"9e070523-7e07-4100-8637-960a187f5f14"},OB={like:!1,inferred:!1,id:"3973c5a1-f0d8-49a0-a9a9-a0009bf3f0d8",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:AB},vc={isError:!1,id:"9e070523-7e07-4100-8637-960a187f5f14",type:n.ReturnDeclaration,version:1,name:"Output Account Owner",description:null,defaultValue:null,dataType:OB,implements:null,readsValue:PB,required:!0,index:0,parent:DB},SB={type:n.GenericReference,id:"567d923c-20da-4c1e-956d-962ea30c6d0b",entityType:n.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},CB={type:n.GenericReference,id:"da85e620-59f3-42ab-88c8-b38d33c2c833",entityType:n.FunctionDeclaration,entityId:"36f29f96-c001-4b9a-b49c-83eff406a060"},SR={type:n.ReturnStatement,id:"3ebc4342-c9e8-42e7-a61c-7937081e1d2e",version:1,outputs:[vc],calledByError:[],calledByEntry:[SB],calledBySuccess:[],throws:null,x:0,y:0,parent:CB},BB={type:n.GenericReference,id:"1c806bb7-4c25-4bad-963b-93dfbb7c8304",entityType:n.ArgumentDeclaration,entityId:"500dee3a-3435-4453-9699-0d053f646523"},wB={like:!1,inferred:!1,id:"d90fcc18-642b-433c-8fcb-4094b9031cd5",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:BB},CR={id:"500dee3a-3435-4453-9699-0d053f646523",type:n.ArgumentDeclaration,version:1,name:"New Account Owner",description:null,defaultValue:null,dataType:wB,implements:null,required:!0,writesValues:[vc],index:0,parent:IB},_B={type:n.GenericReference,id:"83dceb60-f3c4-4085-824c-85f2003bfd27",entityType:n.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},BR={type:n.FunctionDeclaration,id:"36f29f96-c001-4b9a-b49c-83eff406a060",version:1,name:"Change owner of bank account",description:null,implements:null,inputs:[CR],calls:[SR],returnStatements:[SR],index:0,collapsed:!1,private:!1,x:0,y:0,parent:_B},NB={type:n.GenericReference,id:"adbaf302-ffa9-49b6-a3c6-83f9a75068e3",entityType:n.VariableDeclaration,entityId:"8e36a476-766e-4cc2-a8a7-27a07dfb5a4b"},MB={like:!1,inferred:!1,id:"79ee04aa-1ba4-4ae9-a406-ed45e5b03f7f",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:NB},VB={type:n.GenericReference,id:"55e212d1-f0ec-4bb6-acbe-60f741367daf",entityType:n.OutputMap,entityId:"dc9ddb8f-02a0-4a43-aea6-270ec7b7f8a4"},LB={type:n.GenericReference,id:"944e1171-3d9b-4559-9386-1d4974b15962",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},GB={id:"8e36a476-766e-4cc2-a8a7-27a07dfb5a4b",type:n.VariableDeclaration,version:1,name:"Output Account Owner",description:null,defaultValue:null,dataType:MB,readsValue:VB,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:LB},$B={type:n.GenericReference,id:"b89ebc83-52cf-4447-a5ae-62241f713079",entityType:n.FunctionCall,entityId:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e"},FB={id:"dc9ddb8f-02a0-4a43-aea6-270ec7b7f8a4",type:n.OutputMap,version:1,declaration:vc,defaultValue:null,writesValues:[GB],index:0,parent:$B},UB={type:n.GenericReference,id:"c1b9e125-1aad-48b7-9687-95c57a6bc10d",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},xB={type:n.GenericReference,id:"d2deaa02-e164-4425-905c-6dee47eb4eac",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},jB={type:n.GenericReference,id:"1109a655-ac62-4110-a933-42a72106f4f0",entityType:n.VariableDeclaration,entityId:"8bea6986-8da2-487b-905d-2fb962db6728"},kB={like:!1,inferred:!1,id:"7d9a1307-512e-42ec-9797-2f7229796b97",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:jB},qB={type:n.GenericReference,id:"bb61ebf7-57b3-4d14-905d-82ec907205b5",entityType:n.ArgumentDeclaration,entityId:"38f6b236-98ac-47b0-ab9c-d2f9610137b9"},JB={type:n.GenericReference,id:"6b8c7bf2-9fc8-4ea4-9ec0-f41679d513b1",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},WB={type:n.GenericReference,id:"6163d1a1-7a94-49b1-95bb-aecd8d6d335c",entityType:n.FunctionCall,entityId:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e"},HB={type:n.GenericReference,id:"1f900f62-4bd2-4246-94aa-b8f5aad384fd",entityType:n.VariableDeclaration,entityId:"8bea6986-8da2-487b-905d-2fb962db6728"},wR={id:"be8538be-e6f9-4b94-9314-a546003ebaa0",type:n.InputMap,version:1,declaration:CR,name:null,description:null,readsValue:HB,defaultValue:null,index:0,parent:WB},YB={type:n.VariableDeclaration,id:"8bea6986-8da2-487b-905d-2fb962db6728",version:1,name:"Changed Account Owner",description:null,defaultValue:null,dataType:kB,readsValue:qB,writesValues:[wR],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:JB},zB={type:n.FunctionCall,id:"78f6dba8-bed8-44cd-8b0f-6dcc787d1e1e",version:1,declaration:BR,inputs:[wR],outputs:[FB],process:null,successCalls:[],errorCalls:[],calledByError:[],calledByEntry:[UB],calledBySuccess:[],parent:xB,error:null,x:0,y:0},ZB={type:n.GenericReference,id:"2d47aba1-a918-46a7-8db7-78809928654a",entityType:n.ArgumentDeclaration,entityId:"38f6b236-98ac-47b0-ab9c-d2f9610137b9"},KB={like:!1,inferred:!1,id:"5583766c-e9a5-484c-8f43-f4b0a6a1876c",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:ZB},XB={type:n.GenericReference,id:"3e2a81e4-55b2-49f5-94eb-39135e95c3d7",entityType:n.FunctionDeclaration,entityId:"15ee556d-681f-47de-a31f-16d4ba73cc4e"},QB={id:"38f6b236-98ac-47b0-ab9c-d2f9610137b9",type:n.ArgumentDeclaration,version:1,description:null,name:"New Company Owner",defaultValue:null,dataType:KB,implements:null,required:!0,index:0,writesValues:[YB],parent:XB},ew={type:n.GenericReference,id:"30291b01-1b94-4d03-b434-dec122c2bc7d",entityType:n.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},tw={type:n.FunctionDeclaration,id:"15ee556d-681f-47de-a31f-16d4ba73cc4e",version:1,description:null,name:"Change Account Owner",inputs:[QB],collapsed:!0,returnStatements:[],calls:[zB],private:!1,index:0,implements:null,x:0,y:0,parent:ew},nw={type:n.GenericReference,id:"72c7ac0a-886e-4e10-b7ed-2f5a819a0233",entityType:n.Property,entityId:"b8f4656a-2b77-43ab-af51-7c32ddede044"},rw={like:!1,inferred:!1,id:"c09dd282-73f6-4077-a467-b66db20b9fc6",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:nw},iw={type:n.GenericReference,id:"8a950024-512c-4580-81db-a705410aeb99",entityType:n.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},aw={hidden:!1,required:!0,type:n.Property,id:"b8f4656a-2b77-43ab-af51-7c32ddede044",version:1,name:"Account number",description:null,private:!0,defaultValue:null,implements:ni,static:!1,index:0,dataType:rw,abstract:!1,parent:iw},sw={type:n.GenericReference,id:"b6704b6c-c3bd-49d0-8ebc-82d03e726cbb",entityType:n.Property,entityId:"733d06a6-b8c5-44f3-a1f7-a8c9bd9e44ea"},ow={like:!1,inferred:!1,id:"c03e0b0a-88ab-401a-8833-4806738bdc37",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:sw},lw={type:n.GenericReference,id:"1ef999a7-e9ed-406a-866e-e58277fc985b",entityType:n.CustomEntity,entityId:"506946aa-30da-48e6-918f-ffd9eac58813"},cw={hidden:!1,required:!0,type:n.Property,id:"733d06a6-b8c5-44f3-a1f7-a8c9bd9e44ea",version:1,description:null,name:"Account Owner",index:1,defaultValue:null,dataType:ow,implements:null,static:!1,private:!0,abstract:!1,parent:lw},dw={type:n.GenericReference,id:"d41d7f41-98b8-4f67-be92-c349fdda5156",entityType:n.Project,entityId:W},pi={type:n.CustomEntity,id:"506946aa-30da-48e6-918f-ffd9eac58813",version:1,name:"Bank Account",description:null,abstract:!1,static:!1,abstractMethods:[],properties:[aw,cw],methods:[BR,tw],extends:[],implements:[rt,_t],x:0,y:0,parent:dw},ya="bitcoin-api-response-id",_R="time-property-id",NR="disclaimer-property-id",MR="chart-name-property-id",VR="bpi-property-id",Js="bpi-entity-id",LR="usd-property-id",GR="gbp-property-id",$R="eur-property-id",yi="currency-entity-id",FR="currency-code-property-id",UR="currency-symbol-property-id",xR="currency-rate-property-id",jR="currency-description-property-id",kR="currency-rate-number-property-id",uw={type:n.GenericReference,id:"code-property-data-type-parent-ref-id",entityType:n.Property,entityId:FR},pw={like:!1,inferred:!1,id:"code-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Vn,isList:!1,asType:!1,isNullable:!1,options:["USD","GBP","EUR"],constant:!1,parent:uw},yw={type:n.GenericReference,id:"code-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},fw={hidden:!1,required:!0,type:n.Property,id:FR,version:1,name:"code",description:null,defaultValue:null,dataType:pw,index:0,implements:null,static:!1,private:!1,abstract:!1,parent:yw},hw={type:n.GenericReference,id:"symbol-property-data-type-parent-ref-id",entityType:n.Property,entityId:UR},mw={like:!1,inferred:!1,id:"symbol-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Vn,isList:!1,asType:!1,isNullable:!1,options:["&#36;","&pound;","&euro;"],constant:!1,parent:hw},Tw={type:n.GenericReference,id:"symbol-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},Ew={hidden:!1,required:!0,type:n.Property,id:UR,version:1,name:"symbol",description:null,index:0,defaultValue:null,dataType:mw,implements:null,static:!1,private:!1,abstract:!1,parent:Tw},bw={type:n.GenericReference,id:"rate-property-data-type-parent-ref-id",entityType:n.Property,entityId:xR},Rw={like:!1,inferred:!1,id:"rate-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:bw},gw={type:n.GenericReference,id:"rate-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},vw={hidden:!1,required:!0,type:n.Property,id:xR,version:1,name:"rate",description:null,index:0,defaultValue:null,dataType:Rw,implements:null,static:!1,private:!1,abstract:!1,parent:gw},Iw={type:n.GenericReference,id:"description-property-data-type-parent-ref-id",entityType:n.Property,entityId:jR},Dw={like:!1,inferred:!1,id:"description-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Iw},Pw={type:n.GenericReference,id:"description-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},Aw={hidden:!1,required:!0,type:n.Property,id:jR,version:1,name:"description",description:null,defaultValue:null,dataType:Dw,implements:null,static:!1,index:0,private:!1,abstract:!1,parent:Pw},Ow={type:n.GenericReference,id:"rate-number-property-data-type-parent-ref-id",entityType:n.Property,entityId:kR},Sw={like:!1,inferred:!1,id:"rate-number-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Ow},Cw={type:n.GenericReference,id:"rate-number-property-parent-ref-id",entityType:n.CustomEntity,entityId:yi},Bw={hidden:!1,required:!0,type:n.Property,id:kR,version:1,name:"rate_float",description:null,defaultValue:null,dataType:Sw,implements:null,static:!1,index:0,private:!1,abstract:!1,parent:Cw},ww={type:n.GenericReference,id:"currency-prototype-parent-ref-id",entityType:n.Project,entityId:W},Ws={type:n.CustomEntity,id:yi,version:1,name:"Currency",description:"This entity describes a currency in the Bitcoin Price Index.",properties:[fw,Ew,vw,Aw,Bw],static:!1,abstract:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:ww},_w={type:n.GenericReference,id:"usd-property-data-type-parent-ref-id",entityType:n.Property,entityId:LR},Nw={like:!1,inferred:!1,id:"usd-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ws,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:_w},Mw={type:n.GenericReference,id:"usd-property-parent-ref-id",entityType:n.CustomEntity,entityId:Js},Vw={hidden:!1,required:!0,id:LR,type:n.Property,version:1,name:"USD",description:null,index:0,dataType:Nw,defaultValue:null,implements:null,static:!1,private:!1,abstract:!1,parent:Mw},Lw={type:n.GenericReference,id:"gbp-property-data-type-parent-ref-id",entityType:n.Property,entityId:GR},Gw={like:!1,inferred:!1,id:"gbp-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ws,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Lw},$w={type:n.GenericReference,id:"gbp-property-parent-ref-id",entityType:n.CustomEntity,entityId:Js},Fw={hidden:!1,required:!0,id:GR,type:n.Property,version:1,name:"GBP",description:null,index:0,dataType:Gw,defaultValue:null,implements:null,static:!1,private:!1,abstract:!1,parent:$w},Uw={type:n.GenericReference,id:"eur-property-data-type-parent-ref-id",entityType:n.Property,entityId:$R},xw={like:!1,inferred:!1,id:"eur-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ws,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Uw},jw={type:n.GenericReference,id:"eur-property-parent-ref-id",entityType:n.CustomEntity,entityId:Js},kw={hidden:!1,required:!0,id:$R,type:n.Property,version:1,name:"EUR",description:null,implements:null,static:!1,index:0,defaultValue:null,dataType:xw,private:!1,abstract:!1,parent:jw},qw={type:n.GenericReference,id:"bpi-prototype-parent-ref-id",entityType:n.Project,entityId:W},qR={type:n.CustomEntity,id:Js,version:1,name:"BPI",description:"The Bitcoin Price Index",properties:[Vw,Fw,kw],abstract:!1,static:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:qw},Jw={type:n.GenericReference,id:"time-property-data-type-parent-ref-id",entityType:n.Property,entityId:_R},Ww={like:!1,inferred:!1,id:"time-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Fi,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Jw},Hw={type:n.GenericReference,id:"time-property-parent-ref-id",entityType:n.CustomEntity,entityId:ya},Yw={hidden:!1,required:!0,type:n.Property,id:_R,version:1,name:"time",description:null,index:0,defaultValue:null,dataType:Ww,implements:null,static:!1,private:!1,abstract:!1,parent:Hw},zw={type:n.GenericReference,id:"disclaimer-property-data-type-parent-ref-id",entityType:n.Property,entityId:NR},Zw={like:!1,inferred:!1,id:"disclaimer-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:zw},Kw={type:n.GenericReference,id:"disclaimer-property-parent-ref-id",entityType:n.CustomEntity,entityId:ya},Xw={hidden:!1,required:!0,type:n.Property,id:NR,version:1,name:"disclaimer",description:null,index:0,defaultValue:null,dataType:Zw,implements:null,static:!1,private:!1,abstract:!1,parent:Kw},Qw={type:n.GenericReference,id:"chart-name-property-data-type-parent-ref-id",entityType:n.Property,entityId:MR},e_={like:!1,inferred:!1,id:"chart-name-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:Qw},t_={type:n.GenericReference,id:"chart-name-property-parent-ref-id",entityType:n.CustomEntity,entityId:ya},n_={hidden:!1,required:!0,type:n.Property,id:MR,version:1,name:"chartName",description:null,index:0,defaultValue:null,dataType:e_,implements:null,static:!1,private:!1,abstract:!1,parent:t_},r_={type:n.GenericReference,id:"bpi-property-data-type-parent-ref-id",entityType:n.Property,entityId:VR},i_={like:!1,inferred:!1,id:"bpi-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:qR,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:r_},a_={type:n.GenericReference,id:"bpi-property-parent-ref-id",entityType:n.CustomEntity,entityId:ya},s_={hidden:!1,required:!0,type:n.Property,id:VR,version:1,name:"bpi",description:null,implements:null,index:0,defaultValue:null,dataType:i_,static:!1,private:!1,abstract:!1,parent:a_},o_={type:n.GenericReference,id:"bitcoin-api-response-parent-ref-id",entityType:n.Project,entityId:W},JR={type:n.CustomEntity,id:ya,version:1,name:"Bitcoin API Response type",description:"The type of the data structure response from the Bitcoin API call",properties:[Yw,Xw,n_,s_],abstract:!1,static:!1,abstractMethods:[],methods:[],extends:[],implements:[],x:0,y:0,parent:o_},l_={type:n.GenericReference,id:"eefa0147-f873-484b-b4f3-9e6493aab183",entityType:n.ArgumentDeclaration,entityId:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},c_={like:!1,inferred:!1,id:"b9f35112-dcb2-4b7c-8fb9-f196b3fa37f9",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:l_},d_={type:n.GenericReference,id:"128770d6-5e3a-4aff-bca0-ad1f32ebefa8",entityType:n.ReturnStatement,entityId:"e4e05975-c277-471a-b869-f0aed316045c"},u_={type:n.GenericReference,id:"0be84bf9-6421-42b9-980f-6a03f30cb809",entityType:n.ReturnDeclaration,entityId:"a1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},p_={like:!1,inferred:!1,id:"43daa02a-237b-4b7c-a6e9-2b8c167f6e22",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:u_},y_={type:n.GenericReference,id:"ad380383-4a47-43da-968e-75a2d603b230",entityType:n.ArgumentDeclaration,entityId:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},WR={isError:!1,id:"a1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:n.ReturnDeclaration,version:1,name:"New Company Owner",description:"The new owner of the company",implements:null,defaultValue:null,dataType:p_,readsValue:y_,required:!0,index:0,parent:d_},f_={type:n.GenericReference,id:"4f24dc27-59a1-49bf-abcc-7d72b00926e4",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},h_={id:"f2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a",type:n.ArgumentDeclaration,version:1,name:"New Company Owner",description:null,implements:null,defaultValue:null,dataType:c_,writesValues:[WR],required:!0,index:0,parent:f_},m_={type:n.GenericReference,id:"5c9a02f0-d2cf-4efc-828e-467f33a74dd3",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},T_={type:n.GenericReference,id:"2ff8f3da-e0c5-4f0f-b688-2c051c588786",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},E_={type:n.GenericReference,id:"195ae28c-159b-42de-80b1-2ebb8be3619f",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},HR={type:n.ReturnStatement,id:"e4e05975-c277-471a-b869-f0aed316045c",version:1,outputs:[WR],calledByError:[],calledByEntry:[T_],calledBySuccess:[],throws:null,x:0,y:0,parent:E_},b_={type:n.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:[h_],calls:[HR],index:0,collapsed:!1,implements:null,returnStatements:[HR],private:!1,x:0,y:0,parent:m_},R_={type:n.GenericReference,id:"e691026f-6db0-43ec-93cd-805ae7d713e3",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},g_={type:n.GenericReference,id:"29c4e3e0-1b66-4075-b559-45b27c5cf356",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},v_={type:n.GenericReference,id:"b1289358-b185-455d-8f58-7791b15cd52a",entityType:n.ReturnStatement,entityId:"9690cd1d-ea35-4e83-823d-0c7310265fee"},I_={type:n.GenericReference,id:"d847bb49-8789-4550-bb2d-e2d551993b28",entityType:n.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},D_={type:n.GenericReference,id:"06535500-c37c-4915-8398-1d4e184fa5e7",entityType:n.ReturnDeclaration,entityId:"e7a35277-a0c4-46d5-aca2-bddd0c26e931"},P_={like:!1,inferred:!1,id:"d358dd91-35f7-4095-b728-3fb3c71dbc05",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Mn,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:D_},Ic={isError:!1,id:"e7a35277-a0c4-46d5-aca2-bddd0c26e931",type:n.ReturnDeclaration,version:1,name:"Is name registered",description:"Whether the company name is already registered",defaultValue:null,dataType:P_,implements:null,readsValue:I_,required:!0,index:0,parent:v_},A_={type:n.GenericReference,id:"gov-company-registry-return-statement-called-by-success-ref-id",entityType:n.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},Dc={type:n.ReturnStatement,id:"9690cd1d-ea35-4e83-823d-0c7310265fee",version:1,outputs:[Ic],calledByError:[],calledByEntry:[],calledBySuccess:[R_,A_],throws:null,x:0,y:0,parent:g_},O_={type:n.GenericReference,id:"b3126414-4c9b-495f-901e-59f5073c8d67",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},S_={type:n.GenericReference,id:"35115c48-618b-411b-a290-d746d22fdd10",entityType:n.VariableDeclaration,entityId:"83e12ebb-c958-4dee-b750-8ab9930f0f4e"},YR={id:"a0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a",type:n.InputMap,version:1,declaration:Il,name:null,description:null,readsValue:S_,defaultValue:null,parent:O_,index:2},C_={type:n.GenericReference,id:"14f46eae-04a5-47d1-9c7f-28fb09b84d1d",entityType:n.VariableDeclaration,entityId:"e5a8b6d0-0e6f-4e9a-9b1e-8a2b5c7f0d5a"},B_={like:!1,inferred:!1,id:"990bd5d1-07ea-4253-acc1-d03bedd22a38",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Mn,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:C_},w_={type:n.GenericReference,id:"e4c3542a-8fb0-4b72-8d6e-3fdff812dd67",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},__={type:n.GenericReference,id:"825f9f60-22a8-4cc6-9055-d7333f8e92f4",entityType:n.OutputMap,entityId:"8f30d787-9459-4d8d-98a2-b46fbc2006d5"},N_={type:n.GenericReference,id:"is-company-name-registered-var-called-by-ref",entityType:n.Operation,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},zR={type:n.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:B_,readsValue:__,writesValues:[Ic],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[N_],successCalls:[Dc],errorCalls:[],internalCalls:[],x:0,y:0,parent:w_},M_={type:n.GenericReference,id:"1aba021e-48ef-44ac-93d0-eaecac5895da",entityType:n.InputMap,entityId:"c3c8d6c1-3e0d-4e6c-9f9c-6b8c7d7f8e9a"},V_={type:n.GenericReference,id:"dffae7e0-0a5c-4c14-8ed2-8d680b4c4c86",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},L_={type:n.InputMap,id:"c3c8d6c1-3e0d-4e6c-9f9c-6b8c7d7f8e9a",version:1,declaration:rs,name:null,description:null,readsValue:null,defaultValue:{id:"gov-http-request-url-argument-default-value-id",type:n.LiteralValue,version:1,value:"https://api.publicapis.org/entries",name:I.String,valueAsType:null,parent:M_,autogeneration:null},index:1,parent:V_},G_={type:n.GenericReference,id:"64ae61f5-ace7-401b-926d-25f852daa60e",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},$_={id:"8f30d787-9459-4d8d-98a2-b46fbc2006d5",type:n.OutputMap,version:1,defaultValue:null,declaration:ls,index:2,writesValues:[zR],parent:G_},F_={type:n.GenericReference,id:"62a1a086-caea-4270-9c9f-a1695503e745",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},U_={id:"48cf7654-8f3e-4fcd-abc6-740876c310a0",type:n.InputMap,version:1,declaration:ns,name:null,description:null,readsValue:null,index:0,defaultValue:null,parent:F_},x_={type:n.GenericReference,id:"b0c9c79f-f525-428d-99e7-087d3237ad62",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},j_={id:"2c1dc406-4b71-4023-87b2-abede3a111d2",type:n.InputMap,version:1,name:null,description:null,declaration:is,index:3,readsValue:null,defaultValue:null,parent:x_},k_={type:n.GenericReference,id:"9887d6c9-d75b-4c97-b722-e2e60945ea20",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},q_={id:"3fef94b2-0278-43ae-b0c5-bc7083f0a111",type:n.InputMap,version:1,declaration:as,name:null,description:null,readsValue:null,index:4,defaultValue:null,parent:k_},J_={type:n.GenericReference,id:"561275b6-5056-45d8-bf7d-8abaa4645593",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},W_={id:"3efe20a7-4d63-411e-89ef-63e277f48d66",type:n.OutputMap,version:1,defaultValue:null,declaration:os,index:1,writesValues:[],parent:J_},H_={type:n.GenericReference,id:"3170ccc2-13de-4bfc-802a-a643be41cd42",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},Y_={id:"40d34323-d7e6-440a-8016-67c05a3b66dd",type:n.OutputMap,version:1,defaultValue:null,declaration:ss,index:0,writesValues:[],parent:H_},z_={type:n.GenericReference,id:"7432fa82-f574-4c54-a8fa-4cc4376da3d5",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},Z_={type:n.GenericReference,id:"8f518502-9eea-462c-8753-8bc3bf3e29a9",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},K_={type:n.GenericReference,id:"123b8f18-79d9-4166-a5f6-78ec4b461680",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},X_={type:n.GenericReference,id:"e691026f-6db0-43ec-93cd-805ae7d713e3",entityType:n.FunctionCall,entityId:"abb5d456-ee85-4800-bdd9-d409415f60d7"},Q_={type:n.GenericReference,id:"a375eedf-4811-41aa-a998-4897c69c46b9",entityType:n.ReturnDeclaration,entityId:"024a9b77-c1cd-4b67-b3ba-1935046b590d"},eN={like:!1,inferred:!1,id:"767cc5ed-20ec-4fd1-89b1-c8d19daa87d1",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Xe,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:Q_},tN={type:n.GenericReference,id:"e64b0c23-129d-4d74-8ab4-eec60e1e5b9b",entityType:n.ReturnStatement,entityId:"ea444a9e-6a5b-4138-b81f-0d5618c3c6f3"},ZR={isError:!0,id:"024a9b77-c1cd-4b67-b3ba-1935046b590d",type:n.ReturnDeclaration,version:1,name:"Error",description:"The error that occurred during the HTTP request to the government company registry",dataType:eN,defaultValue:null,implements:null,required:!0,readsValue:null,index:0,parent:tN},nN={type:n.ReturnStatement,id:"ea444a9e-6a5b-4138-b81f-0d5618c3c6f3",version:1,outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[X_],throws:ZR,x:0,y:0,parent:K_},rN={type:n.GenericReference,id:"323814fb-9723-49ef-bbba-f882384f18e4",entityType:n.FunctionCall,entityId:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7"},iN={id:"2f63f7ba-0ff0-458a-92bc-65d1dd4df8c3",type:n.OutputMap,declaration:Dl,defaultValue:null,version:1,writesValues:[ZR],index:0,parentRelationType:zr.Error,parent:rN},aN={type:n.Operation,id:"4eb96d0b-025b-4ed1-ae34-0cebbb07f1e7",version:1,declaration:ji,inputs:[U_,L_,YR,j_,q_],outputs:[Y_,W_,$_],process:null,calledByError:[],calledByEntry:[z_],calledBySuccess:[],successCalls:[Dc,zR],errorCalls:[nN],error:iN,x:0,y:0,parent:Z_},sN={type:n.GenericReference,id:"597b8aa2-f6f2-4f7d-bbb9-b703d02de96a",entityType:n.InputMap,entityId:"b0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a"},oN={type:n.GenericReference,id:"546d99b3-28c4-4186-93a0-ac53c1565e07",entityType:n.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},lN={id:"b0e7b4e5-2f5f-4d4c-8f5c-1e1f1e1a1b1a",type:n.InputMap,version:1,declaration:Qa,name:null,description:null,readsValue:null,defaultValue:{id:"base-query-string-map-default-value-id",type:n.LiteralValue,version:1,value:"?name=",name:I.String,parent:sN,valueAsType:null,autogeneration:null},index:0,parent:oN},cN={type:n.GenericReference,id:"6a56fb22-82e1-47c9-bf85-41c4e5986c74",entityType:n.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},dN={type:n.GenericReference,id:"191c6a6d-9bcb-441e-bf98-de0da96f5f3a",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},uN={type:n.GenericReference,id:"d8fcbb76-dae2-40cf-847a-02364721b387",entityType:n.VariableDeclaration,entityId:"83e12ebb-c958-4dee-b750-8ab9930f0f4e"},pN={like:!1,inferred:!1,id:"6a70c42b-024a-47c6-8a9d-af52be9c9b9a",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:uN},yN={type:n.GenericReference,id:"2282e2c0-ed9e-4c7b-86fc-1a364fa0fdb8",entityType:n.OutputMap,entityId:"f6c22cf8-63e4-4b2d-b649-b5ab884cf9a5"},fN={type:n.GenericReference,id:"assembled-query-string-called-by-ref",entityType:n.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},KR={type:n.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:pN,readsValue:yN,writesValues:[YR],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[fN],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:dN},hN={id:"f6c22cf8-63e4-4b2d-b649-b5ab884cf9a5",type:n.OutputMap,version:1,defaultValue:null,writesValues:[KR],declaration:Ui,index:0,parent:cN},mN={type:n.GenericReference,id:"a1b48e7c-0301-4747-b4dd-b5af79956f7f",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},TN={type:n.GenericReference,id:"487c9235-be95-4c96-b9b5-2714b374a277",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},EN={type:n.GenericReference,id:"f6471f4f-b269-46fa-80ec-885e87a449c2",entityId:"a4106e8e-ec4f-4633-a636-09ae73135f69",entityType:n.ArgumentDeclaration},bN={type:n.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:n.Operation,entityId:"8f2094c0-e27e-465e-9280-112da0de9019"},XR={id:"08f36e2b-bad2-425c-8129-93560bec8488",version:1,type:n.InputMap,declaration:es,name:null,description:null,readsValue:EN,defaultValue:null,index:1,parent:bN},RN={type:n.Operation,id:"8f2094c0-e27e-465e-9280-112da0de9019",declaration:xi,version:1,inputs:[XR,lN],outputs:[hN],process:null,calledByError:[],calledByEntry:[mN],calledBySuccess:[],successCalls:[KR],errorCalls:[],error:null,x:0,y:0,parent:TN},gN={type:n.GenericReference,id:"c2e0e9b4-aa46-4974-bf8a-886b737b12fb",entityType:n.ArgumentDeclaration,entityId:"a4106e8e-ec4f-4633-a636-09ae73135f69"},vN={like:!1,inferred:!1,id:"a4279518-3bf3-44b7-a2ac-65142ca37f1c",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:gN},IN={type:n.GenericReference,id:"dc273f24-164b-4943-82f9-589b237141e2",entityType:n.FunctionDeclaration,entityId:"e0f6e8a7-6e4b-4d0e-8a1a-6b4c1b0b7e9d"},QR={id:"a4106e8e-ec4f-4633-a636-09ae73135f69",type:n.ArgumentDeclaration,version:1,name:"Company Name to check",description:"The name of the company to check in the government registry",dataType:vN,defaultValue:null,implements:null,required:!1,writesValues:[XR],index:0,parent:IN},DN={type:n.GenericReference,id:"2178a10c-1cc0-4dad-97c3-0941be6c9738",entityType:n.Project,entityId:W},eg={type:n.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:[QR],calls:[RN,aN],returnStatements:[Dc],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:DN},PN={type:n.GenericReference,id:"4d66c53c-f0f7-496a-9955-1e6c8533c5e0",entityType:n.Condition,entityId:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b"},AN={type:n.GenericReference,id:"6fa0c8e0-d104-4b4d-a035-d4f6e0c49f09",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},ON={type:n.GenericReference,id:"146408d5-5336-4877-941a-777dd5871926",entityType:n.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},SN={type:n.GenericReference,id:"34ae8f8c-548d-4654-984a-6f36affdaf49",entityType:n.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},tg={id:"69b1215d-9ebf-4274-b9cb-d4a5888f5122",version:1,type:n.InputMap,declaration:QR,name:null,description:null,readsValue:ON,defaultValue:null,index:0,parent:SN},CN={type:n.GenericReference,id:"07540a94-dda1-40b3-8452-f209bdc87b88",entityType:n.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},BN={type:n.GenericReference,id:"eaddf12a-a995-429e-90a0-13bf06efeb28",entityType:n.VariableDeclaration,entityId:"faaf3bf6-917d-40d7-aee6-5164f6646c4b"},wN={like:!1,inferred:!1,id:"7fdaf943-3ffb-48e0-b766-b86cc24090cf",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Mn,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:BN},_N={type:n.GenericReference,id:"030fb5c5-af4d-4c85-8cf0-e99edd50d2bd",entityType:n.OutputMap,entityId:"c1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},NN={type:n.GenericReference,id:"a8b618e9-c68c-48c1-8bd6-ef47c87d699e",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},MN={type:n.GenericReference,id:"is-company-name-valid-var-called-by-ref",entityType:n.FunctionCall,entityId:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a"},ng={type:n.VariableDeclaration,id:"faaf3bf6-917d-40d7-aee6-5164f6646c4b",version:1,name:"Is name valid",description:"Whether the company name is valid",defaultValue:null,dataType:wN,readsValue:_N,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[MN],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:NN},VN={id:"c1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:n.OutputMap,version:1,declaration:Ic,defaultValue:null,writesValues:[ng],index:0,parent:CN},LN={type:n.FunctionCall,id:"d2c2c3b0-5f3c-4d0d-9e4c-2d5a2c1f1e2a",version:1,declaration:eg,inputs:[tg],outputs:[VN],calledByError:[],calledByEntry:[],process:null,calledBySuccess:[PN],successCalls:[ng],errorCalls:[],error:null,x:0,y:0,parent:AN},GN={type:n.GenericReference,id:"9d0b87b4-bfed-4e02-9e84-6831c21feae2",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},$N={type:n.GenericReference,id:"74345f4f-e80d-48be-adff-d12fcea25bec",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},FN={type:n.GenericReference,id:"b39279ea-969a-4efb-a9ec-353bfd13db65",entityType:n.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},UN={type:n.GenericReference,id:"549db613-f225-4c5b-9634-7d096717f0ff",entityType:n.Condition,entityId:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b"},rg={id:"358e242c-7448-442e-ab8b-fd7fa119ea71",version:1,type:n.InputMap,declaration:pr.inputs[0],name:null,description:null,readsValue:FN,defaultValue:null,index:0,parent:UN},xN={type:n.Condition,id:"a8f4b0f2-5e5e-4e8f-9d7b-1b5b9b6e9a4b",version:1,declaration:pr,inputs:[rg],calledByError:[],calledByEntry:[GN],calledBySuccess:[],successCalls:[LN],errorCalls:[],x:0,y:0,parent:$N},jN={type:n.GenericReference,id:"43ba1e25-f805-488f-8ae8-c58bb6215b2f",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},kN={type:n.GenericReference,id:"eb091bed-507f-4a1e-93b5-7cd2fccfe002",entityType:n.VariableDeclaration,entityId:"9c928995-0dd5-4f97-9962-56b343bc8a45"},qN={like:!1,inferred:!1,id:"d64152ea-831f-4426-9506-a39bfa170513",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:pi,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:kN},JN={type:n.GenericReference,id:"7e79c29f-f7bd-441a-a77e-c627604dae94",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},WN={type:n.GenericReference,id:"8995ce5f-d5cf-4341-a8b1-5c046cc78b89",entityType:n.ArgumentDeclaration,entityId:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071"},HN={type:n.GenericReference,id:"new-company-bank-account-var-decl-1-called-by-ref",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},ig={type:n.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:qN,readsValue:WN,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[HN],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:JN},YN={type:n.GenericReference,id:"9a4887bf-d50d-43e4-bdd5-a5262f65f04b",entityType:n.ArgumentDeclaration,entityId:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071"},zN={like:!1,inferred:!1,id:"ae148c06-3143-49e9-9614-c3aca3f6fa7b",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:pi,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:YN},ZN={id:"7ed0f7bb-2df0-44e2-b0b3-0709dcca8071",type:n.ArgumentDeclaration,version:1,name:"New bank account",description:"The new bank account of the company",dataType:zN,implements:null,defaultValue:null,required:!0,index:1,writesValues:[ig],parent:jN},KN={type:n.GenericReference,id:"caec9cf8-3133-48d4-a390-114fa71b2933",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},XN={type:n.GenericReference,id:"cebcbad8-ca87-4c4b-be8a-312293d49892",entityType:n.FunctionDeclaration,entityId:"183fd975-a5d3-4dff-8d6a-c62f5a4d5a84"},QN={type:n.GenericReference,id:"7b8ccfe5-f9cd-4776-a19b-80c689bbe3df",entityType:n.ArgumentDeclaration,entityId:"c6cf620c-1eee-4919-8578-1a0b6c088551"},eM={like:!1,inferred:!1,id:"2a6b4703-ac8d-4d25-8abd-48a115577fec",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:QN},tM={id:"c6cf620c-1eee-4919-8578-1a0b6c088551",type:n.ArgumentDeclaration,version:1,name:"New company name",description:null,dataType:eM,implements:null,defaultValue:null,required:!0,index:0,writesValues:[rg,tg],parent:XN},nM={type:n.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:[tM,ZN],calls:[xN,ig],index:1,private:!1,implements:null,x:0,y:0,parent:KN},rM={type:n.GenericReference,id:"employee-manager-property-data-type-entity-ref-id",entityType:n.CustomEntity,entityId:"employee-entity-id"},iM={type:n.GenericReference,id:"employee-manager-property-data-type-parent-ref-id",entityType:n.Property,entityId:"employee-manager-property-id"},aM={like:!1,inferred:!1,id:"employee-manager-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:rM,isList:!1,isNullable:!0,asType:!1,constant:!1,parent:iM},sM={type:n.GenericReference,id:"employee-manager-property-parent-ref-id",entityType:n.CustomEntity,entityId:"employee-entity-id"},oM={hidden:!1,required:!0,type:n.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:aM,abstract:!1,parent:sM},lM={type:n.GenericReference,id:"employee-start-date-property-data-type-parent-ref-id",entityType:n.Property,entityId:"employee-start-date-property-id"},cM={like:!1,inferred:!1,id:"employee-start-date-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:mn,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:lM},dM={type:n.GenericReference,id:"employee-start-date-property-parent-ref-id",entityType:n.CustomEntity,entityId:"employee-entity-id"},uM={hidden:!1,required:!0,type:n.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:cM,abstract:!1,parent:dM},pM={type:n.GenericReference,id:"employee-department-property-ref-id",entityType:n.Property,entityId:"employee-department-property-id"},yM={like:!1,inferred:!1,id:"employee-department-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Vn,isList:!1,isNullable:!1,asType:!1,options:["Human Resources","Finance","IT","Sales","Marketing","Customer Service","Logistics","Product"],constant:!1,parent:pM},fM={type:n.GenericReference,id:"employee-department-property-parent-ref-id",entityType:n.CustomEntity,entityId:"employee-entity-id"},hM={hidden:!1,required:!0,type:n.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:yM,abstract:!1,parent:fM},mM={type:n.GenericReference,id:"employee-prototype-parent-ref-id",entityType:n.Project,entityId:W},Ft={type:n.CustomEntity,id:"employee-entity-id",version:1,name:"Employee",description:"A entity that represents an employee in the company",properties:[hM,uM,oM],abstract:!1,static:!1,abstractMethods:[],methods:[],implements:[],extends:[ht],x:0,y:0,parent:mM},TM={type:n.GenericReference,id:"dec8fbfe-9124-41fd-9f1c-5b2f07cfd6ba",entityType:n.Property,entityId:"4f52d044-f3dd-4bdf-927e-637c3b92e8bd"},EM={like:!1,inferred:!1,id:"bc0b8979-6c43-4d47-a712-6742b89e3c00",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:TM},bM={type:n.GenericReference,id:"4f8c0a05-466e-4672-b4c4-6bd408c0be9a",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},RM={hidden:!1,required:!0,type:n.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:EM,abstract:!1,parent:bM},gM={type:n.GenericReference,id:"95173fe0-a6e6-443c-94f3-f7c5cf171fcf",entityType:n.Property,entityId:"80c86e1b-caca-4ba5-9b1f-38f72d10e4a3"},vM={like:!1,inferred:!1,id:"ddbb6f5c-0cf4-41fb-83b3-b6c47c0e338d",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:pi,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:gM},IM={type:n.GenericReference,id:"6a9a0b72-a05d-4169-b3f3-5afb01e8d0df",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},Pc={hidden:!1,required:!0,type:n.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:vM,abstract:!1,parent:IM},DM={type:n.GenericReference,id:"62892cc6-d227-4088-90d3-ae7c15ed4af4",entityType:n.Property,entityId:"19a31727-1fba-40a5-be25-18e0f149d5cb"},PM={like:!1,inferred:!1,id:"1f7629df-dc29-4c89-8369-c6d043e97a9e",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:ht,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:DM},AM={type:n.GenericReference,id:"89384206-fd5a-4f0a-849c-f777473e5773",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},OM={hidden:!1,required:!0,type:n.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:PM,private:!0,abstract:!1,parent:AM},SM={type:n.GenericReference,id:"4d2ffb6c-5f38-436e-8339-fb9878ac2b5e",entityType:n.Property,entityId:"f8310850-a87e-405c-b182-4f1d5fa49240"},CM={like:!1,inferred:!1,id:"ad44250b-40c2-48f7-a480-381fa938f562",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ft,isList:!0,asType:!1,isNullable:!1,constant:!1,parent:SM},BM={type:n.GenericReference,id:"aa5d4eee-6fac-4e72-bf21-9c8750024541",entityType:n.CustomEntity,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d"},wM={hidden:!1,required:!0,type:n.Property,id:"f8310850-a87e-405c-b182-4f1d5fa49240",version:1,name:"Employees",description:null,index:3,defaultValue:null,dataType:CM,implements:null,private:!0,static:!1,abstract:!1,parent:BM},_M={id:"company-prototype-primary-key-property-data-type-ref-id",type:n.GenericReference,entityId:"company-prototype-primary-key-property-id",entityType:n.Property},NM={id:"company-prototype-primary-key-property-ref-id",type:n.GenericReference,entityId:"company-prototype-primary-key-property-id",entityType:n.Property},MM={like:!1,inferred:!1,id:"company-prototype-primary-key-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parent:NM},VM={id:"company-prototype-primary-key-property-parent-ref-id",type:n.GenericReference,entityId:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d",entityType:n.CustomEntity},LM={hidden:!1,required:!0,id:"company-prototype-primary-key-property-id",name:"Identifier",version:1,type:n.Property,private:!1,abstract:!1,implements:ni,static:!1,index:4,defaultValue:{id:"company-prototype-primary-key-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.UUID,value:null,parent:_M,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:MM,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:VM},GM={type:n.GenericReference,id:"e3c03b6b-2ea0-4d99-865d-5e6a348672d0",entityType:n.Project,entityId:W},Ut={type:n.CustomEntity,id:"ed3a6098-12ee-4632-a6dd-c2e6c542f66d",version:1,name:"Company",description:null,properties:[RM,Pc,OM,wM,LM],static:!1,abstract:!1,abstractMethods:[],methods:[b_,nM],extends:[],implements:[rt,_t],x:0,y:0,parent:GM},$M={type:n.GenericReference,id:"ffcad334-138d-4b67-8fb3-5f0e6f5fefbd",entityType:n.Project,entityId:W},Ac={type:n.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:$M};n.GenericReference,n.DataType;const FM={id:"cron-job-entity-expression-property-ref-id",type:n.GenericReference,entityId:"cron-job-entity-expression-property-id",entityType:n.Property},UM={like:!1,inferred:!1,id:"cron-job-entity-expression-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:FM},xM={id:"cron-job-entity-ref-id",type:n.GenericReference,entityId:"cron-job-entity-id",entityType:n.CustomEntity},jM={hidden:!1,required:!0,id:"cron-job-entity-expression-property-id",type:n.Property,version:1,name:"Cron expression",description:"The cron expression that defines when the cron job should be triggered",defaultValue:null,dataType:UM,implements:null,static:!0,private:!1,abstract:!1,index:0,parent:xM},kM={id:"cron-job-entity-trigger-show-popup-func-call-called-by-ref-one-id",type:n.GenericReference,entityId:"show-popup-func-decl-id",entityType:n.FunctionDeclaration},qM={id:"cron-job-entity-trigger-show-popup-func-call-parent-ref-id",type:n.GenericReference,entityId:"cron-job-entity-trigger-func-decl-id",entityType:n.FunctionDeclaration},JM={id:"cron-job-entity-trigger-show-popup-func-call-id",version:1,type:n.FunctionCall,declaration:Ac,inputs:[],outputs:[],process:null,successCalls:[],calledByError:[],calledByEntry:[kM],calledBySuccess:[],errorCalls:[],error:null,x:0,y:0,parent:qM},WM={id:"cron-job-entity-trigger-func-decl-parent-ref-id",type:n.GenericReference,entityId:"cron-job-entity-id",entityType:n.CustomEntity},HM={id:"cron-job-entity-trigger-func-decl-id",version:1,type:n.FunctionDeclaration,name:"Scheduled trigger",description:"The function that is called when the cron job is triggered",inputs:[],private:!1,implements:zl,calls:[JM],collapsed:!1,returnStatements:[],index:0,x:0,y:0,parent:WM},YM={id:"cron-job-entity-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},zM={id:"cron-job-entity-id",version:1,type:n.CustomEntity,name:"Run at 12pm on Christmas day",description:"A cron job that runs at 12pm on Christmas day",properties:[jM],static:!0,abstract:!1,abstractMethods:[],extends:[Zl],implements:[],methods:[HM],x:0,y:0,parent:YM},ZM={type:n.GenericReference,id:"52dbd85c-48b1-462a-8205-2437d6fb1cb4",entityType:n.Project,entityId:W},KM={type:n.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:[ys],x:0,y:0,parent:ZM},ag="f558fbf8-67de-4545-9804-6ae621e0b2d4",XM={id:"getCompanyByIdEndpointPathParamsVariableDataTypeRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointPathParamsArgumentDeclaration"},QM={id:"getCompanyByIdEndpointPathParamsArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointPathParamsArgumentDeclaration"},eV={like:!1,inferred:!1,id:"getCompanyByIdEndpointPathParamsVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:U,asType:!1,parent:QM},tV={id:"getCompanyByIdEndpointReachedEntityEventRef",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},nV={id:"getCompanyByIdEndpointRequestHeadersVariableDataTypeRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration"},rV={id:"getCompanyByIdEndpointRequestHeadersArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration"},iV={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestHeadersVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:rV},aV={id:"getCompanyByIdEndpointRequestHeadersArgumentDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the request.",type:n.ArgumentDeclaration,writesValues:[],name:"Request headers",defaultValue:{id:"getCompanyByIdEndpointRequestHeadersVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:nV,autogeneration:null,valueAsType:null},dataType:iV,implements:$l,required:!0,index:0,parent:tV},sV={id:"getCompanyByIdEndpointReachedEntityEventRefTwo",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},oV={id:"getCompanyByIdEndpointPathParamsArgumentDeclaration",type:n.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:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:XM,autogeneration:null,valueAsType:null},dataType:eV,implements:Fl,required:!0,index:1,parent:sV},lV={id:"getCompanyByIdEndpointReachedEntityEventRefThree",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},cV={id:"getCompanyByIdEndpointRequestQueryParamsVariableDataTypeRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration"},dV={id:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestQueryParamsArgumentDeclaration"},uV={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestQueryParamsVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,asType:!1,entity:U,parent:dV},pV={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:n.ArgumentDeclaration,writesValues:[],name:"Request query params",defaultValue:{id:"getCompanyByIdEndpointRequestQueryParamsVariableDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:cV,autogeneration:null,valueAsType:null},dataType:uV,implements:Ul,required:!0,index:2,parent:lV},yV={id:"getCompanyByIdEndpointReachedEntityEventRefFour",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},fV={id:"getCompanyByIdEndpointRequestBodyArgumentDeclarationRef",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:"getCompanyByIdEndpointRequestBodyArgumentDeclaration"},hV={like:!1,inferred:!1,id:"getCompanyByIdEndpointRequestBodyVariableDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:Xe,parent:fV},mV={id:"getCompanyByIdEndpointRequestBodyArgumentDeclaration",version:1,description:"The main data payload of the request.",type:n.ArgumentDeclaration,writesValues:[],name:"Request body",defaultValue:null,dataType:hV,implements:xl,index:3,required:!0,parent:yV},TV={id:"getCompanyByIdEndpointResponseCodeReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseCodeReturnDeclaration"},EV={like:!1,inferred:!1,id:"9ba575b0-6f8e-436d-a3de-3b843622aa17",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:TV},bV={id:"getCompanyByIdEndpointReturnStatementRef",type:n.GenericReference,entityType:n.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},RV={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:n.ReturnDeclaration,name:"Response code",defaultValue:null,dataType:EV,implements:jl,readsValue:null,required:!0,index:0,parent:bV},gV={id:"getCompanyByIdEndpointResponseHeadersDataTypeRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseHeadersReturnDeclaration"},vV={id:"getCompanyByIdEndpointResponseHeadersReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseHeadersReturnDeclaration"},IV={like:!1,inferred:!1,id:"getCompanyByIdEndpointResponseHeadersDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!0,isNullable:!1,constant:!1,entity:Xe,asType:!1,parent:vV},DV={id:"getCompanyByIdEndpointReturnStatementRefTwo",type:n.GenericReference,entityType:n.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},PV={isError:!1,id:"getCompanyByIdEndpointResponseHeadersReturnDeclaration",version:1,description:"A set of any properties, with names and value that transmit metadata about the response.",type:n.ReturnDeclaration,name:"Response headers",defaultValue:{id:"getCompanyByIdEndpointResponseHeadersDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.KeyValue,value:{},parent:gV,autogeneration:null,valueAsType:null},dataType:IV,implements:kl,readsValue:null,required:!0,index:1,parent:DV},AV={id:"getCompanyByIdEndpointResponseBodyReturnDeclarationRef",type:n.GenericReference,entityType:n.ReturnDeclaration,entityId:"getCompanyByIdEndpointResponseBodyReturnDeclaration"},OV={like:!1,inferred:!1,id:"getCompanyByIdEndpointResponseBodyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,asType:!1,constant:!1,entity:Xe,parent:AV},SV={id:"getCompanyByIdEndpointReturnStatementRefThree",type:n.GenericReference,entityType:n.ReturnStatement,entityId:"getCompanyByIdEndpointReturnStatement"},CV={isError:!1,id:"getCompanyByIdEndpointResponseBodyReturnDeclaration",version:1,description:"The main data payload of the response.",type:n.ReturnDeclaration,name:"Response body",implements:ql,defaultValue:null,dataType:OV,readsValue:null,required:!0,index:2,parent:SV},BV={id:"getCompanyByIdEndpointReturnStatementCallerRef",type:n.GenericReference,entityId:"getCompanyByIdEndpointReachedEntityEvent",entityType:n.FunctionDeclaration},wV={id:"getCompanyByIdEndpointReachedEntityEventRefFive",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"getCompanyByIdEndpointReachedEntityEvent"},_V={id:"getCompanyByIdEndpointReturnStatement",type:n.ReturnStatement,version:1,outputs:[RV,PV,CV],calledByError:[],calledByEntry:[BV],calledBySuccess:[],throws:null,x:0,y:0,parent:wV},NV={id:"endpointBuiltInBaseEntityRefFour",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:ag},MV={id:"getCompanyByIdEndpointReachedEntityEvent",name:"Endpoint reached",version:1,type:n.FunctionDeclaration,inputs:[aV,oV,pV,mV],returnStatements:[_V],description:"Fired when the endpoint is reached.",calls:[],collapsed:!1,implements:Jl,index:0,private:!1,x:0,y:0,parent:NV},VV={id:"getCompanyByIdEndpointPathPropertyDataTypeRef",type:n.GenericReference,entityType:n.Property,entityId:"getCompanyByIdEndpointPathProperty"},LV={id:"getCompanyByIdEndpointPathPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:"getCompanyByIdEndpointPathProperty"},GV={like:!1,inferred:!1,id:"getCompanyByIdEndpointPathPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:U,asType:!1,parent:LV},$V={id:"getCompanyByIdEndpointBaseEntityRefTwo",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},FV={id:"getCompanyByIdEndpointPathProperty",hidden:!1,required:!0,name:"Path",version:1,type:n.Property,private:!1,abstract:!1,static:!0,implements:Ll,defaultValue:{id:"getCompanyByIdEndpointPathPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,name:I.String,value:"/company/{id}",parent:VV,valueAsType:null,autogeneration:null},dataType:GV,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:$V},UV={id:"getCompanyByIdEndpointMethodPropertyDataTypeRef",type:n.GenericReference,entityType:n.Property,entityId:"getCompanyByIdEndpointMethodProperty"},xV={id:"getCompanyByIdEndpointMethodPropertyRef",type:n.GenericReference,entityType:n.Property,entityId:"getCompanyByIdEndpointMethodProperty"},jV={like:!1,inferred:!1,id:"getCompanyByIdEndpointMethodPropertyDataType",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Vn,isList:!0,isNullable:!1,constant:!0,asType:!1,options:["GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","CUSTOM"],parent:xV},kV={id:"getCompanyByIdEndpointBaseEntityRefThree",type:n.GenericReference,entityType:n.BuiltInBaseEntity,entityId:V.HTTP_ENDPOINT},qV={hidden:!1,required:!0,id:"getCompanyByIdEndpointMethodProperty",name:"Method",version:1,type:n.Property,private:!1,abstract:!1,static:!0,implements:Gl,index:0,defaultValue:{id:"getCompanyByIdEndpointMethodPropertyDataTypeDefaultValueId",type:n.LiteralValue,version:1,value:"GET",name:I.Enum,parent:UV,valueAsType:null,autogeneration:null},dataType:jV,description:null,parent:kV},JV={type:n.GenericReference,id:"6a905153-8aa8-4424-bd7b-6415731a2725",entityType:n.Project,entityId:W},WV={type:n.CustomEntity,id:ag,version:1,name:"Get given company data by id",description:null,properties:[FV,qV],methods:[MV],static:!0,abstract:!1,abstractMethods:[],extends:[],implements:[ys],x:0,y:0,parent:JV},HV={id:"plant-prototype-database-property-ref-id",type:n.GenericReference,entityId:"plant-prototype-database-property-id",entityType:n.Property},YV={id:"plant-prototype-database-property-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:"plant-prototype-database-property-id",entityType:n.Property},zV={like:!1,inferred:!1,id:"plant-prototype-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:bn,asType:!1,parent:HV},ZV={id:"plant-prototype-database-property-parent-ref-id",type:n.GenericReference,entityId:"plant-entity-id",entityType:n.CustomEntity},KV={hidden:!1,required:!0,id:"plant-prototype-database-property-id",name:"Database",version:1,type:n.Property,private:!1,abstract:!1,implements:ti,static:!0,index:0,defaultValue:{id:"plant-prototype-database-property-data-type-default-value-id",type:n.LiteralValue,version:1,value:null,name:I.EntityTemplate,valueAsType:bc,autogeneration:null,parent:YV},dataType:zV,description:"The database that the entity belongs to.",parent:ZV},XV={type:n.GenericReference,id:"plant-name-property-ref-id",entityType:n.Property,entityId:"plant-name-property-id"},QV={like:!1,inferred:!1,id:"plant-name-property-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:XV},eL={type:n.GenericReference,id:"animal-name-property-parent-ref-id",entityType:n.CustomEntity,entityId:"plant-entity-id"},tL={hidden:!1,required:!0,type:n.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:QV,abstract:!1,parent:eL},nL={type:n.GenericReference,id:"plant-prototype-parent-ref-id",entityType:n.Project,entityId:W},rL={type:n.CustomEntity,id:"plant-entity-id",version:1,name:"Plant",description:"A living creature that is not an animal",abstract:!1,static:!1,abstractMethods:[],properties:[KV,tL],methods:[],extends:[],implements:[rt],x:0,y:0,parent:nL},iL={id:"product-prototype-database-property-ref-id",type:n.GenericReference,entityId:"product-prototype-database-property-id",entityType:n.Property},aL={id:"product-prototype-database-property-data-type-default-value-parent-ref-id",type:n.GenericReference,entityId:"product-prototype-database-property-id",entityType:n.Property},sL={like:!1,inferred:!1,id:"product-prototype-database-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!1,entity:bn,asType:!1,parent:iL},oL={id:"product-prototype-database-property-parent-ref-id",type:n.GenericReference,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",entityType:n.CustomEntity},lL={hidden:!1,required:!0,id:"product-prototype-database-property-id",name:"Database",version:1,type:n.Property,private:!1,abstract:!1,implements:ti,static:!0,index:0,defaultValue:{id:"product-prototype-database-property-data-type-default-value-id",type:n.LiteralValue,version:1,value:null,name:I.EntityTemplate,valueAsType:Rc,autogeneration:null,parent:aL},dataType:sL,description:"The database that the entity belongs to.",parent:oL},cL={type:n.GenericReference,id:"13a4045e-dcb0-4159-8d33-10a646078b5a",entityType:n.Property,entityId:"d519c26a-15b8-40d8-ad09-13fa9342e9ba"},dL={like:!1,inferred:!1,id:"7449779e-1d4e-409c-81c6-4b611336ed18",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:cL},uL={type:n.GenericReference,id:"0969562f-d836-406f-8b48-dd9d417fbe72",entityType:n.CustomEntity,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c"},pL={hidden:!1,required:!0,type:n.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:dL,abstract:!1,parent:uL},yL={type:n.GenericReference,id:"833a5425-7bd0-41dd-9e97-e018acce9592",entityType:n.Project,entityId:W},fL={id:"product-prototype-primary-key-property-data-type-ref-id",type:n.GenericReference,entityId:"product-prototype-primary-key-property-id",entityType:n.Property},hL={id:"product-prototype-primary-key-property-ref-id",type:n.GenericReference,entityId:"product-prototype-primary-key-property-id",entityType:n.Property},mL={like:!1,inferred:!1,id:"product-prototype-primary-key-property-data-type-id",version:1,type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,isList:!1,isNullable:!1,constant:!0,entity:Ln,asType:!1,parent:hL},TL={id:"product-prototype-primary-key-property-parent-ref-id",type:n.GenericReference,entityId:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",entityType:n.CustomEntity},EL={hidden:!1,required:!0,id:"product-prototype-primary-key-property-id",name:"Identifier",version:1,type:n.Property,private:!1,abstract:!1,implements:null,static:!1,index:0,defaultValue:{id:"product-prototype-primary-key-property-data-type-default-value-id",type:n.LiteralValue,version:1,name:I.UUID,value:null,parent:fL,autogeneration:{type:je.Unique,rangeStart:null,rangeEnd:null},valueAsType:null},dataType:mL,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:TL},bL={type:n.CustomEntity,id:"a2d0ec83-72ce-4f54-b059-a39e018fa86c",version:1,name:"Product",description:"A product that can be sold",implements:[rt,_t],extends:[],abstract:!1,static:!1,abstractMethods:[],properties:[EL,lL,pL],methods:[],x:0,y:0,parent:yL},fa="project-loaded-event-id",sn="get-bitcoin-price-http-call-operation-id",sg="get-bitcoin-price-http-call-response-body-id",Hs="validate-bitcoin-price-response-operation-ids",RL={type:n.GenericReference,id:"validate-bitcoin-data-to-validate-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:sg},gL={type:n.GenericReference,id:"validate-bitcoin-data-to-validate-input-map-parent-ref-id",entityType:n.Operation,entityId:Hs},og={id:"validate-bitcoin-data-to-validate-input-map-id",type:n.InputMap,version:1,declaration:sr.inputs[1],name:null,description:null,readsValue:RL,defaultValue:null,index:0,parent:gL},vL={type:n.GenericReference,id:"validate-bitcoin-type-to-match-input-map-default-value-parent-ref-id",entityType:n.InputMap,entityId:"validate-bitcoin-type-to-match-input-map-id"},IL={type:n.GenericReference,id:"validate-bitcoin-type-to-match-input-map-parent-ref-id",entityType:n.Operation,entityId:Hs},DL={id:"validate-bitcoin-type-to-match-input-map-id",type:n.InputMap,version:1,declaration:sr.inputs[0],name:null,description:null,readsValue:null,defaultValue:{id:"validate-bitcoin-type-to-match-input-map-default-value-id",type:n.LiteralValue,version:1,name:I.EntityTemplate,valueAsType:JR,value:null,parent:vL,autogeneration:null},index:0,parent:IL},PL={type:n.GenericReference,id:"validate-bitcoin-validated-entity-output-map-parent-ref-id",entityType:n.Operation,entityId:Hs},AL={id:"validate-bitcoin-validated-entity-output-map-id",type:n.OutputMap,version:1,defaultValue:null,declaration:sr.outputs[0],writesValues:[],index:0,parent:PL},OL={type:n.GenericReference,id:"validate-bitcoin-price-response-operation-parent-ref-id",entityType:n.GlobalEvent,entityId:fa},SL={type:n.GenericReference,id:"validate-bitcoin-price-response-operation-called-by-ref-id",entityType:n.Operation,entityId:sn},CL={type:n.Operation,id:Hs,version:1,declaration:sr,inputs:[DL,og],outputs:[AL],process:null,successCalls:[],errorCalls:[],error:null,x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[SL],parent:OL},BL={type:n.GenericReference,id:"96edb661-3f36-406c-8921-f1679dd796a3",entityType:n.FunctionCall,entityId:sn},wL={id:"c93e1393-9b5e-4de2-b8da-7eae647d715a",version:1,type:n.InputMap,declaration:ns,name:null,description:null,readsValue:null,defaultValue:null,index:0,parent:BL},_L={type:n.GenericReference,id:"40312b28-71b8-4b01-a654-58b87191939d",entityType:n.FunctionCall,entityId:sn},NL={type:n.GenericReference,id:"6ea96c7d-02a7-4971-82ad-2f32a0fec8b4",entityType:n.InputMap,entityId:"9f21cbac-5a83-4983-8923-9224ffd3ba9f"},ML={id:"9f21cbac-5a83-4983-8923-9224ffd3ba9f",version:1,type:n.InputMap,declaration:rs,name:null,description:null,readsValue:null,defaultValue:{id:"get-bitcoin-price-http-request-url-argument-default-value-id",type:n.LiteralValue,version:1,value:"https://api.coindesk.com/v1/bpi/currentprice.json",name:I.String,parent:NL,valueAsType:null,autogeneration:null},index:1,parent:_L},VL={type:n.GenericReference,id:"2610bf4a-c8a2-4746-b6cc-eb15f7fa8e9c",entityType:n.FunctionCall,entityId:sn},LL={id:"ffb3cd9d-c955-4104-bc7b-299120fe4ede",version:1,type:n.InputMap,declaration:is,name:null,description:null,readsValue:null,defaultValue:null,index:2,parent:VL},GL={type:n.GenericReference,id:"bfd29a6a-671a-448c-9f2f-f8c7e4ad8349",entityType:n.FunctionCall,entityId:sn},$L={id:"412bf1f3-1a8e-4665-a95f-82117540e34e",version:1,type:n.InputMap,declaration:as,name:null,description:null,readsValue:null,defaultValue:null,index:3,parent:GL},FL={type:n.GenericReference,id:"616a15f3-c224-4b11-b95c-63314edef409",entityType:n.FunctionCall,entityId:sn},UL={id:"4dd4651c-02e4-45f1-b50f-824f3bcb1648",version:1,type:n.OutputMap,defaultValue:null,declaration:os,writesValues:[],index:1,parent:FL},xL={type:n.GenericReference,id:"28793b68-4d7e-4826-aee1-f201a3499faf",entityType:n.FunctionCall,entityId:sn},jL={id:"94fe9d35-4dd4-4729-a50c-5283ccd7e661",version:1,type:n.OutputMap,defaultValue:null,declaration:ss,writesValues:[],index:0,parent:xL},kL={type:n.GenericReference,id:"f13e04b2-49b4-4c69-85b8-cbbafafa3524",entityType:n.FunctionCall,entityId:sn},qL={id:sg,type:n.OutputMap,defaultValue:null,version:1,declaration:ls,writesValues:[og],index:2,parent:kL},JL={type:n.GenericReference,id:"6148d6d0-caaa-45fc-b601-ff2493dfc60f",entityType:n.FunctionDeclaration,entityId:sn},WL={type:n.GenericReference,id:"b115f084-807b-44b3-ae01-b69cc342f761",entityType:n.GlobalEvent,entityId:fa},HL={type:n.Operation,id:sn,version:1,declaration:ji,inputs:[wL,ML,LL,$L],outputs:[jL,UL,qL],process:null,parent:WL,calledByError:[],calledByEntry:[JL],calledBySuccess:[],successCalls:[CL],errorCalls:[],error:null,x:0,y:0},YL={type:n.GenericReference,id:"24e76019-3f94-475b-91ce-297f76bbc224",entityType:n.GlobalEvent,entityId:fa},zL={type:n.GenericReference,id:"0eac8e29-cdf2-42f8-8ea7-ad76d4d79abe",entityType:n.GlobalEvent,entityId:fa},ZL={process:null,type:n.FunctionCall,id:"2d2e7593-bfbf-457c-a607-5fce18eef457",version:1,declaration:Ac,inputs:[],outputs:[],calledByError:[],calledByEntry:[YL],calledBySuccess:[],parent:zL,successCalls:[],errorCalls:[],error:null,x:0,y:0},KL={id:"793b5999-a9da-47fb-9665-0c17ebc6d5c9",type:n.GenericReference,entityType:n.Project,entityId:"2e7eb5382-3d99-44fd-972a-b8b1e819f6be"},XL={type:n.GlobalEvent,id:fa,version:1,name:fn.PROJECT_PUBLICATION_COMPLETED,returnStatements:[],collapsed:!1,implements:Es,parent:KL,inputs:[],calls:[ZL,HL],x:0,y:0},xt="abort-execution-func-declaration-id",ha="abort-execution-func-exec-var-declaration-id",Ys="abort-execution-func-small-wait-op-id",Oc="abort-execution-func-long-wait-op-id",lg="abort-execution-func-long-wait-process-output-id",cg="abort-execution-func-exec-var-instance-write-id",dg="abort-execution-func-long-wait-return-stmt-id",ug="abort-execution-func-small-wait-return-stmt-id",QL="abort-execution-func-exec-var-instance-abort-call-id",Sc="abort-execution-func-exec-var-instance-abort-internal-call-id",pg="abort-execution-func-exec-second-wait-op-id",e1={type:n.GenericReference,id:"short-wait-return-statement-returned-hello-string-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:"short-wait-return-statement-returned-hello-string-id"},t1={type:n.GenericReference,id:"short-wait-return-statement-returned-hello-string-data-type-default-value-parent-ref-id",entityType:n.ReturnDeclaration,entityId:"short-wait-return-statement-returned-hello-string-id"},n1={like:!1,inferred:!1,id:"short-wait-return-statement-returned-hello-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:e1},r1={type:n.GenericReference,id:"short-wait-return-statement-returned-hello-string-parent-ref-id",entityType:n.ReturnStatement,entityId:ug},i1={isError:!1,id:"short-wait-return-statement-returned-hello-string-id",type:n.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:n.LiteralValue,version:1,name:I.String,value:"Hello 2",autogeneration:null,valueAsType:null,parent:t1},dataType:n1,implements:null,readsValue:null,required:!0,index:0,parent:r1},a1={type:n.GenericReference,id:"short-wait-return-statement-called-by-ref-id",entityType:n.Operation,entityId:Ys},s1={type:n.GenericReference,id:"short-wait-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},yg={type:n.ReturnStatement,id:ug,version:1,outputs:[i1],calledByError:[],calledByEntry:[],calledBySuccess:[a1],throws:null,x:0,y:0,parent:s1},o1={type:n.GenericReference,id:"second-wait-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:"second-wait-argument-map-id"},l1={type:n.GenericReference,id:"second-wait-argument-map-parent-ref-id",entityType:n.Operation,entityId:pg},c1={id:"second-wait-argument-map-id",type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"second-wait-argument-default-value-id",type:n.LiteralValue,version:1,value:2e3,valueAsType:null,autogeneration:null,name:I.Number,parent:o1},index:0,parent:l1},d1={type:n.GenericReference,id:"small-wait-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},u1={type:n.GenericReference,id:"small-wait-called-by-ref-one-id",entityType:n.InternalCall,entityId:Sc},p1={id:pg,type:n.Operation,version:1,declaration:yt,inputs:[c1],outputs:[],process:null,successCalls:[yg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[u1],error:null,parent:d1},y1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-abort-internal-call-called-by-ref-one-id",entityType:n.VariableInstance,entityId:cg},f1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-abort-internal-call-called-by-ref-two-id",entityType:n.Operation,entityId:Ys},h1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-main-project-ref-id",entityType:n.FunctionDeclaration,entityId:xt},m1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-declaration-ref-id",entityType:n.VariableDeclaration,entityId:ha},T1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-internal-call-ref-one-id",entityType:n.InternalCall,entityId:Sc},E1={id:QL,type:n.VariableInstance,version:1,declaration:m1,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[T1],parent:h1},fg={id:Sc,type:n.InternalCall,version:1,inputs:[],outputs:[],declaration:Kl,process:null,calledByError:[],calledByEntry:[],calledBySuccess:[y1,f1],successCalls:[p1],errorCalls:[],error:null,index:0,parent:E1},b1={type:n.GenericReference,id:"abort-exec-func-var-write-instance-main-project-ref-id",entityType:n.FunctionDeclaration,entityId:xt},R1={type:n.GenericReference,id:"abort-exec-func-var-write-instance-called-by-ref-one-id",entityType:n.VariableDeclaration,entityId:ha},g1={type:n.GenericReference,id:"abort-exec-func-var-write-instance-called-by-ref-two-id",entityType:n.FunctionDeclaration,entityId:xt},v1={type:n.GenericReference,id:"abort-exec-func-abort-call-var-instance-declaration-ref-id",entityType:n.VariableDeclaration,entityId:ha},I1={type:n.GenericReference,id:"abort-exec-func-var-write-instance-reads-value-ref-id",entityType:n.OutputMap,entityId:lg},Cc={id:cg,type:n.VariableInstance,version:1,declaration:v1,inputs:[],outputs:[],defaultValue:null,calledByError:[],calledByEntry:[g1],calledBySuccess:[R1],successCalls:[fg],errorCalls:[],x:0,y:0,readsValue:I1,writesValues:[],internalCalls:[],parent:b1},D1={type:n.GenericReference,id:"abort-exec-func-var-decl-datatype-parent-ref-id",entityType:n.VariableDeclaration,entityId:ha};n.GenericReference,n.DataType;const P1={like:!1,inferred:!1,id:"abort-exec-func-var-decl-datatype-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:Xl,version:1,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:D1},A1={type:n.GenericReference,id:"abort-exec-func-var-decl-main-project-ref-id",entityType:n.FunctionDeclaration,entityId:xt},O1={type:n.GenericReference,id:"abort-exec-func-var-decl-called-by-ref-one-id",entityType:n.FunctionDeclaration,entityId:xt},S1={id:ha,type:n.VariableDeclaration,version:1,name:"Execution in progress",description:"A variable that holds an ongoing execution to abort it if needed",defaultValue:null,dataType:P1,inputs:[],outputs:[],calledByError:[],calledByEntry:[O1],calledBySuccess:[],successCalls:[Cc],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[],parent:A1},C1={type:n.GenericReference,id:"long-wait-return-statement-returned-hello-string-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:"long-wait-return-statement-returned-hello-string-id"},B1={type:n.GenericReference,id:"long-wait-return-statement-returned-hello-string-data-type-default-value-parent-ref-id",entityType:n.ReturnDeclaration,entityId:"long-wait-return-statement-returned-hello-string-id"},w1={like:!1,inferred:!1,id:"long-wait-return-statement-returned-hello-string-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:C1},_1={type:n.GenericReference,id:"long-wait-return-statement-returned-hello-string-parent-ref-id",entityType:n.ReturnStatement,entityId:dg},N1={isError:!1,id:"long-wait-return-statement-returned-hello-string-id",type:n.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:n.LiteralValue,version:1,name:I.String,value:"Hello 1",autogeneration:null,valueAsType:null,parent:B1},dataType:w1,readsValue:null,required:!0,index:0,parent:_1},M1={type:n.GenericReference,id:"long-wait-return-statement-called-by-ref-id",entityType:n.Operation,entityId:Oc},V1={type:n.GenericReference,id:"long-wait-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},hg={type:n.ReturnStatement,id:dg,version:1,outputs:[N1],calledByError:[],calledByEntry:[],calledBySuccess:[M1],throws:null,x:0,y:0,parent:V1},L1={type:n.GenericReference,id:"long-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:"long-argument-map-id"},mg={type:n.GenericReference,id:"long-argument-map-parent-ref-id",entityType:n.Operation,entityId:Oc},G1={id:"long-argument-map-id",type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"long-argument-default-value-id",type:n.LiteralValue,version:1,value:1500,valueAsType:null,autogeneration:null,name:I.Number,parent:L1},index:0,parent:mg},$1={type:n.GenericReference,id:"long-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},F1={type:n.GenericReference,id:"long-called-by-ref-one-id",entityType:n.FunctionDeclaration,entityId:xt},U1={id:lg,type:n.OutputMap,version:1,defaultValue:null,declaration:ec,writesValues:[Cc],index:0,parent:mg},x1={id:Oc,type:n.Operation,version:1,declaration:yt,inputs:[G1],outputs:[],process:U1,successCalls:[hg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[F1],calledBySuccess:[],error:null,parent:$1},j1={type:n.GenericReference,id:"small-wait-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:"small-wait-argument-map-id"},k1={type:n.GenericReference,id:"small-wait-argument-map-parent-ref-id",entityType:n.Operation,entityId:Ys},q1={id:"small-wait-argument-map-id",type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"small-wait-argument-default-value-id",type:n.LiteralValue,version:1,value:500,valueAsType:null,autogeneration:null,name:I.Number,parent:j1},index:0,parent:k1},J1={type:n.GenericReference,id:"small-wait-parent-ref-id",entityType:n.FunctionDeclaration,entityId:xt},W1={type:n.GenericReference,id:"small-wait-called-by-ref-one-id",entityType:n.FunctionDeclaration,entityId:xt},H1={id:Ys,type:n.Operation,version:1,declaration:yt,inputs:[q1],outputs:[],process:null,successCalls:[fg],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[W1],calledBySuccess:[],error:null,parent:J1},Y1={type:n.GenericReference,id:"abort-execution-func-decl-parent-ref-id",entityType:n.Project,entityId:W},Tg={id:"abort-execution-func-decl-id",type:n.FunctionDeclaration,version:1,name:"Test aborting execution",description:"Executes a wait and then aborts the execution of that wait",inputs:[],returnStatements:[hg,yg],calls:[H1,S1,Cc,x1],implements:null,private:!1,collapsed:!1,index:null,x:0,y:0,parent:Y1},z1={type:n.GenericReference,id:"call-execution-abort-func-parent-ref-id",entityType:n.Project,entityId:W},Z1={id:"call-execution-abort-func-id",type:n.FunctionCall,version:1,declaration:Tg,inputs:[],process:null,outputs:[],successCalls:[],errorCalls:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[],x:0,y:0,parent:z1},Bc="manual-hello-world-loop-func-decl-id",Eg="manual-hello-world-loop-func-return-statement-id",on="manual-hello-world-loop-id",ma="manual-hello-world-loop-body-id",wc="manual-hello-world-loop-break-statement-id",Ta="manual-hello-world-loop-current-iteration-number-output-map-id",_c="manual-hello-world-loop-previous-iterations-results-output-map-id",Nc="assembled-hello-world-text-output-id",bg="assembled-hello-world-list-output-id",Ea="iteration-number-is-equal-or-greater-than-10-condition-id",zs="join-hello-world-and-number-operation-id",Zs="append-string-to-list-operation-id",Rg="hello-world-loop-output-map-id",K1={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-parent-ref",entityType:n.ReturnStatement,entityId:Eg},X1={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-data-type-parent-ref",entityType:n.ReturnDeclaration,entityId:"manual-hello-world-loop-function-declaration-output-declaration"},Q1={like:!1,inferred:!1,id:"manual-hello-world-loop-function-declaration-output-declaration-data-type",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!0,asType:!1,isNullable:!1,constant:!1,parent:X1},e0={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-output-declaration-reads-value-ref",entityType:n.OutputMap,entityId:Rg},gg={isError:!1,id:"manual-hello-world-loop-function-declaration-output-declaration",version:1,type:n.ReturnDeclaration,name:"Results",description:null,defaultValue:null,dataType:Q1,implements:null,readsValue:e0,required:!0,index:0,parent:K1},t0={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-return-statement-called-by-ref",entityType:n.Loop,entityId:on},n0={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-parent-ref",entityType:n.FunctionDeclaration,entityId:Bc},vg={type:n.ReturnStatement,id:Eg,version:1,outputs:[gg],calledByError:[],calledByEntry:[],calledBySuccess:[t0],parent:n0,throws:null,x:0,y:0},r0={type:n.GenericReference,id:"hello-world-loop-break-statement-ref-id",entityType:n.BreakStatement,entityId:wc},i0={type:n.GenericReference,id:"hello-world-loop-break-statement-reads-value-ref-id",entityType:n.OutputMap,entityId:Nc},Ig={isError:!1,id:"hello-world-loop-break-statement-output-id",version:1,type:n.ReturnDeclaration,name:"Iteration result",description:null,defaultValue:null,dataType:null,readsValue:i0,implements:null,required:!0,index:0,parent:r0},a0={type:n.GenericReference,id:"hello-world-loop-break-statement-counter-reads-value-ref-id",entityType:n.ArgumentDeclaration,entityId:Ta},s0={type:n.GenericReference,id:"hello-world-loop-break-statement-counter-ref-id",entityType:n.BreakStatement,entityId:wc},Dg={isError:!1,id:"hello-world-loop-break-statement-counter-output-id",version:1,type:n.ReturnDeclaration,name:"Iteration counter",description:null,implements:null,defaultValue:null,dataType:null,readsValue:a0,required:!0,index:1,parent:s0},o0={type:n.GenericReference,id:"hello-world-loop-break-statement-called-by-ref-id",entityType:n.Condition,entityId:Ea},l0={type:n.GenericReference,id:"hello-world-loop-break-statement-parent-ref-id",entityType:n.Loop,entityId:on},Pg={type:n.BreakStatement,id:wc,version:1,outputs:[Ig,Dg],calledByError:[],calledByEntry:[],calledBySuccess:[o0],parent:l0,throws:null,x:0,y:0},c0={type:n.GenericReference,id:"hello-world-loop-continue-statement-ref-id",entityType:n.ContinueStatement,entityId:"hello-world-loop-continue-statement"},d0={type:n.GenericReference,id:"hello-world-loop-continue-statement-output-data-type-ref-id",entityType:n.ReturnDeclaration,entityId:"hello-world-loop-continue-statement-output-id"},u0={like:!1,inferred:!1,id:"hello-world-loop-continue-statement-output-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:d0},p0={type:n.GenericReference,id:"hello-world-loop-continue-statement-reads-value-ref-id",entityType:n.OutputMap,entityId:Nc},Ag={isError:!1,id:"hello-world-loop-continue-statement-output-id",version:1,type:n.ReturnDeclaration,name:"Iteration result",description:null,defaultValue:null,implements:null,dataType:u0,readsValue:p0,required:!0,index:0,parent:c0},y0={type:n.GenericReference,id:"hello-world-loop-continue-statement-called-by-ref-id",entityType:n.Condition,entityId:Ea},f0={type:n.GenericReference,id:"hello-world-loop-continue-statement-parent-ref-id",entityType:n.Loop,entityId:on},Og={type:n.ContinueStatement,id:"hello-world-loop-continue-statement",version:1,outputs:[Ag],calledBySuccess:[],calledByError:[y0],calledByEntry:[],parent:f0,throws:null,x:0,y:0};n.GenericReference,n.InputMap;const h0={type:n.GenericReference,id:"append-string-to-list-base-string-map-parent-ref-id",entityType:n.Operation,entityId:Zs},m0={type:n.GenericReference,id:"base-string-map-reads-value-ref-id",entityType:n.OutputMap,entityId:_c},Sg={id:"append-string-to-list-base-string-map-id",type:n.InputMap,version:1,declaration:Tl,name:null,description:null,readsValue:m0,defaultValue:null,index:0,parent:h0},T0={type:n.GenericReference,id:"assembly-string-map-parent-ref-id",entityType:n.Operation,entityId:Zs},E0={id:bg,type:n.OutputMap,version:1,defaultValue:null,writesValues:[Ig],declaration:Ui,index:0,parent:T0},b0={type:n.GenericReference,id:"append-string-to-list-called-by-ref-id",entityType:n.Condition,entityId:Ea},R0={type:n.GenericReference,id:"latest-string-to-add-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:bg},g0={type:n.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:n.Operation,entityId:Zs},Cg={id:"latest-string-to-add-input-map-id",version:1,type:n.InputMap,declaration:El,name:null,description:null,readsValue:R0,defaultValue:null,index:1,parent:g0},v0={type:n.GenericReference,id:"append-string-to-list-parent-ref-id",entityType:n.FunctionDeclaration,entityId:on},I0={type:n.Operation,id:Zs,declaration:ts,version:1,inputs:[Sg,Cg],outputs:[E0],calledByError:[],process:null,calledByEntry:[],calledBySuccess:[b0],successCalls:[],errorCalls:[],error:null,x:0,y:0,parent:v0},D0={type:n.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:ma},P0={type:n.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-parent-ref-id",entityType:n.Loop,entityId:on},A0={type:n.GenericReference,id:"current-iteration-number-to-check-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Ta},Bg={type:n.GenericReference,id:"iteration-number-is-equal-or-greater-than-10-condition-ref-two-id",entityType:n.Condition,entityId:Ea},O0={id:"current-iteration-number-to-check-map-id",version:1,type:n.InputMap,declaration:ii.inputs[0],name:null,description:null,readsValue:A0,index:0,defaultValue:null,parent:Bg},S0={type:n.GenericReference,id:"max-num-iterations-value-map-default-value-parent-ref-id",entityType:n.InputMap,entityId:"max-num-iterations-value-map-id"},C0={id:"max-num-iterations-value-map-id",version:1,type:n.InputMap,declaration:ii.inputs[1],name:null,description:null,readsValue:null,index:1,defaultValue:{id:"max-num-iterations-value-map-default-value-id",type:n.LiteralValue,version:1,name:I.Number,value:10,autogeneration:null,valueAsType:null,parent:S0},parent:Bg},B0={type:n.Condition,id:Ea,version:1,declaration:ii,inputs:[O0,C0],calledByError:[],calledByEntry:[D0],calledBySuccess:[],successCalls:[Pg,I0],errorCalls:[Og],x:0,y:0,parent:P0},w0={type:n.GenericReference,id:"base-string-map-ref-id",entityType:n.InputMap,entityId:"join-hello-world-and-number-base-string-map-id"},_0={type:n.GenericReference,id:"join-hello-world-and-number-base-string-map-parent-ref-id",entityType:n.Operation,entityId:zs},N0={id:"join-hello-world-and-number-base-string-map-id",type:n.InputMap,version:1,declaration:Qa,name:null,description:null,readsValue:null,defaultValue:{id:"join-hello-world-and-number-base-string-map-default-value-id",type:n.LiteralValue,version:1,value:"Hello world ",name:I.String,parent:w0,valueAsType:null,autogeneration:null},index:0,parent:_0},M0={type:n.GenericReference,id:"assembly-string-map-parent-ref-id",entityType:n.Operation,entityId:zs},V0={id:Nc,type:n.OutputMap,version:1,defaultValue:null,writesValues:[Cg,Ag],declaration:Ui,index:0,parent:M0},L0={type:n.GenericReference,id:"join-hello-world-and-number-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:ma},G0={type:n.GenericReference,id:"current-iteration-number-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Ta},$0={type:n.GenericReference,id:"62b4afb0-6c21-4b0f-abd3-cebef7b17c28",entityType:n.Operation,entityId:zs},wg={id:"current-iteration-number-input-map-id",version:1,type:n.InputMap,declaration:es,name:null,description:null,readsValue:G0,defaultValue:null,index:1,parent:$0},F0={type:n.GenericReference,id:"join-hello-world-and-number-parent-ref-id",entityType:n.FunctionDeclaration,entityId:on},U0={type:n.Operation,id:zs,declaration:xi,version:1,inputs:[N0,wg],outputs:[V0],process:null,calledByError:[],calledByEntry:[L0],calledBySuccess:[],successCalls:[],errorCalls:[],error:null,x:0,y:0,parent:F0},x0={id:"manual-hello-world-loop-iterations-results-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:_c,entityType:n.ArgumentDeclaration},j0={like:!1,inferred:!1,id:"manual-hello-world-loop-iterations-results-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!0,isNullable:!1,constant:!1,entity:null,asType:!1,parent:x0},k0={id:"manual-hello-world-loop-previous-iterations-results-output-map-parent-ref-id",type:n.GenericReference,entityId:ma,entityType:n.FunctionDeclaration},q0={id:_c,type:n.ArgumentDeclaration,version:1,name:"Previous iterations results",description:"The results of the previous iterations of the loop.",required:!0,defaultValue:null,dataType:j0,implements:null,writesValues:[Sg],index:1,parent:k0},J0={id:"manual-hello-world-loop-current-iteration-number-output-map-parent-ref-id",type:n.GenericReference,entityId:ma,entityType:n.FunctionDeclaration},W0={id:"manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",type:n.GenericReference,entityId:Ta,entityType:n.ArgumentDeclaration};n.DataType;const H0={id:Ta,type:n.ArgumentDeclaration,version:1,name:"Current iteration number",description:"The number of the current iteration of the loop. Starts at 1.",required:!0,implements:Al,defaultValue:null,dataType:null,writesValues:[wg,Dg],index:0,parent:J0},Y0={id:"manual-flow-loop-body-parent-ref-id",type:n.GenericReference,entityId:on,entityType:n.Loop},z0={id:ma,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called multiple times, once for each iteration of the loop.",inputs:[H0,q0],calls:[B0,U0],implements:Ol,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:Y0},Z0={type:n.GenericReference,id:"hello-world-loop-iteration-result-inline-output-declaration-parent-ref-id",entityType:n.Loop,entityId:on},_g={id:"hello-world-loop-iteration-result-inline-output-declaration-id",version:1,type:n.ValueDescriptor,name:"Iteration result",defaultValue:null,description:null,dataType:null,required:!0,index:0,parent:Z0},K0={type:n.GenericReference,id:"hello-world-loop-break-statement-output-map-parent-ref-id",entityType:n.Loop,entityId:on},X0={type:n.OutputMap,id:Rg,version:1,defaultValue:null,declaration:_g,writesValues:[gg],index:0,parent:K0},Q0={id:"manual-hello-world-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},eG={id:"manual-hello-world-loop-called-by-ref-id",type:n.GenericReference,entityId:Bc,entityType:n.FunctionDeclaration},tG={id:on,type:n.Loop,version:1,declaration:Pl,inputs:[],outputsDeclarations:[_g],outputs:[X0],body:z0,successCalls:[vg],errorCalls:[],process:null,error:null,calledByError:[],calledByEntry:[eG],calledBySuccess:[],breakStatements:[Pg],continueStatements:[Og],x:0,y:0,parent:Q0},nG={type:n.GenericReference,id:"manual-hello-world-loop-function-declaration-parent-ref-id",entityType:n.Project,entityId:W},Ng={type:n.FunctionDeclaration,id:Bc,version:1,name:"Manual hello world loop",description:null,inputs:[],calls:[tG],returnStatements:[vg],implements:null,collapsed:!1,private:!1,index:null,x:0,y:0,parent:nG},rG={type:n.GenericReference,id:"call-hello-world-loop-parent-ref-id",entityType:n.Project,entityId:W},iG={id:"call-hello-world-loop-id",type:n.FunctionCall,version:1,declaration:Ng,inputs:[],outputs:[],process:null,successCalls:[],errorCalls:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[],x:0,y:0,parent:rG},vn="company-dto-function-declaration-id",Mc="company-dto-func-declaration-argument-dcl-id",ln="company-dto-function-company-variable-id",Wn="company-dto-function-company-dto-variable-id",fi="iterate-over-employee-list-loop-id",Mg="iterate-over-employee-list-loop-employee-dto-output-map-id",Vc="iterate-over-employee-list-loop-body-current-employee-argument-declaration-id",ba="iterate-over-employee-list-loop-body-map-employee-dto-function-call-id",Vg="iterate-over-employee-list-continue-statement-employee-dto-output-decl-id",aG="iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-id",Lg="iterate-over-employee-list-continue-statement-id",Ks="iterate-over-employee-list-loop-body-id",Gg="company-dto-func-declaration-return-statement-id",$g="company-dto-func-declaration-return-decl-id",Fg="company-dto-func-declaration-company-variable-id-output-map-id",Ug="company-dto-func-declaration-company-variable-employess-output-map-id",xg="company-dto-func-declaration-company-variable-name-output-map-id",sG="company-dto-func-declaration-company-dto-variable-input-map-id",oG="company-dto-func-declaration-company-dto-variable-employess-input-map-id",lG="company-dto-func-declaration-company-dto-variable-name-input-map-id",Xs="company-dto-func-declaration-owner-variable-id",cG="company-dto-func-declaration-company-dto-variable-owner-input-map-id",jg="company-dto-func-declaration-company-variable-owner-output-map-id",kg="company-dto-func-declaration-owner-variable-id-output-map-id",Qs="company-dto-func-declaration-bank-account-variable-id",dG="company-dto-func-declaration-company-dto-variable-bank-account-input-map-id",qg="company-dto-func-declaration-company-variable-bank-account-output-map-id",Jg="company-dto-func-declaration-bank-account-variable-id-output-map-id",uG={type:n.GenericReference,id:"company-dto-func-returned-company-dto-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:$g},pG={like:!1,inferred:!1,id:"company-dto-func-returned-company-dto-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:uG},yG={type:n.GenericReference,id:"company-dto-func-returned-company-dto-parent-ref-id",entityType:n.ReturnStatement,entityId:Gg},fG={type:n.GenericReference,id:"company-dto-func-returned-company-dto-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Wg={isError:!1,id:$g,type:n.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:pG,readsValue:fG,required:!0,index:0,parent:yG},hG={type:n.GenericReference,id:"company-dto-func-return-statement-called-by-ref-id",entityType:n.Operation,entityId:Wn},mG={type:n.GenericReference,id:"company-dto-func-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn},Lc={type:n.ReturnStatement,id:Gg,version:1,outputs:[Wg],calledByError:[],calledByEntry:[],calledBySuccess:[hG],throws:null,x:0,y:0,parent:mG},TG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-owner-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:kg},EG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-owner-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Hg={id:cG,type:n.InputMap,version:1,declaration:null,name:"owner_id",description:null,defaultValue:null,index:5,readsValue:TG,parent:EG},bG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-bank-account-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Jg},RG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-bank-account-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Yg={id:dG,type:n.InputMap,version:1,declaration:null,name:"bank_account_id",description:null,defaultValue:null,index:4,readsValue:bG,parent:RG},gG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-name-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:xg},vG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-name-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},zg={id:lG,type:n.InputMap,version:1,declaration:null,name:"name",description:null,defaultValue:null,index:3,readsValue:gG,parent:vG},IG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-employess-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Mg},DG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-employess-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Zg={id:oG,type:n.InputMap,version:1,declaration:null,name:"employees",description:null,defaultValue:null,index:2,readsValue:IG,parent:DG},PG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-id-output-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Fg},AG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Wn},Kg={id:sG,type:n.InputMap,version:1,declaration:null,name:"id",description:"The ID of the company",defaultValue:null,index:1,readsValue:PG,parent:AG},OG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn},SG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-one-id",entityType:n.VariableDeclaration,entityId:Qs},CG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-two-id",entityType:n.VariableDeclaration,entityId:Xs},BG={type:n.GenericReference,id:"company-dto-func-company-dto-variable-called-by-ref-three-id",entityType:n.VariableDeclaration,entityId:fi},Gc={id:Wn,type:n.VariableDeclaration,version:1,name:"Company DTO",dataType:null,description:"A variable holding the data of a mapped company DTO",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[SG,CG,BG],successCalls:[Lc],errorCalls:[],readsValue:null,writesValues:[Wg],inputs:[Kg,zg,Yg,Hg,Zg],outputs:[],internalCalls:[],parent:OG,x:0,y:0},Tr="employee-dto-func-declaration-id",$c="employee-dto-func-declaration-argument-dcl-id",Xg="employee-dto-func-declaration-return-statement-id",Qg="employee-dto-func-declaration-return-decl-id",Er="employee-dto-func-declaration-employee-variable-id",br="employee-dto-func-declaration-employee-dto-variable-id",eo="employee-dto-func-declaration-manager-variable-id",ev="employee-dto-func-declaration-employee-variable-id-output-map-id",tv="employee-dto-func-declaration-employee-variable-birth-date-output-map-id",nv="employee-dto-func-declaration-employee-variable-department-output-map-id",rv="employee-dto-func-declaration-employee-variable-manager-output-map-id",iv="employee-dto-func-declaration-manager-variable-id-output-map-id",wG="employee-dto-func-declaration-employee-dto-variable-input-map-id",_G="employee-dto-func-declaration-employee-dto-variable-birth-date-input-map-id",NG="employee-dto-func-declaration-employee-dto-variable-department-input-map-id",MG="employee-dto-func-declaration-employee-dto-variable-manager-input-map-id",VG={type:n.GenericReference,id:"employee-dto-func-returned-employee-dto-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:Qg},LG={like:!1,inferred:!1,id:"employee-dto-func-returned-employee-dto-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:VG},GG={type:n.GenericReference,id:"employee-dto-func-returned-employee-dto-parent-ref-id",entityType:n.ReturnStatement,entityId:Xg},$G={type:n.GenericReference,id:"employee-dto-func-returned-employee-dto-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:br},av={isError:!1,id:Qg,type:n.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:LG,implements:null,readsValue:$G,required:!0,index:0,parent:GG},FG={type:n.GenericReference,id:"employee-dto-func-return-statement-called-by-ref-id",entityType:n.Operation,entityId:br},UG={type:n.GenericReference,id:"employee-dto-func-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tr},Fc={type:n.ReturnStatement,id:Xg,version:1,outputs:[av],calledByError:[],calledByEntry:[],calledBySuccess:[FG],throws:null,x:0,y:0,parent:UG},xG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-manager-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:iv},jG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-manager-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:br},sv={id:MG,type:n.InputMap,version:1,declaration:null,name:"manager_id",description:null,defaultValue:null,index:4,readsValue:xG,parent:jG},kG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-department-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:nv},qG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-department-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:br},ov={id:NG,type:n.InputMap,version:1,declaration:null,name:"department_name",description:null,defaultValue:null,index:3,readsValue:kG,parent:qG},JG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-birth-date-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:tv},WG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-birth-date-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:br},lv={id:_G,type:n.InputMap,version:1,declaration:null,name:"birth_date",description:null,defaultValue:null,index:2,readsValue:JG,parent:WG},HG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-id-output-map-reads-value-ref-id",entityType:n.OutputMap,entityId:ev},YG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:br},cv={id:wG,type:n.InputMap,version:1,declaration:null,name:"id",description:"The ID of the employee",defaultValue:null,index:1,readsValue:HG,parent:YG},zG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tr},ZG={type:n.GenericReference,id:"employee-dto-func-employee-dto-variable-called-by-ref-id",entityType:n.VariableDeclaration,entityId:eo},KG={id:br,type:n.VariableDeclaration,version:1,name:"Employee DTO",dataType:null,description:"A variable holding the data of a mapped employee DTO",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[ZG],successCalls:[Fc],errorCalls:[],readsValue:null,writesValues:[av],inputs:[cv,lv,ov,sv],outputs:[],internalCalls:[],parent:zG,x:0,y:0},XG={type:n.GenericReference,id:"employee-dto-func-manager-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:eo},QG={id:iv,type:n.OutputMap,version:1,defaultValue:null,declaration:_t.properties[0],index:0,writesValues:[sv],parent:XG},e$={type:n.GenericReference,id:"employee-dto-func-manager-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:eo},t$={like:!1,inferred:!1,id:"employee-dto-func-manager-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ft,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:e$},n$={type:n.GenericReference,id:"employee-dto-func-manager-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:rv},r$={type:n.GenericReference,id:"employee-dto-func-manager-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tr};n.GenericReference,n.VariableDeclaration;const dv={id:eo,type:n.VariableDeclaration,version:1,name:"Manager",description:"A variable holding an inherited manager",defaultValue:null,dataType:t$,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[KG],errorCalls:[],readsValue:n$,writesValues:[],inputs:[],outputs:[QG],internalCalls:[],parent:r$,x:0,y:0},i$={type:n.GenericReference,id:"employee-dto-func-employee-variable-manager-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},a$={id:rv,type:n.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[2],index:3,writesValues:[dv],parent:i$},s$={type:n.GenericReference,id:"employee-dto-func-employee-variable-department-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},o$={id:nv,type:n.OutputMap,version:1,defaultValue:null,declaration:Ft.properties[0],index:2,writesValues:[ov],parent:s$},l$={type:n.GenericReference,id:"employee-dto-func-employee-variable-birth-date-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},c$={id:tv,type:n.OutputMap,version:1,defaultValue:null,declaration:ht.properties[1],index:1,writesValues:[lv],parent:l$},d$={type:n.GenericReference,id:"employee-dto-func-employee-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},u$={id:ev,type:n.OutputMap,version:1,defaultValue:null,declaration:_t.properties[0],index:0,writesValues:[cv],parent:d$},p$={type:n.GenericReference,id:"employee-dto-func-employee-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:Er},y$={like:!1,inferred:!1,id:"employee-dto-func-employee-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ft,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:p$},f$={type:n.GenericReference,id:"employee-dto-func-employee-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tr},h$={type:n.GenericReference,id:"employee-dto-func-employee-variable-reads-value-ref-id",entityType:n.ArgumentDeclaration,entityId:$c},m$={type:n.GenericReference,id:"employee-dto-func-employee-variable-called-by-id",entityType:n.FunctionDeclaration,entityId:Tr},uv={id:Er,type:n.VariableDeclaration,version:1,name:"Company employee",dataType:y$,description:"A variable holding a company employee",calledByError:[],defaultValue:null,calledByEntry:[m$],calledBySuccess:[],successCalls:[dv],errorCalls:[],readsValue:h$,writesValues:[],inputs:[],outputs:[u$,c$,o$,a$],internalCalls:[],parent:f$,x:0,y:0},T$={type:n.GenericReference,id:"employee-dto-func-declaration-employee-input-declaration-data-type-parent-ref-id",entityId:$c,entityType:n.ArgumentDeclaration},E$={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"employee-dto-func-declaration-employee-input-declaration-data-type-id",version:1,entity:Ft,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:T$},b$={type:n.GenericReference,id:"employee-dto-func-declaration-employee-input-declaration-parent-ref-id",entityId:Tr,entityType:n.FunctionDeclaration},R$={type:n.ArgumentDeclaration,id:$c,version:1,name:"Employee",description:"The employee to create a DTO for",required:!0,implements:null,defaultValue:null,dataType:E$,index:0,writesValues:[uv],parent:b$},g$={type:n.GenericReference,id:"employee-dto-function-declaration-parent-ref-id",entityType:n.Project,entityId:W},Uc={type:n.FunctionDeclaration,id:Tr,version:1,name:"Employee DTO",description:"Takes a employee and returns a DTO of that employee",index:null,inputs:[R$],calls:[uv],implements:null,returnStatements:[Fc],collapsed:!1,private:!1,x:0,y:0,parent:g$},v$={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-data-type-parent-ref-id",type:n.GenericReference,entityId:Vg,entityType:n.ReturnDeclaration},I$={like:!1,inferred:!1,id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:v$},D$={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-reads-value-ref-id",type:n.GenericReference,entityId:ba,entityType:n.OutputMap},P$={id:"iterate-over-employee-list-continue-statement-employee-dto-output-decl-parent-ref-id",type:n.GenericReference,entityId:Lg,entityType:n.ContinueStatement},pv={isError:!1,id:Vg,type:n.ReturnDeclaration,version:1,name:"Employee DTO",description:"The DTO of the employee entity.",defaultValue:null,readsValue:D$,dataType:I$,implements:null,required:!0,index:0,parent:P$},A$={id:"iterate-over-employee-list-continue-statement-called-by-ref-id",type:n.GenericReference,entityId:ba,entityType:n.FunctionCall},O$={id:"iterate-over-employee-list-continue-statement-parent-ref-id",type:n.GenericReference,entityId:fi,entityType:n.Loop},yv={id:Lg,type:n.ContinueStatement,version:1,calledByError:[],calledByEntry:[],calledBySuccess:[A$],outputs:[pv],throws:null,x:0,y:0,parent:O$},S$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-dto-output-map-parent-ref-id",type:n.GenericReference,entityId:ba,entityType:n.FunctionCall},C$={id:aG,type:n.OutputMap,version:1,defaultValue:null,declaration:Fc.outputs[0],writesValues:[pv],index:0,parent:S$},B$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-reads-value-ref-id",type:n.GenericReference,entityId:Vc,entityType:n.ArgumentDeclaration},w$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-parent-ref-id",type:n.GenericReference,entityId:ba,entityType:n.FunctionCall},fv={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-employee-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:Uc.inputs[0],readsValue:B$,index:0,defaultValue:null,parent:w$},_$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-called-by-ref-id",type:n.GenericReference,entityId:Ks,entityType:n.FunctionDeclaration},N$={id:"iterate-over-employee-list-loop-body-map-employee-dto-function-call-parent-ref-id",type:n.GenericReference,entityId:Ks,entityType:n.FunctionDeclaration},M$={id:ba,type:n.FunctionCall,version:1,declaration:Uc,inputs:[fv],process:null,outputs:[C$],calledByError:[],calledByEntry:[_$],calledBySuccess:[],successCalls:[yv],errorCalls:[],error:null,x:0,y:0,parent:N$},V$={type:n.GenericReference,id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-data-type-parent-ref-id",entityId:Vc,entityType:n.ArgumentDeclaration},L$={like:!1,inferred:!1,id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ft,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:V$},G$={id:"iterate-over-employee-list-loop-body-current-employee-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:Ks,entityType:n.FunctionDeclaration},$$={id:Vc,type:n.ArgumentDeclaration,version:1,name:"Current employee",description:"The current employee entity being processed.",defaultValue:null,dataType:L$,required:!0,implements:cs,index:0,writesValues:[fv],parent:G$},F$={id:"iterate-over-employee-list-loop-body-parent-ref-id",type:n.GenericReference,entityId:fi,entityType:n.Loop},U$={id:Ks,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[$$],calls:[M$],implements:ds,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:F$},x$={id:"iterate-over-employee-list-loop-iteration-list-input-map-parent-ref-id",type:n.GenericReference,entityId:fi,entityType:n.Loop},j$={id:"iterate-over-employee-list-loop-iteration-list-input-map-reads-value-ref-id",type:n.GenericReference,entityId:Ug,entityType:n.OutputMap},hv={id:"iterate-over-employee-list-loop-iteration-list-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:or.inputs[0],defaultValue:null,readsValue:j$,index:0,parent:x$},k$={id:"iterate-over-employee-list-loop-parent-ref-id",type:n.GenericReference,entityId:vn,entityType:n.FunctionDeclaration},q$={id:"iterate-over-employee-list-loop-employee-dto-output-map-parent-ref-id",type:n.GenericReference,entityId:fi,entityType:n.Loop},J$={id:Mg,type:n.OutputMap,version:1,defaultValue:null,declaration:or.outputs[0],writesValues:[Zg],index:0,parent:q$},W$={type:n.GenericReference,id:"iterate-over-employee-list-loop-called-by-ref-id",entityType:n.VariableDeclaration,entityId:ln},H$={id:fi,type:n.Loop,version:1,declaration:or,inputs:[hv],successCalls:[Gc],errorCalls:[],outputsDeclarations:[],outputs:[J$],body:U$,process:null,calledByError:[],calledByEntry:[],calledBySuccess:[W$],breakStatements:[],continueStatements:[yv],error:null,x:0,y:0,parent:k$},Y$={type:n.GenericReference,id:"company-dto-func-bank-account-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Qs},z$={id:Jg,type:n.OutputMap,version:1,defaultValue:null,declaration:_t.properties[0],index:0,writesValues:[Yg],parent:Y$},Z$={type:n.GenericReference,id:"company-dto-func-bank-account-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:Qs},K$={like:!1,inferred:!1,id:"company-dto-func-bank-account-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:Z$},X$={type:n.GenericReference,id:"company-dto-func-bank-account-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:qg},Q$={type:n.GenericReference,id:"company-dto-func-bank-account-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn};n.GenericReference,n.VariableDeclaration;const mv={id:Qs,type:n.VariableDeclaration,version:1,name:"Bank account",description:"A variable holding an inherited bank account",defaultValue:null,dataType:K$,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[Gc],errorCalls:[],readsValue:X$,writesValues:[],inputs:[],outputs:[z$],internalCalls:[],parent:Q$,x:0,y:0},eF={type:n.GenericReference,id:"company-dto-func-owner-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Xs},tF={id:kg,type:n.OutputMap,version:1,declaration:_t.properties[0],index:0,defaultValue:null,writesValues:[Hg],parent:eF},nF={type:n.GenericReference,id:"company-dto-func-owner-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:Xs},rF={like:!1,inferred:!1,id:"company-dto-func-owner-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:nF},iF={type:n.GenericReference,id:"company-dto-func-owner-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:jg},aF={type:n.GenericReference,id:"company-dto-func-owner-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn};n.GenericReference,n.VariableDeclaration;const Tv={id:Xs,type:n.VariableDeclaration,version:1,name:"Owner",dataType:rF,description:"A variable holding an inherited owner",defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[Gc],errorCalls:[],readsValue:iF,writesValues:[],inputs:[],outputs:[tF],internalCalls:[],parent:aF,x:0,y:0},sF={type:n.GenericReference,id:"company-dto-func-company-variable-owner-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},oF={id:jg,type:n.OutputMap,version:1,defaultValue:null,declaration:Ut.properties[2],index:4,writesValues:[Tv],parent:sF},lF={type:n.GenericReference,id:"company-dto-func-company-variable-bank-account-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},cF={id:qg,type:n.OutputMap,version:1,defaultValue:null,declaration:Ut.properties[2],index:3,writesValues:[mv],parent:lF},dF={type:n.GenericReference,id:"company-dto-func-company-variable-name-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},uF={id:xg,type:n.OutputMap,version:1,defaultValue:null,declaration:Ut.properties[0],index:2,writesValues:[zg],parent:dF},pF={type:n.GenericReference,id:"company-dto-func-company-variable-employess-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},yF={id:Ug,type:n.OutputMap,version:1,defaultValue:null,declaration:Ut.properties[3],index:1,writesValues:[hv],parent:pF},fF={type:n.GenericReference,id:"company-dto-func-company-variable-id-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},hF={id:Fg,type:n.OutputMap,version:1,defaultValue:null,declaration:_t.properties[0],index:0,writesValues:[Kg],parent:fF},mF={type:n.GenericReference,id:"company-dto-func-company-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:ln},TF={like:!1,inferred:!1,id:"company-dto-func-company-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,asType:!1,isList:!1,isNullable:!0,constant:!1,parent:mF},EF={type:n.GenericReference,id:"company-dto-func-company-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:vn},bF={type:n.GenericReference,id:"company-dto-func-company-variable-reads-value-ref-id",entityType:n.ArgumentDeclaration,entityId:Mc},RF={type:n.GenericReference,id:"company-dto-func-company-variable-called-by-id",entityType:n.FunctionDeclaration,entityId:vn},Ev={id:ln,type:n.VariableDeclaration,version:1,name:"Company",dataType:TF,description:"A variable holding a company",defaultValue:null,calledByError:[],calledByEntry:[RF],calledBySuccess:[],successCalls:[mv,Tv,H$],errorCalls:[],readsValue:bF,writesValues:[],inputs:[],outputs:[hF,yF,uF,cF,oF],internalCalls:[],parent:EF,x:0,y:0},gF={type:n.GenericReference,id:"company-dto-func-declaration-company-input-declaration-data-type-parent-ref-id",entityId:Mc,entityType:n.ArgumentDeclaration},vF={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"company-dto-func-declaration-company-input-declaration-data-type-id",version:1,entity:Ut,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:gF},IF={type:n.GenericReference,id:"company-dto-func-declaration-company-input-declaration-parent-ref-id",entityId:vn,entityType:n.FunctionDeclaration},DF={type:n.ArgumentDeclaration,id:Mc,version:1,name:"Company",description:"The company to create a DTO for",defaultValue:null,required:!0,implements:null,dataType:vF,index:0,writesValues:[Ev],parent:IF},PF={type:n.GenericReference,id:"company-dto-function-declaration-parent-ref-id",entityType:n.Project,entityId:W},xc={type:n.FunctionDeclaration,id:vn,version:1,name:"Company DTO",description:"Takes a company and returns a DTO of that company",inputs:[DF],calls:[Ev],implements:null,index:null,returnStatements:[Lc],collapsed:!1,private:!1,x:0,y:0,parent:PF},Ra="exec-in-parallel-operation-call-id",ga="exec-sequentially-operation-call-id",mt="concurrency-and-wait-function-declaration-id",bv="concurrency-and-wait-return-statement-id",Rv="concurrency-and-wait-return-declaration-id",jc="exec-in-parallel-argument-map-id",gv="exec-sequentially-argument-map-id",kc="wait-for-2-seconds-operation-id",vv="wait-for-2-seconds-argument-map-id",qc="map-company-dto-function-call-id",Iv="map-company-dto-function-call-company-dto-output-map-id",va="company-dto-variable-one-id",Jc="company-dto-variable-one-instance-id",AF="company-dto-variable-two-id",OF={type:n.GenericReference,id:"returned-company-dto-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:Rv},SF={like:!1,inferred:!1,id:"returned-company-dto-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:OF},CF={type:n.GenericReference,id:"returned-company-dto-parent-ref-id",entityType:n.ReturnStatement,entityId:bv},BF={type:n.GenericReference,id:"returned-company-dto-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:va},Dv={isError:!1,id:Rv,type:n.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:SF,implements:null,readsValue:BF,required:!0,index:0,parent:CF},wF={type:n.GenericReference,id:"concurrency-and-wait-return-statement-called-by-ref-id",entityType:n.Operation,entityId:kc},_F={type:n.GenericReference,id:"concurrency-and-wait-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},Pv={type:n.ReturnStatement,id:bv,version:1,outputs:[Dv],calledByError:[],calledByEntry:[],calledBySuccess:[wF],throws:null,x:0,y:0,parent:_F},NF={type:n.GenericReference,id:"company-dto-variable-two-called-by-ref-id",entityType:n.VariableInstance,entityId:Jc},MF={type:n.GenericReference,id:"company-dto-variable-two-reads-value-ref-id",entityType:n.VariableInstance,entityId:Jc},VF={type:n.GenericReference,id:"company-dto-variable-two-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},Av={id:AF,type:n.VariableDeclaration,version:1,name:"Company DTO",description:null,defaultValue:null,dataType:null,inputs:[],outputs:[],successCalls:[],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[NF],internalCalls:[],writesValues:[Dv],readsValue:MF,x:0,y:0,parent:VF},LF={type:n.GenericReference,id:"company-dto-variable-one-instance-called-by-ref-id",entityType:n.VariableDeclaration,entityId:va},GF={type:n.GenericReference,id:"company-dto-variable-one-instance-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:va},$F={type:n.GenericReference,id:"company-dto-variable-one-instance-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},FF={type:n.GenericReference,id:"company-dto-variable-one-instance-declaration-ref-id",entityType:n.VariableDeclaration,entityId:va},Ov={id:Jc,type:n.VariableInstance,version:1,declaration:FF,inputs:[],outputs:[],successCalls:[Av],errorCalls:[],defaultValue:null,calledByError:[],calledByEntry:[],calledBySuccess:[LF],internalCalls:[],writesValues:[Av],readsValue:GF,x:0,y:0,parent:$F},UF={type:n.GenericReference,id:"company-dto-variable-one-called-by-ref-id",entityType:n.FunctionCall,entityId:qc},xF={type:n.GenericReference,id:"company-dto-variable-one-reads-value-ref-id",entityType:n.OutputMap,entityId:Iv},jF={type:n.GenericReference,id:"company-dto-variable-one-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},Sv={id:va,type:n.VariableDeclaration,version:1,name:"Company DTO",description:null,defaultValue:null,dataType:null,inputs:[],outputs:[],successCalls:[Ov],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[UF],internalCalls:[],writesValues:[Ov],readsValue:xF,x:0,y:0,parent:jF},Cv={type:n.GenericReference,id:"map-company-dto-function-call-company-input-map-parent-ref-id",entityType:n.FunctionCall,entityId:qc},kF={id:"map-company-dto-function-call-company-input-map-id",type:n.InputMap,version:1,declaration:xc.inputs[0],name:null,description:null,defaultValue:null,index:0,readsValue:null,parent:Cv},qF={id:Iv,type:n.OutputMap,version:1,defaultValue:null,declaration:Lc.outputs[0],writesValues:[Sv],index:0,parent:Cv},JF={id:"map-company-dto-function-call-called-by-ref-id",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:mt},WF={id:"map-company-dto-function-call-parent-ref-id",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:mt},HF={id:qc,type:n.FunctionCall,version:1,declaration:xc,successCalls:[Sv],process:null,errorCalls:[],inputs:[kF],outputs:[qF],calledByError:[],calledByEntry:[JF],calledBySuccess:[],parent:WF,x:0,y:0,error:null},YF={type:n.GenericReference,id:"last-timestamp-variable-datatype-parent-ref-id",entityType:n.VariableDeclaration,entityId:Ec},zF={type:n.GenericReference,id:"last-timestamp-variable-default-value-parent-ref-id",entityType:n.VariableDeclaration,entityId:Ec},ZF={like:!1,inferred:!1,id:"last-timestamp-variable-datatype-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,entity:mn,version:1,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:YF},KF={type:n.GenericReference,id:"last-timestamp-variable-main-project-ref-id",entityType:n.Project,entityId:W},Wc={id:Ec,type:n.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:n.LiteralValue,version:1,name:I.Date,value:null,autogeneration:{type:je.CurrentDateAndTime,rangeStart:null,rangeEnd:null},valueAsType:null,parent:zF},dataType:ZF,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],x:0,y:0,readsValue:null,writesValues:[],internalCalls:[],parent:KF},XF={type:n.GenericReference,id:"wait-for-2-seconds-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:vv},QF={type:n.GenericReference,id:"wait-for-2-seconds-argument-map-parent-ref-id",entityType:n.Operation,entityId:kc},eU={id:vv,type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"wait-for-2-seconds-argument-default-value-id",type:n.LiteralValue,version:1,value:2e3,valueAsType:null,autogeneration:null,name:I.Number,parent:XF},index:0,parent:QF},tU={type:n.GenericReference,id:"wait-for-2-seconds-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},nU={type:n.GenericReference,id:"wait-for-2-seconds-called-by-ref-one-id",entityType:n.FunctionDeclaration,entityId:ga},rU={type:n.GenericReference,id:"wait-for-2-seconds-called-by-ref-two-id",entityType:n.FunctionDeclaration,entityId:Ra},Bv={id:kc,type:n.Operation,version:1,declaration:Wt,inputs:[eU],outputs:[],process:null,successCalls:[Pv],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[nU,rU],calledBySuccess:[],error:null,parent:tU},iU={type:n.GenericReference,id:"wait-for-random-amount-argument-default-value-parent-ref-id",entityType:n.InputMap,entityId:"wait-for-random-amount-input-map-id"},aU={type:n.GenericReference,id:"wait-for-random-amount-argument-map-parent-ref-id",entityType:n.Operation,entityId:"wait-for-random-amount-id"},sU={id:"wait-for-random-amount-input-map-id",type:n.InputMap,version:1,declaration:ir,name:null,description:null,readsValue:null,defaultValue:{id:"wait-for-random-amount-argument-default-value-id",type:n.LiteralValue,version:1,value:null,valueAsType:null,autogeneration:{type:je.Random,rangeStart:1e3,rangeEnd:4e3},name:I.Number,parent:iU},index:0,parent:aU},oU={type:n.GenericReference,id:"wait-for-random-amount-parent-ref-id",entityType:n.Project,entityId:W},hi={id:"wait-for-random-amount-id",type:n.Operation,version:1,declaration:Wt,inputs:[sU],process:null,outputs:[],successCalls:[],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[],calledBySuccess:[],error:null,parent:oU},Hc="list-of-functions-variable-id",lU={type:n.GenericReference,id:"list-of-functions-variable-action-descriptor-dynamic-argument-parent-ref-id",entityType:n.ActionDescriptor,entityId:"list-of-functions-variable-action-descriptor-id"},cU={id:"list-of-functions-variable-action-descriptor-dynamic-argument-id",type:n.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:lU},dU={type:n.GenericReference,id:"list-of-functions-variable-action-descriptor-dynamic-return-parent-ref-id",entityType:n.ActionDescriptor,entityId:"list-of-functions-variable-action-descriptor-id"},uU={id:"list-of-functions-variable-action-descriptor-dynamic-return-id",type:n.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:dU},pU={type:n.GenericReference,id:"list-of-functions-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:Hc},yU={id:"list-of-functions-variable-action-descriptor-id",type:n.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:[cU],error:null,outputs:[uU],parent:null},fU={type:n.GenericReference,id:"list-of-functions-variable-data-type-default-parent-ref-id",entityType:n.VariableDeclaration,entityId:Hc},hU={like:!1,inferred:!1,id:"list-of-functions-variable-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:yU,asType:!1,isList:!0,isNullable:!1,constant:!1,parent:pU},mU={type:n.GenericReference,id:"list-of-functions-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt};n.GenericReference,n.InputMap;const TU={type:n.GenericReference,id:"list-of-functions-variable-writes-value-one-ref-id",entityType:n.InputMap,entityId:gv},EU={type:n.GenericReference,id:"list-of-functions-variable-writes-value-two-ref-id",entityType:n.InputMap,entityId:jc},wv={id:Hc,type:n.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:n.LiteralValue,version:1,name:I.ActionDescriptor,value:null,valueAsType:[hi,hi,hi,hi,hi],autogeneration:null,parent:fU},dataType:hU,parent:mU,readsValue:null,writesValues:[TU,EU],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],inputs:[],outputs:[],internalCalls:[],x:0,y:0},bU={type:n.GenericReference,id:"exec-in-parallel-return-map-parent-ref-id",entityType:n.Operation,entityId:Ra},RU={type:n.GenericReference,id:"exec-in-parallel-result-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},gU={type:n.GenericReference,id:"exec-in-parallel-result-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:"exec-in-parallel-return-map-id"},vU={type:n.GenericReference,id:"exec-in-parallel-result-variable-called-by-ref-id",entityType:n.Operation,entityId:Ra},_v={id:"exec-in-parallel-result-variable-id",type:n.VariableInstance,version:1,declaration:Wc,readsValue:gU,writesValues:[],defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[vU],successCalls:[],errorCalls:[],internalCalls:[],parent:RU,x:0,y:0},IU={id:"exec-in-parallel-return-map-id",type:n.OutputMap,version:1,defaultValue:null,declaration:Rl,writesValues:[_v],index:0,parent:bU},DU={type:n.GenericReference,id:"exec-in-parallel-argument-map-parent-ref-id",entityType:n.Operation,entityId:Ra},PU={id:jc,type:n.InputMap,version:1,declaration:bl,name:null,description:null,readsValue:wv,defaultValue:null,index:0,parent:DU},AU={type:n.GenericReference,id:"exec-in-parallel-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},OU={type:n.GenericReference,id:"exec-in-parallel-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:mt},SU={process:null,id:Ra,type:n.Operation,version:1,declaration:Wt,inputs:[PU],outputs:[IU],successCalls:[Bv,_v],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[OU],calledBySuccess:[],error:null,parent:AU},CU={type:n.GenericReference,id:"exec-sequentially-return-map-parent-ref-id",entityType:n.Operation,entityId:ga},BU={type:n.GenericReference,id:"exec-sequentially-result-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},wU={type:n.GenericReference,id:"exec-sequentially-result-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:"exec-sequentially-return-map-id"},_U={type:n.GenericReference,id:"exec-sequentially-result-variable-called-by-ref-id",entityType:n.Operation,entityId:ga},Nv={id:"exec-sequentially-result-variable-id",type:n.VariableInstance,version:1,declaration:Wc,readsValue:wU,defaultValue:null,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[_U],successCalls:[],errorCalls:[],internalCalls:[],parent:BU,x:0,y:0},NU={id:"exec-sequentially-return-map-id",type:n.OutputMap,version:1,defaultValue:null,declaration:vl,writesValues:[Nv],index:0,parent:CU},MU={type:n.GenericReference,id:"exec-sequentially-argument-map-parent-ref-id",entityType:n.Operation,entityId:ga},VU={id:gv,type:n.InputMap,version:1,declaration:gl,name:null,description:null,readsValue:wv,defaultValue:null,index:0,parent:MU},LU={type:n.GenericReference,id:"exec-sequentially-parent-ref-id",entityType:n.FunctionDeclaration,entityId:mt},GU={type:n.GenericReference,id:"exec-sequentially-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:mt},$U={id:ga,type:n.Operation,version:1,declaration:En,inputs:[VU],process:null,outputs:[NU],successCalls:[Bv,Nv],errorCalls:[],x:0,y:0,calledByError:[],calledByEntry:[GU],calledBySuccess:[],error:null,parent:LU},FU={type:n.GenericReference,id:"concurrency-and-wait-parent-ref-id",entityType:n.Project,entityId:W},UU={type:n.FunctionDeclaration,id:mt,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:[$U,SU,HF],returnStatements:[Pv],implements:null,index:null,collapsed:!1,private:!1,x:0,y:0,parent:FU},xU={type:n.GenericReference,id:"3521f2c8-a5c0-419c-8808-4fc6a73d0b78",entityType:n.ReturnDeclaration,entityId:"e1ec31f0-25ca-42ac-a4c4-c9ec2255f55b"},jU={like:!1,inferred:!1,id:"ce8b9a30-afe9-4d4f-879f-1677efca2c47",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ut,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:xU},kU={type:n.GenericReference,id:"8ee66e38-b060-474e-a503-594063a8ec24",entityType:n.ReturnStatement,entityId:"40a23a98-d3b2-42b1-9652-b33779ad15aa"},qU={isError:!1,id:"e1ec31f0-25ca-42ac-a4c4-c9ec2255f55b",type:n.ReturnDeclaration,version:1,name:"Created company",description:"The new company that was created",defaultValue:null,implements:null,dataType:jU,readsValue:null,required:!0,index:0,parent:kU},JU={type:n.GenericReference,id:"9cb3c1e4-7250-4be6-be2a-69c2dd366d6f",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},WU={type:n.GenericReference,id:"c065fcdd-e054-4f95-941c-7eaa65c35d04",entityType:n.FunctionDeclaration,entityId:"d683bfc1-a464-4810-8ec0-1dd8eaa0c3c4"},Mv={type:n.ReturnStatement,id:"40a23a98-d3b2-42b1-9652-b33779ad15aa",version:1,outputs:[qU],calledByError:[],calledByEntry:[WU],calledBySuccess:[],throws:null,x:0,y:0,parent:JU},HU={type:n.GenericReference,id:"312ef836-9e40-4d57-b177-03b7145ed074",entityType:n.Project,entityId:W},YU={type:n.FunctionDeclaration,id:"5059c093-eda2-4efc-b7b4-aaaadd4d44de",version:1,name:"Create new company",description:null,inputs:[],calls:[Mv],index:null,implements:null,returnStatements:[Mv],collapsed:!1,private:!1,x:0,y:0,parent:HU},Yc="get-current-date-and-time-func-decl-id",Vv="get-current-date-and-time-return-statement-id",zc="get-current-date-and-time-return-declaration-id",zU="get-current-date-and-time-return-declaration-data-type-id",ZU={type:n.GenericReference,id:"get-current-date-and-time-return-declaration-data-type-value-parent-ref-id",entityType:n.ReturnDeclaration,entityId:zc},KU={type:n.GenericReference,id:"get-current-date-and-time-return-declaration-data-type-parent-ref-id",entityType:n.ReturnDeclaration,entityId:zc},XU={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:zU,version:1,entity:mn,asType:!1,isList:!1,isNullable:!1,like:!1,inferred:!1,constant:!1,parent:KU},QU={type:n.GenericReference,id:"get-current-date-and-time-return-declaration-parent-ref-id",entityType:n.ReturnStatement,entityId:Vv};n.ReturnDeclaration,n.LiteralValue,I.Date,je.CurrentDateAndTime;const e4={type:n.GenericReference,id:"get-current-date-and-time-return-statement-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:Yc},t4={type:n.GenericReference,id:"get-current-date-and-time-return-statement-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Yc};n.ReturnStatement;const n4={type:n.GenericReference,id:"concurrency-and-wait-parent-ref-id",entityType:n.Project,entityId:W},r4={type:n.FunctionDeclaration,id:Yc,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:n4},Lv="do-math-return-statement-id",Gv="do-math-return-declaration-id",i4={type:n.GenericReference,id:"do-math-func-var-to-return-one-ref-id",entityType:n.VariableDeclaration,entityId:"do-math-func-var-to-return-one-id"},a4={like:!1,inferred:!1,id:"do-math-func-var-to-return-one-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:i4},s4={type:n.GenericReference,id:"do-math-func-decl-ref-two-id",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},o4={type:n.GenericReference,id:"do-math-func-var-to-return-one-map-ref-id",entityType:n.ReturnDeclaration,entityId:Gv},l4={type:n.VariableDeclaration,id:"do-math-func-var-to-return-one-id",version:1,description:null,name:"Fixed result",defaultValue:null,dataType:a4,readsValue:null,writesValues:[o4],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:s4},c4={type:n.GenericReference,id:"96ec244e-594b-45f7-802b-6dc3056920f6",entityType:n.ReturnStatement,entityId:Lv},d4={type:n.GenericReference,id:"d120c0cc-9d13-4e45-90e2-4e1ee825ca46",entityType:n.ReturnDeclaration,entityId:"873a3556-4911-4141-b2a0-49c677b56fb4"},u4={like:!1,inferred:!1,id:"da91aa23-9985-49ac-a8bf-9d623ba1ba8f",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:d4},p4={isError:!1,id:Gv,version:1,type:n.ReturnDeclaration,name:"Result",description:null,implements:null,defaultValue:null,dataType:u4,readsValue:l4,required:!0,index:0,parent:c4},y4={type:n.GenericReference,id:"57fd93e4-93a1-484e-82eb-4dd15d2d0e24",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},f4={type:n.GenericReference,id:"0a86e8d5-ab21-476e-a482-b928cbf351e3",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},$v={type:n.ReturnStatement,id:Lv,version:1,outputs:[p4],calledByError:[],calledByEntry:[],calledBySuccess:[y4],parent:f4,throws:null,x:0,y:0},h4={type:n.GenericReference,id:"a2db26be-57f2-48e5-9769-cdbf0d95dc7c",entityType:n.VariableDeclaration,entityId:"d0e9f1f3-7e9f-4e1f-8d8e-7b4b3e6c6a6a"},m4={like:!1,inferred:!1,id:"c3e9d5f0-204f-45f9-85f7-e1b56b468388",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,asType:!1,isList:!1,isNullable:!1,constant:!1,parent:h4},T4={type:n.GenericReference,id:"692122c5-610a-4504-90dd-f5a5202d116c",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},E4={type:n.GenericReference,id:"do-math-func-return-one-called-by",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},b4={type:n.GenericReference,id:"6dceb501-be5b-4252-afb4-3c0d08abba33",entityType:n.OutputMap,entityId:"64752080-ee0f-4cfe-9897-a0668f2b2aca"},Fv={type:n.VariableDeclaration,id:"d0e9f1f3-7e9f-4e1f-8d8e-7b4b3e6c6a6a",version:1,name:"Result",dataType:m4,description:null,defaultValue:null,readsValue:b4,writesValues:[],inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[E4],successCalls:[],errorCalls:[],internalCalls:[],x:0,y:0,parent:T4},R4={type:n.GenericReference,id:"5440f523-af38-4981-8035-89d162fe8041",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},g4={type:n.GenericReference,id:"8c482c35-e674-4713-a1dd-63c3d13b611c",entityType:n.OutputMap,entityId:"64752080-ee0f-4cfe-9897-a0668f2b2aca"},v4={type:n.GenericReference,id:"c0a299cd-5869-4930-8cf0-90e3ceb8a903",entityType:n.VariableDeclaration,entityId:"46b2fe23-b417-4887-a35d-09b186679172"},I4={like:!1,inferred:!1,id:"51c0c1df-2ee3-41df-ae52-ac512d8cf795",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,asType:!1,isNullable:!1,constant:!1,parent:v4},D4={type:n.GenericReference,id:"do-math-func-return-two-called-by",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},Uv={type:n.VariableDeclaration,id:"46b2fe23-b417-4887-a35d-09b186679172",version:1,name:"Total",description:null,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[D4],successCalls:[],errorCalls:[],dataType:I4,readsValue:g4,writesValues:[],internalCalls:[],parent:R4,x:0,y:0},xv={type:n.GenericReference,id:"6e4d776e-6af2-4321-b630-c78110fd677c",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},P4={type:n.GenericReference,id:"5b60955b-2486-40b6-bb24-ffd97ccd8902",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},A4={type:n.GenericReference,id:"1a49923f-bc6f-453f-a438-e74e5475c2a9",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},O4={type:n.GenericReference,id:"02bfde0a-b757-4072-9613-6e9c7c9a424a",entityType:n.ArgumentDeclaration,entityId:"d8895765-f705-457e-85fa-25d130926769"},jv={id:"928953b0-0e3f-4d8c-ae5a-84620b4b8c68",version:1,type:n.InputMap,declaration:sl,name:null,description:null,readsValue:O4,defaultValue:null,index:0,parent:A4},S4={id:"64752080-ee0f-4cfe-9897-a0668f2b2aca",type:n.OutputMap,version:1,defaultValue:null,declaration:cl,writesValues:[Fv,Uv],index:0,parent:P4},C4={type:n.GenericReference,id:"d235a7f6-07ff-4f35-98d2-8f42dd59cf9f",entityType:n.Operation,entityId:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e"},B4={id:"8827e8e9-9381-4ad7-8f61-5419c23c9136",type:n.GenericReference,entityType:n.VariableDeclaration,entityId:"72a338d8-0183-4ca2-8760-227517854595"},kv={id:"a5525249-0eb5-472b-97bc-5e4cc0d75aee",version:1,type:n.InputMap,declaration:ol,name:null,description:null,readsValue:B4,defaultValue:null,index:1,parent:C4},w4={type:n.Operation,id:"e8c8c0a3-2e3e-4f6a-8e3d-8e0a0f9d7d8e",declaration:Xa,version:1,inputs:[jv,kv],outputs:[S4],calledByError:[],calledByEntry:[xv],calledBySuccess:[],process:null,successCalls:[$v,Fv,Uv],errorCalls:[],parent:xv,error:null,x:0,y:0},_4={type:n.GenericReference,id:"a2c40226-2270-4963-a865-c777ba79c551",entityType:n.VariableDeclaration,entityId:"72a338d8-0183-4ca2-8760-227517854595"},N4={id:"f47731b3-f278-4ab5-aeb2-24519c1119fb",type:n.GenericReference,entityId:"72a338d8-0183-4ca2-8760-227517854595",entityType:n.ArgumentDeclaration},qv={like:!1,inferred:!1,id:"a350a9e9-25ee-477f-a83d-9e98ed2451662",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:N4},M4={type:n.GenericReference,id:"5f5d8dd0-7f3b-40cd-9f84-83d976887eaf",entityType:n.ArgumentDeclaration,entityId:"649bf0a4-6532-44aa-9818-a03d1c6564e9"},V4={type:n.GenericReference,id:"ca018d0f-a8b3-4c7e-a408-c8b372d04aff",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},L4={type:n.GenericReference,id:"do-math-func-var-called-by-ref",entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},Jv={id:"72a338d8-0183-4ca2-8760-227517854595",type:n.VariableDeclaration,version:1,name:"Z",description:null,defaultValue:{id:"do-math-func-argument-two-default-value-id",type:n.LiteralValue,version:1,value:1,name:I.Number,valueAsType:null,autogeneration:null,parent:_4},dataType:qv,inputs:[],outputs:[],calledByError:[],calledByEntry:[L4],calledBySuccess:[],successCalls:[],errorCalls:[],readsValue:M4,writesValues:[kv],internalCalls:[],x:0,y:0,parent:V4},G4={entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b",type:n.GenericReference,id:"af0cf105-4075-425f-aecc-b25d3600fcc4"},$4={id:"649bf0a4-6532-44aa-9818-a03d1c6564e9",type:n.ArgumentDeclaration,version:1,name:"Z",description:"The number to add",defaultValue:null,dataType:qv,implements:null,writesValues:[Jv],required:!0,index:1,parent:G4},F4={type:n.GenericReference,id:"56953b5d-3e43-4dea-a62c-f3e868ba81bb",entityType:n.Project,entityId:W},U4={id:"868defc8-5c95-48ed-942d-257e8b9b9b00",type:n.GenericReference,entityType:n.FunctionDeclaration,entityId:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b"},x4={type:n.GenericReference,id:"35167664-a793-49f1-9eaf-fb57eac30897",entityType:n.VariableDeclaration,entityId:"d8895765-f705-457e-85fa-25d130926769"},j4={id:"d47ceef6-be6f-40f1-a7b3-c73c8d8a6c6a",type:n.GenericReference,entityId:"d8895765-f705-457e-85fa-25d130926769",entityType:n.ArgumentDeclaration},k4={like:!1,inferred:!1,id:"55b12914-91b1-48b7-9a3e-9c5d0d2a2ec2",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:j4},q4={id:"d8895765-f705-457e-85fa-25d130926769",type:n.ArgumentDeclaration,version:1,name:"N",dataType:k4,description:"The number to add",implements:null,defaultValue:{id:"do-math-func-argument-one-default-value-id",type:n.LiteralValue,version:1,value:5,name:I.Number,valueAsType:null,autogeneration:null,parent:x4},writesValues:[jv],required:!0,index:0,parent:U4},J4={type:n.FunctionDeclaration,id:"b4c1d8d2-9c5e-4e0c-bd5e-3a6a0e4d2f0b",version:1,name:"Do math",description:"This function does math",inputs:[q4,$4],calls:[w4,Jv],implements:null,index:null,collapsed:!1,returnStatements:[$v],private:!1,x:0,y:0,parent:F4},Tt="replace-bank-account-in-company-func-declaration-id",Zc="company-entity-to-modify-arg-declaration-id",Kc="account-number-to-create-arg-decl-id",mi="company-main-variable-id",Ti="search-person-by-id-id",Wv="new-bank-account-owner-arg-decl-id",Hv="search-person-by-id-output-declaration-id",Xc="search-person-by-id-output-entity-map-id",Ia="person-not-empty-condition-id",to="create-new-bank-account-instance-operation-id",Yv="create-new-bank-account-instance-operation-output-entity-map-id",zv="company-bank-account-output-map-id",Qc="old-bank-account-var-declaration-id",Zv="old-bank-account-var-instance-id",Kv="company-variable-instance-id",ed="delete-bank-account-internal-call-id",Da="new-bank-account-data-variable-declaration-id",W4={type:n.GenericReference,id:"company-variable-instance-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},H4={type:n.GenericReference,id:"company-variable-instance-called-by-ref-id",entityType:n.InternalCall,entityId:ed},Y4={type:n.GenericReference,id:"company-variable-instance-declaration-ref-id",entityType:n.VariableDeclaration,entityId:mi},z4={type:n.GenericReference,id:"bank-account-input-map-parent-ref-id",entityType:n.VariableInstance,entityId:Kv},Z4={type:n.GenericReference,id:"bank-account-input-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Yv},Xv={type:n.InputMap,id:"bank-account-input-map-id",version:1,readsValue:Z4,declaration:Pc,name:null,description:null,index:0,defaultValue:null,parent:z4},K4={type:n.VariableInstance,id:Kv,version:1,defaultValue:null,declaration:Y4,inputs:[Xv],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[H4],successCalls:[],errorCalls:[],internalCalls:[],parent:W4,readsValue:null,writesValues:[],x:0,y:0},X4={type:n.GenericReference,id:"bank-account-variable-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:mi},Q4={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"bank-account-variable-data-type-id",version:1,entity:pi,asType:!1,isList:!1,isNullable:!1,constant:!1,like:!1,inferred:!1,parent:X4},ex={type:n.GenericReference,id:"bank-account-variable-reads-value-ref-id",entityType:n.OutputMap,entityId:zv},tx={type:n.GenericReference,id:"bank-account-variable-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},nx={type:n.GenericReference,id:"bank-account-variable-called-by-ref-id",entityType:n.VariableDeclaration,entityId:mi},rx={type:n.GenericReference,id:"delete-bank-account-internal-call-called-by-ref-id",entityType:n.Operation,entityId:to};n.GenericReference,n.VariableInstance;const ix={type:n.GenericReference,id:"delete-bank-account-internal-call-called-by-ref-two-id",entityType:n.VariableDeclaration,entityId:Qc},ax={type:n.GenericReference,id:"old-bank-account-variable-trigger-delete-decl-ref-id",entityType:n.VariableDeclaration,entityId:Qc},sx={type:n.GenericReference,id:"bank-account-variable-parent-ref-two-id",entityType:n.FunctionDeclaration,entityId:Tt},ox={type:n.GenericReference,id:"old-bank-account-variable-trigger-delete-internal-call-ref-id",entityType:n.InternalCall,entityId:ed},lx={type:n.VariableInstance,id:Zv,version:1,defaultValue:null,declaration:ax,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[],successCalls:[],internalCalls:[ox],errorCalls:[],parent:sx,readsValue:null,writesValues:[],x:0,y:0},Qv={process:null,type:n.InternalCall,id:ed,version:1,declaration:Yl,index:0,successCalls:[K4],errorCalls:[],inputs:[],outputs:[],error:null,calledByError:[],calledByEntry:[],calledBySuccess:[rx,ix],parent:lx},eI={type:n.VariableDeclaration,id:Qc,version:1,name:"Old bank account",description:"The existing bank account that needs to be replaced in the company entity",dataType:Q4,defaultValue:null,inputs:[],outputs:[],calledByError:[],calledByEntry:[],calledBySuccess:[nx],successCalls:[Qv],internalCalls:[],errorCalls:[],parent:tx,readsValue:ex,writesValues:[],x:0,y:0},cx={type:n.GenericReference,id:"company-variable-declaration-data-type-parent-ref-id",entityType:n.VariableDeclaration,entityId:mi},dx={type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,id:"company-variable-declaration-data-type-id",version:1,entity:Ut,asType:!1,isList:!1,isNullable:!1,like:!1,inferred:!1,constant:!1,parent:cx},ux={type:n.GenericReference,id:"company-variable-declaration-reads-value-ref-id",entityType:n.ArgumentDeclaration,entityId:Zc},px={type:n.GenericReference,id:"company-variable-declaration-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},yx={type:n.GenericReference,id:"company-variable-declaration-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},fx={type:n.GenericReference,id:"company-bank-account-output-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:mi},hx={id:zv,version:1,type:n.OutputMap,defaultValue:null,declaration:Pc,index:0,parent:fx,writesValues:[eI]},tI={type:n.VariableDeclaration,id:mi,version:1,name:"Company",description:"The company entity that was passed as an argument to the parent function",defaultValue:null,dataType:dx,inputs:[],outputs:[hx],calledByError:[],calledByEntry:[yx],calledBySuccess:[],successCalls:[eI],errorCalls:[],parent:px,internalCalls:[],readsValue:ux,writesValues:[],x:0,y:0},mx={type:n.GenericReference,id:"create-new-bank-account-account-owner-dynamic-input-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Da},Tx={id:"create-new-bank-account-account-owner-dynamic-input-map-reads-value-ref-id",type:n.GenericReference,entityType:n.OutputMap,entityId:Xc},nI={id:"create-new-bank-account-account-owner-dynamic-input-map-id",version:1,type:n.InputMap,declaration:null,name:"Account owner",description:null,readsValue:Tx,index:1,defaultValue:null,parent:mx},Ex={id:"create-new-bank-account-account-number-dynamic-input-map-reads-value-ref-id",type:n.GenericReference,entityType:n.ArgumentDeclaration,entityId:Kc},bx={type:n.GenericReference,id:"create-new-bank-account-account-number-dynamic-input-map-parent-ref-id",entityType:n.VariableDeclaration,entityId:Da},rI={id:"create-new-bank-account-account-number-dynamic-input-map-id",version:1,type:n.InputMap,declaration:null,name:"Account number",description:null,readsValue:Ex,defaultValue:null,index:0,parent:bx},iI={type:n.GenericReference,id:"create-new-bank-account-instance-operation-entity-to-create-input-map-parent-ref-id",entityType:n.Operation,entityId:to},Rx={id:"create-new-bank-account-instance-operation-entity-to-create-input-map-id",version:1,type:n.InputMap,declaration:ar.inputs[0],name:null,description:null,index:0,readsValue:null,defaultValue:{type:n.LiteralValue,name:I.EntityTemplate,value:null,valueAsType:pi,autogeneration:null},parent:iI},gx={type:n.GenericReference,id:"create-new-bank-account-instance-operation-entity-data-input-map-reads-value-ref-id",entityType:n.VariableDeclaration,entityId:Da},aI={id:"create-new-bank-account-instance-operation-entity-data-input-map-id",version:1,type:n.InputMap,declaration:ar.inputs[1],name:null,description:null,index:1,readsValue:gx,defaultValue:null,parent:iI},vx={type:n.GenericReference,id:"create-new-bank-account-instance-operation-output-entity-map-parent-ref-id",entityType:n.Operation,entityId:to},Ix={id:Yv,version:1,type:n.OutputMap,defaultValue:null,declaration:ar.outputs[0],index:0,writesValues:[Xv],parent:vx},Dx={type:n.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:n.Condition,entityId:Ia},Px={type:n.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:n.VariableDeclaration,entityId:Da},Ax={type:n.GenericReference,id:"create-new-bank-account-instance-operation-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},sI={process:null,id:to,type:n.Operation,version:1,declaration:ar,inputs:[Rx,aI],error:null,outputs:[Ix],successCalls:[Qv],errorCalls:[],calledByError:[],calledByEntry:[],calledBySuccess:[Px,Dx],parent:Ax,x:0,y:0},Ox={type:n.GenericReference,id:"new-bank-account-data-variable-declaration-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},Sx={type:n.GenericReference,id:"create-new-bank-account-instance-operation-called-by-ref-id",entityType:n.Condition,entityId:Ia},Cx={id:Da,type:n.VariableDeclaration,version:1,defaultValue:null,inputs:[rI,nI],dataType:null,name:"New bank Account's data",description:null,readsValue:null,outputs:[],writesValues:[aI],successCalls:[sI],errorCalls:[],internalCalls:[],calledByError:[],calledBySuccess:[Sx],calledByEntry:[],x:0,y:0,parent:Ox},Bx={id:"person-not-found-thrown-error-datatype-default-value-parent-ref-id",type:n.GenericReference,entityId:"person-not-found-thrown-error-id",entityType:n.ReturnDeclaration},wx={id:"person-not-found-thrown-error-datatype-parent-ref-id",type:n.GenericReference,entityId:"person-not-found-thrown-error-id",entityType:n.ReturnDeclaration},_x={like:!1,inferred:!1,id:"person-not-found-thrown-error-datatype-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:wx},Nx={id:"person-not-found-thrown-error-parent-ref-id",type:n.GenericReference,entityId:"person-not-found-error-return-statement-id",entityType:n.ReturnStatement},Mx={isError:!0,id:"person-not-found-thrown-error-id",type:n.ReturnDeclaration,version:1,dataType:_x,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:n.LiteralValue,version:1,value:"Person not found",name:I.String,parent:Bx,valueAsType:null,autogeneration:null},parent:Nx,implements:null,required:!0,index:0,readsValue:null},Vx={id:"person-not-found-error-return-statement-called-by-ref-id",type:n.GenericReference,entityId:Ia,entityType:n.Condition},Lx={id:"person-not-found-error-return-statement-parent-ref-id",type:n.GenericReference,entityId:Tt,entityType:n.FunctionDeclaration},Gx={id:"person-not-found-error-return-statement-id",type:n.ReturnStatement,version:1,throws:Mx,outputs:[],calledBySuccess:[],calledByError:[Vx],calledByEntry:[],x:0,y:0,parent:Lx},$x={type:n.GenericReference,id:"person-not-empty-condition-called-by-ref-id",entityType:n.Search,entityId:Ti},Fx={type:n.GenericReference,id:"person-not-empty-condition-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},Ux={type:n.GenericReference,id:"person-entity-to-check-map-reads-value-ref-id",entityType:n.OutputMap,entityId:Xc},xx={type:n.GenericReference,id:"person-not-empty-condition-ref-two-id",entityType:n.Condition,entityId:Ia},oI={id:"person-entity-to-check-map-id",version:1,type:n.InputMap,declaration:pr.inputs[0],name:null,description:null,readsValue:Ux,index:0,defaultValue:null,parent:xx},jx={type:n.Condition,id:Ia,version:1,declaration:pr,inputs:[oI],calledByError:[],calledByEntry:[],calledBySuccess:[$x],successCalls:[Cx,sI],errorCalls:[Gx],x:0,y:0,parent:Fx},kx={type:n.GenericReference,id:"search-person-by-id-output-entity-declaration-datatype-parent-ref-id",entityType:n.ValueDescriptor,entityId:Hv},qx={like:!1,inferred:!1,id:"search-person-by-id-output-entity-declaration-datatype-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,isList:!1,constant:!1,asType:!1,isNullable:!1,entity:ht,parent:kx},Jx={type:n.GenericReference,id:"search-person-by-id-output-entity-declaration-parent-ref-id",entityType:n.Search,entityId:Ti},lI={id:Hv,type:n.ValueDescriptor,version:1,defaultValue:null,dataType:qx,name:"Found person",description:"The person entity that was found",parent:Jx,required:!0,index:0},Wx={type:n.GenericReference,id:"search-person-by-id-output-entity-map-parent-ref-id",entityType:n.Search,entityId:Ti},Hx={type:n.OutputMap,id:Xc,version:1,defaultValue:null,declaration:lI,parent:Wx,writesValues:[oI,nI],index:0},Yx={id:"search-person-by-id-input-declaration-datatype-parent-ref-id",type:n.GenericReference,entityId:"search-person-by-id-input-declaration-id",entityType:n.ArgumentDeclaration};n.DataType;const zx={type:n.GenericReference,id:"search-person-by-id-input-declaration-parent-ref-id",entityType:n.Search,entityId:Ti},cI={id:"search-person-by-id-input-declaration-id",type:n.ValueDescriptor,version:1,dataType:null,defaultValue:null,name:"Person ID",description:"The unique identifier (ID) property of the person entity",parentRelationType:O.FixedArguments,index:0,required:!0,parent:zx},Zx={type:n.GenericReference,id:"search-person-by-id-input-map-parent-ref-id",entityType:n.Search,entityId:Ti},Kx={id:"search-person-by-id-input-map-reads-value-ref-id",type:n.GenericReference,entityId:Wv,entityType:n.ArgumentDeclaration},dI={type:n.InputMap,id:"search-person-by-id-input-map",version:1,declaration:cI,name:null,description:null,readsValue:Kx,defaultValue:null,parent:Zx,index:0},Xx="SELECT * FROM Person WHERE id = your_id;",Qx={type:n.GenericReference,id:"search-person-by-id-parent-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},ej={type:n.GenericReference,id:"search-person-by-id-called-by-ref-id",entityType:n.FunctionDeclaration,entityId:Tt},tj={type:n.Search,id:Ti,version:1,name:"Search person by ID",description:"Searches for a person entity given the UUID",query:Xx,inputsDeclarations:[cI],inputs:[dI],outputsDeclarations:[lI],outputs:[Hx],calledByError:[],calledByEntry:[ej],calledBySuccess:[],error:null,successCalls:[jx],errorCalls:[],parent:Qx,x:0,y:0};n.GenericReference,n.DataType;const nj={id:"account-number-to-create-arg-decl-data-type-parent-ref-id",type:n.GenericReference,entityId:Kc,entityType:n.ArgumentDeclaration},rj={like:!1,inferred:!1,id:"account-number-to-create-arg-decl-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:U,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:nj},ij={entityType:n.FunctionDeclaration,entityId:Tt,type:n.GenericReference,id:"account-number-to-create-arg-decl-parent-ref-id"},aj={id:Kc,type:n.ArgumentDeclaration,version:1,name:"Account number",description:"The account number of the new bank account entity",defaultValue:null,dataType:rj,implements:null,writesValues:[rI],required:!0,index:1,parent:ij};n.GenericReference,n.DataType;const sj={id:"new-bank-account-owner-arg-decl-data-type-parent-ref-id",type:n.GenericReference,entityId:"new-bank-account-owner-arg-decl-id",entityType:n.ArgumentDeclaration},oj={like:!1,inferred:!1,id:"new-bank-account-owner-arg-decl-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Ln,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:sj},lj={entityType:n.FunctionDeclaration,entityId:Tt,type:n.GenericReference,id:"new-bank-account-owner-arg-decl-parent-ref-id"},cj={id:Wv,type:n.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:oj,implements:null,writesValues:[dI],required:!1,index:1,parent:lj},dj={type:n.GenericReference,id:"replace-bank-account-in-company-parent-ref",entityType:n.Project,entityId:W},uj={type:n.GenericReference,id:"company-entity-to-modify-parent-ref",entityType:n.FunctionDeclaration,entityId:Tt};n.GenericReference,n.DataType;const pj={id:"d47ceef6-be6f-40f1-a7b3-c73c8d8a6c6a",type:n.GenericReference,entityId:Zc,entityType:n.ArgumentDeclaration},yj={like:!1,inferred:!1,id:"company-entity-to-modify-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:Z,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:pj},fj={id:Zc,type:n.ArgumentDeclaration,version:1,name:"Company",defaultValue:null,dataType:yj,implements:null,description:"The company to replace the bank account for",writesValues:[tI],required:!0,index:0,parent:uj},hj={type:n.FunctionDeclaration,id:Tt,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:[fj,aj,cj],index:null,implements:null,calls:[tj,tI],collapsed:!1,returnStatements:[],private:!1,x:0,y:0,parent:dj},mj={type:n.GenericReference,id:"e0a937bd-3a85-4037-a973-916985b9f94b",entityType:n.Project,entityId:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6"},Tj={type:n.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:mj,x:0,y:0},Ej={type:n.GenericReference,id:"948e6869-ae5b-4914-bea0-b9f02ad6a014",entityType:n.Project,entityId:"23b23d8b-1929-4505-a350-745c8550e731"},bj={type:n.GenericReference,id:"f3d6f2c6-1b3e-4e9d-8c9d-5b5b9f0b8d9c",entityType:n.Project,entityId:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6"},Rj={type:n.InstalledProject,version:1,id:"7268bc97-c0e6-4d88-b37e-d3241b5f77a6",name:"Third Party Installed Project",description:null,functions:[Tj],events:[],implements:bj,parent:Ej,x:0,y:0},td="global-counted-test-loop-id",uI="global-counted-test-loop-body-id",pI="global-counted-test-loop-body-current-iteration-value-argument-declaration-id",gj={type:n.GenericReference,id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:pI,entityType:n.ArgumentDeclaration},vj={like:!1,inferred:!1,id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:gj},Ij={id:"global-counted-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:uI,entityType:n.FunctionDeclaration},Dj={id:pI,type:n.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:vj,implements:Ml,required:!0,index:0,writesValues:[],parent:Ij},Pj={id:"global-counted-test-loop-body-parent-ref-id",type:n.GenericReference,entityId:td,entityType:n.Loop},Aj={id:uI,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[Dj],calls:[],implements:Vl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:Pj},Ei="random-company-employee-test-variable-id",nd="manager-global-variable-id",yI="global-user-instance-id",In="employee-mapped-dto-variable-id",Hn="employee-mapped-dto-variable-instance-id",fI="random-employee-id-output-map-id",hI="random-employee-birth-date-output-map-id",mI="random-employee-department-output-map-id",TI="random-employee-manager-output-map-id",EI="manager-global-id-output-map-id",bI="global-user-instance-id-output-map-id",Oj="employee-mapped-dto-requester-id-input-map-id",RI="employee-mapped-dto-now-timestamp-input-map-id",Sj="employee-mapped-dto-id-input-map-id",Cj="employee-mapped-dto-birth-date-input-map-id",Bj="employee-mapped-dto-department-input-map-id",wj="employee-mapped-dto-manager-input-map-id",_j={id:"global-counted-test-loop-iteration-number-input-map-parent-ref-id",type:n.GenericReference,entityId:td,entityType:n.Loop};n.GenericReference,n.VariableDeclaration;const Nj={id:"global-counted-test-loop-iteration-number-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:ps.inputs[0],defaultValue:null,readsValue:null,index:0,parent:_j},Mj={id:"global-counted-test-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},Vj={id:"global-counted-test-loop-called-by-success-ref-id",type:n.GenericReference,entityId:Hn,entityType:n.VariableDeclaration},Lj={id:td,type:n.Loop,version:1,declaration:ps,inputs:[Nj],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:Aj,calledByError:[],calledByEntry:[],calledBySuccess:[Vj],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:Mj},rd="global-object-keys-test-loop-id",gI="global-object-keys-test-loop-body-id",vI="global-object-keys-test-loop-body-current-iteration-value-argument-declaration-id",Gj={type:n.GenericReference,id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:vI,entityType:n.ArgumentDeclaration},$j={like:!1,inferred:!1,id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Gj},Fj={id:"global-object-keys-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:gI,entityType:n.FunctionDeclaration},Uj={id:vI,type:n.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:$j,implements:wl,required:!0,index:0,writesValues:[],parent:Fj},xj={id:"global-object-keys-test-loop-body-parent-ref-id",type:n.GenericReference,entityId:rd,entityType:n.Loop},jj={id:gI,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[Uj],calls:[],implements:qi,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:xj},kj={id:"global-object-keys-test-loop-iteration-object-input-map-parent-ref-id",type:n.GenericReference,entityId:rd,entityType:n.Loop},qj={id:"global-object-keys-test-loop-iteration-object-input-map-reads-value-ref-id",type:n.GenericReference,entityId:In,entityType:n.VariableDeclaration},II={id:"global-object-keys-test-loop-iteration-object-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:qi.inputs[0],defaultValue:null,readsValue:qj,index:0,parent:kj},Jj={id:"global-object-keys-test-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},Wj={id:"global-object-keys-test-loop-called-by-success-ref-two-id",type:n.GenericReference,entityId:Hn,entityType:n.VariableDeclaration},Hj={id:"global-object-keys-test-loop-called-by-success-ref-one-id",type:n.GenericReference,entityId:In,entityType:n.VariableDeclaration},id={id:rd,type:n.Loop,version:1,declaration:qi,inputs:[II],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:jj,calledByError:[],calledByEntry:[],calledBySuccess:[Hj,Wj],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:Jj},ad="global-object-values-test-loop-id",DI="global-object-values-test-loop-body-id",PI="global-object-values-test-loop-body-current-iteration-value-argument-declaration-id",Yj={type:n.GenericReference,id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:PI,entityType:n.ArgumentDeclaration},zj={like:!1,inferred:!1,id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:Yj},Zj={id:"global-object-values-test-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:DI,entityType:n.FunctionDeclaration},Kj={id:PI,type:n.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:zj,implements:_l,required:!0,index:0,writesValues:[],parent:Zj},Xj={id:"global-object-values-test-loop-body-parent-ref-id",type:n.GenericReference,entityId:ad,entityType:n.Loop},Qj={id:DI,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[Kj],calls:[],implements:Ji,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:Xj},e8={id:"global-object-values-test-loop-iteration-object-input-map-parent-ref-id",type:n.GenericReference,entityId:ad,entityType:n.Loop},t8={id:"global-object-values-test-loop-iteration-object-input-map-reads-value-ref-id",type:n.GenericReference,entityId:Hn,entityType:n.VariableDeclaration},AI={id:"global-object-values-test-loop-iteration-object-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:Ji.inputs[0],defaultValue:null,readsValue:t8,index:0,parent:e8},n8={id:"global-object-values-test-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},r8={id:"global-object-values-test-loop-called-by-success-ref-id",type:n.GenericReference,entityId:Hn,entityType:n.VariableDeclaration},OI={id:ad,type:n.Loop,version:1,declaration:Ji,inputs:[AI],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:Qj,calledByError:[],calledByEntry:[],calledBySuccess:[r8],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:n8},sd="global-test-iterate-over-string-loop-id",od="global-test-iterate-over-string-loop-body-id",no="global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-id",SI="global-test-iterate-over-string-loop-iteration-list-input-map-id",i8={type:n.GenericReference,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:no,entityType:n.ArgumentDeclaration},a8={like:!1,inferred:!1,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:i8},s8={id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:od,entityType:n.FunctionDeclaration},o8={id:no,type:n.ArgumentDeclaration,version:1,name:"Current character",description:"The current character value being processed.",defaultValue:null,dataType:a8,implements:Sl,required:!0,index:1,writesValues:[],parent:s8},l8={type:n.GenericReference,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:no,entityType:n.ArgumentDeclaration},c8={like:!1,inferred:!1,id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:l8},d8={id:"global-test-iterate-over-string-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:od,entityType:n.FunctionDeclaration},u8={id:no,type:n.ArgumentDeclaration,version:1,name:"Current character",description:"The current character value being processed.",defaultValue:null,dataType:c8,implements:Cl,required:!0,index:0,writesValues:[],parent:d8},p8={id:"global-test-iterate-over-string-loop-body-parent-ref-id",type:n.GenericReference,entityId:sd,entityType:n.Loop},y8={id:od,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[u8,o8],calls:[],implements:Bl,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:p8},f8={id:"global-test-iterate-over-string-loop-iteration-list-input-map-parent-ref-id",type:n.GenericReference,entityId:sd,entityType:n.Loop},h8={id:"global-test-iterate-over-string-loop-iteration-list-input-map-default-value-parent-ref-id",type:n.GenericReference,entityId:SI,entityType:n.InputMap},m8={id:"global-test-iterate-over-string-loop-iteration-list-input-map-default-value-id",type:n.LiteralValue,name:I.String,version:1,value:"Hello",valueAsType:null,autogeneration:{type:je.Random,rangeStart:4,rangeEnd:5},parent:h8},T8={id:SI,type:n.InputMap,version:1,name:null,description:null,declaration:us.inputs[0],defaultValue:m8,readsValue:null,index:0,parent:f8},E8={id:"global-test-iterate-over-string-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},b8={id:sd,type:n.Loop,version:1,declaration:us,inputs:[T8],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:y8,calledByError:[],calledByEntry:[],calledBySuccess:[],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:E8},ld="iterate-over-list-loop-id",CI="iterate-over-list-loop-body-id",BI="iterate-over-list-loop-body-current-iteration-value-argument-declaration-id",R8={type:n.GenericReference,id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-parent-ref-id",entityId:BI,entityType:n.ArgumentDeclaration},g8={like:!1,inferred:!1,id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-data-type-id",type:n.DataType,andChildrenGroup:null,orChildrenGroup:null,version:1,entity:null,isList:!1,isNullable:!1,asType:!1,constant:!1,parent:R8},v8={id:"iterate-over-list-loop-body-current-iteration-value-argument-declaration-parent-ref-id",type:n.GenericReference,entityId:CI,entityType:n.FunctionDeclaration},I8={id:BI,type:n.ArgumentDeclaration,version:1,name:"Current value",description:"The current value being processed.",defaultValue:null,dataType:g8,implements:cs,required:!0,index:0,writesValues:[],parent:v8},D8={id:"iterate-over-list-loop-body-parent-ref-id",type:n.GenericReference,entityId:ld,entityType:n.Loop},P8={id:CI,type:n.FunctionDeclaration,version:1,name:"Iteration logic trigger",description:"This function is called once for each iteration of the loop.",inputs:[I8],calls:[],implements:ds,collapsed:!1,returnStatements:[],private:!1,index:0,x:0,y:0,parent:D8},A8={id:"iterate-over-list-loop-iteration-list-input-map-parent-ref-id",type:n.GenericReference,entityId:ld,entityType:n.Loop},O8={id:"iterate-over-list-loop-iteration-list-input-map-id",type:n.InputMap,version:1,name:null,description:null,declaration:or.inputs[0],defaultValue:null,readsValue:null,index:0,parent:A8},S8={id:"iterate-over-list-loop-parent-ref-id",type:n.GenericReference,entityId:W,entityType:n.Project},C8={id:ld,type:n.Loop,version:1,declaration:or,inputs:[O8],successCalls:[],errorCalls:[],outputsDeclarations:[],outputs:[],process:null,body:P8,calledByError:[],calledByEntry:[],calledBySuccess:[],breakStatements:[],continueStatements:[],error:null,x:0,y:0,parent:S8},B8=`SELECT
2
2
  Employee.identifier AS EmployeeID,
3
3
  Employee.startDate AS startDate,
4
4
  User.identifier AS userID,
@@ -33,7 +33,7 @@ __p+='`),y}),s+=`';
33
33
  `,o="obj";s=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
34
34
  `+s+`return __p;
35
35
  `;var l;try{l=new Function(o,"_",s)}catch(y){throw y.source=s,y}var p=function(y){return l.call(this,y,se)};return p.source="function("+o+`){
36
- `+s+"}",p}function N5(i,e,t){e=Fa(e);var r=e.length;if(!r)return bt(t)?t.call(i):t;for(var a=0;a<r;a++){var s=i==null?void 0:i[e[a]];s===void 0&&(s=t,a=r),i=bt(s)?s.call(i):s}return i}var M5=0;function V5(i){var e=++M5+"";return i?i+e:e}function L5(i){var e=se(i);return e._chain=!0,e}function eP(i,e,t,r,a){if(!(r instanceof e))return i.apply(t,a);var s=HD(i.prototype),o=i.apply(s,a);return Zn(o)?o:s}var Bi=At(function(i,e){var t=Bi.placeholder,r=function(){for(var a=0,s=e.length,o=Array(s),l=0;l<s;l++)o[l]=e[l]===t?arguments[a++]:e[l];for(;a<arguments.length;)o.push(arguments[a++]);return eP(i,r,this,this,o)};return r});Bi.placeholder=se;const tP=At(function(i,e,t){if(!bt(i))throw new TypeError("Bind must be called on a function");var r=At(function(a){return eP(i,r,e,this,t.concat(a))});return r}),Mt=ND(Ot);function Cr(i,e,t,r){if(r=r||[],!e&&e!==0)e=1/0;else if(e<=0)return r.concat(i);for(var a=r.length,s=0,o=Ot(i);s<o;s++){var l=i[s];if(Mt(l)&&(Sr(l)||Hd(l)))if(e>1)Cr(l,e-1,t,r),a=r.length;else for(var p=0,y=l.length;p<y;)r[a++]=l[p++];else t||(r[a++]=l)}return r}const G5=At(function(i,e){e=Cr(e,!1,!1);var t=e.length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var r=e[t];i[r]=tP(i[r],i)}return i});function $5(i,e){var t=function(r){var a=t.cache,s=""+(e?e.apply(this,arguments):r);return Kn(a,s)||(a[s]=i.apply(this,arguments)),a[s]};return t.cache={},t}const nP=At(function(i,e,t){return setTimeout(function(){return i.apply(null,t)},e)}),F5=Bi(nP,se,1);function U5(i,e,t){var r,a,s,o,l=0;t||(t={});var p=function(){l=t.leading===!1?0:ja(),r=null,o=i.apply(a,s),r||(a=s=null)},y=function(){var h=ja();!l&&t.leading===!1&&(l=h);var m=e-(h-l);return a=this,s=arguments,m<=0||m>e?(r&&(clearTimeout(r),r=null),l=h,o=i.apply(a,s),r||(a=s=null)):!r&&t.trailing!==!1&&(r=setTimeout(p,m)),o};return y.cancel=function(){clearTimeout(r),l=0,r=a=s=null},y}function x5(i,e,t){var r,a,s,o,l,p=function(){var h=ja()-a;e>h?r=setTimeout(p,e-h):(r=null,t||(o=i.apply(l,s)),r||(s=l=null))},y=At(function(h){return l=this,s=h,a=ja(),r||(r=setTimeout(p,e),t&&(o=i.apply(l,s))),o});return y.cancel=function(){clearTimeout(r),r=s=l=null},y}function j5(i,e){return Bi(e,i)}function su(i){return function(){return!i.apply(this,arguments)}}function k5(){var i=arguments,e=i.length-1;return function(){for(var t=e,r=i[e].apply(this,arguments);t--;)r=i[t].call(this,r);return r}}function q5(i,e){return function(){if(--i<1)return e.apply(this,arguments)}}function rP(i,e){var t;return function(){return--i>0&&(t=e.apply(this,arguments)),i<=1&&(e=null),t}}const J5=Bi(rP,2);function iP(i,e,t){e=St(e,t);for(var r=Qe(i),a,s=0,o=r.length;s<o;s++)if(a=r[s],e(i[a],a,i))return a}function aP(i){return function(e,t,r){t=St(t,r);for(var a=Ot(e),s=i>0?0:a-1;s>=0&&s<a;s+=i)if(t(e[s],s,e))return s;return-1}}const ou=aP(1),sP=aP(-1);function oP(i,e,t,r){t=St(t,r,1);for(var a=t(e),s=0,o=Ot(i);s<o;){var l=Math.floor((s+o)/2);t(i[l])<a?s=l+1:o=l}return s}function lP(i,e,t){return function(r,a,s){var o=0,l=Ot(r);if(typeof s=="number")i>0?o=s>=0?s:Math.max(s+l,o):l=s>=0?Math.min(s+1,l):s+l+1;else if(t&&s&&l)return s=t(r,a),r[s]===a?s:-1;if(a!==a)return s=e(Va.call(r,o,l),wD),s>=0?s+o:-1;for(s=i>0?o:l-1;s>=0&&s<l;s+=i)if(r[s]===a)return s;return-1}}const cP=lP(1,ou,oP),W5=lP(-1,sP);function lu(i,e,t){var r=Mt(i)?ou:iP,a=r(i,e,t);if(a!==void 0&&a!==-1)return i[a]}function H5(i,e){return lu(i,Ua(e))}function Sn(i,e,t){e=xa(e,t);var r,a;if(Mt(i))for(r=0,a=i.length;r<a;r++)e(i[r],r,i);else{var s=Qe(i);for(r=0,a=s.length;r<a;r++)e(i[s[r]],s[r],i)}return i}function Br(i,e,t){e=St(e,t);for(var r=!Mt(i)&&Qe(i),a=(r||i).length,s=Array(a),o=0;o<a;o++){var l=r?r[o]:o;s[o]=e(i[l],l,i)}return s}function dP(i){var e=function(t,r,a,s){var o=!Mt(t)&&Qe(t),l=(o||t).length,p=i>0?0:l-1;for(s||(a=t[o?o[p]:p],p+=i);p>=0&&p<l;p+=i){var y=o?o[p]:p;a=r(a,t[y],y,t)}return a};return function(t,r,a,s){var o=arguments.length>=3;return e(t,xa(r,s,4),a,o)}}const cu=dP(1),uP=dP(-1);function wi(i,e,t){var r=[];return e=St(e,t),Sn(i,function(a,s,o){e(a,s,o)&&r.push(a)}),r}function Y5(i,e,t){return wi(i,su(St(e)),t)}function pP(i,e,t){e=St(e,t);for(var r=!Mt(i)&&Qe(i),a=(r||i).length,s=0;s<a;s++){var o=r?r[s]:s;if(!e(i[o],o,i))return!1}return!0}function yP(i,e,t){e=St(e,t);for(var r=!Mt(i)&&Qe(i),a=(r||i).length,s=0;s<a;s++){var o=r?r[s]:s;if(e(i[o],o,i))return!0}return!1}function Cn(i,e,t,r){return Mt(i)||(i=Ci(i)),(typeof t!="number"||r)&&(t=0),cP(i,e,t)>=0}const z5=At(function(i,e,t){var r,a;return bt(e)?a=e:(e=Fa(e),r=e.slice(0,-1),e=e[e.length-1]),Br(i,function(s){var o=a;if(!o){if(r&&r.length&&(s=eu(s,r)),s==null)return;o=s[e]}return o==null?o:o.apply(s,t)})});function du(i,e){return Br(i,nu(e))}function Z5(i,e){return wi(i,Ua(e))}function fP(i,e,t){var r=-1/0,a=-1/0,s,o;if(e==null||typeof e=="number"&&typeof i[0]!="object"&&i!=null){i=Mt(i)?i:Ci(i);for(var l=0,p=i.length;l<p;l++)s=i[l],s!=null&&s>r&&(r=s)}else e=St(e,t),Sn(i,function(y,h,m){o=e(y,h,m),(o>a||o===-1/0&&r===-1/0)&&(r=y,a=o)});return r}function K5(i,e,t){var r=1/0,a=1/0,s,o;if(e==null||typeof e=="number"&&typeof i[0]!="object"&&i!=null){i=Mt(i)?i:Ci(i);for(var l=0,p=i.length;l<p;l++)s=i[l],s!=null&&s<r&&(r=s)}else e=St(e,t),Sn(i,function(y,h,m){o=e(y,h,m),(o<a||o===1/0&&r===1/0)&&(r=y,a=o)});return r}var X5=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function hP(i){return i?Sr(i)?Va.call(i):qd(i)?i.match(X5):Mt(i)?Br(i,tu):Ci(i):[]}function mP(i,e,t){if(e==null||t)return Mt(i)||(i=Ci(i)),i[iu(i.length-1)];var r=hP(i),a=Ot(r);e=Math.max(Math.min(e,a),0);for(var s=a-1,o=0;o<e;o++){var l=iu(o,s),p=r[o];r[o]=r[l],r[l]=p}return r.slice(0,e)}function Q5(i){return mP(i,1/0)}function e2(i,e,t){var r=0;return e=St(e,t),du(Br(i,function(a,s,o){return{value:a,index:r++,criteria:e(a,s,o)}}).sort(function(a,s){var o=a.criteria,l=s.criteria;if(o!==l){if(o>l||o===void 0)return 1;if(o<l||l===void 0)return-1}return a.index-s.index}),"value")}function Co(i,e){return function(t,r,a){var s=e?[[],[]]:{};return r=St(r,a),Sn(t,function(o,l){var p=r(o,l,t);i(s,o,p)}),s}}const t2=Co(function(i,e,t){Kn(i,t)?i[t].push(e):i[t]=[e]}),n2=Co(function(i,e,t){i[t]=e}),r2=Co(function(i,e,t){Kn(i,t)?i[t]++:i[t]=1}),i2=Co(function(i,e,t){i[t?0:1].push(e)},!0);function a2(i){return i==null?0:Mt(i)?i.length:Qe(i).length}function s2(i,e,t){return e in t}const TP=At(function(i,e){var t={},r=e[0];if(i==null)return t;bt(r)?(e.length>1&&(r=xa(r,e[1])),e=$a(i)):(r=s2,e=Cr(e,!1,!1),i=Object(i));for(var a=0,s=e.length;a<s;a++){var o=e[a],l=i[o];r(l,o,i)&&(t[o]=l)}return t}),o2=At(function(i,e){var t=e[0],r;return bt(t)?(t=su(t),e.length>1&&(r=e[1])):(e=Br(Cr(e,!1,!1),String),t=function(a,s){return!Cn(e,s)}),TP(i,t,r)});function EP(i,e,t){return Va.call(i,0,Math.max(0,i.length-(e==null||t?1:e)))}function uu(i,e,t){return i==null||i.length<1?e==null||t?void 0:[]:e==null||t?i[0]:EP(i,i.length-e)}function Bo(i,e,t){return Va.call(i,e==null||t?1:e)}function l2(i,e,t){return i==null||i.length<1?e==null||t?void 0:[]:e==null||t?i[i.length-1]:Bo(i,Math.max(0,i.length-e))}function c2(i){return wi(i,Boolean)}function d2(i,e){return Cr(i,e,!1)}const bP=At(function(i,e){return e=Cr(e,!0,!0),wi(i,function(t){return!Cn(e,t)})}),u2=At(function(i,e){return bP(i,e)});function pu(i,e,t,r){DD(e)||(r=t,t=e,e=!1),t!=null&&(t=St(t,r));for(var a=[],s=[],o=0,l=Ot(i);o<l;o++){var p=i[o],y=t?t(p,o,i):p;e&&!t?((!o||s!==y)&&a.push(p),s=y):t?Cn(s,y)||(s.push(y),a.push(p)):Cn(a,p)||a.push(p)}return a}const p2=At(function(i){return pu(Cr(i,!0,!0))});function y2(i){for(var e=[],t=arguments.length,r=0,a=Ot(i);r<a;r++){var s=i[r];if(!Cn(e,s)){var o;for(o=1;o<t&&Cn(arguments[o],s);o++);o===t&&e.push(s)}}return e}function yu(i){for(var e=i&&fP(i,Ot).length||0,t=Array(e),r=0;r<e;r++)t[r]=du(i,r);return t}const f2=At(yu);function h2(i,e){for(var t={},r=0,a=Ot(i);r<a;r++)e?t[i[r]]=e[r]:t[i[r][0]]=i[r][1];return t}function m2(i,e,t){e==null&&(e=i||0,i=0),t||(t=e<i?-1:1);for(var r=Math.max(Math.ceil((e-i)/t),0),a=Array(r),s=0;s<r;s++,i+=t)a[s]=i;return a}function T2(i,e){if(e==null||e<1)return[];for(var t=[],r=0,a=i.length;r<a;)t.push(Va.call(i,r,r+=e));return t}function fu(i,e){return i._chain?se(e).chain():e}function RP(i){return Sn(Xd(i),function(e){var t=se[e]=i[e];se.prototype[e]=function(){var r=[this._wrapped];return j3.apply(r,arguments),fu(this,t.apply(se,r))}}),se}Sn(["pop","push","reverse","shift","sort","splice","unshift"],function(i){var e=Po[i];se.prototype[i]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(i==="shift"||i==="splice")&&t.length===0&&delete t[0]),fu(this,t)}}),Sn(["concat","join","slice"],function(i){var e=Po[i];se.prototype[i]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),fu(this,t)}});var gP=RP(Object.freeze(Object.defineProperty({__proto__:null,VERSION:fD,after:q5,all:pP,allKeys:$a,any:yP,assign:So,before:rP,bind:tP,bindAll:G5,chain:L5,chunk:T2,clone:E5,collect:Br,compact:c2,compose:k5,constant:_D,contains:Cn,countBy:r2,create:T5,debounce:x5,default:se,defaults:WD,defer:F5,delay:nP,detect:lu,difference:bP,drop:Bo,each:Sn,escape:D5,every:pP,extend:JD,extendOwn:So,filter:wi,find:lu,findIndex:ou,findKey:iP,findLastIndex:sP,findWhere:H5,first:uu,flatten:d2,foldl:cu,foldr:uP,forEach:Sn,functions:Xd,get:zD,groupBy:t2,has:R5,head:uu,identity:tu,include:Cn,includes:Cn,indexBy:n2,indexOf:cP,initial:EP,inject:cu,intersection:y2,invert:qD,invoke:z5,isArguments:Hd,isArray:Sr,isArrayBuffer:OD,isBoolean:DD,isDataView:Ao,isDate:K3,isElement:Z3,isEmpty:Ga,isEqual:l5,isError:Q3,isFinite:r5,isFunction:bt,isMap:u5,isMatch:GD,isNaN:wD,isNull:z3,isNumber:PD,isObject:Zn,isRegExp:X3,isSet:y5,isString:qd,isSymbol:AD,isTypedArray:VD,isUndefined:ID,isWeakMap:p5,isWeakSet:f5,iteratee:ru,keys:Qe,last:l2,lastIndexOf:W5,map:Br,mapObject:g5,matcher:Ua,matches:Ua,max:fP,memoize:$5,methods:Xd,min:K5,mixin:RP,negate:su,noop:KD,now:ja,object:h2,omit:o2,once:J5,pairs:h5,partial:Bi,partition:i2,pick:TP,pluck:du,property:nu,propertyOf:v5,random:iu,range:m2,reduce:cu,reduceRight:uP,reject:Y5,rest:Bo,restArguments:At,result:N5,sample:mP,select:wi,shuffle:Q5,size:a2,some:yP,sortBy:e2,sortedIndex:oP,tail:Bo,take:uu,tap:b5,template:_5,templateSettings:O5,throttle:U5,times:I5,toArray:hP,toPath:YD,transpose:yu,unescape:A5,union:p2,uniq:pu,unique:pu,uniqueId:V5,unzip:yu,values:Ci,where:Z5,without:u2,wrap:j5,zip:f2},Symbol.toStringTag,{value:"Module"})));gP._=gP;function wo(i){return i.charAt(0).toUpperCase()+i.slice(1)}function _o(i){return i.charAt(0).toLowerCase()+i.slice(1)}function vP(i,e){if(i.type!==n.Property||e.type!==n.Property)throw new Error(`Expected property entities for comparison. But got ${i.type} and ${e.type}.`);return i===e||i.id===e.id?!0:i.name!==e.name||i.static!==e.static||i.abstract!==e.abstract?!1:kt(i.dataType,e.dataType).compatible}function IP(i,e){if(i.type!==n.CustomEntity||e.type!==n.CustomEntity)throw new Error(`Expected custom entities for comparison. But got ${i.type} and ${e.type}.`);if(i===e||i.id===e.id)return!0;if(i.properties.length!==e.properties.length)return!1;let t=[...e.properties];const r=[];for(let a=0;a<i.properties.length;a++){const s=i.properties[a];t.find(l=>{const p=vP(s,l);return p&&(t=t.filter(y=>y.id!==l.id)),p})||r.push(s)}return!(r.length>0)}var jt=(i=>(i.BothUnconstrained="both-unconstrained",i.AConstraintBUnconstrained="a-constraint-b-unconstrained",i.BConstraintAUnconstrained="b-constraint-a-unconstrained",i.Same="same",i.AIsListBIsNot="a-is-list-b-is-not",i.BIsListAIsNot="b-is-list-a-is-not",i.AIsNullableBIsNot="a-is-nullable-b-is-not",i.BIsNullableAIsNot="b-is-nullable-a-is-not",i.AIsTemplateBIsNot="a-is-template-b-is-not",i.BIsTemplateAIsNot="b-is-template-a-is-not",i.BothUntyped="both-untyped",i.AIsUntypedBIsNot="a-is-untyped-b-is-not",i.BIsUntypedAIsNot="b-is-untyped-a-is-not",i.TypeEntityMismatch="type-entity-mismatch",i.SameCustomEntities="same-custom-entities",i.CompatibleCustomEntities="compatible-custom-entities",i.IncompatibleCustomEntities="incompatible-custom-entities",i.SamePrimitiveEntities="same-primitive-entities",i.IncompatiblePrimitiveEntities="incompatible-primitive-entities",i.SameBuiltInBaseEntities="same-built-in-base-entities",i.IncompatibleBuiltInBaseEntities="incompatible-built-in-base-entities",i.CheckUnknown="check-unknown",i))(jt||{});function kt(i,e){var t,r,a,s,o,l,p,y,h,m,R;if(i&&i.type!==n.DataType||e&&e.type!==n.DataType)throw new Error(`Expected data-type entities for comparison. But got ${i==null?void 0:i.type} and ${e==null?void 0:e.type}.`);if(i===null&&e===null)return{compatible:!0,type:"both-unconstrained"};if(i===null)return{compatible:!0,type:"a-constraint-b-unconstrained"};if(e===null)return{compatible:!0,type:"b-constraint-a-unconstrained"};if(i===e)return{compatible:!0,type:"same"};if(i.id===e.id)return{compatible:!0,type:"same"};if(i.isList!==e.isList)return{compatible:!1,type:i.isList?"a-is-list-b-is-not":"b-is-list-a-is-not"};if(i.isNullable!==e.isNullable)return{compatible:!1,type:i.isNullable?"a-is-nullable-b-is-not":"b-is-nullable-a-is-not"};if(i.asType!==e.asType)return{compatible:!1,type:i.asType?"a-is-template-b-is-not":"b-is-template-a-is-not"};if(!i.entity&&e.entity)return{compatible:!0,type:"a-is-untyped-b-is-not"};if(i.entity&&!e.entity)return{compatible:!0,type:"b-is-untyped-a-is-not"};if(!i.entity&&!e.entity)return{compatible:!0,type:"both-untyped"};if(((t=i.entity)==null?void 0:t.type)!==((r=e.entity)==null?void 0:r.type))return{compatible:!1,type:"type-entity-mismatch"};if(((a=i.entity)==null?void 0:a.type)===n.CustomEntity){if(((s=i.entity)==null?void 0:s.id)===((o=e.entity)==null?void 0:o.id))return{compatible:!0,type:"same-custom-entities"};const v=IP(i.entity,e.entity);return{compatible:v,type:v?"compatible-custom-entities":"incompatible-custom-entities"}}return((l=i.entity)==null?void 0:l.type)===n.PrimitiveEntity?((p=i.entity)==null?void 0:p.id)===((y=e.entity)==null?void 0:y.id)?{compatible:!0,type:"same-primitive-entities"}:{compatible:!1,type:"incompatible-primitive-entities"}:((h=i.entity)==null?void 0:h.type)===n.BuiltInBaseEntity?((m=i.entity)==null?void 0:m.id)===((R=e.entity)==null?void 0:R.id)?{compatible:!0,type:"same-built-in-base-entities"}:{compatible:!1,type:"incompatible-built-in-base-entities"}:{compatible:!1,type:"check-unknown"}}function E2(i){const e=i.project.builtInBaseEntities.find(a=>a.id===V.EXECUTION),t={id:i.id+"--infered-data-type",version:1,type:n.DataType,isList:!1,isNullable:!1,andChildrenGroup:null,orChildrenGroup:null,asType:!1,entity:null,constant:!1,defaultValue:null,parent:null},r=g(t,i.project);return r.inferred=!0,r.sync(t),r.setParent(i),r.entity=e,r}function DP(i){return i.dataType?i.dataType:null}function hu(i){var t;const e=(t=i.declaration)==null?void 0:t.getDataType();return e&&e.isResolved?e:i.readsValue?un(i.readsValue):null}function mu(i){return i.dataType&&!i.dataType.inferred&&i.dataType.isResolved?i.dataType:i.readsValue?un(i.readsValue):null}function PP(i){return un(i.declaration)}function AP(i){return i.dataType&&!i.dataType.inferred?i.dataType:(i.dataType&&i.dataType.inferred,i.inferDataTypeAndSyncInstancesInputsAndOutputs(),i.dataType)}function Tu(i){var e;return((e=i.declaration)==null?void 0:e.dataType)||null}function OP(i){return(i==null?void 0:i.dataType)||null}function SP(i){return(i==null?void 0:i.dataType)||null}function un(i){switch(i.type){case n.VariableDeclaration:return AP(i);case n.ArgumentDeclaration:return DP(i);case n.ReturnDeclaration:return mu(i);case n.VariableInstance:return PP(i);case n.InputMap:return hu(i);case n.OutputMap:return Tu(i);case n.Property:return OP(i);case n.ValueDescriptor:return SP(i);default:throw new Error(`Cannot infer data type from entity of type ${i.type}.`)}}function No(i){switch(i.type){case n.ArgumentDeclaration:return i.getDataType();case n.InputMap:return i.getDataType();case n.VariableDeclaration:return i.getDataType();case n.VariableInstance:return i.getDataType();case n.OutputMap:return i.getDataType();case n.ReturnDeclaration:return i.getDataType();case n.Property:return i.getDataType();case n.ValueDescriptor:return i.getDataType();default:return null}}function N(i){if(i){let e=null;return typeof i=="string"?e=i:i.entityId?e=i.entityId:i.type!==n.GenericReference&&(e=i.id),e}return null}function wr(i){return i.declaration||i}function b2(i){return i.type===n.VariableDeclaration?i.parent===i.project?"global-declaration":"local-declaration":i.declaration.parent===i.project?"global-instance":"local-instance"}function Eu(i,e){const t=[];if(i.type===n.Project)t.push(...i.variableDeclarations);else{const a=gt(Me(i)).filter(s=>s.type===n.VariableDeclaration);t.push(...a),i.parent&&(pt.includes(i.parent.type)||i.parent.type===n.Project)&&t.push(...Eu(i.parent))}return t}function R2(i){return i.replace(/(?:^\w|[A-Z]|\b\w)/g,function(e,t){return t===0?e.toLowerCase():e.toUpperCase()}).replace(/\s+/g,"")}function g2(i){return i.split(/\s+/).map(r=>r[0].toUpperCase()+r.slice(1).toLowerCase()).join("")}function CP(i){var e;return(e=i.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g))==null?void 0:e.map(t=>t.toLowerCase()).join("-")}function Mo(i){return CP(i).toLowerCase()}function ka(i){var e,t;if(!i)return"Any data type";if(!i.entity){const r=i.isList;if(!((e=i.andChildrenGroup)!=null&&e.length)&&!((t=i.orChildrenGroup)!=null&&t.length))return r?"List of an any data type":"Any data type";let a="",s=!1,o=!1;return(i.andChildrenGroup||[]).forEach(l=>{const p=ka(l),y=_o(p);s&&(a+=" and "),l.isGroup?a+="("+y+")":s?a+=y:a+=p,s=!0,o=!0}),(i.orChildrenGroup||[]).forEach(l=>{const p=ka(l),y=_o(p);s&&(o&&(a+=","),a+=" or "),l.isGroup?a+="("+y+")":s?a+=y:a+=p,s=!0}),a}if(i.entity.type===n.PrimitiveEntity){let r=i.entity.name;switch(i.entity.name){case I.String:r="Text";break;case I.KeyValue:r="Data structure";break}return i.isList?`List of ${r}s`:`${r.slice(0,1).toUpperCase()}${r.slice(1)}`}else if(i.entity.type===n.CustomEntity){const r=C(i.entity,i.project);return i.isList?`List of ${r} entities`:r.slice(0,1).toUpperCase()+r.slice(1)}else if(i.entity.type===n.BuiltInBaseEntity){const r=wP(i.entity);return i.isList?`List of ${r} entities`:r.slice(0,1).toUpperCase()+r.slice(1)}else return i.isList?`List of ${i.entity.name} entities`:`${i.entity.name.slice(0,1).toUpperCase()+i.entity.name.slice(1)} entity`}function v2(i){if(!i)return"Any data type";const e=i.getDataType();return ka(e)}function Vo(i){switch(i.declaration.id){case $e.Equal:return"is equal to";case $e.NotEqual:return"is not equal to";case $e.MoreThan:return"is greater than";case $e.MoreThanOrEqual:return"is greater than or equal to";case $e.LessThan:return"is less than";case $e.LessThanOrEqual:return"is less than or equal to";case $e.And:return"and";case $e.Or:return"or";case Gt.Empty:return"is empty";case Gt.NotEmpty:return"is not empty"}}function BP(i){return i.includes(V.HTTP_ENDPOINT)?"HTTP endpoint":i.includes(V.PERSISTED_ENTITY)?"Persisted entity":i.includes(V.CRON_JOB)?"Scheduled execution":i.includes(V.RELATIONAL_DATABASE)?"Relational database":"Entity"}function wP(i){switch(i.name){case V.HTTP_ENDPOINT:return"HTTP endpoint";case V.PERSISTED_ENTITY:return"Persisted entity";case V.CRON_JOB:return"Scheduled execution";case V.RELATIONAL_DATABASE:return"Relational database"}return"Entity"}function I2(i){const e=Wu(i);if(!e){const t=Ju(i);return t.includes(V.HTTP_ENDPOINT)?"HTTP endpoint":t.includes(V.PERSISTED_ENTITY)?"Persisted entity":t.includes(V.CRON_JOB)?"Scheduled execution":t.includes(V.RELATIONAL_DATABASE)?"Relational database":C(i,i.project)+" entity"}return C(e,i.project)+" entity"}function _P(i){let e="Find ";return i.outputsDeclarations.forEach((t,r)=>{const a=No(t),s=_o(a&&a.entity?C(a.entity,i.project):"unstructured data");r===0?e+=`${s} `:r===i.outputsDeclarations.length-1?e+=`and ${s} `:e+=`, ${s} `}),e}function NP(i){switch(i.name){case I.String:return"Text";case I.Number:return"Number";case I.Boolean:return"Boolean";case I.KeyValue:return"Data structure";case I.UUID:return"Unique identifier";case I.Date:return"Date";case I.EntityTemplate:return"Entity as template";case I.Enum:return"Enumeration";case I.File:return"File";case I.Null:return"Empty";case I.ActionDescriptor:return"Action descriptor";case I.Untyped:return"Untyped";default:return i.name}}function MP(i){switch(i.id){case $.List:return"Loop over list items";case $.ManualFlow:return"Manual flow control loop";case $.ObjectKeys:return"Loop over object keys";case $.ObjectValues:return"Loop over object values";case $.Counted:return"Loop given number of times";case $.String:return"Loop over text characters";case Te.Addition:return"Sum numbers";case Te.Subtraction:return"Subtract numbers";case Te.Multiplication:return"Multiply numbers";case Te.Division:return"Divide numbers";case Te.Remainder:return"Get remainder of numbers";case Te.Exponentiation:return"Get exponent of numbers";case X.AddIndex:return"Add at index position";case X.DeleteFirst:return"Delete first character";case X.DeleteLast:return"Delete last character";case X.DeleteIndex:return"Delete at index position";case X.Join:return"Join texts";case X.ReplaceAllMatches:return"Replace all matches";case X.ReplaceFirst:return"Replace first match";case X.ReplaceLast:return"Replace last match";case X.Split:return"Split text";case X.ReplaceIndex:return"Replace at index position";case X.ReplaceSingleMatch:return"Replace single match";case X.GetFirst:return"Get first character";case X.GetLast:return"Get last character";case X.GetIndex:return"Get at index position";case X.Append:return"Add at the end";case X.Prepend:return"Add at the start";case le.Wait:return"Wait";case le.Parallel:return"Run in parallel";case le.Sequential:return"Run in sequence";case tt.HttpRequest:return"HTTP request";case ce.CreateNewInstance:return"Create new copy of entity";case H.AddIndex:return"Add item at index position";case H.DeleteFirst:return"Delete first item";case H.DeleteLast:return"Delete last item";case H.DeleteIndex:return"Delete item at index position";case H.Join:return"Join lists";case H.ReplaceAllMatches:return"Replace all matches";case H.ReplaceFirst:return"Replace first match";case H.ReplaceLast:return"Replace last match";case H.Split:return"Split list";case H.ReplaceIndex:return"Replace at index position";case H.ReplaceSingleMatch:return"Replace single match";case H.GetFirst:return"Get first item";case H.GetLast:return"Get last item";case H.GetIndex:return"Get item at index position";case H.Append:return"Add item at the end";case H.Prepend:return"Add item at the start";case fn.PROJECT_PUBLICATION_COMPLETED:return"Project publication completed";default:return(i.name.slice(0,1).toUpperCase()+i.name.slice(1)).replaceAll("-"," ")}}function C(i,e){var t;if(n.FunctionDeclaration===i.type){const r=i.name;if(Object.values(Bt).includes(r))switch(r){case Bt.AbortExecution:return"Abort execution";case Bt.DeletePersistedEntity:return"Delete persisted entity";case Bt.SoftDeletePersistedEntity:return"Soft delete persisted entity";default:return wo(i.type).replaceAll("-"," ")}return r}if(n.BuiltInBaseEntity===i.type)return BP([i.name]);if(Qu.includes(i.type)&&i.type!==n.ActionDescriptor)return i.name;switch(i.type){case n.Search:return _P(i);case n.Operation:case n.InternalCall:case n.Loop:const r=Lt(i.declaration,e);return C(r,e);case n.ActionDescriptor:return MP(i);case n.BreakStatement:const a=Lt(i.parent,e);return`Stop loop ${C(a,e)}`;case n.ContinueStatement:const s=Lt(i.parent,e);return`Execute next iteration of ${C(s,e)}`;case n.FunctionCall:return Lt(i.declaration,e).name;case n.Condition:{const l=i;if((t=i.inputs)!=null&&t.length){const p=C(l.inputs[0],l.project);if(l.inputs[1]){const y=l.inputs[1].declaration.name;return`If ${p} ${Vo(l)} ${y}`}return`If ${p} ${Vo(l)}`}else return`If ${Vo(l)}`}case n.ReturnStatement:{const l=Lt(i.parent,e);return`Output of ${C(l,e)}`}case n.InputMap:if(i.declaration){const l=Lt(i.declaration,e);return C(l,e)||""}else return i.name||"";case n.VariableInstance:{const l=Lt(i.declaration,e);return C(l,e)||""}case n.OutputMap:if(i.declaration){const l=Lt(i.declaration,e);return(l==null?void 0:l.name)||""}else return"";case n.PrimitiveEntity:case n.LiteralValue:return NP(i);default:return wo(i.type).replaceAll("-"," ")}}function Lo(i,e){const t=[];i.name||t.push(new b({id:`${i.id}--${S.EmptyName}`,message:`Entity with id "${i.id}" and type "${i.type}" has an empty name. Please provide a 'name' string.`,severity:T.Error,code:S.EmptyName,issue:null}));const r=e.entities.filter(a=>a.name===i.name);return r.length&&t.push(new b({id:`${i.id}--${S.NameNotUniqueInScope}`,message:`Entity with id "${i.id}" and type "${i.type}" has a name "${i.name}" that is not unique in the project. Entity with id "${r[0].id}" has the same name.
36
+ `+s+"}",p}function N5(i,e,t){e=Fa(e);var r=e.length;if(!r)return bt(t)?t.call(i):t;for(var a=0;a<r;a++){var s=i==null?void 0:i[e[a]];s===void 0&&(s=t,a=r),i=bt(s)?s.call(i):s}return i}var M5=0;function V5(i){var e=++M5+"";return i?i+e:e}function L5(i){var e=se(i);return e._chain=!0,e}function eP(i,e,t,r,a){if(!(r instanceof e))return i.apply(t,a);var s=HD(i.prototype),o=i.apply(s,a);return Zn(o)?o:s}var Bi=At(function(i,e){var t=Bi.placeholder,r=function(){for(var a=0,s=e.length,o=Array(s),l=0;l<s;l++)o[l]=e[l]===t?arguments[a++]:e[l];for(;a<arguments.length;)o.push(arguments[a++]);return eP(i,r,this,this,o)};return r});Bi.placeholder=se;const tP=At(function(i,e,t){if(!bt(i))throw new TypeError("Bind must be called on a function");var r=At(function(a){return eP(i,r,e,this,t.concat(a))});return r}),Mt=ND(Ot);function Cr(i,e,t,r){if(r=r||[],!e&&e!==0)e=1/0;else if(e<=0)return r.concat(i);for(var a=r.length,s=0,o=Ot(i);s<o;s++){var l=i[s];if(Mt(l)&&(Sr(l)||Hd(l)))if(e>1)Cr(l,e-1,t,r),a=r.length;else for(var p=0,y=l.length;p<y;)r[a++]=l[p++];else t||(r[a++]=l)}return r}const G5=At(function(i,e){e=Cr(e,!1,!1);var t=e.length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var r=e[t];i[r]=tP(i[r],i)}return i});function $5(i,e){var t=function(r){var a=t.cache,s=""+(e?e.apply(this,arguments):r);return Kn(a,s)||(a[s]=i.apply(this,arguments)),a[s]};return t.cache={},t}const nP=At(function(i,e,t){return setTimeout(function(){return i.apply(null,t)},e)}),F5=Bi(nP,se,1);function U5(i,e,t){var r,a,s,o,l=0;t||(t={});var p=function(){l=t.leading===!1?0:ja(),r=null,o=i.apply(a,s),r||(a=s=null)},y=function(){var h=ja();!l&&t.leading===!1&&(l=h);var m=e-(h-l);return a=this,s=arguments,m<=0||m>e?(r&&(clearTimeout(r),r=null),l=h,o=i.apply(a,s),r||(a=s=null)):!r&&t.trailing!==!1&&(r=setTimeout(p,m)),o};return y.cancel=function(){clearTimeout(r),l=0,r=a=s=null},y}function x5(i,e,t){var r,a,s,o,l,p=function(){var h=ja()-a;e>h?r=setTimeout(p,e-h):(r=null,t||(o=i.apply(l,s)),r||(s=l=null))},y=At(function(h){return l=this,s=h,a=ja(),r||(r=setTimeout(p,e),t&&(o=i.apply(l,s))),o});return y.cancel=function(){clearTimeout(r),r=s=l=null},y}function j5(i,e){return Bi(e,i)}function su(i){return function(){return!i.apply(this,arguments)}}function k5(){var i=arguments,e=i.length-1;return function(){for(var t=e,r=i[e].apply(this,arguments);t--;)r=i[t].call(this,r);return r}}function q5(i,e){return function(){if(--i<1)return e.apply(this,arguments)}}function rP(i,e){var t;return function(){return--i>0&&(t=e.apply(this,arguments)),i<=1&&(e=null),t}}const J5=Bi(rP,2);function iP(i,e,t){e=St(e,t);for(var r=Qe(i),a,s=0,o=r.length;s<o;s++)if(a=r[s],e(i[a],a,i))return a}function aP(i){return function(e,t,r){t=St(t,r);for(var a=Ot(e),s=i>0?0:a-1;s>=0&&s<a;s+=i)if(t(e[s],s,e))return s;return-1}}const ou=aP(1),sP=aP(-1);function oP(i,e,t,r){t=St(t,r,1);for(var a=t(e),s=0,o=Ot(i);s<o;){var l=Math.floor((s+o)/2);t(i[l])<a?s=l+1:o=l}return s}function lP(i,e,t){return function(r,a,s){var o=0,l=Ot(r);if(typeof s=="number")i>0?o=s>=0?s:Math.max(s+l,o):l=s>=0?Math.min(s+1,l):s+l+1;else if(t&&s&&l)return s=t(r,a),r[s]===a?s:-1;if(a!==a)return s=e(Va.call(r,o,l),wD),s>=0?s+o:-1;for(s=i>0?o:l-1;s>=0&&s<l;s+=i)if(r[s]===a)return s;return-1}}const cP=lP(1,ou,oP),W5=lP(-1,sP);function lu(i,e,t){var r=Mt(i)?ou:iP,a=r(i,e,t);if(a!==void 0&&a!==-1)return i[a]}function H5(i,e){return lu(i,Ua(e))}function Sn(i,e,t){e=xa(e,t);var r,a;if(Mt(i))for(r=0,a=i.length;r<a;r++)e(i[r],r,i);else{var s=Qe(i);for(r=0,a=s.length;r<a;r++)e(i[s[r]],s[r],i)}return i}function Br(i,e,t){e=St(e,t);for(var r=!Mt(i)&&Qe(i),a=(r||i).length,s=Array(a),o=0;o<a;o++){var l=r?r[o]:o;s[o]=e(i[l],l,i)}return s}function dP(i){var e=function(t,r,a,s){var o=!Mt(t)&&Qe(t),l=(o||t).length,p=i>0?0:l-1;for(s||(a=t[o?o[p]:p],p+=i);p>=0&&p<l;p+=i){var y=o?o[p]:p;a=r(a,t[y],y,t)}return a};return function(t,r,a,s){var o=arguments.length>=3;return e(t,xa(r,s,4),a,o)}}const cu=dP(1),uP=dP(-1);function wi(i,e,t){var r=[];return e=St(e,t),Sn(i,function(a,s,o){e(a,s,o)&&r.push(a)}),r}function Y5(i,e,t){return wi(i,su(St(e)),t)}function pP(i,e,t){e=St(e,t);for(var r=!Mt(i)&&Qe(i),a=(r||i).length,s=0;s<a;s++){var o=r?r[s]:s;if(!e(i[o],o,i))return!1}return!0}function yP(i,e,t){e=St(e,t);for(var r=!Mt(i)&&Qe(i),a=(r||i).length,s=0;s<a;s++){var o=r?r[s]:s;if(e(i[o],o,i))return!0}return!1}function Cn(i,e,t,r){return Mt(i)||(i=Ci(i)),(typeof t!="number"||r)&&(t=0),cP(i,e,t)>=0}const z5=At(function(i,e,t){var r,a;return bt(e)?a=e:(e=Fa(e),r=e.slice(0,-1),e=e[e.length-1]),Br(i,function(s){var o=a;if(!o){if(r&&r.length&&(s=eu(s,r)),s==null)return;o=s[e]}return o==null?o:o.apply(s,t)})});function du(i,e){return Br(i,nu(e))}function Z5(i,e){return wi(i,Ua(e))}function fP(i,e,t){var r=-1/0,a=-1/0,s,o;if(e==null||typeof e=="number"&&typeof i[0]!="object"&&i!=null){i=Mt(i)?i:Ci(i);for(var l=0,p=i.length;l<p;l++)s=i[l],s!=null&&s>r&&(r=s)}else e=St(e,t),Sn(i,function(y,h,m){o=e(y,h,m),(o>a||o===-1/0&&r===-1/0)&&(r=y,a=o)});return r}function K5(i,e,t){var r=1/0,a=1/0,s,o;if(e==null||typeof e=="number"&&typeof i[0]!="object"&&i!=null){i=Mt(i)?i:Ci(i);for(var l=0,p=i.length;l<p;l++)s=i[l],s!=null&&s<r&&(r=s)}else e=St(e,t),Sn(i,function(y,h,m){o=e(y,h,m),(o<a||o===1/0&&r===1/0)&&(r=y,a=o)});return r}var X5=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function hP(i){return i?Sr(i)?Va.call(i):qd(i)?i.match(X5):Mt(i)?Br(i,tu):Ci(i):[]}function mP(i,e,t){if(e==null||t)return Mt(i)||(i=Ci(i)),i[iu(i.length-1)];var r=hP(i),a=Ot(r);e=Math.max(Math.min(e,a),0);for(var s=a-1,o=0;o<e;o++){var l=iu(o,s),p=r[o];r[o]=r[l],r[l]=p}return r.slice(0,e)}function Q5(i){return mP(i,1/0)}function e2(i,e,t){var r=0;return e=St(e,t),du(Br(i,function(a,s,o){return{value:a,index:r++,criteria:e(a,s,o)}}).sort(function(a,s){var o=a.criteria,l=s.criteria;if(o!==l){if(o>l||o===void 0)return 1;if(o<l||l===void 0)return-1}return a.index-s.index}),"value")}function Co(i,e){return function(t,r,a){var s=e?[[],[]]:{};return r=St(r,a),Sn(t,function(o,l){var p=r(o,l,t);i(s,o,p)}),s}}const t2=Co(function(i,e,t){Kn(i,t)?i[t].push(e):i[t]=[e]}),n2=Co(function(i,e,t){i[t]=e}),r2=Co(function(i,e,t){Kn(i,t)?i[t]++:i[t]=1}),i2=Co(function(i,e,t){i[t?0:1].push(e)},!0);function a2(i){return i==null?0:Mt(i)?i.length:Qe(i).length}function s2(i,e,t){return e in t}const TP=At(function(i,e){var t={},r=e[0];if(i==null)return t;bt(r)?(e.length>1&&(r=xa(r,e[1])),e=$a(i)):(r=s2,e=Cr(e,!1,!1),i=Object(i));for(var a=0,s=e.length;a<s;a++){var o=e[a],l=i[o];r(l,o,i)&&(t[o]=l)}return t}),o2=At(function(i,e){var t=e[0],r;return bt(t)?(t=su(t),e.length>1&&(r=e[1])):(e=Br(Cr(e,!1,!1),String),t=function(a,s){return!Cn(e,s)}),TP(i,t,r)});function EP(i,e,t){return Va.call(i,0,Math.max(0,i.length-(e==null||t?1:e)))}function uu(i,e,t){return i==null||i.length<1?e==null||t?void 0:[]:e==null||t?i[0]:EP(i,i.length-e)}function Bo(i,e,t){return Va.call(i,e==null||t?1:e)}function l2(i,e,t){return i==null||i.length<1?e==null||t?void 0:[]:e==null||t?i[i.length-1]:Bo(i,Math.max(0,i.length-e))}function c2(i){return wi(i,Boolean)}function d2(i,e){return Cr(i,e,!1)}const bP=At(function(i,e){return e=Cr(e,!0,!0),wi(i,function(t){return!Cn(e,t)})}),u2=At(function(i,e){return bP(i,e)});function pu(i,e,t,r){DD(e)||(r=t,t=e,e=!1),t!=null&&(t=St(t,r));for(var a=[],s=[],o=0,l=Ot(i);o<l;o++){var p=i[o],y=t?t(p,o,i):p;e&&!t?((!o||s!==y)&&a.push(p),s=y):t?Cn(s,y)||(s.push(y),a.push(p)):Cn(a,p)||a.push(p)}return a}const p2=At(function(i){return pu(Cr(i,!0,!0))});function y2(i){for(var e=[],t=arguments.length,r=0,a=Ot(i);r<a;r++){var s=i[r];if(!Cn(e,s)){var o;for(o=1;o<t&&Cn(arguments[o],s);o++);o===t&&e.push(s)}}return e}function yu(i){for(var e=i&&fP(i,Ot).length||0,t=Array(e),r=0;r<e;r++)t[r]=du(i,r);return t}const f2=At(yu);function h2(i,e){for(var t={},r=0,a=Ot(i);r<a;r++)e?t[i[r]]=e[r]:t[i[r][0]]=i[r][1];return t}function m2(i,e,t){e==null&&(e=i||0,i=0),t||(t=e<i?-1:1);for(var r=Math.max(Math.ceil((e-i)/t),0),a=Array(r),s=0;s<r;s++,i+=t)a[s]=i;return a}function T2(i,e){if(e==null||e<1)return[];for(var t=[],r=0,a=i.length;r<a;)t.push(Va.call(i,r,r+=e));return t}function fu(i,e){return i._chain?se(e).chain():e}function RP(i){return Sn(Xd(i),function(e){var t=se[e]=i[e];se.prototype[e]=function(){var r=[this._wrapped];return j3.apply(r,arguments),fu(this,t.apply(se,r))}}),se}Sn(["pop","push","reverse","shift","sort","splice","unshift"],function(i){var e=Po[i];se.prototype[i]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(i==="shift"||i==="splice")&&t.length===0&&delete t[0]),fu(this,t)}}),Sn(["concat","join","slice"],function(i){var e=Po[i];se.prototype[i]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),fu(this,t)}});var gP=RP(Object.freeze(Object.defineProperty({__proto__:null,VERSION:fD,after:q5,all:pP,allKeys:$a,any:yP,assign:So,before:rP,bind:tP,bindAll:G5,chain:L5,chunk:T2,clone:E5,collect:Br,compact:c2,compose:k5,constant:_D,contains:Cn,countBy:r2,create:T5,debounce:x5,default:se,defaults:WD,defer:F5,delay:nP,detect:lu,difference:bP,drop:Bo,each:Sn,escape:D5,every:pP,extend:JD,extendOwn:So,filter:wi,find:lu,findIndex:ou,findKey:iP,findLastIndex:sP,findWhere:H5,first:uu,flatten:d2,foldl:cu,foldr:uP,forEach:Sn,functions:Xd,get:zD,groupBy:t2,has:R5,head:uu,identity:tu,include:Cn,includes:Cn,indexBy:n2,indexOf:cP,initial:EP,inject:cu,intersection:y2,invert:qD,invoke:z5,isArguments:Hd,isArray:Sr,isArrayBuffer:OD,isBoolean:DD,isDataView:Ao,isDate:K3,isElement:Z3,isEmpty:Ga,isEqual:l5,isError:Q3,isFinite:r5,isFunction:bt,isMap:u5,isMatch:GD,isNaN:wD,isNull:z3,isNumber:PD,isObject:Zn,isRegExp:X3,isSet:y5,isString:qd,isSymbol:AD,isTypedArray:VD,isUndefined:ID,isWeakMap:p5,isWeakSet:f5,iteratee:ru,keys:Qe,last:l2,lastIndexOf:W5,map:Br,mapObject:g5,matcher:Ua,matches:Ua,max:fP,memoize:$5,methods:Xd,min:K5,mixin:RP,negate:su,noop:KD,now:ja,object:h2,omit:o2,once:J5,pairs:h5,partial:Bi,partition:i2,pick:TP,pluck:du,property:nu,propertyOf:v5,random:iu,range:m2,reduce:cu,reduceRight:uP,reject:Y5,rest:Bo,restArguments:At,result:N5,sample:mP,select:wi,shuffle:Q5,size:a2,some:yP,sortBy:e2,sortedIndex:oP,tail:Bo,take:uu,tap:b5,template:_5,templateSettings:O5,throttle:U5,times:I5,toArray:hP,toPath:YD,transpose:yu,unescape:A5,union:p2,uniq:pu,unique:pu,uniqueId:V5,unzip:yu,values:Ci,where:Z5,without:u2,wrap:j5,zip:f2},Symbol.toStringTag,{value:"Module"})));gP._=gP;function wo(i){return i.charAt(0).toUpperCase()+i.slice(1)}function _o(i){return i.charAt(0).toLowerCase()+i.slice(1)}function vP(i,e){if(i.type!==n.Property||e.type!==n.Property)throw new Error(`Expected property entities for comparison. But got ${i.type} and ${e.type}.`);return i===e||i.id===e.id?!0:i.name!==e.name||i.static!==e.static||i.abstract!==e.abstract?!1:kt(i.dataType,e.dataType).compatible}function IP(i,e){if(i.type!==n.CustomEntity||e.type!==n.CustomEntity)throw new Error(`Expected custom entities for comparison. But got ${i.type} and ${e.type}.`);if(i===e||i.id===e.id)return!0;if(i.properties.length!==e.properties.length)return!1;let t=[...e.properties];const r=[];for(let a=0;a<i.properties.length;a++){const s=i.properties[a];t.find(l=>{const p=vP(s,l);return p&&(t=t.filter(y=>y.id!==l.id)),p})||r.push(s)}return!(r.length>0)}var jt=(i=>(i.BothUnconstrained="both-unconstrained",i.AConstraintBUnconstrained="a-constraint-b-unconstrained",i.BConstraintAUnconstrained="b-constraint-a-unconstrained",i.Same="same",i.AIsListBIsNot="a-is-list-b-is-not",i.BIsListAIsNot="b-is-list-a-is-not",i.AIsNullableBIsNot="a-is-nullable-b-is-not",i.BIsNullableAIsNot="b-is-nullable-a-is-not",i.AIsTemplateBIsNot="a-is-template-b-is-not",i.BIsTemplateAIsNot="b-is-template-a-is-not",i.BothUntyped="both-untyped",i.AIsUntypedBIsNot="a-is-untyped-b-is-not",i.BIsUntypedAIsNot="b-is-untyped-a-is-not",i.TypeEntityMismatch="type-entity-mismatch",i.SameCustomEntities="same-custom-entities",i.CompatibleCustomEntities="compatible-custom-entities",i.IncompatibleCustomEntities="incompatible-custom-entities",i.SamePrimitiveEntities="same-primitive-entities",i.IncompatiblePrimitiveEntities="incompatible-primitive-entities",i.SameBuiltInBaseEntities="same-built-in-base-entities",i.IncompatibleBuiltInBaseEntities="incompatible-built-in-base-entities",i.CheckUnknown="check-unknown",i))(jt||{});function kt(i,e){var t,r,a,s,o,l,p,y,h,m,R;if(i&&i.type!==n.DataType||e&&e.type!==n.DataType)throw new Error(`Expected data-type entities for comparison. But got ${i==null?void 0:i.type} and ${e==null?void 0:e.type}.`);if(i===null&&e===null)return{compatible:!0,type:"both-unconstrained"};if(i===null)return{compatible:!0,type:"a-constraint-b-unconstrained"};if(e===null)return{compatible:!0,type:"b-constraint-a-unconstrained"};if(i===e)return{compatible:!0,type:"same"};if(i.id===e.id)return{compatible:!0,type:"same"};if(i.isList!==e.isList)return{compatible:!1,type:i.isList?"a-is-list-b-is-not":"b-is-list-a-is-not"};if(i.isNullable!==e.isNullable)return{compatible:!1,type:i.isNullable?"a-is-nullable-b-is-not":"b-is-nullable-a-is-not"};if(i.asType!==e.asType)return{compatible:!1,type:i.asType?"a-is-template-b-is-not":"b-is-template-a-is-not"};if(!i.entity&&e.entity)return{compatible:!0,type:"a-is-untyped-b-is-not"};if(i.entity&&!e.entity)return{compatible:!0,type:"b-is-untyped-a-is-not"};if(!i.entity&&!e.entity)return{compatible:!0,type:"both-untyped"};if(((t=i.entity)==null?void 0:t.type)!==((r=e.entity)==null?void 0:r.type))return{compatible:!1,type:"type-entity-mismatch"};if(((a=i.entity)==null?void 0:a.type)===n.CustomEntity){if(((s=i.entity)==null?void 0:s.id)===((o=e.entity)==null?void 0:o.id))return{compatible:!0,type:"same-custom-entities"};const v=IP(i.entity,e.entity);return{compatible:v,type:v?"compatible-custom-entities":"incompatible-custom-entities"}}return((l=i.entity)==null?void 0:l.type)===n.PrimitiveEntity?((p=i.entity)==null?void 0:p.id)===((y=e.entity)==null?void 0:y.id)?{compatible:!0,type:"same-primitive-entities"}:{compatible:!1,type:"incompatible-primitive-entities"}:((h=i.entity)==null?void 0:h.type)===n.BuiltInBaseEntity?((m=i.entity)==null?void 0:m.id)===((R=e.entity)==null?void 0:R.id)?{compatible:!0,type:"same-built-in-base-entities"}:{compatible:!1,type:"incompatible-built-in-base-entities"}:{compatible:!1,type:"check-unknown"}}function E2(i){const e=i.project.builtInBaseEntities.find(a=>a.id===V.EXECUTION),t={id:i.id+"--infered-data-type",version:1,type:n.DataType,isList:!1,isNullable:!1,andChildrenGroup:null,orChildrenGroup:null,asType:!1,entity:null,constant:!1,defaultValue:null,parent:null},r=g(t,i.project);return r.inferred=!0,r.sync(t),r.setParent(i),r.entity=e,r}function DP(i){return i.dataType?i.dataType:null}function hu(i){var t;const e=(t=i.declaration)==null?void 0:t.getDataType();return e&&e.isResolved?e:i.readsValue?un(i.readsValue):null}function mu(i){return i.dataType&&!i.dataType.inferred&&i.dataType.isResolved?i.dataType:i.readsValue?un(i.readsValue):null}function PP(i){return un(i.declaration)}function AP(i){return i.dataType&&!i.dataType.inferred?i.dataType:(i.dataType&&i.dataType.inferred,i.inferDataTypeAndSyncInstancesInputsAndOutputs(),i.dataType)}function Tu(i){var e;return((e=i.declaration)==null?void 0:e.dataType)||null}function OP(i){return(i==null?void 0:i.dataType)||null}function SP(i){return(i==null?void 0:i.dataType)||null}function un(i){switch(i.type){case n.VariableDeclaration:return AP(i);case n.ArgumentDeclaration:return DP(i);case n.ReturnDeclaration:return mu(i);case n.VariableInstance:return PP(i);case n.InputMap:return hu(i);case n.OutputMap:return Tu(i);case n.Property:return OP(i);case n.ValueDescriptor:return SP(i);default:throw new Error(`Cannot infer data type from entity of type ${i.type}.`)}}function No(i){switch(i.type){case n.ArgumentDeclaration:return i.getDataType();case n.InputMap:return i.getDataType();case n.VariableDeclaration:return i.getDataType();case n.VariableInstance:return i.getDataType();case n.OutputMap:return i.getDataType();case n.ReturnDeclaration:return i.getDataType();case n.Property:return i.getDataType();case n.ValueDescriptor:return i.getDataType();default:return null}}function N(i){if(i){let e=null;return typeof i=="string"?e=i:i.entityId?e=i.entityId:i.type!==n.GenericReference&&(e=i.id),e}return null}function wr(i){return i.declaration||i}function b2(i){return i.type===n.VariableDeclaration?i.parent===i.project?"global-declaration":"local-declaration":i.declaration.parent===i.project?"global-instance":"local-instance"}function Eu(i,e){const t=[];if(i.type===n.Project)t.push(...i.variableDeclarations);else{const a=gt(Me(i)).filter(s=>s.type===n.VariableDeclaration);t.push(...a),i.parent&&(pt.includes(i.parent.type)||i.parent.type===n.Project)&&t.push(...Eu(i.parent))}return t}function R2(i){return i.split(/[\s-]+/).filter(r=>r.length>0).map((r,a)=>a===0?r.toLowerCase():r[0].toUpperCase()+r.slice(1).toLowerCase()).join("")}function g2(i){return i.split(/[\s-]+/).filter(r=>r.length>0).map(r=>r[0].toUpperCase()+r.slice(1).toLowerCase()).join("")}function CP(i){var e;return(e=i.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g))==null?void 0:e.map(t=>t.toLowerCase()).join("-")}function Mo(i){return CP(i).toLowerCase()}function ka(i){var e,t;if(!i)return"Any data type";if(!i.entity){const r=i.isList;if(!((e=i.andChildrenGroup)!=null&&e.length)&&!((t=i.orChildrenGroup)!=null&&t.length))return r?"List of an any data type":"Any data type";let a="",s=!1,o=!1;return(i.andChildrenGroup||[]).forEach(l=>{const p=ka(l),y=_o(p);s&&(a+=" and "),l.isGroup?a+="("+y+")":s?a+=y:a+=p,s=!0,o=!0}),(i.orChildrenGroup||[]).forEach(l=>{const p=ka(l),y=_o(p);s&&(o&&(a+=","),a+=" or "),l.isGroup?a+="("+y+")":s?a+=y:a+=p,s=!0}),a}if(i.entity.type===n.PrimitiveEntity){let r=i.entity.name;switch(i.entity.name){case I.String:r="Text";break;case I.KeyValue:r="Data structure";break}return i.isList?`List of ${r}s`:`${r.slice(0,1).toUpperCase()}${r.slice(1)}`}else if(i.entity.type===n.CustomEntity){const r=C(i.entity,i.project);return i.isList?`List of ${r} entities`:r.slice(0,1).toUpperCase()+r.slice(1)}else if(i.entity.type===n.BuiltInBaseEntity){const r=wP(i.entity);return i.isList?`List of ${r} entities`:r.slice(0,1).toUpperCase()+r.slice(1)}else return i.isList?`List of ${i.entity.name} entities`:`${i.entity.name.slice(0,1).toUpperCase()+i.entity.name.slice(1)} entity`}function v2(i){if(!i)return"Any data type";const e=i.getDataType();return ka(e)}function Vo(i){switch(i.declaration.id){case $e.Equal:return"is equal to";case $e.NotEqual:return"is not equal to";case $e.MoreThan:return"is greater than";case $e.MoreThanOrEqual:return"is greater than or equal to";case $e.LessThan:return"is less than";case $e.LessThanOrEqual:return"is less than or equal to";case $e.And:return"and";case $e.Or:return"or";case Gt.Empty:return"is empty";case Gt.NotEmpty:return"is not empty"}}function BP(i){return i.includes(V.HTTP_ENDPOINT)?"HTTP endpoint":i.includes(V.PERSISTED_ENTITY)?"Persisted entity":i.includes(V.CRON_JOB)?"Scheduled execution":i.includes(V.RELATIONAL_DATABASE)?"Relational database":"Entity"}function wP(i){switch(i.name){case V.HTTP_ENDPOINT:return"HTTP endpoint";case V.PERSISTED_ENTITY:return"Persisted entity";case V.CRON_JOB:return"Scheduled execution";case V.RELATIONAL_DATABASE:return"Relational database"}return"Entity"}function I2(i){const e=Wu(i);if(!e){const t=Ju(i);return t.includes(V.HTTP_ENDPOINT)?"HTTP endpoint":t.includes(V.PERSISTED_ENTITY)?"Persisted entity":t.includes(V.CRON_JOB)?"Scheduled execution":t.includes(V.RELATIONAL_DATABASE)?"Relational database":C(i,i.project)+" entity"}return C(e,i.project)+" entity"}function _P(i){let e="Find ";return i.outputsDeclarations.forEach((t,r)=>{const a=No(t),s=_o(a&&a.entity?C(a.entity,i.project):"unstructured data");r===0?e+=`${s} `:r===i.outputsDeclarations.length-1?e+=`and ${s} `:e+=`, ${s} `}),e}function NP(i){switch(i.name){case I.String:return"Text";case I.Number:return"Number";case I.Boolean:return"Boolean";case I.KeyValue:return"Data structure";case I.UUID:return"Unique identifier";case I.Date:return"Date";case I.EntityTemplate:return"Entity as template";case I.Enum:return"Enumeration";case I.File:return"File";case I.Null:return"Empty";case I.ActionDescriptor:return"Action descriptor";case I.Untyped:return"Untyped";default:return i.name}}function MP(i){switch(i.id){case $.List:return"Loop over list items";case $.ManualFlow:return"Manual flow control loop";case $.ObjectKeys:return"Loop over object keys";case $.ObjectValues:return"Loop over object values";case $.Counted:return"Loop given number of times";case $.String:return"Loop over text characters";case Te.Addition:return"Sum numbers";case Te.Subtraction:return"Subtract numbers";case Te.Multiplication:return"Multiply numbers";case Te.Division:return"Divide numbers";case Te.Remainder:return"Get remainder of numbers";case Te.Exponentiation:return"Get exponent of numbers";case X.AddIndex:return"Add at index position";case X.DeleteFirst:return"Delete first character";case X.DeleteLast:return"Delete last character";case X.DeleteIndex:return"Delete at index position";case X.Join:return"Join texts";case X.ReplaceAllMatches:return"Replace all matches";case X.ReplaceFirst:return"Replace first match";case X.ReplaceLast:return"Replace last match";case X.Split:return"Split text";case X.ReplaceIndex:return"Replace at index position";case X.ReplaceSingleMatch:return"Replace single match";case X.GetFirst:return"Get first character";case X.GetLast:return"Get last character";case X.GetIndex:return"Get at index position";case X.Append:return"Add at the end";case X.Prepend:return"Add at the start";case le.Wait:return"Wait";case le.Parallel:return"Run in parallel";case le.Sequential:return"Run in sequence";case tt.HttpRequest:return"HTTP request";case ce.CreateNewInstance:return"Create new copy of entity";case H.AddIndex:return"Add item at index position";case H.DeleteFirst:return"Delete first item";case H.DeleteLast:return"Delete last item";case H.DeleteIndex:return"Delete item at index position";case H.Join:return"Join lists";case H.ReplaceAllMatches:return"Replace all matches";case H.ReplaceFirst:return"Replace first match";case H.ReplaceLast:return"Replace last match";case H.Split:return"Split list";case H.ReplaceIndex:return"Replace at index position";case H.ReplaceSingleMatch:return"Replace single match";case H.GetFirst:return"Get first item";case H.GetLast:return"Get last item";case H.GetIndex:return"Get item at index position";case H.Append:return"Add item at the end";case H.Prepend:return"Add item at the start";case fn.PROJECT_PUBLICATION_COMPLETED:return"Project publication completed";default:return(i.name.slice(0,1).toUpperCase()+i.name.slice(1)).replaceAll("-"," ")}}function C(i,e){var t;if(n.FunctionDeclaration===i.type){const r=i.name;if(Object.values(Bt).includes(r))switch(r){case Bt.AbortExecution:return"Abort execution";case Bt.DeletePersistedEntity:return"Delete persisted entity";case Bt.SoftDeletePersistedEntity:return"Soft delete persisted entity";default:return wo(i.type).replaceAll("-"," ")}return r}if(n.BuiltInBaseEntity===i.type)return BP([i.name]);if(Qu.includes(i.type)&&i.type!==n.ActionDescriptor)return i.name;switch(i.type){case n.Search:return _P(i);case n.Operation:case n.InternalCall:case n.Loop:const r=Lt(i.declaration,e);return C(r,e);case n.ActionDescriptor:return MP(i);case n.BreakStatement:const a=Lt(i.parent,e);return`Stop loop ${C(a,e)}`;case n.ContinueStatement:const s=Lt(i.parent,e);return`Execute next iteration of ${C(s,e)}`;case n.FunctionCall:return Lt(i.declaration,e).name;case n.Condition:{const l=i;if((t=i.inputs)!=null&&t.length){const p=C(l.inputs[0],l.project);if(l.inputs[1]){const y=l.inputs[1].declaration.name;return`If ${p} ${Vo(l)} ${y}`}return`If ${p} ${Vo(l)}`}else return`If ${Vo(l)}`}case n.ReturnStatement:{const l=Lt(i.parent,e);return`Output of ${C(l,e)}`}case n.InputMap:if(i.declaration){const l=Lt(i.declaration,e);return C(l,e)||""}else return i.name||"";case n.VariableInstance:{const l=Lt(i.declaration,e);return C(l,e)||""}case n.OutputMap:if(i.declaration){const l=Lt(i.declaration,e);return(l==null?void 0:l.name)||""}else return"";case n.PrimitiveEntity:case n.LiteralValue:return NP(i);default:return wo(i.type).replaceAll("-"," ")}}function Lo(i,e){const t=[];i.name||t.push(new b({id:`${i.id}--${S.EmptyName}`,message:`Entity with id "${i.id}" and type "${i.type}" has an empty name. Please provide a 'name' string.`,severity:T.Error,code:S.EmptyName,issue:null}));const r=e.entities.filter(a=>a.name===i.name);return r.length&&t.push(new b({id:`${i.id}--${S.NameNotUniqueInScope}`,message:`Entity with id "${i.id}" and type "${i.type}" has a name "${i.name}" that is not unique in the project. Entity with id "${r[0].id}" has the same name.
37
37
  Please provide a unique 'name' string.`,severity:T.Error,code:S.NameNotUniqueInScope,issue:null})),t}function bu(i,e){const t=[];i.name||t.push(new b({id:`${i.id}--${S.EmptyName}`,message:`Entity with id "${i.id}" and type "${i.type}" has an empty name. Please provide a 'name' string.`,severity:T.Error,code:S.EmptyName,issue:null}));const r=i.parent?N(i.parent):null;let a=e;r&&(a=e.get(r));const s=[];a.type===n.CustomEntity?s.push(...a.methods.map(l=>l)):a.type===n.Project?s.push(...a.functions.map(l=>l)):a.type===n.Loop?a.body&&s.push(a.body):a.type===n.InstalledProject&&s.push(...a.functions.map(l=>l));const o=s.filter(l=>l.name===i.name);return o.length&&t.push(new b({id:`${i.id}--${S.NameNotUniqueInScope}`,message:`Entity with id "${i.id}" and type "${i.type}" has a name "${i.name}" that is not unique in ${a.type===n.Project?"the globally declared project scope":"its parent entity"}. Entity with id "${o[0].id}" has the same name.
38
38
  Please provide a unique 'name' string.`,severity:T.Error,code:S.NameNotUniqueInScope,issue:null})),t}function Ru(i,e){const t=[];i.name||t.push(new b({id:`${i.id}--${S.EmptyName}`,message:`Entity with id "${i.id}" and type "${i.type}" has an empty name. Please provide a 'name' string.`,severity:T.Error,code:S.EmptyName,issue:null}));const r=i.parent&&Lt(i.parent,e)||e;if(!r)t.push(new b({id:`${i.id}--parent-reference--${f.ReferencedEntityNotFound}`,message:`The entity with id '${i.parent}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,severity:T.Error,code:f.ReferencedEntityNotFound,issue:null}));else{const s=Eu(r).filter(o=>o.name===i.name);s.length&&t.push(new b({id:`${i.id}--${S.NameNotUniqueInScope}`,message:`Entity with id "${i.id}" and type "${i.type}" has a name "${i.name}" that is not unique in its scope or higher scopes. Entity with id "${s[0].id}" has the same name.
39
39
  Please provide a unique 'name' string.`,severity:T.Error,code:S.NameNotUniqueInScope,issue:null}))}return t}function gu(i,e){const t=[];i.name||t.push(new b({id:`${i.id}--${S.EmptyName}`,message:`Entity with id "${i.id}" and type "${i.type}" has an empty name. Please provide a 'name' string.`,severity:T.Error,code:S.EmptyName,issue:null}));const r=N(i.parent);if(!r)t.push(new b({id:`${i.id}--parent-reference--${f.InvalidReferenceObjectStructure}`,message:`Reference object at 'parent' property for entity with id "${i.id}" and type "${i.type}" is not a valid reference. A reference needs to be a 'id' string of an existing entity in the project.`,severity:T.Error,code:f.InvalidReferenceObjectStructure,issue:null}));else{const a=e.get(r);if(!a)t.push(new b({id:`${i.id}--parent-reference--${f.ReferencedEntityNotFound}`,message:`The entity with id '${r}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,severity:T.Error,code:f.ReferencedEntityNotFound,issue:null}));else{const o=a.properties.filter(l=>l.name===i.name);o.length&&t.push(new b({id:`${i.id}--${S.NameNotUniqueInScope}`,message:`Entity with id "${i.id}" and type "${i.type}" has a name "${i.name}" that is not unique among all properties in the parent entity. Entity with id "${o[0].id}" has the same name.
@@ -159,8 +159,8 @@ Adding a new argument would make the implementation invalid. There are no argume
159
159
  ${v}
160
160
  ${P}`,issue:null}))}}}return a.push(...s.errors,...o,...Le(r)),{errors:a,modifiedData:r}}validateGeneratedUpdate(e){const t=[];return e.parent&&t.push(new b({id:`${this.id}--${f.InvalidParentUpdate}`,code:f.InvalidParentUpdate,severity:T.Error,message:`Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
161
161
  This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,issue:null})),{errors:t,modifiedData:e}}addSelfToProject(){const e=[this],t=[],r=[];return this.parent.addInputDeclaration(this),e.push(this.parent),this.writesValues.forEach(a=>{a.setValueWriter(this),e.push(a)}),{updated:E(e),added:E(t),removed:E(r),self:this}}addValueReader(e){return this.writesValues.includes(e)?this:(this.writesValues.push(e),this)}removeValueReader(e){return this.writesValues=this.writesValues.filter(t=>t.id!==e.id),this}setParent(e){return this.parent=e,this}setImplements(e){return this.implements=e,this}initChildren(){if(this.initialized)return this;if(this.initialized=!0,this.initialData.defaultValue&&(this.defaultValue=g(this.initialData.defaultValue,this.project),this.defaultValue.setParent(this),this.defaultValue.initChildren()),this.initialData.dataType&&(this.dataType=g(this.initialData.dataType,this.project),this.dataType.setParent(this),this.dataType.initChildren()),this.initialData.implements){const e=g(this.initialData.implements,this.project);this.implements=e}return Ja.initWritesValues(this,this.parent),this}subscribe(){return this.project.subscribeInstance(this),this}unsubscribe(){return this.project.unsubscribeInstance(this),this}sync(e){return this.version=e.version||this.version,this.index=e.index||(e.index!==0?this.index:0),this.name=e.name||this.name,this.description=e.description||this.description,this.required=e.required||this.required,this}async load(){return this}async create(){return this}async update(e){return this}async delete(){return this}remove({ignoreUpstream:e,seenEntities:t}={ignoreUpstream:!1,seenEntities:new Set}){const r=[],a=[];if(t.has(this.id))return{affected:[],removed:[]};if(t.add(this.id),a.push(this),this.unsubscribe(),this.defaultValue){const{affected:s,removed:o}=this.defaultValue.remove({ignoreUpstream:!0,seenEntities:t});r.push(...s),a.push(...o)}if(this.writesValues.forEach(s=>{r.push(s),s.readsValue=null}),e||(r.push(this.parent),this.parent.removeInputDeclaration(this)),this.dataType){const s=this.dataType.remove({ignoreUpstream:!0,seenEntities:t});r.push(...s.affected),a.push(...s.removed)}return{affected:E(r),removed:E(a)}}restore({seenEntities:e}={seenEntities:new Set}){const t=[];if(e.has(this.id))return{affected:[],self:this};if(e.add(this.id),this.subscribe(),this.defaultValue){const{affected:r}=this.defaultValue.restore({seenEntities:e});t.push(...r)}if(this.writesValues.forEach(r=>{t.push(r),r.setValueWriter(this)}),t.push(this.parent),this.parent.addInputDeclaration(this),this.dataType){const{affected:r}=this.dataType.restore({seenEntities:e});t.push(...r)}return{affected:E(t),self:this}}toFlat(e=new Set){var r,a;return e.has(this.id)?[]:(e.add(this.id),[this,...((r=this.defaultValue)==null?void 0:r.toFlat(e))||[],...this.writesValues.flatMap(s=>s.toFlat(e)),...((a=this.dataType)==null?void 0:a.toFlat(e))||[]])}toFlatIds(e=new Set){var r,a;return e.has(this.id)?[]:(e.add(this.id),[this.id,...((r=this.defaultValue)==null?void 0:r.toFlatIds(e))||[],...this.writesValues.flatMap(s=>s.toFlatIds(e)),...((a=this.dataType)==null?void 0:a.toFlatIds(e))||[]])}toJSON(){var e,t,r;return{id:this.id,version:this.version,name:this.name,type:this.type,index:this.index,description:this.description,required:this.required,defaultValue:((e=this.defaultValue)==null?void 0:e.toJSON())||null,dataType:((t=this.dataType)==null?void 0:t.toJSON())||null,implements:((r=this.implements)==null?void 0:r.toJSON())||null,writesValues:this.writesValues.map(a=>a.toJSON()),parent:this.parent.toReference()}}toReference(){return{id:this.id+"--"+_.UUID.uuid()+"--ref",type:n.GenericReference,entityId:this.id,entityType:this.type}}toShallowJSON(){var e,t,r;return{id:this.id,version:this.version,name:this.name,description:this.description,type:this.type,index:this.index,required:this.required,defaultValue:((e=this.defaultValue)==null?void 0:e.toReference())||null,writesValues:this.writesValues.map(a=>a.toReference()),implements:((t=this.implements)==null?void 0:t.toReference())||null,dataType:((r=this.dataType)==null?void 0:r.toReference())||null,parent:this.parent.toReference()}}toFlatJSON(e=new Set){var r,a;return e.has(this.id)?[]:(e.add(this.id),[this.toShallowJSON(),...((r=this.defaultValue)==null?void 0:r.toFlatJSON(e))||[],...this.writesValues.flatMap(s=>s.toFlatJSON(e)),...((a=this.dataType)==null?void 0:a.toFlatJSON(e))||[]])}toGenerationTarget(){return{id:this.id,name:this.name,description:this.description,type:this.type,required:this.required,parent:this.parent.id}}toFlatGenerationTarget(e=new Set){var r,a;return e.has(this.id)?[]:(e.add(this.id),[this.toGenerationTarget(),...((r=this.defaultValue)==null?void 0:r.toFlatGenerationTarget(e))||[],...this.writesValues.flatMap(s=>s.toFlatGenerationTarget(e)),...((a=this.dataType)==null?void 0:a.toFlatGenerationTarget(e))||[]])}clearErrors(){var e,t;return this.errors=[],(e=this.defaultValue)==null||e.clearErrors(),(t=this.dataType)==null||t.clearErrors(),this}validate(){const e=s7(this);return this.errors=e,{success:!0,error:null,data:this.toJSON()}}getErrors(){var t,r;return[...this.errors,...((t=this.defaultValue)==null?void 0:t.getErrors())||[],...((r=this.dataType)==null?void 0:r.getErrors())||[]]}getShallowErrors(){return this.errors}getDefaultValue(){return(this==null?void 0:this.defaultValue)||null}setDefaultValue(e){return this.defaultValue=e,this}clone(e=null,t=null,r=!0){var m,R;const a=this.toJSON(),s=t||Ke(C(this,this.project),n.ArgumentDeclaration,this.project);a.dataType=null;const o=s.split("-id"),l=o[o.length-1||0]||s;a.id=s;const p=Jt(a,this.project);e?p.setParent(e):p.setParent(this.parent),r&&p.subscribe(),p.initChildren();const y=(m=this.dataType)==null?void 0:m.clone(p,l+"--data-type-id",r);p.dataType=y||null;const h=(R=this.defaultValue)==null?void 0:R.clone(p,l+"-default-value-id",r);return p.defaultValue=h||null,p}getDataType(){return this.dataType}setDataType(e){return this.dataType=e,this}removeDataType(){return this.dataType=null,this}};c(Ae,"MUTABLE_BASE_PROPERTIES",["name","description","required"]),c(Ae,"INMUTABLE_BASE_PROPERTIES",["id","version","type"]),c(Ae,"BASE_PROPERTIES",[...Ae.MUTABLE_BASE_PROPERTIES,...Ae.INMUTABLE_BASE_PROPERTIES]),c(Ae,"MUTABLE_META_PROPERTIES",[...Ae.MUTABLE_BASE_PROPERTIES,"index"]),c(Ae,"INMUTABLE_META_PROPERTIES",[...Ae.INMUTABLE_BASE_PROPERTIES]),c(Ae,"META_PROPERTIES",[...Ae.MUTABLE_META_PROPERTIES,...Ae.INMUTABLE_META_PROPERTIES]),c(Ae,"MUTABLE_UPSTREAM_PROPERTIES",[]),c(Ae,"INMUTABLE_UPSTREAM_PROPERTIES",["parent","implements"]),c(Ae,"UPSTREAM_PROPERTIES",[...Ae.MUTABLE_UPSTREAM_PROPERTIES,...Ae.INMUTABLE_UPSTREAM_PROPERTIES]),c(Ae,"MUTABLE_DOWNSTREAM_PROPERTIES",["writesValues","dataType","defaultValue"]),c(Ae,"INMUTABLE_DOWNSTREAM_PROPERTIES",[]),c(Ae,"DOWNSTREAM_PROPERTIES",[...Ae.MUTABLE_DOWNSTREAM_PROPERTIES,...Ae.INMUTABLE_DOWNSTREAM_PROPERTIES]),c(Ae,"PROPERTIES",[...Ae.META_PROPERTIES,...Ae.UPSTREAM_PROPERTIES,...Ae.DOWNSTREAM_PROPERTIES]);let xr=Ae;function o7(i){const e=Bd(),t=i.toJSON();e.safeParse(t).success;const a=[];return ie(i.errors,a)}function l7(i,e){var r,a;const t=[];if(i.parent)if(i.parent){const s=e.get(i.parent);s?[n.InputMap,n.DataType].includes(s.type)?s.type===n.DataType&&s.entity?t.push(new b({id:`${i.id}--${i.parent}--${f.NewEntityWouldOverriteExisting}`,code:f.NewEntityWouldOverriteExisting,severity:T.Error,message:`Entity of type "${i.type}" with id "${i.id}", has a 'parent' of type 'data-type' which already has an existing default value entity with id "${s.entity.id}".
162
- Data types can only have one 'primitive-value' entity as 'entity'.
163
- You can update the existing 'primitive-value' with the 'update' action, for example, like so:
162
+ Data types can only have one 'literal-value' entity as 'entity'.
163
+ You can update the existing 'literal-value' with the 'update' action, for example, like so:
164
164
  \`\`\`json
165
165
  {
166
166
  "update": {
@@ -171,8 +171,8 @@ You can update the existing 'primitive-value' with the 'update' action, for exam
171
171
  }
172
172
  }\`\`\`
173
173
  Or 'delete' and then 'post' actions to replace it.`,issue:null})):[n.InputMap,n.Property,n.ArgumentDeclaration,n.ReturnDeclaration,n.VariableDeclaration,n.VariableInstance,n.ValueDescriptor,n.OutputMap].includes(s.type)&&s.defaultValue&&t.push(new b({id:`${i.id}--${i.parent}--${f.NewEntityWouldOverriteExisting}`,code:f.NewEntityWouldOverriteExisting,severity:T.Error,message:`Entity of type "${i.type}" with id "${i.id}", has a 'parent' of type 'data-type' which already has an existing default value entity with id "${(r=s.defaultValue)==null?void 0:r.id}".
174
- Data types can only have one 'primitive-value' entity as 'entity'.
175
- You can update the existing 'primitive-value' with the 'update' action, for example, like so:
174
+ Data types can only have one 'literal-value' entity as 'entity'.
175
+ You can update the existing 'literal-value' with the 'update' action, for example, like so:
176
176
  \`\`\`json
177
177
  {
178
178
  "update": {
@@ -303,10 +303,10 @@ ${FP}`,Ve.includes(r.type)||(s+=`
303
303
  It is recommended to have a caller reference already at the moment of creation in the payload of the generation action.`),t.push(new b({id:`${r.id}--${S.MissingCaller}`,code:S.MissingCaller,severity:Ve.includes(r.type)?T.Error:T.Warning,message:s,issue:null}))}}return{errors:t,modifiedData:r}}function Mu(i,e){const t=[];if(e.type===n.LiteralValue){const o=e.parent;let l=!1;if(o.type===n.InputMap)t.push(new b({id:`${i.id}--${e.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a literal value entity. Literal value entities aren't value writting entities.
304
304
  All value writting entity types are: ${F(ke,", "," and ")}.
305
305
 
306
- This primitive-value entity belongs to an input map entity with id "${o.id}". Input map entities are value writting entities. Is that what you meant to reference?`,issue:null}));else if(o.type===n.DataType){const p=o,y=p.parent;ke.includes(y.type)?t.push(new b({id:`${i.id}--${e.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
306
+ This literal-value entity belongs to an input map entity with id "${o.id}". Input map entities are value writting entities. Is that what you meant to reference?`,issue:null}));else if(o.type===n.DataType){const p=o,y=p.parent;ke.includes(y.type)?t.push(new b({id:`${i.id}--${e.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
307
307
  All value writting entity types are: ${F(ke,", "," and ")}.
308
308
 
309
- This primitive-value entity belongs to a data type entity with id "${p.id}", which itself belongs to a ${y.type} entity with id "${y.id}". ${y.type} entities are value writting entities. Is that what you meant to reference?`,issue:null})):l=!0}l&&t.push(new b({id:`${i.id}--${e.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
309
+ This literal-value entity belongs to a data type entity with id "${p.id}", which itself belongs to a ${y.type} entity with id "${y.id}". ${y.type} entities are value writting entities. Is that what you meant to reference?`,issue:null})):l=!0}l&&t.push(new b({id:`${i.id}--${e.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
310
310
  All value writting entity types are: ${F(ke,", "," and ")}.`,issue:null}))}else if(e.type===n.DataType){const o=e.parent;ke.includes(o.type)?t.push(new b({id:`${i.id}--${e.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`Entity of type "${i.type}" with id "${i.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
311
311
  All value writting entity types are: ${F(ke,", "," and ")}.
312
312
 
@@ -337,10 +337,10 @@ For any error branch caller, for the 'calledByError' property of an entity, you
337
337
  ${Xn}`,issue:null}));return r}function v7(i,e){const t=[],r=e.get(i);if(!r)t.push(new b({id:`last-action--${f.ReferencedEntityNotFound}`,code:f.ReferencedEntityNotFound,severity:T.Error,message:`The 'readsValue' property references an entity with id '${i}' that was not found in the project. Perhaps it should be created? Perhaps the ID is incorrect?`,issue:null}));else if(r.type===n.LiteralValue){const s=r.parent;let o=!1;if(s.type===n.InputMap)t.push(new b({id:`last-action--${r.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`The 'readsValue' property references an entity with id "${r.id}" that is a literal value entity. Literal value entities aren't value writting entities.
338
338
  All value writting entity types are: ${F(ke,", "," and ")}.
339
339
 
340
- This primitive-value entity belongs to an input map entity with id "${s.id}". Input map entities are value writting entities. Is that what you meant to reference?`,issue:null}));else if(s.type===n.DataType){const l=s,p=l.parent;ke.includes(p.type)?t.push(new b({id:`last-action--${r.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`The 'readsValue' property references an entity with id "${r.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
340
+ This literal-value entity belongs to an input map entity with id "${s.id}". Input map entities are value writting entities. Is that what you meant to reference?`,issue:null}));else if(s.type===n.DataType){const l=s,p=l.parent;ke.includes(p.type)?t.push(new b({id:`last-action--${r.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`The 'readsValue' property references an entity with id "${r.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
341
341
  All value writting entity types are: ${F(ke,", "," and ")}.
342
342
 
343
- This primitive-value entity belongs to a data type entity with id "${l.id}", which itself belongs to a ${p.type} entity with id "${p.id}". ${p.type} entities are value writting entities. Is that what you meant to reference?`,issue:null})):o=!0}o&&t.push(new b({id:`last-action--${r.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`The 'readsValue' property references an entity with id "${r.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
343
+ This literal-value entity belongs to a data type entity with id "${l.id}", which itself belongs to a ${p.type} entity with id "${p.id}". ${p.type} entities are value writting entities. Is that what you meant to reference?`,issue:null})):o=!0}o&&t.push(new b({id:`last-action--${r.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`The 'readsValue' property references an entity with id "${r.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
344
344
  All value writting entity types are: ${F(ke,", "," and ")}.`,issue:null}))}else if(r.type===n.DataType){const s=r.parent;ke.includes(s.type)?t.push(new b({id:`last-action--${r.id}--${f.InvalidReference}`,code:f.InvalidReference,severity:T.Error,message:`The 'readsValue' property references an entity with id "${r.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
345
345
  All value writting entity types are: ${F(ke,", "," and ")}.
346
346