@elyx-code/project-logic-tree 0.0.6362 → 0.0.6363
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -7
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1455,7 +1455,11 @@ export declare type BuiltInElementTransfer = IBuiltInBaseEntityTransfer | IPrimi
|
|
|
1455
1455
|
|
|
1456
1456
|
export declare type BuiltInElementTypesUnion = BuiltInElement | BuiltInElementTransfer | BuiltInElementShallowTransfer | BuiltInElementGenerationTarget;
|
|
1457
1457
|
|
|
1458
|
-
export declare
|
|
1458
|
+
export declare enum BuiltInFunctionIds {
|
|
1459
|
+
DeletePersistedEntity = "base-delete-persisted-entity",
|
|
1460
|
+
SavePersistedEntity = "base-save-persisted-entity",
|
|
1461
|
+
AbortExecution = "base-abort-execution"
|
|
1462
|
+
}
|
|
1459
1463
|
|
|
1460
1464
|
export declare type BuiltInSystemEntityState = PrimitiveEntityState | BuiltInBaseEntityState;
|
|
1461
1465
|
|
|
@@ -12529,12 +12533,6 @@ export declare class PersistedEntity extends BuiltInBaseEntityState {
|
|
|
12529
12533
|
constructor(parentProjectState: ProjectState);
|
|
12530
12534
|
}
|
|
12531
12535
|
|
|
12532
|
-
export declare enum PersistedEntityMethods {
|
|
12533
|
-
DeletePersistedEntity = "base-delete-persisted-entity",
|
|
12534
|
-
SavePersistedEntity = "base-save-persisted-entity",
|
|
12535
|
-
AbortExecution = "base-abort-execution"
|
|
12536
|
-
}
|
|
12537
|
-
|
|
12538
12536
|
export declare const PLACEHOLDER_VALUE_STORE_CLIENT: IValueStoreClient;
|
|
12539
12537
|
|
|
12540
12538
|
export declare type PlayableEntity = PassThroughCallableEntity | EntryPointEntity;
|
package/dist/index.js
CHANGED
|
@@ -105663,6 +105663,7 @@ export {
|
|
|
105663
105663
|
WEt as BreakStatementDependencyField,
|
|
105664
105664
|
Fo as BreakStatementState,
|
|
105665
105665
|
ea as BuiltInBaseEntityState,
|
|
105666
|
+
bn as BuiltInFunctionIds,
|
|
105666
105667
|
fd as CACHED_PROJECTS_BY_ID,
|
|
105667
105668
|
Mwt as CALLABLE_ENTITIES_EXPLANATION,
|
|
105668
105669
|
Vn as CALLABLE_TYPES,
|
|
@@ -105804,7 +105805,6 @@ export {
|
|
|
105804
105805
|
fIt as ParallelExecutionOperation,
|
|
105805
105806
|
O1t as PassThroughCallableEntityClass,
|
|
105806
105807
|
gIt as PersistedEntity,
|
|
105807
|
-
bn as PersistedEntityMethods,
|
|
105808
105808
|
qi as PrimitiveEntityState,
|
|
105809
105809
|
z as PrimitiveTypes,
|
|
105810
105810
|
O as ProjectState,
|
package/dist/index.umd.cjs
CHANGED
|
@@ -401,4 +401,4 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
401
401
|
You can inspect the existing 'entity' field with the 'describe_entity' action. Like so:
|
|
402
402
|
${Dn({describe_entity:b.entity.id})}
|
|
403
403
|
Alternatively you can update the parent data-type entity with 'update' action to remove the existing value of the field.`,issue:null}))}return{errors:p,modifiedData:l}}get interactive(){return this.implements.length?this.implements.every(i=>i.interactive):!0}get allMethods(){return R([...this.ownDeclaredMethods,...this.allBaseMethodsFromOriginalParents])}get allProperties(){return R([...this.ownDeclaredProperties,...this.allBasePropertiesFromOriginalParents])}get allBaseMethodsFromOriginalParents(){return R([...this.extends.flatMap(i=>i.allMethods,[]),...this.implements.flatMap(i=>i.allMethods,[])])}get allBasePropertiesFromOriginalParents(){return R([...this.extends.flatMap(i=>i.allProperties,[]),...this.implements.flatMap(i=>i.allProperties,[])])}get allBasePropertiesFromExtendedAndImplementedEntities(){return R([...this.extends.reduce((i,a)=>[...[...a.ownDeclaredProperties,...a.allBasePropertiesFromExtendedAndImplementedEntities].filter(p=>!p.abstract),...i],[]),...this.implements.reduce((i,a)=>[...[...a.ownDeclaredProperties,...a.allBasePropertiesFromExtendedAndImplementedEntities].filter(p=>!p.abstract),...i],[])])}get allBaseMethodsFromExtendedAndImplementedEntities(){return R([...this.extends.reduce((i,a)=>a.type!==f.DefinitionEntity?[]:[...[...a.ownDeclaredMethods,...a.allBaseMethodsFromExtendedAndImplementedEntities].filter(p=>p.type!==f.ActionDescriptor),...i],[]),...this.implements.reduce((i,a)=>a.type!==f.DefinitionEntity?a.abstractMethods:[...[...a.ownDeclaredMethods,...a.allBaseMethodsFromExtendedAndImplementedEntities].filter(p=>p.type!==f.ActionDescriptor),...i],[])])}get extendedPropertiesFromOriginalParents(){return R(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.extendedPropertiesFromOriginalParents].filter(p=>!p.abstract);return[...i,...l]},[]))}get implementedPropertiesFromOriginalParents(){return R([...this.extends.reduce((i,a)=>{const l=a.implementedPropertiesFromOriginalParents,p=[...a.ownDeclaredProperties].filter(t=>!!t.abstract&&!l.find(y=>y.name===t.name));return[...l,...p,...i]},[]),...this.implements.reduce((i,a)=>{const l=a.implementedPropertiesFromOriginalParents,p=[...a.ownDeclaredProperties].filter(t=>!!t.abstract&&!l.find(y=>y.name===t.name));return[...l,...p,...i]},[])].filter(i=>!!i.abstract))}get extendedMethodsFromOriginalParents(){return R(this.extends.reduce((i,a)=>{if(a.type!==f.DefinitionEntity)return[];const l=[...a.ownDeclaredMethods,...a.extendedMethodsFromOriginalParents].filter(p=>p.type!==f.ActionDescriptor);return[...i,...l]},[]))}get implementedMethodsFromOriginalParents(){return R([...this.extends.reduce((i,a)=>{const l=a.type===f.DefinitionEntity?a.methods:[],p=[...a.abstractMethods].filter(t=>!l.find(y=>y.name===t.name));return[...l,...p,...i]},[]),...this.implements.reduce((i,a)=>[...a.abstractMethods,...i],[])].filter(i=>i.type===f.ActionDescriptor))}get extendedProperties(){return this.properties.filter(i=>i.isExtendedProperty)}get ownDeclaredProperties(){return this.properties.filter(i=>!i.isExtendedProperty)}get extendedMethods(){return this.methods.filter(i=>i.isExtendedMethod)}get ownDeclaredMethods(){return this.methods.filter(i=>!i.isExtendedMethod)}validateGeneratedUpdate(i){const a=[];return i.parent&&a.push(new Q({id:`${this.id}--${q.InvalidParentUpdate}`,code:q.InvalidParentUpdate,severity:Z.Error,message:`Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on an '${this.type}', must be the root project as it is a globally declared entity.`,issue:null})),{errors:a,modifiedData:i}}subscribeDependents(i){return i.forEach(a=>{this.detachedDependents[a.entity.id]||(this.detachedDependents[a.entity.id]=a)}),this}unsubscribeDependents(i){return i.forEach(a=>{this.detachedDependents[a.entity.id]&&delete this.detachedDependents[a.entity.id]}),this}syncDependents(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-dependents"))){const a=[],l=[],p=[],t=[];return Object.values(this.detachedDependents).forEach(y=>{const v=y.entity.afterAllChildrenInitialized(i);a.push(...v.updated),l.push(...v.added),p.push(...v.removed),t.push(...v.affected)}),i==null||i.attemptAutoclose("sync-dependents",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}onDetachedDependencyRemoved(i,a,l){const p=[],t=[],y=[],v=[];return a==="implements"&&this.removeImplementation(i),a==="extends"&&this.removeExtension(i),{updated:R(p),added:R(t),removed:R(y),affected:R(v),self:this}}onDetachedDependencyRestored(i,a,l){const p=[],t=[],y=[],v=[];return a==="implements"&&this.addImplementation(i),a==="extends"&&this.addExtension(i),{updated:R(p),added:R(t),removed:R(y),affected:R(v),self:this}}unsubscribeFromDependencies(){return this.implements.forEach(i=>{Gi.includes(i.type)||i.unsubscribeDependents([{entity:this,field:"implements"}])}),this}subscribeToDependencies(){return this.implements.forEach(i=>{Gi.includes(i.type)||i.subscribeDependents([{entity:this,field:"implements"}])}),this.extends.forEach(i=>{Gi.includes(i.type)||i.subscribeDependents([{entity:this,field:"extends"}])}),this}increaseVersion(i){if(i&&!N(i).isValid())throw new Error(`The shared timestamp '${i}' is not a valid ISO 8601 date string.`);return i&&N(i).isSame(N(this.createdAt))?this:(this.previousVersion=this.version,this.version=P.UUID.uuid(),this.createdAt=N(i).toISOString()||N().toISOString(),this)}captureVersion(){var a;const i=((a=this.knownVersions)==null?void 0:a.get(this.version))||new Vt(this,this.project);return i.metaSync(this.toMeta(),null),this.knownVersions=this.knownVersions?this.knownVersions.set(this.version,i):new Map([[this.version,i]]),i.properties=[...this.properties],i.methods=[...this.methods],i.abstractMethods=[...this.abstractMethods],i.extends=[...this.extends],i.implements=[...this.implements],i.parent=this.parent,this}recursiveCaptureUpstreamVersions(i){const a=[],l=[],p=[],t=[];if(this.parent){this.parent.increaseVersion(i);const y=this.parent.recursiveCaptureUpstreamVersions(i);a.push(this.parent,...y.updated),l.push(...y.added),p.push(...y.removed)}return{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}async restoreVersion(i){var v;const a=[],l=[],p=[],t=[];if(this.version===i)return{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this};if(!this.knownVersions){const b=new Map;for(const[w,A]of this.knownVersions||new Map){if(b.set(w,A),A.activeVersion=!1,A.knownVersions)for(const[V,L]of A.knownVersions)b.set(V,L);A.knownVersions=null}}let y=(v=this.knownVersions)==null?void 0:v.get(i);if(!y){const b=await this.APILoadVersion({},i);if(!b)throw new Error(`Version with id '${i}' for entity with id '${this.id}' not found.`);y=new Vt(b,this.project)}return this.metaSync(y.toShallowJSON(),null),this.previousVersion=y.previousVersion,this.version=y.version,this.createdAt=y.createdAt,this.author=y.author,this.deleted=y.deleted,this.properties=y.properties,this.methods=y.methods,this.abstractMethods=y.abstractMethods,this.extends=y.extends,this.implements=y.implements,this.parent=y.parent,{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}updateWithShallowTransfer(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"update-with-shallow-transfer"))){if(this.metaSync(i,a),this.version=i.version,this.createdAt=i.createdAt,this.author=i.author,this.deleted=i.deleted,this.previousVersion=i.previousVersion,this.unsubscribeFromDependencies(),i.parent){const l=W(i.parent),p=this.project.get(l),t=this.parent;if(t&&t.id!==(p==null?void 0:p.id)&&this.removeFromParent(a),p)this.setParent(p,a);else throw a==null||a.attemptAutoclose("update-with-shallow-transfer",this.id),new Error(`${this.type} with id '${this.id}' has a 'parent' reference '${l}' that isn't found in the project`)}else throw a==null||a.attemptAutoclose("update-with-shallow-transfer",this.id),new Error(`${this.type} with id '${this.id}' must have a 'parent'`);return i.extends.forEach(l=>{const p=W(l),t=this.project.get(p);t&&this.addExtension(t)}),i.implements.forEach(l=>{const p=W(l),t=this.project.get(p);t&&this.addImplementation(t)}),this.captureVersion(),this.subscribeToDependencies(),a==null||a.attemptAutoclose("update-with-shallow-transfer",this.id),this}hydrateAncestors(){const i=[],a=[],l=[],p=[];if(this.initialData.parent){const t=W(this.initialData.parent),y=this.project.get(t);if(y)this.setParent(y,null),i.push(y);else throw new Error(`${this.type} with id '${this.id}' has a 'parent' reference '${t}' that isn't found in the project`)}else throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);return this.initialData.extends.forEach(t=>{const y=W(t),v=this.project.get(y);v&&(this.addExtension(v),v.type!==f.BuiltInBaseEntity&&i.push(v))}),this.initialData.implements.forEach(t=>{const y=W(t),v=this.project.get(y);v&&(this.addImplementation(v),v.type!==f.BuiltInBaseEntity&&i.push(v))}),{updated:R(i),added:R(a),removed:R(l),affected:R(p),self:this}}afterAllChildrenInitialized(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"after-all-children-initialized"))){const a=[],l=[],p=[],t=[];this.initialized=!0;const{updated:y,added:v,removed:b,affected:w}=this.syncImplementationProperties(i);a.push(...y),l.push(...v),p.push(...b),t.push(...w);const{updated:A,added:V,removed:L,affected:j}=this.addExtendedProperties(i);a.push(...A),l.push(...V),p.push(...L),t.push(...j);const{updated:k,added:S,removed:H}=this.removeUnrecognizedProperties(i);a.push(...k),l.push(...S),p.push(...H);const{updated:re,added:te,removed:pe,affected:ie}=this.syncImplementationMethods(i);a.push(...re),l.push(...te),p.push(...pe),t.push(...ie);const{updated:ve,added:J,removed:se,affected:ce}=this.addExtendedMethods(i);a.push(...ve),l.push(...J),p.push(...se),t.push(...ce);const{updated:Y,added:ue,removed:Ee}=this.removeUnrecognizedMethods(i);return a.push(...Y),l.push(...ue),p.push(...Ee),this.addSuggestions(),this.captureVersion(),i==null||i.attemptAutoclose("after-all-children-initialized",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}addSelfToProject(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"add-self-to-project"))){const a=[this],l=[],p=[],t=[];if(this.parent.type===f.DataType){const y=this.parent;y.entity=this,a.push(y)}else this.project.addDefinitionEntity(this);return this.subscribe(),this.subscribeToDependencies(),i==null||i.attemptAutoclose("add-self-to-project",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}setParent(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"set-parent"))){var l;return((l=this.parent)==null?void 0:l.id)!==(i==null?void 0:i.id)&&(this.parent=i,a&&(a==null||a.add(this,K.Updated))),a==null||a.attemptAutoclose("set-parent",this.id),this}addExtension(i){return this.extends.includes(i)||this.extends.push(i),this}removeExtension(i){return this.extends=this.extends.filter(a=>a.id!==i.id),this}addImplementation(i){return this.implements.includes(i)||this.implements.push(i),this}removeImplementation(i){return this.implements=this.implements.filter(a=>a.id!==i.id),this}removeProperty(i){return this.properties=this.properties.filter(a=>a.id!==i.id),this}addMethod(i){return this.methods.includes(i)||(this.methods.push(i),this.suggestedMethods=this.suggestedMethods.filter(a=>a.name!==i.name)),this}removeMethod(i){return this.methods=this.methods.filter(a=>a.id!==i.id),this}addProperty(i){return this.properties.includes(i)||(this.properties.push(i),this.suggestedProperties=this.suggestedProperties.filter(a=>a.name!==i.name)),this}addSuggestedProperty(i){return this.suggestedProperties.includes(i)||this.suggestedProperties.push(i),this}addSuggestedMethod(i){return this.suggestedMethods.includes(i)||this.suggestedMethods.push(i),this}removeSuggestedProperty(i){return this.suggestedProperties=this.suggestedProperties.filter(a=>a.id!==i.id),this}removeSuggestedMethod(i){return this.suggestedMethods=this.suggestedMethods.filter(a=>a.id!==i.id),this}addAbstractMethod(i){return this.abstractMethods.includes(i)||this.abstractMethods.push(i),this}removeAbstractMethod(i){return this.abstractMethods=this.abstractMethods.filter(a=>a.id!==i.id),this}initChildren(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"init-children"))){return this.initialized||this.startedInitialization?this:(this.startedInitialization=!0,this.properties=this.initialData.properties.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(i),l}),this.methods=this.initialData.methods.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(i),l}),this.abstractMethods=this.initialData.abstractMethods.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(i),l}),this.extends=this.initialData.extends.map(a=>ee(a,this.project)),this.implements=this.initialData.implements.map(a=>ee(a,this.project)),this.subscribeToDependencies(),this.afterAllChildrenInitialized(i),i==null||i.attemptAutoclose("init-children",this.id),this)}removeUnrecognizedProperties(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"remove-unrecognized-properties"))){const a=[],l=[],p=[],t=[];let y=[...this.properties];y=y.filter(b=>b.parent.id===this.id),y=y.filter(b=>!b.isExtendedProperty);const v=this.implementedPropertiesFromOriginalParents;return y=y.filter(b=>this.interactive&&!b.implements?!1:!v.find(w=>{var A;return w.id===((A=b.implements)==null?void 0:A.id)})),y.forEach(b=>{const w=b.remove({ignoreUpstream:!1},i);p.push(...w.removed),a.push(...w.updated)}),i==null||i.attemptAutoclose("remove-unrecognized-properties",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}removeUnrecognizedMethods(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"remove-unrecognized-methods"))){const a=[],l=[],p=[],t=[];let y=[...this.methods];y=y.filter(b=>b.parent.id===this.id),y=y.filter(b=>!b.isExtendedMethod);const v=this.implementedMethodsFromOriginalParents;return y=y.filter(b=>this.interactive&&!b.implements?!1:!v.find(w=>{var A;return w.id===((A=b.implements)==null?void 0:A.id)})),y.forEach(b=>{const w=b.remove({ignoreUpstream:!1},i);p.push(...w.removed),a.push(...w.updated)}),i==null||i.attemptAutoclose("remove-unrecognized-methods",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}syncImplementationMethods(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-implementation-methods"))){const a=[],l=[],p=[],t=[],y=this.methods,v=this.implementedMethodsFromOriginalParents,b=[...this.allBaseMethodsFromExtendedAndImplementedEntities,...y];return v.filter(A=>!b.find(L=>{var j;return((j=L.implements)==null?void 0:j.id)===A.id})).forEach(A=>{if(this.methods.find(k=>{var S;return((S=k.implements)==null?void 0:S.id)===A.id}))return;const L=this.methods.find(k=>{var pe,ie;if(k.name===A.name&&!k.implements)return!0;const S=zi(this,Oe.CRON_JOB),H=zi(this,Oe.HTTP_ENDPOINT),re=((pe=k.implements)==null?void 0:pe.id)===me["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id,te=((ie=k.implements)==null?void 0:ie.id)===me["built-in-base-entity"].BUILT_IN_CRON_JOB_ENTITY.methods.handler.id;return!!(S&&!te&&!H&&re||H&&!re&&!S&&te)});if(L&&L.type===f.FunctionDeclaration){L.setImplements(A),L.metaSync({name:A.name},i),i==null||i.add(L,K.Updated),i==null||i.add(this,K.Updated);return}const j=A.implementAsFunctionDeclaration(i,this);l.push(j),i==null||i.add(j,K.Added),this.addMethod(j)}),i==null||i.attemptAutoclose("sync-implementation-methods",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}syncImplementationProperties(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-implementation-properties"))){const a=[],l=[],p=[],t=[],y=this.properties,v=this.implementedPropertiesFromOriginalParents,b=[...this.allBasePropertiesFromExtendedAndImplementedEntities,...y];return v.filter(A=>!b.find(L=>{var j;return((j=L.implements)==null?void 0:j.id)===A.id})).forEach(A=>{if(this.properties.find(k=>{var S;return((S=k.implements)==null?void 0:S.id)===A.id}))return;const L=this.properties.find(k=>k.name===A.name&&!!k.abstract&&!k.implements);if(L){L.setImplements(A,i),L.metaSync({abstract:!1},i),L.afterAllChildrenInitialized(i);return}const j=A.implement(this,i,P.UUID.uuid());l.push(j),i==null||i.add(j,K.Added)}),i==null||i.attemptAutoclose("sync-implementation-properties",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}addExtendedMethods(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"add-extended-methods"))){const a=[],l=[],p=[],t=[],y=this.methods,b=this.extendedMethodsFromOriginalParents.filter(A=>A.type===f.FunctionDeclaration),w=new Set(y.filter(A=>{var V;return!!((V=A.extends)!=null&&V.id)}).map(A=>A.extends.id));return b.forEach(A=>{if(w.has(A.id))return;w.add(A.id);const V=A.clone(i,this,P.UUID.uuid());V.setExtends(A,i),V.initChildren(i),l.push(V),i==null||i.add(V,K.Added),this.addMethod(V)}),i==null||i.attemptAutoclose("add-extended-methods",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}addExtendedProperties(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"add-extended-properties"))){const a=[],l=[],p=[],t=[],y=this.properties,v=this.extendedPropertiesFromOriginalParents,b=v.filter(A=>v.find(L=>{var j;return((j=L.implements)==null?void 0:j.id)===A.id})?!1:!A.abstract),w=new Set(y.filter(A=>{var V;return!!((V=A.extends)!=null&&V.id)}).map(A=>A.extends.id));return b.forEach(A=>{if(w.has(A.id))return;w.add(A.id);const V=A.clone(i,this,P.UUID.uuid());V.setExtends(A,i),V.initChildren(i),l.push(V),i==null||i.add(V,K.Added),this.addProperty(V)}),i==null||i.attemptAutoclose("add-extended-properties",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}addSuggestions(){return this.implements.forEach(i=>{NF(this,i).forEach(p=>{const t=p.toJSON();t.id=`_suggestion--parent--${this.id}--${p.id}`;const y=ee(t,this.project);y.suggestion=!0,y.setParent(this,null),y.initChildren(null),this.addSuggestedProperty(y)}),LF(this,i).forEach(p=>{const t=`_suggestion--parent--${this.id}--${p.id}`,y=p.implementAsFunctionDeclaration(null,this,t),v=ee(y,this.project);if(v.suggestion=!0,v.setParent(this,null),v.initChildren(null),this.methods=this.methods.filter(b=>b.id!==t),v.inputs.forEach(b=>{b.suggestion=!0}),v.returnStatements.length){const b=v.returnStatements[0];b.suggestion=!0,b.outputs.forEach(w=>{w.suggestion=!0})}this.addSuggestedMethod(v)})}),this}subscribe(){return this.activeVersion=!0,this.project.subscribeInstance(this),this}unsubscribe(){return this.project.unsubscribeInstance(this),this}metaSync(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"meta-sync"))){const l=br(this,i),p=this.toMeta();return this.name=i.name!==void 0?i.name:p.name,this.codeName=i.codeName!==void 0?i.codeName:p.codeName,this.description=i.description!==void 0?i.description:p.description,this.x=i.x||p.x,this.y=i.y||p.y,this.static=i.static!==void 0?i.static:this.static,this.abstract=i.abstract!==void 0?i.abstract:this.abstract,super.metaSync(i),i.deleted===!0&&!p.deleted?a==null||a.add(this,K.Removed):i.deleted===!1&&p.deleted?a==null||a.add(this,K.Added):l&&(a==null||a.add(this,K.Updated)),a==null||a.attemptAutoclose("meta-sync",this.id),this}async APILoad(i=ye,...a){return await Vt.repository.APILoad(this.id,...a),this}async APICreate(i=ye,...a){return await Vt.repository.APICreate(this.toShallowJSON(),...a),this}async APIUpdate(i=ye,...a){return await Vt.repository.APIUpdate(this.toShallowJSON(),...a),this}async APIDelete(i=ye,...a){return await Vt.repository.APIDelete(this.toShallowJSON(),...a),this}async APIClone(i=ye,...a){return await Vt.repository.APIClone(this.id,...a),this}async APILoadVersion(i=ye,a,...l){return await Vt.repository.APILoadVersion(this.id,a,...l)}removeFromParent(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"remove-from-parent"))){const a=[],l=[],p=[],t=[];if(this.parent.type===f.Project)this.parent.removeDefinitionEntity(this);else if(this.parent.type===f.DataType&&this.parent.entity&&this.parent.entity.id===this.id){const y=this.parent.setEntity(null,i);a.push(y)}return i==null||i.attemptAutoclose("remove-from-parent",this.id),{added:R(p),updated:R(a),removed:R(l),affected:R(t),self:this}}remove({ignoreUpstream:i}={ignoreUpstream:!1},a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"remove-entity"))){const l=[],p=[],t=[],y=[];if(a!=null&&a.hasRemoved(this.id))return a==null||a.attemptAutoclose("remove-entity",this.id),{added:[],updated:[],removed:[],affected:[],self:this};if(p.push(this),this.unsubscribe(),this.unsubscribeFromDependencies(),this.project.subscribeDeletedInstance(this),this.metaSync({deleted:!0},a),Object.values(this.detachedDependents).forEach(v=>{const{updated:b,removed:w,added:A}=v.entity.onDetachedDependencyRemoved(this,v.field,a);l.push(...b),p.push(...w),t.push(...A)}),this.properties.forEach(v=>{const{updated:b,removed:w}=v.remove({ignoreUpstream:!0},a);l.push(...b),p.push(...w)}),this.methods.forEach(v=>{const{updated:b,removed:w}=v.remove({ignoreUpstream:!0},a);l.push(...b),p.push(...w)}),this.abstractMethods.forEach(v=>{const{updated:b,removed:w}=v.remove({ignoreUpstream:!0},a);l.push(...b),p.push(...w)}),this.suggestedProperties.forEach(v=>{const{updated:b,removed:w}=v.remove({ignoreUpstream:!0},a);l.push(...b),p.push(...w)}),this.suggestedMethods.forEach(v=>{const{updated:b,removed:w}=v.remove({ignoreUpstream:!0},a);l.push(...b),p.push(...w)}),!i){const v=this.removeFromParent(a);t.push(...v.added),l.push(...v.updated),p.push(...v.removed),y.push(...v.affected)}return a==null||a.attemptAutoclose("remove-entity",this.id),{added:R(t),updated:R(l),removed:R(p),affected:R(y),self:this}}restore({}={},i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"restore-entity"))){const a=[],l=[],p=[],t=[];return i!=null&&i.hasAdded(this.id)?(i==null||i.attemptAutoclose("restore-entity",this.id),{added:[],updated:[],removed:[],affected:[],self:this}):(this.subscribe(),this.project.unsubscribeDeletedInstance(this),this.metaSync({deleted:!1},i),Object.values(this.detachedDependents).forEach(y=>{const{updated:v,removed:b,added:w}=y.entity.onDetachedDependencyRestored(this,y.field,i);l.push(...v),p.push(...b),a.push(...w)}),this.properties.forEach(y=>{const{updated:v}=y.restore({},i);l.push(...v)}),this.methods.forEach(y=>{const{updated:v}=y.restore({},i);l.push(...v)}),this.abstractMethods.forEach(y=>{const{updated:v}=y.restore({},i);l.push(...v)}),this.suggestedProperties.forEach(y=>{const{updated:v}=y.restore({},i);l.push(...v)}),this.suggestedMethods.forEach(y=>{const{updated:v}=y.restore({},i);l.push(...v)}),i==null||i.attemptAutoclose("restore-entity",this.id),{added:R(a),updated:R(l),removed:R(p),affected:R(t),self:this})}toFlat(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this,...this.extends.flatMap(l=>l.toFlat(i)),...this.implements.flatMap(l=>l.toFlat(i)),...this.properties.flatMap(l=>l.toFlat(i)),...this.methods.flatMap(l=>l.toFlat(i)),...this.abstractMethods.flatMap(l=>l.toFlat(i)),...this.parent.toFlat(i)])}toFlatIds(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.id,...this.extends.flatMap(l=>l.toFlatIds(i)),...this.implements.flatMap(l=>l.toFlatIds(i)),...this.properties.flatMap(l=>l.toFlatIds(i)),...this.methods.flatMap(l=>l.toFlatIds(i)),...this.abstractMethods.flatMap(l=>l.toFlatIds(i)),...this.parent.toFlatIds(i)])}toMeta(){return{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,codeName:this.codeName,description:this.description,static:this.static,abstract:this.abstract,x:this.x,y:this.y,type:this.type,name:this.name}}toJSON(i=new Set){return i.has(this.id)?this.toReference():(i.add(this.id),{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,type:this.type,name:this.name,codeName:this.codeName,description:this.description,x:this.x,y:this.y,static:this.static,abstract:this.abstract,properties:this.properties.map(a=>a.toJSON(i)),methods:this.methods.map(a=>a.toJSON(i)),abstractMethods:this.abstractMethods.map(a=>a.toJSON(i)),implements:this.implements.map(a=>a.toJSON(i)),extends:this.extends.map(a=>a.toJSON(i)),parent:this.parent.toReference()})}toJSONClone(i=Le){var l,p,t,y,v;let a;return(l=i.seenEntityMaps)!=null&&l.has(this.id)?a=i.seenEntityMaps.get(this.id):(a=i.newId||wr(this,this.project,i.uuidStrategy),i.seenEntityMaps&&i.seenEntityMaps.set(this.id,a)),(p=i.seenEntities)!=null&&p.has(a)||(t=i.seenEntities)!=null&&t.has(this.id)?this.toReference({seenEntityMaps:i.seenEntityMaps}):((y=i.seenEntities)==null||y.add(a),(v=i.seenEntities)==null||v.add(this.id),{id:a,version:P.UUID.uuid(),createdAt:i.timestamp||N().toISOString(),author:P.sessionAuthor,previousVersion:null,deleted:!1,type:this.type,name:this.name,codeName:this.codeName,description:this.description,x:this.x,y:this.y,static:this.static,abstract:this.abstract,properties:this.properties.map(b=>b.toJSONClone({...i,newId:null})),methods:this.methods.map(b=>b.toJSONClone({...i,newId:null})),abstractMethods:this.abstractMethods.map(b=>b.toJSONClone({...i,newId:null})),implements:this.implements.map(b=>b.type===f.BuiltInBaseEntity?b.toJSON():b.toJSONClone({...i,newId:null})),extends:this.extends.map(b=>b.type===f.BuiltInBaseEntity?b.toJSON():b.toJSONClone({...i,newId:null})),parent:this.parent.toReference({seenEntityMaps:i.seenEntityMaps})})}toReference(i=Le){var l;let a=this.id;return(l=i.seenEntityMaps)!=null&&l.has(this.id)&&(a=i.seenEntityMaps.get(this.id)),{id:a+"--"+P.UUID.uuid()+"--ref",type:f.GenericReference,entityId:a,version:this.version,entityType:this.type}}toShallowJSON(i=Le){var l;let a=this.id;return(l=i.seenEntityMaps)!=null&&l.has(this.id)&&(a=i.seenEntityMaps.get(this.id)),{id:a,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,name:this.name,codeName:this.codeName,description:this.description,type:this.type,x:this.x,y:this.y,static:this.static,abstract:this.abstract,properties:this.properties.map(p=>p.toReference(i)),methods:this.methods.map(p=>p.toReference(i)),abstractMethods:this.abstractMethods.map(p=>p.toReference(i)),implements:this.implements.map(p=>p.toReference(i)),extends:this.extends.map(p=>p.toReference(i)),parent:this.parent.toReference(i)}}toFlatJSON(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.toShallowJSON(),...this.properties.flatMap(l=>l.toFlatJSON(i)),...this.methods.flatMap(l=>l.toFlatJSON(i)),...this.abstractMethods.flatMap(l=>l.toFlatJSON(i)),...this.implements.flatMap(l=>l.toFlatJSON(i)),...this.extends.flatMap(l=>l.toFlatJSON(i)),...this.parent.toFlatJSON(i)])}toGenerationTarget(){const i=this.parent.type===f.Project?void 0:this.parent.id;return{id:this.id,name:this.name,description:this.description,type:this.type,static:this.static,abstract:this.abstract,extends:this.extends.map(a=>a.id),implements:this.implements.map(a=>a.id),parent:i}}toFlatGenerationTarget(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.toGenerationTarget(),...this.properties.flatMap(l=>l.toFlatGenerationTarget(i)),...this.methods.flatMap(l=>l.toFlatGenerationTarget(i)),...this.abstractMethods.flatMap(l=>l.toFlatGenerationTarget(i)),...this.implements.filter(l=>l.type===f.DefinitionEntity).flatMap(l=>l.toFlatGenerationTarget(i)),...this.implements.filter(l=>l.type===f.DefinitionEntity).flatMap(l=>l.toFlatGenerationTarget(i)),...this.parent.toFlatGenerationTarget(i)])}clearErrors(){return this.errors=[],this.properties.forEach(i=>i.clearErrors()),this.methods.forEach(i=>i.clearErrors()),this.abstractMethods.forEach(i=>i.clearErrors()),this}validate(){return this.errors=VF(this),{success:!0,error:null,data:null}}getErrors(){return[...this.errors,...this.properties.flatMap(a=>a.getErrors()),...this.methods.flatMap(a=>a.getErrors()),...this.abstractMethods.flatMap(a=>a.getErrors())]}getShallowErrors(){return this.errors}clone(i=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"clone-entity")),a=null,l=null,p=!0){var k,S,H;let t=Rr(a,this);const y=this.toJSON(),v=l||P.UUID.uuid();y.properties=[],y.methods=[],y.abstractMethods=[];const b=v.split("-id"),w=b[b.length-1||0]||v;y.id=v,y.version=P.UUID.uuid(),y.createdAt=(i==null?void 0:i.timestamp)||N().toISOString(),y.author=(i==null?void 0:i.author)||"1",y.previousVersion=null,y.deleted=!1;const A=St(y,t);a&&A.setParent(a,null),p&&A.subscribe(),A.initChildren(i),i==null||i.add(A,K.Added);const V=(k=this.properties)==null?void 0:k.map(re=>re.clone(i,A,P.UUID.uuid(),p));A.properties=V;const L=(S=this.methods)==null?void 0:S.map((re,te)=>re.clone(i,A,w+"-method-"+te+"-id",p));A.methods=L;const j=(H=this.abstractMethods)==null?void 0:H.map((re,te)=>re.clone(i,A,w+"-abstract-method-"+te+"-id",p));return A.abstractMethods=j,i==null||i.attemptAutoclose("clone-entity",this.id),A}getFunctionDeclaration(i){return this.methods.find(a=>a.id===i)}implement(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"implement-definition-entity")),l){const p=xy(this,i,a,l);return a==null||a.attemptAutoclose("implement-definition-entity",this.id),p}getAllInteractiveMethods(){const i=this.implements.filter(l=>l.type===f.DefinitionEntity||l.type===f.BuiltInBaseEntity&&l.interactive);return R([...this.methods,...this.extends.flatMap(l=>l.getAllInteractiveMethods()),...i.flatMap(l=>l.getAllInteractiveMethods())])}inferFromInputs(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"infer-definition-entity-from-inputs"))){const l=[],p=[],t=[],y=[];if(this.parent.type!==f.DataType||!this.parent.inferred)return a==null||a.attemptAutoclose("infer-definition-entity-from-inputs",this.id),{added:[],updated:[],removed:[],affected:[],self:this};const v=[];i.forEach(A=>{v.find(L=>ne(L,this.project)===ne(A,this.project))||v.push(A)});const b=this.properties.filter(A=>!A.dataType);v.forEach(A=>{var H,re;const V=b.find(te=>ne(te,this.project)===ne(A,this.project));if(!V)return;const j=ui(A.parent).getMasterInputWithValueWritterFromAllInstances(A),k=Hs(j,a),S=k==null?void 0:k.clone(a,V,P.UUID.uuid(),!0);S&&((H=V.dataType)==null||H.merge(S,a),S.id!==((re=V.dataType)==null?void 0:re.id)&&S.remove({ignoreUpstream:!1},a),V.dataType&&(V.dataType.metaSync({inferred:!0,like:!0},a),V.setDataType(V.dataType,a),a==null||a.add(V,K.Affected))),A.setDeclaration(V),a==null||a.add(A,K.Updated)});const w=[];return v.forEach(A=>{if(!A.declaration){w.push(A);return}}),w.length===0?(a==null||a.attemptAutoclose("infer-definition-entity-from-inputs",this.id),{added:[],updated:[],removed:[],affected:[],self:this}):(w.forEach(A=>{var te,pe,ie,ve;const V=this.properties.find(J=>ne(J,this.project)===ne(A,this.project));if(V){if(A.setDeclaration(V),!V.getDataType(a)){const se=ui(A.parent).getMasterInputWithValueWritterFromAllInstances(A),ce=Hs(se),Y=ce==null?void 0:ce.clone(a,V,P.UUID.uuid(),!0);Y&&((te=V.dataType)==null||te.merge(Y,a),Y.id!==((pe=V.dataType)==null?void 0:pe.id)&&Y.remove({ignoreUpstream:!1},a),V.dataType&&(V.dataType.metaSync({inferred:!0,like:!0},a),V.setDataType(V.dataType,a),a==null||a.add(V,K.Affected)))}return}const L={id:P.UUID.uuid(),type:f.Property,version:P.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||N().toISOString(),author:P.sessionAuthor,previousVersion:null,deleted:!1,name:ne(A,this.project),codeName:A.codeName,description:A.description,defaultValue:null,static:!0,abstract:!1,private:!1,hidden:!1,required:!1,constant:!0,interactive:!0,index:A.index,implements:null,extends:null,dataType:null,parent:this.toReference()},j=ee(L,this.project);j.setParent(this,a),j.initChildren(a),a==null||a.add(j,K.Added);const S=ui(A.parent).getMasterInputWithValueWritterFromAllInstances(A),H=Hs(S),re=H==null?void 0:H.clone(a,j,P.UUID.uuid(),!0);return re&&((ie=j.dataType)==null||ie.merge(re,a),re.id!==((ve=j.dataType)==null?void 0:ve.id)&&re.remove({ignoreUpstream:!1},a),j.dataType&&(j.dataType.metaSync({inferred:!0,like:!0},a),j.setDataType(j.dataType,a),a==null||a.add(j,K.Affected))),this.addProperty(j),A.setDeclaration(j),a==null||a.add(A,K.Updated),j}),a==null||a.attemptAutoclose("infer-definition-entity-from-inputs",this.id),{added:R(l),updated:R(p),removed:R(t),affected:R(y),self:this})}getRawDefaultValue(){const i={};return this.properties.forEach(a=>{var p;const l=Jr(a.name);i[l]=((p=a.getDefaultValue())==null?void 0:p.value)||null}),i}getActiveRawDefaultValue(){const i={};return this.properties.forEach(a=>{const l=Jr(a.name),p=this.project.requestActiveValue(a);i[l]=(p==null?void 0:p.value)||null}),i}};D(Vt,"repository",{APICreate:async(i,...a)=>i,APIUpdate:async(i,...a)=>i,APIDelete:async(i,...a)=>i,APIClone:async(i,...a)=>{},APILoad:async(i,...a)=>null,APILoadVersion:async(i,a,...l)=>null}),D(Vt,"type",f.DefinitionEntity),D(Vt,"USER_MANAGED_PARENT_TYPES",[f.Project,f.DataType]),D(Vt,"PARENT_TYPES",[...Vt.USER_MANAGED_PARENT_TYPES]),D(Vt,"MUTABLE_BASE_PROPERTIES",["name","codeName","description","static","abstract"]),D(Vt,"INMUTABLE_BASE_PROPERTIES",["id","type","version","createdAt","author","previousVersion"]),D(Vt,"BASE_PROPERTIES",[...Vt.MUTABLE_BASE_PROPERTIES,...Vt.INMUTABLE_BASE_PROPERTIES]),D(Vt,"MUTABLE_META_PROPERTIES",[...Vt.MUTABLE_BASE_PROPERTIES,"x","y"]),D(Vt,"INMUTABLE_META_PROPERTIES",[...Vt.INMUTABLE_BASE_PROPERTIES]),D(Vt,"META_PROPERTIES",[...Vt.MUTABLE_META_PROPERTIES,...Vt.INMUTABLE_META_PROPERTIES]),D(Vt,"MUTABLE_UPSTREAM_PROPERTIES",["extends","implements"]),D(Vt,"INMUTABLE_UPSTREAM_PROPERTIES",["parent"]),D(Vt,"UPSTREAM_PROPERTIES",[...Vt.MUTABLE_UPSTREAM_PROPERTIES,...Vt.INMUTABLE_UPSTREAM_PROPERTIES]),D(Vt,"MUTABLE_DOWNSTREAM_PROPERTIES",["properties","methods","abstractMethods"]),D(Vt,"INMUTABLE_DOWNSTREAM_PROPERTIES",[]),D(Vt,"DOWNSTREAM_PROPERTIES",[...Vt.MUTABLE_DOWNSTREAM_PROPERTIES,...Vt.INMUTABLE_DOWNSTREAM_PROPERTIES]),D(Vt,"PROPERTIES",[...Vt.META_PROPERTIES,...Vt.UPSTREAM_PROPERTIES,...Vt.DOWNSTREAM_PROPERTIES]);let va=Vt;function lve(d){const u=Kde(),i=d.toJSON();u.safeParse(i).success;const l=[];return Qt(d.errors,l)}const Fp=class Fp extends mr{constructor(i,a){super(i);D(this,"initialData");D(this,"id");D(this,"version");D(this,"name");D(this,"description",null);D(this,"type",f.BuiltInBaseEntity);D(this,"abstract",!1);D(this,"static");D(this,"properties",[]);D(this,"methods",[]);D(this,"abstractMethods",[]);D(this,"extends",[]);D(this,"interactive",!1);D(this,"errors",[]);D(this,"project");this.initialData=this.initialData||i,this.project=this.project||a,this.id=this.id||i.id,this.version=this.version||i.version,this.name=this.name||i.name,this.static=this.static||i.static,this.interactive=this.interactive||i.interactive,this.abstract=i.abstract,this.properties=this.initialData.properties.map(l=>{const p=ee(l,this.project);return p.setParent(this,null),p.initChildren(null),p}),this.methods=this.initialData.methods.map(l=>{const p=ee(l,this.project);return p.setParent(this,null),p.initChildren(null),p}),this.abstractMethods=this.initialData.abstractMethods.map(l=>{const p=ee(l,this.project);return p.setParent(this,null),p.initChildren(null),p}),this.extends=this.initialData.extends.map(l=>ee(l,this.project))}get allMethods(){return R([...this.ownDeclaredMethods,...this.allBaseMethodsFromOriginalParents])}get allProperties(){return R([...this.ownDeclaredProperties,...this.allBasePropertiesFromOriginalParents])}get allBaseMethodsFromOriginalParents(){return R([...this.extends.flatMap(i=>i.allMethods,[])])}get allBasePropertiesFromOriginalParents(){return R([...this.extends.flatMap(i=>i.allProperties,[])])}get allBasePropertiesFromExtendedAndImplementedEntities(){return R(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.allBasePropertiesFromExtendedAndImplementedEntities].filter(p=>!p.abstract);return[...i,...l]},[]))}get extendedPropertiesFromOriginalParents(){return R(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.extendedPropertiesFromOriginalParents].filter(p=>!p.abstract);return[...i,...l]},[]))}get implementedPropertiesFromOriginalParents(){return R([...this.extends.reduce((i,a)=>{const l=a.implementedPropertiesFromOriginalParents,p=[...a.ownDeclaredProperties].filter(t=>!!t.abstract&&!l.find(y=>y.name===t.name));return[...l,...p,...i]},[])])}get extendedProperties(){return this.properties.filter(i=>i.isExtendedProperty)}get ownDeclaredMethods(){return this.methods.filter(i=>!i.isExtendedMethod)}get ownDeclaredProperties(){return this.properties.filter(i=>!i.isExtendedProperty)}subscribe(){return this.project.subscribeInstance(this),this}unsubscribe(){return this.project.unsubscribeInstance(this),this}async APILoad(i=ye,...a){return await Fp.repository.APILoad(this.id,...a),this}toFlat(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this,...this.properties.flatMap(l=>l.toFlat(i)),...this.methods.flatMap(l=>l.toFlat(i)),...this.abstractMethods.flatMap(l=>l.toFlat(i)),...this.extends.flatMap(l=>l.toFlat(i))])}toFlatIds(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.id,...this.properties.flatMap(l=>l.toFlatIds(i)),...this.methods.flatMap(l=>l.toFlatIds(i)),...this.abstractMethods.flatMap(l=>l.toFlatIds(i)),...this.extends.flatMap(l=>l.toFlatIds(i))])}toMeta(){return{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,description:this.description,interactive:this.interactive,abstract:this.abstract,static:this.static,type:this.type,name:this.name}}toJSON(i=new Set){return i.has(this.id)?this.toReference():(i.add(this.id),{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,type:this.type,name:this.name,description:this.description,abstract:this.abstract,static:this.static,interactive:this.interactive,properties:this.properties.map(a=>a.toJSON(i)),methods:this.methods.map(a=>a.toJSON(i)),abstractMethods:this.abstractMethods.map(a=>a.toJSON(i)),extends:this.extends.map(a=>a.toJSON(i))})}toReference(i=Le){return{id:this.id+"--"+P.UUID.uuid()+"--ref",type:f.GenericReference,entityId:this.id,version:this.version,entityType:this.type}}toShallowJSON(i=Le){return{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,type:this.type,name:this.name,description:this.description,abstract:this.abstract,static:this.static,interactive:this.interactive,properties:this.properties.map(a=>a.toReference()),methods:this.methods.map(a=>a.toReference()),abstractMethods:this.abstractMethods.map(a=>a.toReference()),extends:this.extends.map(a=>a.toReference())}}toFlatJSON(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.toShallowJSON(),...this.properties.flatMap(l=>l.toFlatJSON(i)),...this.methods.flatMap(l=>l.toFlatJSON(i)),...this.abstractMethods.flatMap(l=>l.toFlatJSON(i))])}toGenerationTarget(){return{id:this.id,type:this.type,name:this.name,description:this.description,static:this.static,abstract:this.abstract,interactive:this.interactive,extends:this.extends.map(i=>i.id)}}toFlatGenerationTarget(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.toGenerationTarget(),...this.properties.flatMap(l=>l.toFlatGenerationTarget(i)),...this.methods.flatMap(l=>l.toFlatGenerationTarget(i)),...this.abstractMethods.flatMap(l=>l.toFlatGenerationTarget(i))])}clearErrors(){return this.errors=[],this.properties.forEach(i=>i.clearErrors()),this.methods.forEach(i=>i.clearErrors()),this.abstractMethods.forEach(i=>i.clearErrors()),this}validate(){const i=lve(this);return this.errors=i,{success:!0,error:null,data:this.toJSON()}}getErrors(){return[...this.errors,...this.properties.flatMap(a=>a.getErrors()),...this.methods.flatMap(a=>a.getErrors()),...this.abstractMethods.flatMap(a=>a.getErrors())]}getShallowErrors(){return this.errors}implement(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),null,!0,"implement-built-in-base-entity")),l){const p=xy(this,i,a,l);return a==null||a.attemptAutoclose("implement-built-in-base-entity",this.id),p}getAllInteractiveMethods(){const i=[];return this.interactive&&(i.push(...this.methods),this.extends.filter(l=>l.type===f.BuiltInBaseEntity&&l.interactive||l.type===f.PrimitiveEntity).forEach(l=>{l instanceof Fp&&i.push(...l.getAllInteractiveMethods())})),R(i)}};D(Fp,"repository",{APILoad:async(i,...a)=>null});let On=Fp;function dve(d){const u=Nde(),i=d.toJSON();u.safeParse(i).success;const l=[];return Qt(d.errors,l)}const rm=class rm extends mr{constructor(i,a){super(i);D(this,"initialData");D(this,"id");D(this,"name");D(this,"description",null);D(this,"type",f.PrimitiveEntity);D(this,"static");D(this,"abstract");D(this,"properties",[]);D(this,"methods",[]);D(this,"abstractMethods",[]);D(this,"extends",[]);D(this,"errors",[]);D(this,"project");this.initialData=i,this.project=a,this.id=i.id,this.name=i.name,this.static=i.static,this.abstract=i.abstract,this.properties=this.initialData.properties.map(l=>{const p=ee(l,this.project);return p.setParent(this,null),p.initChildren(null),p}),this.methods=this.initialData.methods.map(l=>{const p=ee(l,this.project);return p.parent=this,p}),this.abstractMethods=this.initialData.abstractMethods.map(l=>{const p=ee(l,this.project);return p.parent=this,p})}get allMethods(){return R([...this.ownDeclaredMethods,...this.allBaseMethodsFromOriginalParents])}get allProperties(){return R([...this.ownDeclaredProperties,...this.allBasePropertiesFromOriginalParents])}get allBaseMethodsFromOriginalParents(){return R([...this.extends.flatMap(i=>i.allMethods,[])])}get allBasePropertiesFromOriginalParents(){return R([...this.extends.flatMap(i=>i.allProperties,[])])}get allBasePropertiesFromExtendedAndImplementedEntities(){return R(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.allBasePropertiesFromExtendedAndImplementedEntities].filter(p=>!p.abstract);return[...i,...l]},[]))}get extendedPropertiesFromOriginalParents(){return R(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.extendedPropertiesFromOriginalParents].filter(p=>!p.abstract);return[...i,...l]},[]))}get implementedPropertiesFromOriginalParents(){return R([...this.extends.reduce((i,a)=>{const l=a.implementedPropertiesFromOriginalParents,p=[...a.ownDeclaredProperties].filter(t=>!!t.abstract&&!l.find(y=>y.name===t.name));return[...l,...p,...i]},[])])}get extendedProperties(){return this.properties.filter(i=>i.isExtendedProperty)}get ownDeclaredMethods(){return this.methods.filter(i=>!i.isExtendedMethod)}get ownDeclaredProperties(){return this.properties.filter(i=>!i.isExtendedProperty)}subscribe(){return this.project.subscribeInstance(this),this}unsubscribe(){return this.project.unsubscribeInstance(this),this}async APILoad(i=ye,...a){return await rm.repository.APILoad(this.id,...a),this}toFlat(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this,...this.properties.flatMap(l=>l.toFlat(i)),...this.methods.flatMap(l=>l.toFlat(i)),...this.abstractMethods.flatMap(l=>l.toFlat(i))])}toFlatIds(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.id,...this.properties.flatMap(l=>l.toFlatIds(i)),...this.methods.flatMap(l=>l.toFlatIds(i)),...this.abstractMethods.flatMap(l=>l.toFlatIds(i))])}toMeta(){return{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,description:this.description,static:this.static,abstract:this.abstract,type:this.type,name:this.name}}toJSON(i=new Set){return i.has(this.id)?this.toReference():(i.add(this.id),{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,type:this.type,name:this.name,description:this.description,static:this.static,abstract:this.abstract,properties:this.properties.map(a=>a.toJSON(i)),methods:this.methods.map(a=>a.toJSON(i)),abstractMethods:this.abstractMethods.map(a=>a.toJSON(i)),extends:this.extends.map(a=>a.toJSON(i))})}toReference(i=Le){return{id:this.id+"--"+P.UUID.uuid()+"--ref",type:f.GenericReference,entityId:this.id,version:this.version,entityType:this.type}}toShallowJSON(i=Le){return{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,type:this.type,name:this.name,description:this.description,abstract:this.abstract,static:this.static,properties:this.properties.map(a=>a.toReference()),methods:this.methods.map(a=>a.toReference()),abstractMethods:this.abstractMethods.map(a=>a.toReference()),extends:this.extends.map(a=>a.toReference())}}toFlatJSON(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.toShallowJSON(),...this.properties.flatMap(l=>l.toFlatJSON(i)),...this.methods.flatMap(l=>l.toFlatJSON(i)),...this.abstractMethods.flatMap(l=>l.toFlatJSON(i))])}toGenerationTarget(){return{id:this.id,type:this.type,name:this.name,description:this.description,static:this.static,abstract:this.abstract,extends:this.extends.map(i=>i.id)}}toFlatGenerationTarget(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.toGenerationTarget(),...this.properties.flatMap(l=>l.toFlatGenerationTarget(i)),...this.methods.flatMap(l=>l.toFlatGenerationTarget(i)),...this.abstractMethods.flatMap(l=>l.toFlatGenerationTarget(i))])}clearErrors(){return this.errors=[],this.properties.forEach(i=>i.clearErrors()),this.methods.forEach(i=>i.clearErrors()),this.abstractMethods.forEach(i=>i.clearErrors()),this}validate(){const i=dve(this);return this.errors=i,{success:!0,error:null,data:this.toJSON()}}getErrors(){return[...this.errors,...this.properties.flatMap(a=>a.getErrors()),...this.methods.flatMap(a=>a.getErrors()),...this.abstractMethods.flatMap(a=>a.getErrors())]}getShallowErrors(){return this.errors}getAllInteractiveMethods(){const i=[];return i.push(...this.methods),this.extends.filter(l=>l.type===f.BuiltInBaseEntity&&l.interactive||l.type===f.PrimitiveEntity).forEach(l=>{l instanceof On&&i.push(...l.getAllInteractiveMethods())}),R(i)}};D(rm,"repository",{APILoad:async(i,...a)=>null});let Ni=rm;function St(d,u){if(!d)throw new Error("Entity is null");const i=u.get(d.id);switch(d.type){case f.LiteralValue:return i||new Ti(d,u);case f.DefinitionEntity:return i||new va(d,u);case f.PrimitiveEntity:return i||new Ni(d,u);case f.FunctionDeclaration:return i||new Ma(d,u);case f.GlobalEvent:return i||new xa(d,u);case f.DataType:return i||new Wi(d,u);case f.Property:return i||new da(d,u);case f.FunctionCall:return i||new za(d,u);case f.Condition:return i||new Fa(d,u);case f.Operation:return i||new Ua(d,u);case f.VariableDeclaration:return i||new Ka(d,u);case f.VariableInstance:return i||new Ga(d,u);case f.OutputMap:return i||new zs(d,u);case f.ReturnDeclaration:return i||new Vi(d,u);case f.ArgumentDeclaration:return i||new ca(d,u);case f.InputMap:return i||new Ds(d,u);case f.Project:return i||new P(d);case f.InstalledProject:return i||new Sa(d,u);case f.ActionDescriptor:return i||new lt(d,u);case f.ReturnStatement:return i||new ja(d,u);case f.Loop:return i||new bi(d,u);case f.Search:return i||new ka(d,u);case f.ValueDescriptor:return i||new Xs(d,u);case f.BuiltInBaseEntity:return i||new On(d,u);case f.InternalCall:return i||new qa(d,u);case f.ContinueStatement:return i||new ci(d,u);case f.BreakStatement:return i||new Za(d,u);case f.GenericReference:return u.get(d.entityId);default:throw new Error("Invalid entity type: "+d.type)}}function ee(d,u){if(!d)throw new Error("Entity is null");const i=St(d,u);return i.subscribe(),i}function uve(d,u){if(!d)throw new Error("Entity is null");switch(d.type){case f.LiteralValue:return Ti.fromGenerationTarget(d,u);case f.DefinitionEntity:return va.fromGenerationTarget(d,u);case f.FunctionDeclaration:return Ma.fromGenerationTarget(d,u);case f.GlobalEvent:return xa.fromGenerationTarget(d,u);case f.DataType:return Wi.fromGenerationTarget(d,u);case f.Property:return da.fromGenerationTarget(d,u);case f.FunctionCall:return za.fromGenerationTarget(d,u);case f.Condition:return Fa.fromGenerationTarget(d,u);case f.Operation:return Ua.fromGenerationTarget(d,u);case f.VariableDeclaration:return Ka.fromGenerationTarget(d,u);case f.VariableInstance:return Ga.fromGenerationTarget(d,u);case f.OutputMap:return zs.fromGenerationTarget(d,u);case f.ReturnDeclaration:return Vi.fromGenerationTarget(d,u);case f.ArgumentDeclaration:return ca.fromGenerationTarget(d,u);case f.InputMap:return Ds.fromGenerationTarget(d,u);case f.InstalledProject:return Sa.fromGenerationTarget(d,u);case f.ReturnStatement:return ja.fromGenerationTarget(d,u);case f.Loop:return bi.fromGenerationTarget(d,u);case f.Search:return ka.fromGenerationTarget(d,u);case f.ActionDescriptor:return lt.fromGenerationTarget(d,u);case f.ValueDescriptor:return Xs.fromGenerationTarget(d,u);case f.InternalCall:return qa.fromGenerationTarget(d,u);case f.ContinueStatement:return ci.fromGenerationTarget(d,u);case f.BreakStatement:return Za.fromGenerationTarget(d,u);default:throw new Error("Invalid entity type: "+d.type)}}const Le={seenEntityMaps:new Map,seenEntities:new Set,timestamp:N().toISOString()};class BF{constructor(){D(this,"initialData")}}const ye={cascade:!1},MF={APILoad:async(d,...u)=>null},cve={APICreate:async(d,...u)=>d,APIUpdate:async(d,...u)=>d,APIDelete:async(d,...u)=>d,APIClone:async(d,...u)=>{},APILoadVersion:async(d,u,...i)=>null,...MF};class pve{}class fve extends BF{}class hve{}class yve{}class mve{}class FA{}class vve extends FA{}class Eve extends FA{}class Tve{}class Up{static initReadsValue(u){if(u.initialData.readsValue&&u.initialData.readsValue.type!==f.GenericReference)u.readsValue=ee(u.initialData.readsValue,u.project);else if(u.initialData.readsValue&&u.initialData.readsValue.type===f.GenericReference){const i=Ri(u.initialData.readsValue,u.project);i&&(u.readsValue=i)}if(u.readsValue){if(nt.includes(u.readsValue.type)){let i=u.parent;Ir.includes(i.type)||(i=i.parent);const a=u.type===f.InputMap&&u.parent.type===f.Loop;a&&(i=u.parent.parent),u.readsValue.setParent(i,null),u.readsValue.initChildren(null),i&&i.type!==f.Project&&!a&&i.detachedChildren.includes(u)?i.replaceDetachedChild(u,u.readsValue):i&&i.type!==f.Project&&!a&&i.subscribeDetachedChild(u.readsValue)}u.readsValue.addValueReader(u,null)}return u.readsValue}}class jp{static initWritesValues(u,i){const a=u.initialData.writesValues.reduce((p,t)=>{if(t.type===f.GenericReference||u.writesValues.some(v=>v.id===t.id))return p;const y=ee(t,u.project);return y.setValueWriter(u,null),nt.includes(y.type)&&(y.setParent(i,null),y.initChildren(null)),[...p,y]},[]),l=[...u.writesValues];return u.writesValues=R([...l,...a]),u.writesValues}}class bve{}var vr=(d=>(d.PROJECT_INITIALIZED="project-initialized",d.CHANGE_SET_CLOSED="change-set-closed",d.EXPLICIT_DEFINITION_ENTITY_ADDED="explicit-definition-entity-added",d.EXPLICIT_DEFINITION_ENTITY_REMOVED="explicit-definition-entity-removed",d.EXPLICIT_DEFINITION_ENTITY_UPDATED="explicit-definition-entity-updated",d.PERSISTED_DEFINITION_ENTITY_ADDED="persisted-definition-entity-added",d.PERSISTED_DEFINITION_ENTITY_REMOVED="persisted-definition-entity-removed",d.PERSISTED_DEFINITION_ENTITY_UPDATED="persisted-definition-entity-updated",d.RELATIONAL_DATABASE_DEFINITION_ENTITY_ADDED="relational-database-definition-entity-added",d.RELATIONAL_DATABASE_DEFINITION_ENTITY_REMOVED="relational-database-definition-entity-removed",d.RELATIONAL_DATABASE_DEFINITION_ENTITY_UPDATED="relational-database-definition-entity-updated",d))(vr||{});const He=class He extends mr{constructor(i){super(i);D(this,"initialData");D(this,"id");D(this,"type",f.Project);D(this,"name",null);D(this,"description",null);D(this,"x");D(this,"y");D(this,"entities",[]);D(this,"projects",[]);D(this,"functions",[]);D(this,"events",[]);D(this,"variableDeclarations",[]);D(this,"variableInstances",[]);D(this,"conditions",[]);D(this,"operations",[]);D(this,"functionCalls",[]);D(this,"loops",[]);D(this,"searches",[]);D(this,"primitives",[]);D(this,"builtInBaseEntities",[]);D(this,"operationDeclarations",[]);D(this,"globalEventActionDescriptors",[]);D(this,"loopDeclarations",[]);D(this,"loopDeclarationsBodies",[]);D(this,"conditionDeclarations",[]);D(this,"valueDescriptors",[]);D(this,"dataTypes",[]);D(this,"project");D(this,"instances",{});D(this,"builtInInstances",{});D(this,"deletedInstances",{});D(this,"errors",[]);D(this,"references",[]);D(this,"history",[]);D(this,"undoableStackValueIndex",-1);D(this,"detachedDependents",{});D(this,"knownVersions",null);D(this,"activeVersion",!1);D(this,"initialized",!1);D(this,"startedInitialization",!1);D(this,"_eventsHub",new Wb);D(this,"onCloseChangeSetCallback",null);D(this,"onAddChangeSetCallback",null);D(this,"onDiscardChangeSetCallback",null);D(this,"onRequestActiveValueCallback",null);D(this,"onRequestActiveDynamicValueCallback",null);if(this.initialData=i,this.id=i.id,this.name=i.name,this.description=i.description,this.x=0,this.y=0,this.instances[this.id]=this,!He.UUID)throw new Error("UUID module is already initialized. Please inject a valid UUID module.")}static get UUID(){return this._UUIDModule}static injectUUIDModule(i){this._UUIDModule=i}static new(i=null){return{id:He.UUID.uuid(),version:He.UUID.uuid(),createdAt:(i==null?void 0:i.timestamp)||N().toISOString(),author:(i==null?void 0:i.author)||He.sessionAuthor,previousVersion:null,deleted:!1,type:f.Project,name:"",description:"",entities:[],functions:[],events:[],projects:[],variableDeclarations:[],variableInstances:[],conditions:[],operations:[],functionCalls:[],loops:[],searches:[]}}static validateGenerationTarget(i,a){let l=JSON.parse(JSON.stringify(i));const p=[];return p.push(...Tr(l)),{errors:p,modifiedData:l}}get off(){return this._eventsHub.off}get on(){return this._eventsHub.on}get emit(){return this._eventsHub.emit}async closePendingChangeSets(){const i=this.history.find(a=>a.dirty&&!a.open);i&&await this.closeChangeSet(i)}onRequestActiveValue(i){this.onRequestActiveValueCallback=i}onRequestActiveDynamicValue(i){this.onRequestActiveDynamicValueCallback=i}async onCloseChangeSet(i){this.onCloseChangeSetCallback=i,await this.closePendingChangeSets()}onAddChangeSet(i){this.onAddChangeSetCallback=i}onDiscardChangeSet(i){this.onDiscardChangeSetCallback=i}async closeChangeSet(i){const a=this.history.findIndex(t=>t.id===i.id),l=this.history.slice(0,a),p=l[l.length-1];if(!(p!=null&&p.dirty)&&this.onCloseChangeSetCallback){(await this.onCloseChangeSetCallback(i)).success&&(i.dirty=!1,this.emit("change-set-closed",i),this.closePendingChangeSets());return}}toLatestChangeSet(i,a,l,p=!1,t="here-this"){if(!this.history.length)return new G(this,i,a,l,p,t);const y=this.history[this.history.length-1];return y.open?y:this.addChangeSet(new G(this,i,a,l,p,t))}addChangeSet(i){var p,t;if(!this.history.length)return this.undoableStackValueIndex=Eb(this.undoableStackValueIndex,this.history,i),(p=this.onAddChangeSetCallback)==null||p.call(this,i,this.undoableStackValueIndex),i;const a=this.history.find(y=>y.id===(i==null?void 0:i.id));if(a)return a;const l=this.history.find(y=>y.open);if(l)throw console.warn("Previous still open: ",l),console.warn("New change set: ",i),new Error(`There is already an open change-set with id '${l.id}'.`);return this.undoableStackValueIndex=Eb(this.undoableStackValueIndex,this.history,i),(t=this.onAddChangeSetCallback)==null||t.call(this,i,this.undoableStackValueIndex),i}discardChangeSet(i){var l;const a=this.history.findIndex(p=>p.id===(i==null?void 0:i.id));return a!==-1&&(this.history.splice(a,1),this.undoableStackValueIndex=this.undoableStackValueIndex-1,(l=this.onDiscardChangeSetCallback)==null||l.call(this,i)),this}async inject(...i){return await Promise.all(i.map(a=>new Promise(async l=>{await a.init(this),l(null)}))),this}validateGeneratedUpdate(i){return{errors:[],modifiedData:i}}subscribeDependents(i){return i.forEach(a=>{this.detachedDependents[a.entity.id]||(this.detachedDependents[a.entity.id]=a)}),this}unsubscribeDependents(i){return i.forEach(a=>{this.detachedDependents[a.entity.id]&&delete this.detachedDependents[a.entity.id]}),this}syncDependents(i=this.project.addChangeSet(new G(this.project,He.sessionAuthor,N().toISOString(),this,!0,"sync-dependents"))){const a=[],l=[],p=[],t=[];return Object.values(this.detachedDependents).forEach(y=>{const v=y.entity.afterAllChildrenInitialized(i);a.push(...v.updated),l.push(...v.added),p.push(...v.removed),t.push(...v.affected)}),i==null||i.attemptAutoclose("sync-dependents",this.id),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}onDetachedDependencyRemoved(i,a,l){const p=[],t=[],y=[],v=[];return{updated:R(p),added:R(t),removed:R(y),affected:R(v),self:this}}onDetachedDependencyRestored(i,a,l){const p=[],t=[],y=[],v=[];return{updated:R(p),added:R(t),removed:R(y),affected:R(v),self:this}}unsubscribeFromDependencies(){return this}subscribeToDependencies(){return this}increaseVersion(i){if(i&&!N(i).isValid())throw new Error(`The shared timestamp '${i}' is not a valid ISO 8601 date string.`);return i&&N(i).isSame(N(this.createdAt))?this:(this.previousVersion=this.version,this.version=He.UUID.uuid(),this.createdAt=N(i).toISOString()||N().toISOString(),this)}captureVersion(){var a;const i=((a=this.knownVersions)==null?void 0:a.get(this.version))||new He(this);return i.metaSync(this.toMeta(),null),this.knownVersions=this.knownVersions?this.knownVersions.set(this.version,i):new Map([[this.version,i]]),i.entities=[...this.entities],i.projects=[...this.projects],i.functions=[...this.functions],i.events=[...this.events],i.variableDeclarations=[...this.variableDeclarations],i.variableInstances=[...this.variableInstances],i.conditions=[...this.conditions],i.operations=[...this.operations],i.functionCalls=[...this.functionCalls],i.loops=[...this.loops],i.searches=[...this.searches],this}recursiveCaptureUpstreamVersions(i){const a=[],l=[],p=[],t=[];return{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}async restoreVersion(i){var v;const a=[],l=[],p=[],t=[];if(this.version===i)return{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this};if(!this.knownVersions){const b=new Map;for(const[w,A]of this.knownVersions||new Map){if(b.set(w,A),A.activeVersion=!1,A.knownVersions)for(const[V,L]of A.knownVersions)b.set(V,L);A.knownVersions=null}}let y=(v=this.knownVersions)==null?void 0:v.get(i);if(!y){const b=await this.APILoadVersion({},i);if(!b)throw new Error(`Version with id '${i}' for entity with id '${this.id}' not found.`);y=new He(b)}return this.metaSync(y.toShallowJSON(),null),this.previousVersion=y.previousVersion,this.version=y.version,this.createdAt=y.createdAt,this.author=y.author,this.deleted=y.deleted,this.entities=y.entities,this.projects=y.projects,this.functions=y.functions,this.events=y.events,this.variableDeclarations=y.variableDeclarations,this.variableInstances=y.variableInstances,this.conditions=y.conditions,this.operations=y.operations,this.functionCalls=y.functionCalls,this.loops=y.loops,this.searches=y.searches,{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}updateWithShallowTransfer(i,a=this.project.addChangeSet(new G(this.project,He.sessionAuthor,N().toISOString(),this,!0,"update-with-shallow-transfer"))){return this.metaSync(i,a),this.version=i.version,this.createdAt=i.createdAt,this.author=i.author,this.deleted=i.deleted,this.previousVersion=i.previousVersion,this.captureVersion(),this.subscribeToDependencies(),a==null||a.attemptAutoclose("update-with-shallow-transfer",this.id),this}hydrateAncestors(){const i=[],a=[],l=[],p=[];return{updated:R(i),added:R(a),removed:R(l),affected:R(p),self:this}}afterAllChildrenInitialized(i=null){const a=[],l=[],p=[],t=[];return this.initialized||(this.initialized=!0,this.emit("project-initialized",this,i)),this.validate(),this.captureVersion(),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}addSelfToProject(i){const a=[],l=[],p=[],t=[];return this.subscribe(),this.subscribeToDependencies(),{updated:R(a),added:R(l),removed:R(p),affected:R(t),self:this}}get instancesList(){return Object.values(this.instances)}isOperationDeclaration(i){return this.operationDeclarations.includes(i)}isGlobalEventActionDescriptor(i){return this.globalEventActionDescriptors.includes(i)}isLoopDeclaration(i){return this.loopDeclarations.includes(i)}isConditionDeclaration(i){return this.conditionDeclarations.includes(i)}initChildren(i=this.project.addChangeSet(new G(this.project,He.sessionAuthor,N().toISOString(),this,!0,"init-children"))){return this.initialized||this.startedInitialization?this:(this.startedInitialization=!0,this.entities=this.initialData.entities.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.projects=this.initialData.projects.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.variableDeclarations=this.initialData.variableDeclarations.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.variableInstances=this.initialData.variableInstances.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.conditions=this.initialData.conditions.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.operations=this.initialData.operations.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.functions=this.initialData.functions.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.events=this.initialData.events.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.functionCalls=this.initialData.functionCalls.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.loops=this.initialData.loops.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.searches=this.initialData.searches.map(a=>{const l=ee(a,this);return l.setParent(this,null),l.initChildren(i),l}),this.attachOrphanReferences(),this.subscribeToDependencies(),this.afterAllChildrenInitialized(i),i==null||i.attemptAutoclose("init-children",this.id),this)}subscribeInstance(i){return(!this.instances[i.id]||this.instances[i.id]!==i)&&(this.instances[i.id]=i),this}subscribeDeletedInstance(i){return(!this.deletedInstances[i.id]||this.deletedInstances[i.id]!==i)&&(this.deletedInstances[i.id]=i),this}subscribeBuiltInInstance(i){return(!this.builtInInstances[i.id]||this.builtInInstances[i.id]!==i)&&(this.builtInInstances[i.id]=i),this}subscribe(){return this}unsubscribe(){return this}unsubscribeInstance(i){return delete this.instances[i.id],this}unsubscribeDeletedInstance(i){return delete this.deletedInstances[i.id],this}findSubscribedBuiltInInstance(i){return this.builtInInstances[i.id]||null}get(i){return this.instances[i]||this.builtInInstances[i]||null}getDeleted(i){return this.deletedInstances[i]||null}getManaged(i){return this.getBuiltIn(i)?null:this.instances[i]||null}getBuiltIn(i){return this.builtInInstances[i]||null}findSubscribedInstanceFromReference(i){return this.instances[i.entityId]||null}findSubscribedBuiltInInstanceFromReference(i){return this.builtInInstances[i.entityId]||null}metaSync(i,a=this.project.addChangeSet(new G(this.project,He.sessionAuthor,N().toISOString(),this,!0,"meta-sync"))){const l=br(this,i),p=this.toMeta();return this.name=i.name!==void 0?i.name:p.name,this.description=i.description!==void 0?i.description:p.description,this.x=i.x||p.x,this.y=i.y||p.y,super.metaSync(i),i.deleted===!0&&!p.deleted?a==null||a.add(this,K.Removed):i.deleted===!1&&p.deleted?a==null||a.add(this,K.Added):l&&(a==null||a.add(this,K.Updated)),a==null||a.attemptAutoclose("meta-sync",this.id),this}async APILoad(i=ye,...a){return await He.repository.APILoad(this.id,...a),this}async APICreate(i=ye,...a){return await He.repository.APICreate(this.toShallowJSON(),...a),this}async APIUpdate(i=ye,...a){return await He.repository.APIUpdate(this.toShallowJSON(),...a),this}async APIDelete(i=ye,...a){return await He.repository.APIDelete(this.toShallowJSON(),...a),this}async APIClone(i=ye,...a){return await He.repository.APIClone(this.id,...a),this}async APILoadVersion(i=ye,a,...l){return await He.repository.APILoadVersion(this.id,a,...l)}remove({ignoreUpstream:i}={ignoreUpstream:!1},a=this.project.addChangeSet(new G(this.project,He.sessionAuthor,N().toISOString(),this,!0,"remove-entity"))){return{added:[],updated:[],removed:[],affected:[],self:this}}restore({}={},i=this.project.addChangeSet(new G(this.project,He.sessionAuthor,N().toISOString(),this,!0,"restore-entity"))){return{added:[],updated:[],removed:[],affected:[],self:this}}getAllBuiltInIds(){const i=new Set;return[...this.primitives.flatMap(a=>a.toFlatIds(i)),...this.builtInBaseEntities.flatMap(a=>a.toFlatIds(i)),...this.operationDeclarations.flatMap(a=>a.toFlatIds(i)),...this.globalEventActionDescriptors.flatMap(a=>a.toFlatIds(i)),...this.loopDeclarations.flatMap(a=>a.toFlatIds(i)),...this.conditionDeclarations.flatMap(a=>a.toFlatIds(i)),...this.valueDescriptors.flatMap(a=>a.toFlatIds(i)),...this.dataTypes.flatMap(a=>a.toFlatIds(i))]}getAllBuiltIn(){const i=new Set;return[...this.primitives.flatMap(a=>a.toFlat(i)),...this.builtInBaseEntities.flatMap(a=>a.toFlat(i)),...this.operationDeclarations.flatMap(a=>a.toFlat(i)),...this.globalEventActionDescriptors.flatMap(a=>a.toFlat(i)),...this.loopDeclarations.flatMap(a=>a.toFlat(i)),...this.conditionDeclarations.flatMap(a=>a.toFlat(i)),...this.valueDescriptors.flatMap(a=>a.toFlat(i)),...this.dataTypes.flatMap(a=>a.toFlat(i))]}toFlat(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this,...this.entities.flatMap(l=>l.toFlat(i)),...this.functions.flatMap(l=>l.toFlat(i)),...this.events.flatMap(l=>l.toFlat(i)),...this.projects.flatMap(l=>l.toFlat(i)),...this.variableDeclarations.flatMap(l=>l.toFlat(i)),...this.variableInstances.flatMap(l=>l.toFlat(i)),...this.conditions.flatMap(l=>l.toFlat(i)),...this.operations.flatMap(l=>l.toFlat(i)),...this.functionCalls.flatMap(l=>l.toFlat(i)),...this.loops.flatMap(l=>l.toFlat(i)),...this.searches.flatMap(l=>l.toFlat(i))])}toFlatIds(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.id,...this.entities.flatMap(l=>l.toFlatIds(i)),...this.functions.flatMap(l=>l.toFlatIds(i)),...this.events.flatMap(l=>l.toFlatIds(i)),...this.projects.flatMap(l=>l.toFlatIds(i)),...this.variableDeclarations.flatMap(l=>l.toFlatIds(i)),...this.variableInstances.flatMap(l=>l.toFlatIds(i)),...this.conditions.flatMap(l=>l.toFlatIds(i)),...this.operations.flatMap(l=>l.toFlatIds(i)),...this.functionCalls.flatMap(l=>l.toFlatIds(i)),...this.loops.flatMap(l=>l.toFlatIds(i)),...this.searches.flatMap(l=>l.toFlatIds(i))])}toMeta(){return{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,description:this.description,type:this.type,name:this.name}}toJSON(i=new Set){return i.has(this.id)?this.toReference():(i.add(this.id),{id:this.id,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,type:this.type,name:this.name,description:this.description,entities:this.entities.map(a=>a.toJSON(i)),variableDeclarations:this.variableDeclarations.map(a=>a.toJSON(i)),variableInstances:this.variableInstances.map(a=>a.toJSON(i)),conditions:this.conditions.map(a=>a.toJSON(i)),operations:this.operations.map(a=>a.toJSON(i)),loops:this.loops.map(a=>a.toJSON(i)),searches:this.searches.map(a=>a.toJSON(i)),functions:this.functions.map(a=>a.toJSON(i)),events:this.events.map(a=>a.toJSON(i)),projects:this.projects.map(a=>a.toJSON(i)),functionCalls:this.functionCalls.map(a=>a.toJSON(i))})}toJSONClone(i={uuidStrategy:"uuid"}){const a=new Map,l=new Set,p=this.getAllBuiltInIds();return Object.keys(this.instances).forEach(t=>{if(p.includes(t)){a.set(t,t);return}a.set(t,He.UUID.uuid())}),l.add(this.id),{id:a.get(this.id),version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,type:this.type,name:this.name,description:this.description,entities:this.entities.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),projects:this.projects.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),variableDeclarations:this.variableDeclarations.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),variableInstances:this.variableInstances.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),conditions:this.conditions.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),operations:this.operations.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),functions:this.functions.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),events:this.events.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),functionCalls:this.functionCalls.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),loops:this.loops.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null})),searches:this.searches.map(t=>t.toJSONClone({...i,seenEntityMaps:a,seenEntities:l,newId:null}))}}toReference(i=Le){var l;let a=this.id;return(l=i.seenEntityMaps)!=null&&l.has(this.id)&&(a=i.seenEntityMaps.get(this.id)),{id:a+"--"+He.UUID.uuid()+"--ref",type:f.GenericReference,entityId:a,version:this.version,entityType:this.type}}toShallowJSON(i=Le){var l;let a=this.id;return(l=i.seenEntityMaps)!=null&&l.has(this.id)&&(a=i.seenEntityMaps.get(this.id)),{id:a,version:this.version,createdAt:this.createdAt,previousVersion:this.previousVersion,author:this.author,deleted:this.deleted,type:this.type,name:this.name,description:this.description,entities:this.entities.map(p=>p.toReference(i)),functions:this.functions.map(p=>p.toReference(i)),events:this.events.map(p=>p.toReference(i)),projects:this.projects.map(p=>p.toReference(i)),variableDeclarations:this.variableDeclarations.map(p=>p.toReference(i)),variableInstances:this.variableInstances.map(p=>p.toReference(i)),conditions:this.conditions.map(p=>p.toReference(i)),operations:this.operations.map(p=>p.toReference(i)),functionCalls:this.functionCalls.map(p=>p.toReference(i)),loops:this.loops.map(p=>p.toReference(i)),searches:this.searches.map(p=>p.toReference(i))}}toFlatJSON(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[this.toShallowJSON(),...this.entities.flatMap(l=>l.toFlatJSON(i)),...this.functions.flatMap(l=>l.toFlatJSON(i)),...this.events.flatMap(l=>l.toFlatJSON(i)),...this.projects.flatMap(l=>l.toFlatJSON(i)),...this.variableDeclarations.flatMap(l=>l.toFlatJSON(i)),...this.variableInstances.flatMap(l=>l.toFlatJSON(i)),...this.conditions.flatMap(l=>l.toFlatJSON(i)),...this.operations.flatMap(l=>l.toFlatJSON(i)),...this.functionCalls.flatMap(l=>l.toFlatJSON(i)),...this.loops.flatMap(l=>l.toFlatJSON(i)),...this.searches.flatMap(l=>l.toFlatJSON(i))])}toGenerationTarget(){return{id:this.id,type:this.type,name:this.name,description:this.description}}toFlatGenerationTarget(i=new Set){return i.has(this.id)?[]:(i.add(this.id),[...this.entities.flatMap(l=>l.toFlatGenerationTarget(i)),...this.functions.flatMap(l=>l.toFlatGenerationTarget(i)),...this.events.flatMap(l=>l.toFlatGenerationTarget(i)),...this.projects.flatMap(l=>l.toFlatGenerationTarget(i)),...this.variableDeclarations.flatMap(l=>l.toFlatGenerationTarget(i)),...this.variableInstances.flatMap(l=>l.toFlatGenerationTarget(i)),...this.conditions.flatMap(l=>l.toFlatGenerationTarget(i)),...this.operations.flatMap(l=>l.toFlatGenerationTarget(i)),...this.functionCalls.flatMap(l=>l.toFlatGenerationTarget(i)),...this.loops.flatMap(l=>l.toFlatGenerationTarget(i)),...this.searches.flatMap(l=>l.toFlatGenerationTarget(i))])}clearErrors(){return this.errors=[],this.entities.forEach(i=>i.clearErrors()),this.projects.forEach(i=>i.clearErrors()),this.functions.forEach(i=>i.clearErrors()),this.events.forEach(i=>i.clearErrors()),this.variableDeclarations.forEach(i=>i.clearErrors()),this.variableInstances.forEach(i=>i.clearErrors()),this.conditions.forEach(i=>i.clearErrors()),this.operations.forEach(i=>i.clearErrors()),this.functionCalls.forEach(i=>i.clearErrors()),this.loops.forEach(i=>i.clearErrors()),this.searches.forEach(i=>i.clearErrors()),this}validate(){const i=spe(),a=this.toJSON();return i.safeParse(a),this.validateChildren(),{success:!0,error:null,data:a}}validateChildren(){this.entities.forEach(i=>i.validate()),this.projects.forEach(i=>i.validate()),this.functions.forEach(i=>i.validate()),this.events.forEach(i=>i.validate()),this.variableDeclarations.forEach(i=>i.validate()),this.variableInstances.forEach(i=>i.validate()),this.conditions.forEach(i=>i.validate()),this.operations.forEach(i=>i.validate()),this.functionCalls.forEach(i=>i.validate()),this.loops.forEach(i=>i.validate()),this.searches.forEach(i=>i.validate())}getErrors(){return[...this.errors,...this.entities.flatMap(a=>a.getErrors()),...this.projects.flatMap(a=>a.getErrors()),...this.functions.flatMap(a=>a.getErrors()),...this.events.flatMap(a=>a.getErrors()),...this.variableDeclarations.flatMap(a=>a.getErrors()),...this.variableInstances.flatMap(a=>a.getErrors()),...this.conditions.flatMap(a=>a.getErrors()),...this.operations.flatMap(a=>a.getErrors()),...this.functionCalls.flatMap(a=>a.getErrors()),...this.loops.flatMap(a=>a.getErrors()),...this.searches.flatMap(a=>a.getErrors())]}getShallowErrors(){return this.errors}clone(){return this}getDefinitionEntity(i){return this.entities.find(a=>a.id===i)||null}addDefinitionEntity(i){return this.entities.includes(i)||this.entities.push(i),i}addFunctionDeclaration(i){return this.functions.includes(i)||this.functions.push(i),i}addFunctionCall(i){return this.functionCalls.includes(i)||this.functionCalls.push(i),i}addVariableDeclaration(i){return this.variableDeclarations.includes(i)||this.variableDeclarations.push(i),i}addVariableInstance(i){return this.variableInstances.includes(i)||this.variableInstances.push(i),i}addInstalledProject(i){return this.projects.includes(i)||this.projects.push(i),this}addGlobalEvent(i){return this.events.includes(i)||this.events.push(i),this}addCondition(i){return this.conditions.includes(i)||this.conditions.push(i),this}addOperation(i){return this.operations.includes(i)||this.operations.push(i),this}addLoop(i){return this.loops.includes(i)||this.loops.push(i),this}addSearch(i){return this.searches.includes(i)||this.searches.push(i),this}removeDefinitionEntity(i){const a=this.entities.findIndex(l=>l.id===i.id);if(a>-1){const l=this.entities[a];return this.entities.splice(a,1),l}return null}removeCondition(i){const a=this.conditions.findIndex(l=>l.id===i.id);if(a>-1){const l=this.conditions[a];return this.conditions.splice(a,1),l}return null}removeOperation(i){const a=this.operations.findIndex(l=>l.id===i.id);if(a>-1){const l=this.operations[a];return this.operations.splice(a,1),l}return null}removeLoop(i){const a=this.loops.findIndex(l=>l.id===i.id);if(a>-1){const l=this.loops[a];return this.loops.splice(a,1),l}return null}removeSearch(i){const a=this.searches.findIndex(l=>l.id===i.id);if(a>-1){const l=this.searches[a];return this.searches.splice(a,1),l}return null}removeFunctionCall(i){const a=this.functionCalls.findIndex(l=>l.id===i.id);if(a>-1){const l=this.functionCalls[a];return this.functionCalls.splice(a,1),l}return null}removeVariableInstance(i){const a=this.variableInstances.findIndex(l=>l.id===i.id);if(a>-1){const l=this.variableInstances[a];return this.variableInstances.splice(a,1),l}return null}removeVariableDeclaration(i){const a=this.variableDeclarations.findIndex(l=>l.id===i.id);if(a>-1){const l=this.variableDeclarations[a];return this.variableDeclarations.splice(a,1),l}return null}removeFunctionDeclaration(i){const a=this.functions.findIndex(l=>l.id===i.id);if(a>-1){const l=this.functions[a];return this.functions.splice(a,1),l}return null}removeInstalledProject(i){const a=this.projects.findIndex(l=>l.id===i.id);if(a>-1){const l=this.projects[a];return this.projects.splice(a,1),l}return null}removeGlobalEvent(i){const a=this.events.findIndex(l=>l.id===i.id);if(a>-1){const l=this.events[a];return this.events.splice(a,1),l}return null}removeTopLevelVariableDeclaration(i){if(i.type!==f.VariableDeclaration)return null;const a=this.variableDeclarations.findIndex(l=>l.id===i.id);if(a>-1){const l=this.variableDeclarations[a];return this.variableDeclarations.splice(a,1),l}return null}getEntryPoints(){return[...this.functions,...this.events,...this.entities.flatMap(a=>a.methods)]}getTerminationStatements(){return[...this.getEntryPoints().reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.ReturnStatement||t.type===f.ContinueStatement||t.type===f.BreakStatement)]},[])]}getFunctionDeclaration(i){return this.functions.find(a=>a.id===i)||null}getConditions(){return[...this.conditions,...this.getEntryPoints().reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[]),...this.functionCalls.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[]),...this.operations.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[]),...this.loops.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[]),...this.searches.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[])]}getOperations(){return[...this.operations,...this.getEntryPoints().reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[]),...this.functionCalls.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[]),...this.conditions.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[]),...this.loops.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[]),...this.searches.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[])]}getFunctionCalls(){return[...this.functionCalls,...this.getEntryPoints().reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[]),...this.conditions.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[]),...this.operations.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[]),...this.loops.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[]),...this.searches.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[])]}getVariables(){return[...this.variableDeclarations,...this.getEntryPoints().reduce((a,l)=>{const p=Xt(l);return[...a,...p]},[]),...this.functionCalls.reduce((a,l)=>{const p=Xt(l);return[...a,...p]},[]),...this.conditions.reduce((a,l)=>{const p=Xt(l);return[...a,...p]},[]),...this.operations.reduce((a,l)=>{const p=Xt(l);return[...a,...p]},[]),...this.loops.reduce((a,l)=>{const p=Xt(l);return[...a,...p]},[]),...this.searches.reduce((a,l)=>{const p=Xt(l);return[...a,...p]},[])]}getVariableInstances(){return[...this.variableInstances,...this.getEntryPoints().reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.functionCalls.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.conditions.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.operations.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.loops.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.searches.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[])]}getVariableDeclarations(){return R([...this.variableDeclarations,...this.getEntryPoints().reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.functionCalls.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.conditions.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.operations.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.loops.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.searches.reduce((a,l)=>{const t=Xt(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[])])}getLoops(){return[...this.loops,...this.getEntryPoints().reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[]),...this.functionCalls.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[]),...this.conditions.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[]),...this.operations.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[]),...this.searches.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[])]}getSearches(){return[...this.searches,...this.getEntryPoints().reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[]),...this.functionCalls.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[]),...this.conditions.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[]),...this.operations.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[]),...this.loops.reduce((a,l)=>{const p=pt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[])]}attachOrphanReferences(){const i=this.getVariableInstances(),a=this.getVariableDeclarations();return i.forEach(l=>{if(!l.declaration){const p=l.initialData,t=p.declaration.entityId||p.declaration.id,y=a.find(v=>v.id===t);y&&l.setDeclaration(y)}}),this}getBuiltInPersistedEntity(){return this.builtInBaseEntities.find(i=>i.name===Oe.PERSISTED_ENTITY)||null}requestActiveValue(i){var l;const a=(l=this.onRequestActiveValueCallback)==null?void 0:l.call(this,i);return a?a||null:i.getDefaultValue()}requestActiveDynamicValue(i){var l;return((l=this.onRequestActiveDynamicValueCallback)==null?void 0:l.call(this,i))||null}undo(){console.log("Undoing, from: ",this.undoableStackValueIndex),this.undoableStackValueIndex=this.undoableStackValueIndex-1,console.log("To: ",this.undoableStackValueIndex);const i=this.history[this.undoableStackValueIndex+1],a=this.history[this.undoableStackValueIndex];return console.log("Current change set: ",i),console.log("Change set to restore: ",a==null?void 0:a.toJSON()),mb(i||"initial",a||"initial",this)}redo(){console.log("Undoing, from: ",this.undoableStackValueIndex),this.undoableStackValueIndex=this.undoableStackValueIndex+1,console.log("To: ",this.undoableStackValueIndex);const i=this.history[this.undoableStackValueIndex-1],a=this.history[this.undoableStackValueIndex];return console.log("Current change set: ",i),console.log("Change set to restore: ",a.toJSON()),mb(i||"initial",a||"initial",this)}applyExternalChangeSet(i){const a=i.payload,l=this.addChangeSet(new G(this,i.userAuthor,i.emittedAt,this)),p=a.updated[this.id];if(!p)throw new Error("Project root not found in change set transfer. Cannot apply changes.");const t={...a.added,...a.updated,...a.removed},y=[...Object.keys(a.added),...Object.keys(a.updated),...Object.keys(a.removed)];y.forEach(b=>{var w;if(!t[b]){console.warn(`Entity '${b}' not found in change set transfer. Cannot apply changes.`);const A=(w=this.get(b))==null?void 0:w.toShallowJSON();throw A?console.warn("Entity in project: ",A):console.warn("Entity not in project"),new Error(`Entity '${b}' not found in change set transfer. Cannot apply changes.`)}});const v=new ya(p);return v.flatRecord=t,v.order=y,v.orderEntities(),console.log("All entities: ",v.order.map((b,w)=>`${w+1}: ${t[b].type} - ${b}`).join(`,
|
|
404
|
-
`)),console.log("Persisting new additions"),v.visit(async(b,w)=>{if(a.added[b.id]){console.log("Adding: ",b.id);try{const A=ee(b,this);if(A.hydrateAncestors(),A.addSelfToProject(l),l.add(A,K.Added),!this.get(b.id))throw new Error(`Entity ${b.id} was not added to the project`)}catch(A){console.error("Error: ",A),console.error("Errored entity: ",b)}}}),console.log("Persisting updates"),v.visit(async(b,w)=>{if(a.updated[b.id]){console.log("Updating: ",b.id);try{const A=this.get(b.id);A?(A.updateWithShallowTransfer(b,l),l.add(A,K.Updated)):console.warn(`Active version of ${b.id} not found when applying external changes`)}catch(A){console.error("Error: ",A),console.error("Errored entity: ",b)}}}),console.log("Persisting removals"),v.visit(async(b,w)=>{if(a.removed[b.id]){console.log("Removing: ",b.id);try{const A=this.get(b.id);A&&A.remove({ignoreUpstream:!1},l)}catch(A){console.error("Error: ",A),console.error("Errored entity: ",b)}}}),l}toFullProjectTransfer(){const i=new ya(this),a={};return i.visit(l=>{const p=l.toShallowJSON();a[l.id]=p}),{order:i.order,size:i.order.length,record:a}}};D(He,"_UUIDModule",T2),D(He,"sessionAuthor","1"),D(He,"repository",{APICreate:async(i,...a)=>i,APIUpdate:async(i,...a)=>i,APIDelete:async(i,...a)=>i,APIClone:async(i,...a)=>{},APILoad:async(i,...a)=>null,APILoadVersion:async(i,a,...l)=>null}),D(He,"type",f.Project),D(He,"USER_MANAGED_PARENT_TYPES",[]),D(He,"PARENT_TYPES",[...He.USER_MANAGED_PARENT_TYPES]),D(He,"MUTABLE_BASE_PROPERTIES",["name","description"]),D(He,"INMUTABLE_BASE_PROPERTIES",["id","type","version","createdAt","author","previousVersion"]),D(He,"BASE_PROPERTIES",[...He.MUTABLE_BASE_PROPERTIES,...He.INMUTABLE_BASE_PROPERTIES]),D(He,"MUTABLE_META_PROPERTIES",[...He.MUTABLE_BASE_PROPERTIES,"x","y"]),D(He,"INMUTABLE_META_PROPERTIES",[...He.INMUTABLE_BASE_PROPERTIES]),D(He,"META_PROPERTIES",[...He.MUTABLE_META_PROPERTIES,...He.INMUTABLE_META_PROPERTIES]),D(He,"MUTABLE_UPSTREAM_PROPERTIES",[]),D(He,"INMUTABLE_UPSTREAM_PROPERTIES",["primitives","builtInBaseEntities","operationDeclarations","globalEventActionDescriptors","loopDeclarations","builtInInstances"]),D(He,"UPSTREAM_PROPERTIES",[...He.MUTABLE_UPSTREAM_PROPERTIES,...He.INMUTABLE_UPSTREAM_PROPERTIES]),D(He,"MUTABLE_DOWNSTREAM_PROPERTIES",["entities","projects","functions","events","variableDeclarations","variableInstances","conditions","operations","functionCalls","loops","searches"]),D(He,"INMUTABLE_DOWNSTREAM_PROPERTIES",[]),D(He,"DOWNSTREAM_PROPERTIES",[...He.MUTABLE_DOWNSTREAM_PROPERTIES,...He.INMUTABLE_DOWNSTREAM_PROPERTIES]),D(He,"PROPERTIES",[...He.META_PROPERTIES,...He.UPSTREAM_PROPERTIES,...He.DOWNSTREAM_PROPERTIES]);let P=He;class UF extends lt{constructor(i){super(ks,i);D(this,"id",rr.Parallel);D(this,"name",rr.Parallel);D(this,"description","Programmatically execute a list of actions one after the other");D(this,"version","1");D(this,"autoexecutable",!0);D(this,"initialData",ks);D(this,"type",f.ActionDescriptor);D(this,"inputs",[]);D(this,"outputs",[]);D(this,"error",null);D(this,"project");this.project=i,this.inputs=ks.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=ks.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=ks.error?ee(ks.error,this.project):null}}class jF extends lt{constructor(i){super(gi,i);D(this,"id",gi.id);D(this,"name",gi.name);D(this,"description",gi.description);D(this,"version",gi.version);D(this,"autoexecutable",!1);D(this,"initialData",gi);D(this,"type",f.ActionDescriptor);D(this,"inputs",[]);D(this,"outputs",[]);D(this,"error",null);D(this,"project");this.project=i,this.inputs=gi.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=gi.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=gi.error?ee(gi.error,this.project):null}}class xF extends lt{constructor(i){super(zn,i);D(this,"id",rr.Sequential);D(this,"name",rr.Sequential);D(this,"description","Programmatically execute a list of actions one after the other");D(this,"version","1");D(this,"autoexecutable",!0);D(this,"initialData",zn);D(this,"type",f.ActionDescriptor);D(this,"inputs",[]);D(this,"outputs",[]);D(this,"error",null);D(this,"project");this.project=i,this.inputs=zn.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=zn.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=zn.error?ee(zn.error,this.project):null}}class Ave extends lt{constructor(u){super(gu,u)}}class Ive extends lt{constructor(u){super(To,u)}}class wve extends lt{constructor(i){super(bo,i);D(this,"autoexecutable",!0)}getEntityToMatchInputMap(i){return i.inputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===me.operation[ir.Validate].inputs.entityToMatch.id})||null}getDataToValidateInputMap(i){return i.inputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===me.operation[ir.Validate].inputs.dataToValidate.id})||null}getOutputDataOutputMap(i){return i.outputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===me.operation[ir.Validate].outputs.outputEntity.id})||null}getEntityToMatch(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"get-entity-to-match-validate-data"))){const l=this.project.requestActiveValue(i),p=l==null?void 0:l.valueAsTypeSingle;return a==null||a.attemptAutoclose("get-entity-to-match-validate-data",this.id),p}syncOperationInstance(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-operation-instance-validate-data"))){const l=[],p=[],t=[],y=[],v=this.getEntityToMatchInputMap(i);if(v){const{added:A,updated:V,removed:L,affected:j}=this.syncEntityToMatchInputMapDataType(v,a);l.push(...V),p.push(...A),t.push(...L),y.push(...j)}const b=this.getDataToValidateInputMap(i);if(b){const{added:A,updated:V,removed:L,affected:j}=this.syncDataToValidateInputMapDataType(b,a);l.push(...V),p.push(...A),t.push(...L),y.push(...j)}const w=this.getOutputDataOutputMap(i);if(w){const{added:A,updated:V,removed:L,affected:j}=this.syncOutputDataOutputMapDataType(w,a);l.push(...V),p.push(...A),t.push(...L),y.push(...j)}return a==null||a.attemptAutoclose("sync-operation-instance-validate-data",this.id),{updated:R(l),added:R(p),removed:R(t),affected:R(y),self:i}}syncEntityToMatchInputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-entity-to-match-input-map-data-type"))){var w,A,V,L,j,k,S,H,re,te,pe,ie,ve,J,se;const l=[],p=[],t=[],y=[];if(((w=i.declaration)==null?void 0:w.id)!==me.operation[ir.Validate].inputs.entityToMatch.id)return a==null||a.attemptAutoclose("sync-entity-to-match-input-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};const v=this.project.requestActiveValue(i),b=v==null?void 0:v.valueAsTypeSingle;if(!i.dataType){const ce={id:P.UUID.uuid(),version:P.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||P.sessionAuthor,previousVersion:null,deleted:!1,type:f.DataType,parentRelationType:null,options:((A=i.declaration.dataType)==null?void 0:A.options)||null,implementationChooseOne:((V=i.declaration.dataType)==null?void 0:V.implementationChooseOne)||!1,staticEntities:((L=i.declaration.dataType)==null?void 0:L.staticEntities)??null,interactiveEntities:((j=i.declaration.dataType)==null?void 0:j.interactiveEntities)??null,actionEntities:((k=i.declaration.dataType)==null?void 0:k.actionEntities)??null,isList:((S=i.declaration.dataType)==null?void 0:S.isList)||!1,andChildrenGroup:null,orChildrenGroup:null,asType:!0,entity:(b==null?void 0:b.toJSON())||null,like:!0,inferred:!0,parent:i.toReference()},Y=ee(ce,i.project);Y.hydrateAncestors(),Y.setParent(i,a),Y.initChildren(a),Y.setEntity(b,a),a==null||a.add(Y,K.Added),l.push(Y),i.setDataType(Y,a)}return(J=i.dataType)==null||J.metaSync({inferred:!0,like:!1,asType:!0,options:((H=i.declaration.dataType)==null?void 0:H.options)||null,implementationChooseOne:((re=i.declaration.dataType)==null?void 0:re.implementationChooseOne)||!1,staticEntities:((te=i.declaration.dataType)==null?void 0:te.staticEntities)??null,interactiveEntities:((pe=i.declaration.dataType)==null?void 0:pe.interactiveEntities)??null,actionEntities:((ie=i.declaration.dataType)==null?void 0:ie.actionEntities)??null,isList:((ve=i.declaration.dataType)==null?void 0:ve.isList)||!1},a),(se=i.dataType)==null||se.setEntity(b,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-entity-to-match-input-map-data-type",this.id),{updated:R(p),added:R(l),removed:R(t),affected:R(y),self:i.dataType}}syncDataToValidateInputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-data-to-validate-input-map-data-type"))){var A,V,L;const l=[],p=[],t=[],y=[];if(((A=i.declaration)==null?void 0:A.id)!==me.operation[ir.Validate].inputs.dataToValidate.id)return a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};const v=this.getEntityToMatchInputMap(i.parent);if(!v)return a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};if(!this.getEntityToMatch(v,a))return a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};if(!i.dataType){const j={id:P.UUID.uuid(),version:P.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||P.sessionAuthor,previousVersion:null,deleted:!1,type:f.DataType,parentRelationType:null,options:null,implementationChooseOne:!1,isList:!1,andChildrenGroup:null,orChildrenGroup:null,staticEntities:null,interactiveEntities:null,actionEntities:null,asType:!1,entity:null,like:!0,inferred:!0,parent:i.toReference()},k=ee(j,i.project);k.setParent(i,a),k.initChildren(a),a==null||a.add(k,K.Added),l.push(k),i.setDataType(k,a)}(V=i.dataType)==null||V.metaSync({inferred:!0,like:!0,asType:!1},a);const w=this.getEntityToMatch(v,a);return(L=i.dataType)==null||L.setEntity(w,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:R(p),added:R(l),removed:R(t),affected:R(y),self:i.dataType}}syncOutputDataOutputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-output-data-output-map-data-type"))){var V,L,j;const l=[],p=[],t=[],y=[];if(((V=i.declaration)==null?void 0:V.id)!==me.operation[ir.Validate].outputs.outputEntity.id)return a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};const v=this.getEntityToMatchInputMap(i.parent);if(!v)return a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};if(!this.getEntityToMatch(v,a))return a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};const w=this.project.requestActiveValue(v),A=(w==null?void 0:w.valueAsTypeSingle)||null;if(!i.dataType){const k={id:P.UUID.uuid(),version:P.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||P.sessionAuthor,previousVersion:null,deleted:!1,type:f.DataType,parentRelationType:null,options:null,implementationChooseOne:!1,staticEntities:null,interactiveEntities:null,actionEntities:null,isList:!1,andChildrenGroup:null,orChildrenGroup:null,asType:!1,entity:(A==null?void 0:A.toJSON())||null,like:!0,inferred:!0,parent:i.toReference()},S=ee(k,i.project);S.hydrateAncestors(),S.setParent(i,a),S.initChildren(a),S.setEntity(A,a),a==null||a.add(S,K.Added),l.push(S),i.setDataType(S,a)}return(L=i.dataType)==null||L.metaSync({inferred:!0,like:!0,asType:!1},a),(j=i.dataType)==null||j.setEntity(A,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:R(p),added:R(l),removed:R(t),affected:R(y),self:i.dataType}}inferInputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"infer-input-map-data-type-validate-data"))){var p,t,y;if(((p=i.declaration)==null?void 0:p.id)===me.operation[ir.Validate].inputs.entityToMatch.id){const{added:v,updated:b,removed:w,affected:A}=this.syncEntityToMatchInputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-input-map-data-type",this.id),{updated:R(b),added:R(v),removed:R(w),affected:R(A),self:i.dataType}}if(((t=i.declaration)==null?void 0:t.id)===me.operation[ir.Validate].inputs.dataToValidate.id){const{added:v,updated:b,removed:w,affected:A}=this.syncDataToValidateInputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-input-map-data-type",this.id),{updated:R(b),added:R(v),removed:R(w),affected:R(A),self:i.dataType}}const l=(y=i.declaration)==null?void 0:y.getDataType(a);if(l&&l.isResolved)return a==null||a.attemptAutoclose("infer-input-map-data-type-validate-data",this.id),{updated:[],added:[],removed:[],affected:[],self:l};if(i.readsValue){const v=Hs(i.readsValue,a);return a==null||a.attemptAutoclose("infer-input-map-data-type-validate-data",this.id),{updated:[],added:[],removed:[],affected:[],self:v}}return a==null||a.attemptAutoclose("infer-input-map-data-type-validate-data",this.id),{updated:[],added:[],removed:[],affected:[],self:null}}inferOutputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"infer-output-map-data-type-validate-data"))){var l;if(((l=i.declaration)==null?void 0:l.id)===me.operation[ir.Validate].outputs.outputEntity.id){const{added:p,updated:t,removed:y,affected:v}=this.syncOutputDataOutputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-output-map-data-type-validate-data",this.id),{updated:R(t),added:R(p),removed:R(y),affected:R(v),self:i.dataType}}return{updated:[],added:[],removed:[],affected:[],self:null}}}class Rve extends lt{constructor(u){super(rv,u)}}class gve extends lt{constructor(u){super(sv,u)}}class _ve extends lt{constructor(u){super(nv,u)}}class Dve extends lt{constructor(u){super(Mf,u)}}class Ove extends lt{constructor(u){super(Nf,u)}}class Cve extends lt{constructor(u){super(Ru,u)}}function $ve(d){const u=[new xF(d),new UF(d),new jF(d),new Ave(d),new Ive(d),new wve(d),new Dve(d),new Rve(d),new _ve(d),new gve(d),new Ove(d),new Cve(d),new lt(tv,d),new lt(ev,d),new lt(hv,d),new lt(yv,d),new lt(mv,d),new lt(vv,d),new lt(Ev,d),new lt(Tv,d),new lt(bv,d),new lt(Av,d),new lt(Iv,d),new lt(wv,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.operationDeclarations=u,u}class FF extends On{constructor(i){super(ni,i);D(this,"initialData");D(this,"id",Oe.PERSISTED_ENTITY);D(this,"version","1");D(this,"name",Oe.PERSISTED_ENTITY);D(this,"description",ni.description);D(this,"type",f.BuiltInBaseEntity);D(this,"abstract",ni.abstract);D(this,"static",ni.static);D(this,"properties",[]);D(this,"methods",[]);D(this,"abstractMethods",[]);D(this,"extends",[]);D(this,"errors",[]);D(this,"project");this.initialData=ni,this.project=i,this.id=ni.id,this.version=ni.version,this.name=ni.name,this.static=ni.static,this.abstract=ni.abstract,this.properties=this.initialData.properties.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.methods=this.initialData.methods.map(a=>{const l=ee(a,this.project);return l.parent=this,l}),this.abstractMethods=this.initialData.abstractMethods.map(a=>{const l=ee(a,this.project);return l.parent=this,l}),this.extends=this.initialData.extends.map(a=>ee(a,this.project))}}var GF=(d=>(d.StatusCodeMustBeNumber="status-code-must-be-number",d.StatusCodeMustBeBetween100And599="status-code-must-be-between-100-and-599",d))(GF||{});function KF(d,u){const i=[];if(typeof u!="number"){const a=new Zt({id:d.id+"--status-code-must-be-number",message:`Entity of type ${d.type} with id "${d.id}" has an invalid value "${u}". The value must be a number.`,issue:null,severity:Z.Error,code:"status-code-must-be-number",entity:d});return i.push(a),{errors:i,override:u}}if(u<100){const a=new Zt({id:d.id+"--status-code-must-be-between-100-and-599",message:`Entity of type ${d.type} with id "${d.id}" has an invalid value "${u}". The value must be a number between 100 and 599.`,issue:null,severity:Z.Error,code:"status-code-must-be-between-100-and-599",entity:d});i.push(a)}if(u>599){const a=new Zt({id:d.id+"--status-code-must-be-between-100-and-599",message:`Entity of type ${d.type} with id "${d.id}" has an invalid value "${u}". The value must be a number between 100 and 599.`,issue:null,severity:Z.Error,code:"status-code-must-be-between-100-and-599",entity:d});i.push(a)}return{errors:i,override:u}}class kF extends On{constructor(i){super(Ki,i);D(this,"initialData");D(this,"id",Oe.PERSISTED_ENTITY);D(this,"version","1");D(this,"name",Oe.PERSISTED_ENTITY);D(this,"description",Ki.description);D(this,"type",f.BuiltInBaseEntity);D(this,"abstract",Ki.abstract);D(this,"static",Ki.static);D(this,"properties",[]);D(this,"methods",[]);D(this,"abstractMethods",[]);D(this,"extends",[]);D(this,"errors",[]);D(this,"project");this.initialData=Ki,this.project=i,this.id=Ki.id,this.version=Ki.version,this.name=Ki.name,this.static=Ki.static,this.abstract=Ki.abstract,this.properties=this.initialData.properties.map(t=>{const y=ee(t,this.project);return y.setParent(this,null),y.initChildren(null),y}),this.methods=this.initialData.methods.map(t=>{const y=ee(t,this.project);return y.parent=this,y}),this.abstractMethods=this.initialData.abstractMethods.map(t=>{const y=ee(t,this.project);return y.parent=this,y}),this.extends=this.initialData.extends.map(t=>ee(t,this.project));const a=this.properties.find(t=>t.id===me["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.properties.path.id);if(!a)throw new Error("Path property not found in endpoint entity");a._codeNativeValueValidation=(t,y)=>O6(t,y);const l=this.abstractMethods.find(t=>t.id===me["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id);if(!l)throw new Error("Handler method not found in endpoint entity");const p=l.outputs.find(t=>t.id===me["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.outputs.statusCode.id);if(!p)throw new Error("Status code output not found in handler method");p.codeNativeValueValidation=(t,y)=>KF(t,y)}}const Pve="test_primitive_entities_export";class Vve extends On{constructor(i){super(Xr,i);D(this,"initialData");D(this,"id",Oe.PERSISTED_ENTITY);D(this,"version","1");D(this,"name",Oe.PERSISTED_ENTITY);D(this,"description",Xr.description);D(this,"type",f.BuiltInBaseEntity);D(this,"abstract",Xr.abstract);D(this,"static",Xr.static);D(this,"properties",[]);D(this,"methods",[]);D(this,"abstractMethods",[]);D(this,"extends",[]);D(this,"errors",[]);D(this,"project");this.initialData=Xr,this.project=i,this.id=Xr.id,this.version=Xr.version,this.name=Xr.name,this.static=Xr.static,this.abstract=Xr.abstract,this.properties=this.initialData.properties.map(l=>{const p=ee(l,this.project);return p.setParent(this,null),p.initChildren(null),p}),this.methods=this.initialData.methods.map(l=>{const p=ee(l,this.project);return p.parent=this,p}),this.abstractMethods=this.initialData.abstractMethods.map(l=>{const p=ee(l,this.project);return p.parent=this,p}),this.extends=this.initialData.extends.map(l=>ee(l,this.project));const a=this.properties.find(l=>l.id===me["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.identifier.id);if(!a)throw new Error("Path property not found in endpoint entity");a._codeNativeValueValidation=(l,p)=>C6(l,p)}}function Nve(d){const u=[new FF(d),new kF(d),new Vve(d),new On(ih,d)];return u.forEach(i=>{d.subscribeBuiltInInstance(i)}),d.builtInBaseEntities=u,u}function Lve(d){const u=[new Ni(Fe,d),new Ni(Jn,d),new Ni(et,d),new Ni(W0,d),new Ni(zr,d),new Ni(Wn,d),new Ni(hn,d),new Ni(Hn,d),new Ni(Vl,d)];return u.forEach(i=>{d.subscribeBuiltInInstance(i)}),d.primitives=u,u}function Bve(d){const u=[new lt(nh,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.globalEventActionDescriptors=u,u}function Mve(d){const u=[new lt(Cu,d),new lt(_a,d),new lt(Du,d),new lt(Bl,d),new lt(Ml,d),new lt(Wf,d)];u.forEach(a=>{a.initChildren(null),d.subscribeBuiltInInstance(a)}),d.loopDeclarations=u;const i=[new lt(Xf,d),new lt(Ou,d),new lt(Yf,d),new lt(Ov,d),new lt($v,d),new lt(Hf,d)];return i.forEach(a=>{a.initChildren(null),d.subscribeBuiltInInstance(a)}),d.loopDeclarationsBodies=i,u}function Uve(d){const u=[new Xs(ah,d),new Xs(zv,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.valueDescriptors=u,u}function jve(d){const u=[new lt(Co,d),new lt(Wv,d),new lt(Gl,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.conditionDeclarations=u,u}const il={},Qy={},xp={empty:!1,enrich:!0,mock:!1,ignoreCache:!1,onFetch:async()=>null,manuallyInit:!1};function SF(d,u={enrich:!0,shallowErrors:!1}){const i={enrich:!0,shallowErrors:!1,...u},{enrich:a,shallowErrors:l}=i,p=d.project,t=d.record,y=new ya(p),v=new Set;t[p.id]=p,v.add(p.id);const b=N().toISOString();Object.values(t).forEach(V=>{!V||y.allBuiltInEntityIds.includes(V.id)||v.add(V.id)}),y.order=Array.from(v),y.flatRecord=t,y.orderEntities();const w=em(d.project);w.instances[p.id]=w;const A=a?w.addChangeSet(new G(w,P.sessionAuthor,b,w,!0,"project-init-from-fetch-result")):null;return y.visit(V=>{if(V.id===w.id)return;const L=ee(V,w);try{L.hydrateAncestors(),L.addSelfToProject(null);const j=Cd(V);Object.keys(j.downstream).forEach(k=>{const S=w.get(k);S&&S.hydrateAncestors()})}catch(j){if(l)console.error("Error hydrating ancestors: ",j);else throw j}}),a?(y.visit(V=>{if(V.id===w.id)return;const L=w.get(V.id);L&&L.afterAllChildrenInitialized(A)}),w.afterAllChildrenInitialized(A)):tm(w,b).forEach(L=>{L.remove({ignoreUpstream:!0},null)}),w.instancesList.forEach(V=>{V.previousVersion=null}),A==null||A.attemptAutoclose("project-init-from-fetch-result",w.id),w}async function xve(d,u=xp){const i={...xp,...u};if(i.empty)return{data:{project:{id:d.id,type:f.Project,version:P.UUID.uuid(),createdAt:N().toISOString(),author:P.sessionAuthor,previousVersion:null,deleted:!1,name:null,description:null,projects:[],entities:[],operations:[],functions:[],variableDeclarations:[],variableInstances:[],functionCalls:[],conditions:[],loops:[],searches:[],events:[]},record:{}}};if(i.mock){const l={...YE};return l.id=d.id,{data:{project:l,record:{}}}}return console.log("Fetching project from external API"),new Promise(async l=>{try{if(i.onFetch){const p=await i.onFetch(d.id);if(p){l({data:p});return}}else l({data:null})}catch(p){console.error("Error fetching project: ",p),l({data:null})}})}function em(d){const u=new P(d);return Lve(u),Nve(u),$ve(u),Bve(u),Mve(u),Uve(u),jve(u),Array.from(new Set([...u.getAllBuiltInIds(),...Cs()])).forEach(a=>{if(!u.builtInInstances[a]&&u.instances[a])u.builtInInstances[a]=u.instances[a],delete u.instances[a];else if(!u.builtInInstances[a])throw new Error(`Built in entity was not properly initialized: ${a}`)}),u.instances[u.id]=u,u}function tm(d,u){return d.instancesList.filter(a=>N(a.createdAt).isAfter(N(u)||!!a.previousVersion))}function Fve(d,{enrich:u}={enrich:!0}){const i=new Map,a=new Map,l=Array.from(new Set([...d.getAllBuiltInIds(),...Cs()]));Object.keys(d.instances).forEach(w=>{if(l.includes(w)){i.set(w,w),a.set(w,w);return}const A=d.get(w);if(!zy(A,{...d.instances,...d.builtInInstances}).every(k=>!l.includes(k))){i.set(w,w),a.set(w,w);return}const j=P.UUID.uuid();i.set(w,j),a.set(j,w)});const p=N().toISOString(),t=d.toShallowJSON({seenEntityMaps:i});t.previousVersion=null,t.createdAt=p,t.version=P.UUID.uuid();const y=em(t);y.instances[y.id]=y;const v=u?y.addChangeSet(new G(y,P.sessionAuthor,p,y,!0,"project-clone")):null,b=new ya(d);return b.visit(w=>{const A=w.toShallowJSON({seenEntityMaps:i});A.previousVersion=null,A.createdAt=p,A.version=P.UUID.uuid();const V=Cd(A,q6(b.flatRecord,i));if(Object.keys(V.upstream).length){let j=!1;if(Object.keys(V.upstream).forEach(k=>{if(!j&&(!y.get(k)||y.getDeleted(k))){j=!0;return}}),j)return}const L=ee(A,y);L.hydrateAncestors(),L.addSelfToProject(v),v==null||v.add(L,K.Added)}),u?(b.visit(w=>{if(w.id===y.id)return;const A=y.get(i.get(w.id));A&&A.afterAllChildrenInitialized(v)}),y.afterAllChildrenInitialized(v)):tm(y,p).forEach(A=>{A.remove({ignoreUpstream:!0},null)}),y.instancesList.forEach(w=>{w.previousVersion=null}),v==null||v.attemptAutoclose("project-clone",y.id),y}function qF(d,{enrich:u}={enrich:!0}){const i=em(d),a=N().toISOString(),l=u?i.addChangeSet(new G(i,P.sessionAuthor,a,i,!0,"project-init")):null;l&&(l.type=yb.Automatic);const p=new ya(d);return p.visit(t=>{const y=ee(t,i);y.hydrateAncestors(),y.addSelfToProject(l)}),u?(p.visit(t=>{if(t.id===i.id)return;const y=i.get(t.id);y&&y.afterAllChildrenInitialized(l)}),i.afterAllChildrenInitialized(l)):(tm(i,a).forEach(v=>{v.remove({ignoreUpstream:!0},null)}),new ya(i).visit(v=>{v.initialized=!0,v.captureVersion()})),i.initialized=!0,l==null||l.attemptAutoclose("project-init",i.id),i}async function Gve(d,u=xp){const i={...xp,...u};if(d.id&&il[d.id]&&!i.ignoreCache)return il[d.id];if(d.id&&Qy[d.id]&&!i.ignoreCache)return await Qy[d.id],il[d.id];const a=xve(d,i);d.id&&(Qy[d.id]=a);const l=await a;if(l.data){let p;return i.mock?p=qF(YE,{enrich:!!i.enrich}):l.data instanceof P?p=l.data:p=SF(l.data,{enrich:!!i.enrich}),il[d.id]=p,d.id&&delete Qy[d.id],p}return null}function Kve(d){return il[d.id]&&delete il[d.id],null}O.AI_VALUE_CONNECTION_GENERATION_ACTION_EXPLANATION=TA,O.ALL_BUILT_IN_BASE_ENTITIES=ON,O.ALL_BUILT_IN_CONDITION_ENTITIES=SN,O.ALL_BUILT_IN_GLOBAL_EVENT_ENTITIES=ZN,O.ALL_BUILT_IN_LOOP_BODY_ENTITIES=tV,O.ALL_BUILT_IN_LOOP_ENTITIES=eV,O.ALL_BUILT_IN_OPERATION_ENTITIES=p$,O.ALL_BUILT_IN_PRIMITIVE_ENTITIES=y1,O.ALL_BUILT_IN_TOP_LEVEL_ENTITIES=XN,O.ALL_BUILT_IN_VALUE_DESCRIPTORS=zN,O.ALL_CONNECTION_DISABLED_REASONS=Jme,O.ALL_OTHER_DISABLED_REASONS=Hme,O.ALL_TESTING_DISABLED_REASONS=Wme,O.ActionDescriptorState=lt,O.ActionInputMapState=wme,O.ActionOutputMapState=_me,O.AppendToListOperationInputIds=w_,O.AppendToListOperationOutputIds=R_,O.Area=ti,O.ArgumentDeclarationDependencyField=Dx,O.ArgumentDeclarationState=ca,O.BREAK_AND_CONTINUE_STATEMENTS_RETURN_DECLARATIONS_EXPLANATION=yA,O.BUILT_IN_BASE_ENTITY_IDS=me,O.BUILT_IN_ENTITY_TYPES=Gi,O.BaseCanvasDraggableState=hve,O.BaseEntityNames=Oe,O.BaseState=fve,O.BaseValueDescriptorIds=Pl,O.BreakStatementDependencyField=Cx,O.BreakStatementState=Za,O.BuiltInBaseEntityState=On,O.CACHED_PROJECTS_BY_ID=il,O.CALLABLE_ENTITIES_EXPLANATION=d0e,O.CALLABLE_TYPES=Gs,O.CALLER_ENTITIES_EXPLANATION=p6,O.CALLER_TYPES=Ks,O.CALLS_UPDATE_EXPLANATION=Ha,O.CANVAS_BASE_X=e6,O.CANVAS_BASE_Y=t6,O.CANVAS_CARD_HEADER_CENTER_HEIGHT=Dd,O.CANVAS_CARD_WIDTH=zx,O.CANVAS_COMPLEX_CARD_HEIGHT=Gme,O.CANVAS_HORIZONTAL_BUFFER_BETWEEN_CARDS=iA,O.CANVAS_SIMPLE_CARD_HEIGHT=tA,O.CANVAS_SIZE=eA,O.CANVAS_VERTICAL_BUFFER_BETWEEN_CARDS=$y,O.CARD_FOOTER_HEIGHT=Cy,O.CARD_PROPERTIES_SECTION_PADDING=pa,O.CARD_PROPERTIES_SECTION_SINGLE_PADDING=rA,O.CHILDREN_TYPES=vk,O.COMPARISON_CONDITIONS=KN,O.CONDITIONS=kN,O.CUSTOM_ENTITY_OPERATIONS=qD,O.CallableEntityClass=mve,O.CallerEntityClass=FA,O.CanvasEntityConnectionDisabledReason=sA,O.CanvasEntityOtherDisabledReason=aA,O.CanvasEntityTestingDisabledReason=nA,O.ChangeSet=G,O.ChangeSetChangeCaptureType=yb,O.ChangeSetEntityChangeType=K,O.ChildEntityBaseClass=yve,O.CommonStringValidationErrorCodes=D6,O.ComparisonOperatorTypes=ur,O.ConditionDependencyField=r3,O.ConditionState=Fa,O.ContinueStatementDependencyField=zU,O.ContinueStatementState=ci,O.CreateNewInputIds=TD,O.CreateNewOutputIds=bD,O.DRAGGABLE_CALLABLE_TYPES=J0,O.DRAGGABLE_CALLER_TYPES=a1,O.DRAGGABLE_ELEMENT_TYPES=Vf,O.DRAGGABLE_EXECUTABLE_TYPES=yk,O.DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES=Pf,O.DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS=Z0,O.DataTypeCompatibilityTypes=gs,O.DataTypeDependencyField=Tb,O.DataTypeParentChildRelation=Yr,O.DataTypeState=Wi,O.DefinitionEntityDependencyField=Xy,O.DefinitionEntityState=va,O.DynamicValueTypes=Ae,O.EDITABLE_PERSISTANCE_REPOSITORY_DEFAULTS=cve,O.ENTITIES_WITH_VALLUES_EXPLANATION=Ly,O.ENTITY_PERSISTANCE_OPTIONS_DEFAULTS=ye,O.ENTITY_RECUSION_OPTIONS_DEFAULTS=Le,O.ENTITY_TYPES=mk,O.ENTITY_WITH_CODE_NAMES_TYPES=l1,O.ENTITY_WITH_DECLARATION_TYPES=fk,O.ENTITY_WITH_LOGIC_SCOPE_TYPES=Ir,O.ENTITY_WITH_NAMES_TYPES=o1,O.ENTITY_WITH_PARENT_TYPES=ck,O.ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES=s1,O.ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES=pk,O.ENTITY_WITH_VALUE_TYPES=q0,O.ENTRY_POINT_ENTITIES_EXPLANATION=Op,O.ENTRY_POINT_TYPES=Yt,O.ERROR_PROPERTY_HEIGHT=Oy,O.EVENT_TYPES=$l,O.EXECUTABLE_TYPES=hk,O.EXECUTION_OPERATIONS=ED,O.EfimeralValueStore=bp,O.EndpointEntity=kF,O.EntityError=Zt,O.EntityErrorSeverity=Z,O.EntityGenerationError=Q,O.EntityGenerationErrorCode=q,O.EntityInstanceErrorCode=ae,O.EntityOperations=ir,O.EntityType=f,O.EntityWithLogicScopeClass=bve,O.EntityWithValueClass=Tve,O.EntryPointEntityClass=vve,O.Execution=Yb,O.ExecutionOperations=rr,O.ExecutionState=Hb,O.ExecutionTerminationType=Ze,O.ExplicitInfrastructureResource=uA,O.FunctionCallDependencyField=w6,O.FunctionCallState=za,O.FunctionDeclarationDependencyField=kU,O.FunctionDeclarationState=Ma,O.GET_PROJECT_OPTIONS_DEFAULTS=xp,O.GLOBAL_EVENT_DECLARATIONS=qN,O.GetLastInListOperationInputIds=c_,O.GetLastInListOperationOutputIds=p_,O.GlobalEventNames=qn,O.GlobalEventState=xa,O.HTTPOperations=di,O.HTTPStatucCodeValidationErrorCodes=GF,O.HTTP_OPERATIONS=gO,O.ImplicitGlobalInfrastructureResource=cA,O.InfrastructureResource=dA,O.InfrastructureResourceStatus=l6,O.InputMapDependencyField=wx,O.InputMapState=Ds,O.InstalledProjectState=Sa,O.InternalCallDependencyField=Ax,O.InternalCallState=qa,O.JoinListOperationInputIds=Pg,O.JoinListOperationOutputIds=Vg,O.LIST_OPERATIONS=U_,O.ListOperations=ct,O.LiteralValueDependencyField=xU,O.LiteralValueState=Ti,O.LoopDependencyField=e3,O.LoopState=bi,O.LoopTypes=Ge,O.MAIN_VALUE_PROPERTY_HEADER_HEIGHT=Dy,O.MAIN_VALUE_SUB_PROPERTY_HEIGHT=Kme,O.NESTED_PROPERTY_HEIGHT=Xx,O.NON_INTERACTIVE_BASE_ENTITIES_EXPLANATION=Ya,O.NUMBER_OPERATIONS=q1,O.NumberOperations=dr,O.OPERATION_DECLARATIONS=c$,O.OperationDependencyField=ZU,O.OperationState=Ua,O.OutputMapDependencyField=gx,O.OutputMapParentChildRelation=Cl,O.OutputMapState=zs,O.PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION=By,O.PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION=Wa,O.PASS_THROUGH_CALLABLE_TYPES=er,O.PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS=n1,O.PLACEHOLDER_VALUE_STORE_CLIENT=Vx,O.PROPERTY_HEIGHT=_y,O.PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION=EA,O.PUBLISHING_DISABLED_REASONS=d6,O.ParallelExecutionOperation=UF,O.PassThroughCallableEntityClass=Eve,O.PersistedEntity=FF,O.PersistedEntityMethods=Fs,O.PrimitiveEntityState=Ni,O.PrimitiveTypes=X,O.ProjectState=P,O.ProjectStateEvents=vr,O.PropertyDependencyField=GU,O.PropertyState=da,O.PublicationRun=e0e,O.PublicationStep=o6,O.RANDOMNESS_OPERATIONS=u$,O.READABLE_ENTITY_TYPES=zb,O.READ_ONLY_ENTITY_PERSISTANCE_REPOSITORY=MF,O.RETURN_STATEMENT_RETURN_DECLARATIONS_EXPLANATION=u0e,O.RandomnessOperations=Pe,O.ReturnDeclarationDependencyField=WU,O.ReturnDeclarationState=Vi,O.ReturnStatementDependencyField=bb,O.ReturnStatementState=ja,O.SQLAST=yme,O.STANDALONE_CONDITIONS=NN,O.STATIC_PROPERTY_HEIGHT=Qx,O.STRING_OPERATIONS=$g,O.ScopeCompatibilityType=Hy,O.SearchDependencyField=vx,O.SearchState=ka,O.SequentialExecutionOperation=xF,O.SequentialExecutionOperationInputIds=nD,O.SequentialExecutionOperationOutputIds=aD,O.SharedEntityErrorCode=le,O.SharedStateFunctionality=BF,O.SplitListOperationInputIds=Jg,O.SplitListOperationOutputIds=Wg,O.StandaloneOperatorTypes=Br,O.StringOperations=mt,O.TERMINATION_TYPES=sr,O.Traverser=ya,O.USER_MANAGED_ENTITY_TYPES=d1,O.UserManagedEntityStateTemplate=pve,O.VALUE_READING_ENTITIES_EXPLANATION=vA,O.VALUE_READING_TYPES=Zn,O.VALUE_WRITING_ENTITIES_EXPLANATION=f6,O.VALUE_WRITING_TYPES=Or,O.VARIABLE_DATA_TYPE_INFERRANCE_EXPLANATION=mA,O.VARIABLE_TYPES=nt,O.ValueAutogenerationType=Dr,O.ValueDescriptorDependencyField=Px,O.ValueDescriptorParentChildRelation=oe,O.ValueDescriptorState=Xs,O.ValueReadingEntityClass=Up,O.ValueWritingEntityClass=jp,O.VariableDeclarationDependencyField=n3,O.VariableDeclarationState=Ka,O.VariableInputMapState=Ime,O.VariableInstanceDependencyField=Ib,O.VariableInstanceState=Ga,O.VariableOutputMapState=gme,O.WaitOperation=jF,O.WaitOperationInputIds=X_,O.WaitOperationOutputIds=Q_,O.actionDescriptorValidation=Rhe,O.addDisabledReasons=zme,O.afterLiteralValueAsTypeChangeSideEffects=Jx,O.afterLiteralValueAsTypeDeleteSideEffects=Zx,O.afterLiteralValueChangeSideEffects=Sx,O.afterLiteralValueDeleteSideEffects=kx,O.aggregateVariableInputsNextValues=Ap,O.aggregateVariableInputsValues=wy,O.appendToListOperation=Mf,O.appendToListOperationElementToAppendArgument=ov,O.appendToListOperationElementToAppendArgumentParentRef=V_,O.appendToListOperationElementToAppendArgumentRef=D_,O.appendToListOperationError=M_,O.appendToListOperationErrorParentRef=B_,O.appendToListOperationListArgument=av,O.appendToListOperationListArgumentParentRef=P_,O.appendToListOperationListArgumentRef=g_,O.appendToListOperationListDataType=__,O.appendToListOperationResultListDataType=$_,O.appendToListOperationResultListReturn=L_,O.appendToListOperationResultListReturnParentRef=N_,O.appendToListOperationResultListReturnRef=C_,O.appendToListOperationSecondListDataType=O_,O.applyNewScope=xe,O.argumentDeclarationValidation=Dme,O.asGenerationActionExample=Dn,O.assembleAndAddLiteralValueFromDataType=Qs,O.assembleStandaloneLiteralValueFromDataType=Xe,O.booleanPrototype=Jn,O.breakStatementValidation=Ome,O.calculateCardSize=i6,O.calculateMethodCardSize=r6,O.calculateNewParentBasedOnCallers=_A,O.capitalizeFirstLetter=ei,O.changeSetJSONRecordToUniqueIds=lhe,O.checkAreDataTypesCompatible=_s,O.checkAreDefinitionEntitiesCompatibleAsDataType=AU,O.checkArePropertiesCompatibleAsDataType=bU,O.checkExtendsBaseEntity=Yy,O.checkHasBaseEntity=zi,O.checkHasMetadataChanged=br,O.checkImplementationsOverlap=ma,O.checkImplementsBaseEntity=G0e,O.checkIsBranchDependentButNotDirectlyOnBranch=rl,O.checkIsBranchDependentOnBranch=DA,O.checkIsBuiltIn=xA,O.checkIsCallableEntityReachable=Mp,O.checkIsCanvasEntity=x0e,O.checkIsDefEntityInlineDeclaredForSearchOutputType=xb,O.checkIsDetachedBranch=RF,O.checkIsDetachedBranchShallow=MA,O.checkIsEmptyValue=Nx,O.checkIsGlobalVariable=U0e,O.checkIsGloballyDeclared=BA,O.checkIsLiteralValueEmpty=Gb,O.checkIsMethod=UA,O.checkIsNestedScope=Wy,O.checkIsRequiredValue=Yo,O.checkScopeCompatibility=Bp,O.cloneProject=Fve,O.conditionValidation=ghe,O.continueStatementValidation=bhe,O.convertToAbstract=b0e,O.convertToNonAbstract=A0e,O.convertToNonStatic=w0e,O.convertToStatic=I0e,O.countedLoopActionDescriptor=Cu,O.countedLoopActionDescriptorDynamicReturnDeclaration=ZP,O.countedLoopActionDescriptorDynamicReturnDeclarationParentRef=qP,O.countedLoopActionDescriptorStringArgumentDeclaration=SP,O.countedLoopActionDescriptorStringArgumentDeclarationDataType=KP,O.countedLoopActionDescriptorStringArgumentDeclarationDataTypeDefaultValue=FP,O.countedLoopActionDescriptorStringArgumentDeclarationDataTypeDefaultValueParentRef=xP,O.countedLoopActionDescriptorStringArgumentDeclarationDataTypeParentRef=GP,O.countedLoopActionDescriptorStringArgumentDeclarationParentRef=kP,O.countedLoopBodyActionDescriptor=Xf,O.countedLoopBodyActionDescriptorAnyDynamicArgument=zP,O.countedLoopBodyActionDescriptorAnyDynamicArgumentParentRef=YP,O.countedLoopBodyActionDescriptorAnyDynamicReturn=QP,O.countedLoopBodyActionDescriptorAnyDynamicReturnParentRef=XP,O.countedLoopBodyActionDescriptorIterationNumberArgumentDeclaration=Vv,O.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=WP,O.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=JP,O.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=HP,O.createDefinitionEntityFromJSONObject=Fy,O.createEntityError=vt,O.createNestedDataTypeForEntity=_6,O.createNewInstanceOperation=To,O.createNewInstanceOperationEntityToInstanciateArgument=OD,O.createNewInstanceOperationEntityToInstanciateArgumentRef=gD,O.createNewInstanceOperationEntityToInstanciateDataType=_D,O.createNewInstanceOperationError=VD,O.createNewInstanceOperationErrorParentRef=PD,O.createNewInstanceOperationNewEntityDataArgument=RD,O.createNewInstanceOperationNewEntityDataArgumentDataType=wD,O.createNewInstanceOperationNewEntityDataArgumentDataTypeParentRef=ID,O.createNewInstanceOperationNewEntityDataArgumentParentRef=AD,O.createNewInstanceOperationOutputEntityDeclaration=$D,O.createNewInstanceOperationOutputEntityDeclarationParentRef=CD,O.createNewInstanceOperationRef=DD,O.createSemanticId=NU,O.createStateFromGenerationTargetType=uve,O.createStateFromType=St,O.createStateFromTypeAndSubscribe=ee,O.cronJobBuiltInBaseEntity=ih,O.cronJobBuiltInBaseEntityExpressionProperty=_N,O.cronJobBuiltInBaseEntityExpressionPropertyDataTypeRef=Rk,O.cronJobBuiltInBaseEntityExpressionPropertyRef=RN,O.cronJobBuiltInBaseEntityRef=gN,O.cronJobTriggeredFunctionDeclarationBlueprint=Zv,O.cronJobTriggeredFunctionDeclarationBlueprintParentRef=IN,O.dataTypeCompatibilityToErrorExplanation=A6,O.dataTypeValidation=hhe,O.datePrototype=hn,O.dateValueAutogenerationSchema=tT,O.definitionEntityToZodSchema=h2,O.definitionEntityValidation=ave,O.deletePersistedEntityMethod=qv,O.deletePersistedEntityMethodParentRef=aN,O.deleteRootProject=Kve,O.emitSideEffects=UU,O.emptyCondition=Wv,O.emptyConditionArgument=VN,O.emptyConditionRef=PN,O.endpointBuiltInBaseEntity=Ki,O.endpointBuiltInBaseEntityRef=nV,O.endpointBuiltInBaseEntityRefFour=GV,O.endpointBuiltInBaseEntityRefThree=hV,O.endpointBuiltInBaseEntityRefTwo=uV,O.endpointBuiltInCorsProperty=aV,O.endpointBuiltInCorsPropertyDataType=sV,O.endpointBuiltInCorsPropertyDataTypeRef=rV,O.endpointBuiltInCorsPropertyRef=iV,O.endpointBuiltInMethodProperty=Lv,O.endpointBuiltInMethodPropertyDataType=fV,O.endpointBuiltInMethodPropertyDataTypeRef=cV,O.endpointBuiltInMethodPropertyRef=pV,O.endpointBuiltInPathProperty=Nv,O.endpointBuiltInPathPropertyDataType=dV,O.endpointBuiltInPathPropertyDataTypeRef=oV,O.endpointBuiltInPathPropertyRef=lV,O.endpointPathParamsArgumentDeclaration=Mv,O.endpointPathParamsArgumentDeclarationRef=RV,O.endpointPathParamsVariableDataType=gV,O.endpointPathParamsVariableDataTypeRef=wV,O.endpointReachedTriggerActionDescriptor=Kv,O.endpointReachedTriggerActionDescriptorRef=_V,O.endpointReachedTriggerActionDescriptorRefFour=CV,O.endpointReachedTriggerActionDescriptorRefThree=OV,O.endpointReachedTriggerActionDescriptorRefTwo=DV,O.endpointRequestBodyArgumentDeclaration=jv,O.endpointRequestBodyArgumentDeclarationRef=EV,O.endpointRequestBodyVariableDataType=TV,O.endpointRequestHeadersArgumentDeclaration=Bv,O.endpointRequestHeadersArgumentDeclarationRef=mV,O.endpointRequestHeadersVariableDataType=vV,O.endpointRequestHeadersVariableDataTypeRef=yV,O.endpointRequestQueryParamsArgumentDeclaration=Uv,O.endpointRequestQueryParamsArgumentDeclarationRef=AV,O.endpointRequestQueryParamsVariableDataType=IV,O.endpointRequestQueryParamsVariableDataTypeRef=bV,O.endpointResponseBodyDataType=xV,O.endpointResponseBodyReturnDeclaration=Gv,O.endpointResponseBodyReturnDeclarationRef=jV,O.endpointResponseCodeDataType=PV,O.endpointResponseCodeReturnDeclaration=xv,O.endpointResponseCodeReturnDeclarationDefaultValueParentRef=NV,O.endpointResponseCodeReturnDeclarationRef=$V,O.endpointResponseHeadersDataType=MV,O.endpointResponseHeadersDataTypeRef=LV,O.endpointResponseHeadersReturnDeclaration=Fv,O.endpointResponseHeadersReturnDeclarationRef=BV,O.endpointReturnStatementRef=VV,O.endpointReturnStatementRefThree=FV,O.endpointReturnStatementRefTwo=UV,O.enerateRandomIntegerOperationError=xO,O.enerateRandomIntegerOperationErrorParentRef=jO,O.enrichFromKnownEntities=$p,O.enumOptionsProperty=h1,O.enumOptionsPropertyDataType=p1,O.enumOptionsPropertyDataTypeRef=u1,O.enumOptionsPropertyRef=c1,O.enumPrototype=Wn,O.enumPrototypeRef=f1,O.errorCodeToMessage=_p,O.executionBuiltInBaseEntity=sh,O.executionBuiltInEntityAbortMethod=Jv,O.executionBuiltInEntityAbortMethodParentRef=DN,O.filterOutDuplicateEntities=R,O.filterOutDuplicateErrors=Rde,O.findEntityFromKeys=wA,O.findReferenceToSelfInList=S6,O.findReferencesToSelfInProject=$0e,O.flattenActionDescriptor=Z6,O.flattenArgumentDeclaration=J6,O.flattenBreakStatement=W6,O.flattenBuiltInBaseEntity=H6,O.flattenCalls=Os,O.flattenCanvasAncestorsUntil=Od,O.flattenCondition=Y6,O.flattenContinueStatement=z6,O.flattenDataType=Q6,O.flattenDefinitionEntity=X6,O.flattenDefinitionEntityExtensionAndImplementationTypes=Pd,O.flattenDefinitionEntityExtensionTypes=Vp,O.flattenDefinitionEntityExtensions=VA,O.flattenDefinitionEntityImplementations=NA,O.flattenDefinitionEntityImplementionTypes=Pp,O.flattenDerivedCanvasEntities=Yi,O.flattenDetachedBranch=_F,O.flattenElementCalls=pt,O.flattenElementCallsOnTheSameScope=C0e,O.flattenEntity=he,O.flattenFunctionCall=eF,O.flattenFunctionDeclaration=tF,O.flattenGlobalEvent=rF,O.flattenInputMap=iF,O.flattenInstalledProject=sF,O.flattenInternalCall=nF,O.flattenLiteralValue=aF,O.flattenLoop=oF,O.flattenOperation=lF,O.flattenOutputMap=dF,O.flattenPrimitiveEntity=uF,O.flattenProject=cF,O.flattenProjectElements=k6,O.flattenProperty=pF,O.flattenRelatedCanvasElementsOnTheLeft=wF,O.flattenRelatedCanvasElementsOnTheRight=Zy,O.flattenReturnDeclaration=fF,O.flattenReturnStatement=hF,O.flattenSearch=yF,O.flattenValueDescriptor=mF,O.flattenVariableDeclaration=vF,O.flattenVariableInstance=EF,O.flattenVariableReads=K6,O.flattenVariableWrites=G6,O.flattenVariables=Xt,O.fromChangeSetToRecordChangeSet=J0e,O.fromLiteralValueTypeToPrimitiveType=Ub,O.fromPublishingDisabledCodeToReadable=i0e,O.fromZodParseToEntityGenerationErrors=pA,O.functionCallValidation=E0e,O.functionDeclarationValidation=fhe,O.generate=vh,O.generateActionExample=c0e,O.generateExecutionDataType=ehe,O.generateHexadecimalTokenOperation=wv,O.generateHexadecimalTokenOperationError=d$,O.generateHexadecimalTokenOperationErrorParentRef=l$,O.generateHexadecimalTokenOperationResultStringDataType=n$,O.generateHexadecimalTokenOperationResultStringDataTypeParentRef=s$,O.generateHexadecimalTokenOperationResultStringOutput=o$,O.generateHexadecimalTokenOperationResultStringOutputParentRef=a$,O.generateIdFromStrategy=wr,O.generateIdentifierOperation=bv,O.generateIdentifierOperationAlphabetInput=xC,O.generateIdentifierOperationAlphabetInputParentRef=MC,O.generateIdentifierOperationAlphabetInputType=jC,O.generateIdentifierOperationAlphabetInputTypeParentRef=UC,O.generateIdentifierOperationError=qC,O.generateIdentifierOperationErrorParentRef=SC,O.generateIdentifierOperationLengthInput=BC,O.generateIdentifierOperationLengthInputParentRef=VC,O.generateIdentifierOperationLengthInputType=LC,O.generateIdentifierOperationLengthInputTypeParentRef=NC,O.generateIdentifierOperationResultStringDataType=KC,O.generateIdentifierOperationResultStringDataTypeParentRef=GC,O.generateIdentifierOperationResultStringOutput=kC,O.generateIdentifierOperationResultStringOutputParentRef=FC,O.generateMutablePropertiesExplanation=Py,O.generatePlaceholderValueStore=$me,O.generateRandomAlphanumericOperation=Tv,O.generateRandomAlphanumericOperationError=PC,O.generateRandomAlphanumericOperationErrorParentRef=$C,O.generateRandomAlphanumericOperationLengthInput=gC,O.generateRandomAlphanumericOperationLengthInputParentRef=IC,O.generateRandomAlphanumericOperationLengthInputType=RC,O.generateRandomAlphanumericOperationLengthInputTypeParentRef=wC,O.generateRandomAlphanumericOperationResultStringDataType=DC,O.generateRandomAlphanumericOperationResultStringDataTypeParentRef=_C,O.generateRandomAlphanumericOperationResultStringOutput=CC,O.generateRandomAlphanumericOperationResultStringOutputParentRef=OC,O.generateRandomBase62Operation=vv,O.generateRandomBase62OperationError=cC,O.generateRandomBase62OperationErrorParentRef=uC,O.generateRandomBase62OperationLengthInput=nC,O.generateRandomBase62OperationLengthInputParentRef=rC,O.generateRandomBase62OperationLengthInputType=sC,O.generateRandomBase62OperationLengthInputTypeParentRef=iC,O.generateRandomBase62OperationResultStringDataType=oC,O.generateRandomBase62OperationResultStringDataTypeParentRef=aC,O.generateRandomBase62OperationResultStringOutput=dC,O.generateRandomBase62OperationResultStringOutputParentRef=lC,O.generateRandomBase64Operation=Ev,O.generateRandomBase64OperationError=AC,O.generateRandomBase64OperationErrorParentRef=bC,O.generateRandomBase64OperationLengthInput=yC,O.generateRandomBase64OperationLengthInputParentRef=pC,O.generateRandomBase64OperationLengthInputType=hC,O.generateRandomBase64OperationLengthInputTypeParentRef=fC,O.generateRandomBase64OperationResultStringDataType=vC,O.generateRandomBase64OperationResultStringDataTypeParentRef=mC,O.generateRandomBase64OperationResultStringOutput=TC,O.generateRandomBase64OperationResultStringOutputParentRef=EC,O.generateRandomBoolean=C2,O.generateRandomDate=E2,O.generateRandomDateAfter=y2,O.generateRandomDateBefore=m2,O.generateRandomDateBetweenRange=v2,O.generateRandomFloatOperation=yv,O.generateRandomFloatOperationError=qO,O.generateRandomFloatOperationErrorParentRef=SO,O.generateRandomFloatOperationResultNumberDataType=GO,O.generateRandomFloatOperationResultNumberDataTypeParentRef=FO,O.generateRandomFloatOperationResultNumberOutput=kO,O.generateRandomFloatOperationResultNumberOutputParentRef=KO,O.generateRandomHexadecimalOperation=mv,O.generateRandomHexadecimalOperationError=tC,O.generateRandomHexadecimalOperationErrorParentRef=eC,O.generateRandomHexadecimalOperationLengthInput=HO,O.generateRandomHexadecimalOperationLengthInputParentRef=ZO,O.generateRandomHexadecimalOperationLengthInputType=WO,O.generateRandomHexadecimalOperationLengthInputTypeParentRef=JO,O.generateRandomHexadecimalOperationResultStringDataType=zO,O.generateRandomHexadecimalOperationResultStringDataTypeParentRef=YO,O.generateRandomHexadecimalOperationResultStringOutput=QO,O.generateRandomHexadecimalOperationResultStringOutputParentRef=XO,O.generateRandomIntegerOperation=hv,O.generateRandomIntegerOperationMaxValueInput=NO,O.generateRandomIntegerOperationMaxValueInputParentRef=$O,O.generateRandomIntegerOperationMaxValueInputType=VO,O.generateRandomIntegerOperationMaxValueInputTypeParentRef=PO,O.generateRandomIntegerOperationMinValueInput=UO,O.generateRandomIntegerOperationMinValueInputParentRef=LO,O.generateRandomIntegerOperationMinValueInputType=MO,O.generateRandomIntegerOperationMinValueInputTypeParentRef=BO,O.generateRandomIntegerOperationResultNumberDataType=DO,O.generateRandomIntegerOperationResultNumberDataTypeParentRef=_O,O.generateRandomIntegerOperationResultNumberOutput=CO,O.generateRandomIntegerOperationResultNumberOutputParentRef=OO,O.generateRandomNumber=R2,O.generateRandomNumberAfter=A2,O.generateRandomNumberBefore=I2,O.generateRandomNumberBetweenRange=w2,O.generateRandomText=O2,O.generateRandomTextAfter=g2,O.generateRandomTextBefore=_2,O.generateRandomTextBetweenRange=D2,O.generateRandomUUIDv4Operation=Av,O.generateRandomUUIDv4OperationError=zC,O.generateRandomUUIDv4OperationErrorParentRef=YC,O.generateRandomUUIDv4OperationResultStringDataType=JC,O.generateRandomUUIDv4OperationResultStringDataTypeParentRef=ZC,O.generateRandomUUIDv4OperationResultStringOutput=HC,O.generateRandomUUIDv4OperationResultStringOutputParentRef=WC,O.generateShortIdentifierOperation=Iv,O.generateShortIdentifierOperationError=i$,O.generateShortIdentifierOperationErrorParentRef=r$,O.generateShortIdentifierOperationResultStringDataType=QC,O.generateShortIdentifierOperationResultStringDataTypeParentRef=XC,O.generateShortIdentifierOperationResultStringOutput=t$,O.generateShortIdentifierOperationResultStringOutputParentRef=e$,O.generateStandaloneIfDefault=Pme,O.generateUniqueUUID=b2,O.getAllActionDescriptorsForConditions=jy,O.getAllActionDescriptorsForGlobalEvents=My,O.getAllActionDescriptorsForLoops=Uy,O.getAllActionDescriptorsForOperations=y0e,O.getAllBuiltInEntityIds=Cs,O.getAllGloballyDeclaredFunctionDeclarationsExplanation=E6,O.getBaseBuiltInEntities=Ii,O.getBaseSchemaBasedOnType=u6,O.getBuiltInEntityOwner=Qa,O.getCallableEntityReferenceSchema=Qr,O.getCallableEntityTypeSchema=oM,O.getCalledBy=fs,O.getCallerEntityReferenceSchema=Oce,O.getCallerEntityTypeSchema=Dce,O.getCalls=ky,O.getCanvasEntitiesDerivedFromInternalCalls=IF,O.getCanvasEntitiesDerivedFromWrites=$d,O.getCanvasEntityDerivedFromValueReadingEntity=qy,O.getCanvasEntityDerivedFromValueReadingEntityFromTransfer=AF,O.getCanvasEntityReferenceSchema=qce,O.getCanvasEntityTypeSchema=Sce,O.getChildrenEntityWithValues=N6,O.getColumnProperties=Vd,O.getCommonAncestor=OA,O.getCommonChildren=Gy,O.getDatabaseEntities=k0e,O.getDatabaseEntity=q0e,O.getDeclaration=ui,O.getDeclarationOutputedError=H0e,O.getDeepestScope=OF,O.getDefaultRelationalDatabaseEntityOrFirst=$F,O.getDraggableCallableEntityReferenceSchema=dM,O.getDraggableCallableEntityTypeSchema=lM,O.getDraggableCallerEntityReferenceSchema=$ce,O.getDraggableCallerEntityTypeSchema=Cce,O.getDraggableExecutableEntityReferenceSchema=Lce,O.getDraggableExecutableEntityTypeSchema=Nce,O.getDraggablePassThroughCallableEntityReferenceSchema=Qh,O.getDraggablePassThroughCallableEntityTypeSchema=Xh,O.getDraggablePlayableEntityReferenceSchema=xce,O.getDraggablePlayableEntityTypeSchema=jce,O.getEntitiesCreatedSinceInitialization=tm,O.getEntitiesToPropagateValuesTo=en,O.getEntityArgumentDeclarations=PA,O.getEntityInputMaps=TF,O.getEntityOutputMaps=L0e,O.getEntityReferenceSchema=kce,O.getEntityReturnDeclarations=bF,O.getEntityTypeSchema=Kce,O.getEntityWithLogicScopeReferenceSchema=aa,O.getEntityWithLogicScopeTypeSchema=Bce,O.getEntityWithValueReferenceSchema=aM,O.getEntityWithValueTypeSchema=_ce,O.getEntryPointEntityReferenceSchema=Zr,O.getEntryPointEntityTypeSchema=La,O.getEventEntityReferenceSchema=Yh,O.getEventEntityTypeSchema=Hh,O.getEventNameFromDefinition=r0e,O.getExecutableEntityReferenceSchema=Vce,O.getExecutableEntityTypeSchema=Pce,O.getExtendedBuiltInEntity=B0e,O.getExtendedDefinitionEntity=Jy,O.getFirstNonLoopScopeOwner=Nr,O.getGenerationTargetSchemaBasedOnType=c6,O.getHTTPAPINameFromProjectId=n6,O.getHeadIfPartOfDetachedBranch=gF,O.getHighestScope=DF,O.getImplementedBuiltInEntity=M0e,O.getIsInteractive=Np,O.getLastInListOperation=nv,O.getLastInListOperationError=I_,O.getLastInListOperationErrorParentRef=A_,O.getLastInListOperationInputListArgument=E_,O.getLastInListOperationInputListArgumentParentRef=v_,O.getLastInListOperationInputListArgumentRef=f_,O.getLastInListOperationInputListDataType=h_,O.getLastInListOperationOutputElementDataType=m_,O.getLastInListOperationOutputElementReturn=b_,O.getLastInListOperationOutputElementReturnParentRef=T_,O.getLastInListOperationOutputElementReturnRef=y_,O.getLinkedEntitiesFromArgumentDeclaration=O0e,O.getLiteralValueNameFromDataType=Wo,O.getLowestPersistedEntityImplementation=LA,O.getParentCallableEntity=$6,O.getParentCallerEntity=V6,O.getParentCanvasEntities=ri,O.getParentCanvasEntity=pr,O.getParentCanvasEntityFromTransfer=Ky,O.getParentEntryPoint=R0e,O.getParentPassthroughCallableEntity=P6,O.getPassThroughCallableEntityReferenceSchema=cr,O.getPassThroughCallableEntityTypeSchema=zh,O.getPeristedEntities=K0e,O.getPlayableEntityReferenceSchema=Uce,O.getPlayableEntityTypeSchema=Mce,O.getProject=Gve,O.getPrototypeByType=Lp,O.getRecusriveParentsIds=zy,O.getReferenceEntityId=W,O.getReferencedEntitiesStateOrErrors=Ny,O.getReferencedEntityStateOrErrors=fA,O.getReferencedIds=Cd,O.getRelatedCanvasElementsOnTheLeft=Xa,O.getRelatedCanvasElementsOnTheLeftFromTransfer=P0e,O.getRelatedCanvasElementsOnTheRight=rn,O.getRelationalDBInstanceNameFromEntityId=a6,O.getRootEntryPointScopeOwner=jA,O.getScopeOwner=wi,O.getStateClassFromType=Z0e,O.getStepNameFromDefinition=t0e,O.getTerminationReferenceSchema=Gce,O.getTerminationTypeSchema=Fce,O.getTopLevelParentEntityId=PF,O.getTouchedCanvasEntitiesFromChangeSet=W0e,O.getUsedArgFromDeclaration=V0e,O.getUsedReturnFromDeclaration=N0e,O.getValueReadingEntityReferenceSchema=nM,O.getValueReadingEntityTypeSchema=na,O.getValueWritingEntityReferenceSchema=gce,O.getValueWritingEntityTypeSchema=cc,O.getVariableFromInputMapping=B6,O.getVariableFromReturnVariablePointer=j6,O.getVariableReferenceSchema=Na,O.getVariableTypeSchema=Ko,O.getVariablesFromArgumentDeclarations=Sy,O.getVariablesFromInputMaps=M6,O.getVariablesFromOutputMapping=x6,O.getVariablesFromOutputMaps=F6,O.getVariablesFromReturnDeclarations=U6,O.getVariablesInSameOrHigherScope=ab,O.getWrites=$A,O.globalEventValidation=Ahe,O.groupCallsBasedOnParallelizableExecution=CA,O.handleAfterEntityImplementationSideEffects=g6,O.handleBeforeEntityImplementationSideEffects=R6,O.handleLiteralValueChange=Vme,O.handleLiteralValueDelete=qx,O.handleValueAsTypeChange=Nme,O.handleValueAsTypeDelete=Wx,O.httpRequestBodyArgument=Ff,O.httpRequestBodyArgumentRef=sO,O.httpRequestBodyDataType=nO,O.httpRequestHeadersArgument=xf,O.httpRequestHeadersArgumentRef=rO,O.httpRequestHeadersDataType=iO,O.httpRequestMethodArgument=Uf,O.httpRequestMethodArgumentRef=eO,O.httpRequestMethodDataType=tO,O.httpRequestMethodDataTypeRef=XD,O.httpRequestOperation=gu,O.httpRequestOperationErrorValueDescriptor=fv,O.httpRequestOperationErrorValueDescriptorDatatype=RO,O.httpRequestOperationErrorValueDescriptorRef=wO,O.httpRequestOperationRef=TO,O.httpRequestOperationRefEight=AO,O.httpRequestOperationRefFive=vO,O.httpRequestOperationRefFour=mO,O.httpRequestOperationRefNine=IO,O.httpRequestOperationRefSeven=bO,O.httpRequestOperationRefSix=EO,O.httpRequestOperationRefThree=yO,O.httpRequestOperationRefTwo=hO,O.httpRequestQueryParamsArgument=pv,O.httpRequestQueryParamsArgumentRef=YD,O.httpRequestQueryParamsDataType=zD,O.httpRequestVariableURLArgument=jf,O.httpRequestVariableURLArgumentRef=WD,O.httpRequestVariableURLDataType=HD,O.httpRequestVariableURLDataTypeRef=ZD,O.httpResponseBodyReturnDataType=fO,O.httpResponseBodyReturnDataTypeRef=cO,O.httpResponseBodyReturnReturn=kf,O.httpResponseBodyReturnReturnRef=pO,O.httpResponseCodeDataType=oO,O.httpResponseCodeReturn=Gf,O.httpResponseCodeReturnRef=aO,O.httpResponseHeadersDataType=uO,O.httpResponseHeadersDataTypeRef=lO,O.httpResponseHeadersReturn=Kf,O.httpResponseHeadersReturnRef=dO,O.httpStatusCodeValueValidation=KF,O.hydrateOrDiscardLiteralValue=Lx,O.implement=xy,O.inferArgumentDeclarationDataType=IU,O.inferDataType=Hs,O.inferInputMapDataType=ib,O.inferOutputMapDataType=nb,O.inferPropertyDataType=gU,O.inferReturnDeclarationDataType=sb,O.inferValueDescriptorDataType=_U,O.inferVariableDeclarationDataType=RU,O.inferVariableInstanceDataType=wU,O.initBaseProjectEntity=em,O.initProject=qF,O.initProjectFromFetchResult=SF,O.inputMapValidation=Ame,O.installedProjectValidation=Tme,O.internalCallValidation=bme,O.isPromise=IA,O.isUUID=LU,O.iterateOverListActionDescriptorListArgumentDeclaration=k$,O.iterateOverListActionDescriptorListArgumentDeclarationDataType=G$,O.iterateOverListActionDescriptorListArgumentDeclarationDataTypeParentRef=F$,O.iterateOverListActionDescriptorListArgumentDeclarationParentRef=K$,O.iterateOverListLoopActionDescriptor=_a,O.iterateOverListLoopActionDescriptorDynamicReturnDeclaration=q$,O.iterateOverListLoopActionDescriptorDynamicReturnDeclarationParentRef=S$,O.iterateOverListLoopBodyActionDescriptor=Ou,O.iterateOverListLoopBodyActionDescriptorAnyDynamicArgument=eP,O.iterateOverListLoopBodyActionDescriptorAnyDynamicArgumentParentRef=Q$,O.iterateOverListLoopBodyActionDescriptorAnyDynamicReturn=rP,O.iterateOverListLoopBodyActionDescriptorAnyDynamicReturnParentRef=tP,O.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclaration=zf,O.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=J$,O.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=Z$,O.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=W$,O.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclaration=X$,O.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=Y$,O.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=H$,O.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=z$,O.iterateOverObjectKeysActionDescriptorObjectArgumentDeclaration=oP,O.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationDataType=nP,O.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationDataTypeParentRef=sP,O.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationParentRef=aP,O.iterateOverObjectKeysLoopActionDescriptor=Bl,O.iterateOverObjectKeysLoopActionDescriptorDynamicReturnDeclaration=dP,O.iterateOverObjectKeysLoopActionDescriptorDynamicReturnDeclarationParentRef=lP,O.iterateOverObjectKeysLoopBodyActionDescriptor=Ov,O.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicArgument=EP,O.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicArgumentParentRef=vP,O.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicReturn=bP,O.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicReturnParentRef=TP,O.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Dv,O.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=cP,O.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=uP,O.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=pP,O.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclaration=mP,O.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=hP,O.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=fP,O.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=yP,O.iterateOverObjectValuesActionDescriptorObjectArgumentDeclaration=gP,O.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationDataType=wP,O.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationDataTypeParentRef=IP,O.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationParentRef=RP,O.iterateOverObjectValuesLoopActionDescriptor=Ml,O.iterateOverObjectValuesLoopActionDescriptorDynamicReturnDeclaration=DP,O.iterateOverObjectValuesLoopActionDescriptorDynamicReturnDeclarationParentRef=_P,O.iterateOverObjectValuesLoopBodyActionDescriptor=$v,O.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicArgument=MP,O.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicArgumentParentRef=BP,O.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicReturn=jP,O.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicReturnParentRef=UP,O.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Cv,O.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=CP,O.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=OP,O.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=$P,O.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclaration=LP,O.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=VP,O.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=PP,O.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=NP,O.iterateOverStringActionDescriptorDynamicReturnDeclaration=O$,O.iterateOverStringActionDescriptorDynamicReturnDeclarationParentRef=D$,O.iterateOverStringActionDescriptorStringArgumentDeclaration=_$,O.iterateOverStringActionDescriptorStringArgumentDeclarationDataType=R$,O.iterateOverStringActionDescriptorStringArgumentDeclarationDataTypeParentRef=w$,O.iterateOverStringActionDescriptorStringArgumentDeclarationParentRef=g$,O.iterateOverStringLoopActionDescriptor=Du,O.iterateOverStringLoopBodyActionDescriptor=Yf,O.iterateOverStringLoopBodyActionDescriptorAnyDynamicArgument=M$,O.iterateOverStringLoopBodyActionDescriptorAnyDynamicArgumentParentRef=B$,O.iterateOverStringLoopBodyActionDescriptorAnyDynamicReturn=j$,O.iterateOverStringLoopBodyActionDescriptorAnyDynamicReturnParentRef=U$,O.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclaration=gv,O.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=$$,O.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=C$,O.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=P$,O.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclaration=_v,O.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=N$,O.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=V$,O.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=L$,O.joinListOperation=rv,O.joinListOperationError=Zg,O.joinListOperationErrorParentRef=qg,O.joinListOperationFirstListArgument=Fg,O.joinListOperationFirstListArgumentParentRef=xg,O.joinListOperationFirstListArgumentRef=Ng,O.joinListOperationFirstListDataType=Lg,O.joinListOperationResultListDataType=jg,O.joinListOperationResultListReturn=Sg,O.joinListOperationResultListReturnParentRef=kg,O.joinListOperationResultListReturnRef=Ug,O.joinListOperationSecondListArgument=Kg,O.joinListOperationSecondListArgumentParentRef=Gg,O.joinListOperationSecondListArgumentRef=Bg,O.joinListOperationSecondListDataType=Mg,O.joinListWithLastSeparator=qe,O.joinStringsOperation=Ru,O.joinStringsOperationDynamicStringArgument=pg,O.joinStringsOperationDynamicStringArgumentParentRef=cg,O.joinStringsOperationDynamicStringArgumentRef=dg,O.joinStringsOperationDynamicStringDataType=ug,O.joinStringsOperationError=lg,O.joinStringsOperationErrorParentRef=og,O.joinStringsOperationFirstStringArgument=Lf,O.joinStringsOperationFirstStringArgumentParentRef=X1,O.joinStringsOperationFirstStringArgumentRef=Z1,O.joinStringsOperationFirstStringDataType=J1,O.joinStringsOperationResultStringDataType=z1,O.joinStringsOperationResultStringReturn=wu,O.joinStringsOperationResultStringReturnParentRef=ag,O.joinStringsOperationResultStringReturnRef=Y1,O.joinStringsOperationSecondStringArgument=Bf,O.joinStringsOperationSecondStringArgumentParentRef=ng,O.joinStringsOperationSecondStringArgumentRef=W1,O.joinStringsOperationSecondStringDataType=H1,O.joinStringsOperationSeparatorStringArgument=sg,O.joinStringsOperationSeparatorStringArgumentParentRef=ig,O.joinStringsOperationSeparatorStringArgumentRef=Q1,O.joinStringsOperationSeparatorStringDataType=rg,O.joinStringsOperationSeparatorStringDataTypeDefaultValue=tg,O.joinStringsOperationSeparatorStringDataTypeDefaultValueParentRef=eg,O.keyValuePrototype=Vl,O.literalValueValidation=dhe,O.loopValidation=whe,O.lowercaseFirstLetter=md,O.manualFlowActionDescriptorDeclarationArgumentDeclaration=Rv,O.manualFlowActionDescriptorDeclarationArgumentDeclarationDataType=m$,O.manualFlowActionDescriptorDeclarationArgumentDeclarationDataTypeParentRef=y$,O.manualFlowActionDescriptorDeclarationArgumentDeclarationParentRef=v$,O.manualFlowLoopActionDescriptor=Wf,O.manualFlowLoopActionDescriptorDynamicReturnDeclaration=h$,O.manualFlowLoopActionDescriptorDynamicReturnDeclarationParentRef=f$,O.manualFlowLoopBodyActionDescriptor=Hf,O.manualFlowLoopBodyActionDescriptorAnyDynamicArgument=T$,O.manualFlowLoopBodyActionDescriptorAnyDynamicArgumentParentRef=E$,O.manualFlowLoopBodyActionDescriptorAnyDynamicReturn=A$,O.manualFlowLoopBodyActionDescriptorAnyDynamicReturnParentRef=b$,O.mapActionDescriptorToTypeItRepresents=F0e,O.mapRecord=q6,O.mergeArraysOfStringsWithoutDuplicates=Yme,O.mergeEntityErrorsList=gde,O.mergeListOfEntities=j0e,O.methodDefaultValue=QD,O.mockClientProject=YE,O.moreThanOrEqualCondition=Gl,O.moreThanOrEqualConditionLeftHandArgument=UN,O.moreThanOrEqualConditionLeftHandArgumentDataType=BN,O.moreThanOrEqualConditionLeftHandArgumentDataTypeParentRef=LN,O.moreThanOrEqualConditionLeftHandArgumentParentRef=MN,O.moreThanOrEqualConditionRightHandArgument=GN,O.moreThanOrEqualConditionRightHandArgumentDataType=xN,O.moreThanOrEqualConditionRightHandArgumentDataTypeParentRef=jN,O.moreThanOrEqualConditionRightHandArgumentParentRef=FN,O.noSpacesOrDashesValueValidation=C6,O.noSpacesValueValidation=O6,O.notEmptyCondition=Co,O.notEmptyConditionArgument=$N,O.notEmptyConditionRef=CN,O.nullPrototype=W0,O.numberAdditionOperation=Nf,O.numberAdditionOperationDynamicSummandArgument=O1,O.numberAdditionOperationDynamicSummandArgumentType=D1,O.numberAdditionOperationDynamicSummandArgumentTypeParentRef=_1,O.numberAdditionOperationError=g1,O.numberAdditionOperationErrorParentRef=R1,O.numberAdditionOperationFirstNumberArgument=H0,O.numberAdditionOperationFirstNumberArgumentRef=m1,O.numberAdditionOperationFirstNumberDataType=v1,O.numberAdditionOperationRef=I1,O.numberAdditionOperationRefThree=z0,O.numberAdditionOperationRefTwo=w1,O.numberAdditionOperationResultNumberDataType=A1,O.numberAdditionOperationResultNumberReturn=X0,O.numberAdditionOperationResultNumberReturnRef=b1,O.numberAdditionOperationSecondNumberArgument=Y0,O.numberAdditionOperationSecondNumberArgumentRef=E1,O.numberAdditionOperationSecondNumberDataType=T1,O.numberPrototype=et,O.numberSubtractionOperation=ev,O.numberSubtractionOperationDynamicSubtrahendArgument=S1,O.numberSubtractionOperationDynamicSubtrahendArgumentType=k1,O.numberSubtractionOperationDynamicSubtrahendArgumentTypeParentRef=K1,O.numberSubtractionOperationError=G1,O.numberSubtractionOperationErrorParentRef=F1,O.numberSubtractionOperationFirstNumberArgument=B1,O.numberSubtractionOperationFirstNumberArgumentRef=C1,O.numberSubtractionOperationFirstNumberDataType=$1,O.numberSubtractionOperationRef=Q0,O.numberSubtractionOperationRefThree=j1,O.numberSubtractionOperationRefTwo=M1,O.numberSubtractionOperationResultNumberDataType=L1,O.numberSubtractionOperationResultNumberReturn=x1,O.numberSubtractionOperationResultNumberReturnRef=N1,O.numberSubtractionOperationSecondNumberArgument=U1,O.numberSubtractionOperationSecondNumberArgumentRef=P1,O.numberSubtractionOperationSecondNumberDataType=V1,O.numberValueAutogenerationSchema=eT,O.operationValidation=vhe,O.orderEntitiesForTraversal=T0e,O.outputMapValidation=Rme,O.parallelExecutionOperation=ks,O.parallelExecutionOperationError=z_,O.parallelExecutionOperationErrorParentRef=Y_,O.parallelExecutionOperationListOfExecutionResultsDataType=J_,O.parallelExecutionOperationListOfExecutionResultsReturn=dv,O.parallelExecutionOperationListOfExecutionResultsReturnRef=Z_,O.parallelExecutionOperationListOfFunctionsArgument=lv,O.parallelExecutionOperationListOfFunctionsArgumentDatatype=q_,O.parallelExecutionOperationListOfFunctionsArgumentRef=S_,O.parallelExecutionOperationListOfFunctionsBlueprint=k_,O.parallelExecutionOperationListOfFunctionsBlueprintDynamicInput=G_,O.parallelExecutionOperationListOfFunctionsBlueprintDynamicInputParentRef=F_,O.parallelExecutionOperationListOfFunctionsBlueprintDynamicOutput=x_,O.parallelExecutionOperationListOfFunctionsBlueprintDynamicOutputParentRef=j_,O.parallelExecutionOperationListOfFunctionsBlueprintParentRef=K_,O.parallelExecutionOperationRef=W_,O.parallelExecutionOperationRefThree=H_,O.persistedBuiltInBaseEntity=ni,O.persistedBuiltInBaseEntityDatabaseProperty=jl,O.persistedBuiltInBaseEntityDatabasePropertyDataType=cN,O.persistedBuiltInBaseEntityDatabasePropertyDataTypeRef=Ik,O.persistedBuiltInBaseEntityDatabasePropertyParentRef=pN,O.persistedBuiltInBaseEntityDatabasePropertyRef=uN,O.persistedBuiltInBaseEntityPrimaryKeyProperty=xl,O.persistedBuiltInBaseEntityPrimaryKeyPropertyDataType=bN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyNumberDataTypeOption=hN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyNumberDataTypeOptionParentRef=fN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyParentRef=AN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyRef=TN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyStringDataTypeOption=mN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyStringDataTypeOptionParentRef=yN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyUUIDDataTypeOption=EN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyUUIDDataTypeOptionParentRef=vN,O.printEntity=gA,O.processOutputGlobalValueDescriptorDataType=WN,O.processOutputGlobalValueDescriptorReturn=ah,O.processOutputGlobalValueDescriptorReturnRef=JN,O.projectPublicationCompletedGlobalEvent=nh,O.propagateNewInputOrOutputMapValueAsTypeToParentVariable=gp,O.propagateNewInputOrOutputMapValueToParentVariable=Rp,O.propagateNewStaticPropertyValueAsTypeToVariables=Xo,O.propagateNewStaticPropertyValueToVariables=zo,O.propertyToZodSchema=f2,O.propertyValidation=ahe,O.readValueFromWritter=_d,O.rebaseStack=Eb,O.relationalDatabaseBuiltInBaseEntity=Xr,O.relationalDatabaseBuiltInBaseEntityAutoscalingProperty=Sv,O.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyDataType=sN,O.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyDataTypeRef=iN,O.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyParentRef=nN,O.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyRef=rN,O.relationalDatabaseBuiltInBaseEntityDefaultProperty=kv,O.relationalDatabaseBuiltInBaseEntityDefaultPropertyDataType=tN,O.relationalDatabaseBuiltInBaseEntityDefaultPropertyDataTypeRef=QV,O.relationalDatabaseBuiltInBaseEntityDefaultPropertyRef=eN,O.relationalDatabaseBuiltInBaseEntityIdentifierProperty=Qf,O.relationalDatabaseBuiltInBaseEntityIdentifierPropertyDataType=SV,O.relationalDatabaseBuiltInBaseEntityIdentifierPropertyDataTypeRef=KV,O.relationalDatabaseBuiltInBaseEntityIdentifierPropertyRef=kV,O.relationalDatabaseBuiltInBaseEntityMinSizeProperty=rh,O.relationalDatabaseBuiltInBaseEntityMinSizePropertyDataType=XV,O.relationalDatabaseBuiltInBaseEntityMinSizePropertyDataTypeRef=YV,O.relationalDatabaseBuiltInBaseEntityMinSizePropertyRef=zV,O.relationalDatabaseBuiltInBaseEntityPasswordProperty=th,O.relationalDatabaseBuiltInBaseEntityPasswordPropertyDataType=WV,O.relationalDatabaseBuiltInBaseEntityPasswordPropertyDataTypeRef=Ak,O.relationalDatabaseBuiltInBaseEntityPasswordPropertyDefaultValueParentRef=HV,O.relationalDatabaseBuiltInBaseEntityPasswordPropertyRef=JV,O.relationalDatabaseBuiltInBaseEntityRef=Ul,O.relationalDatabaseBuiltInBaseEntityUsernameProperty=eh,O.relationalDatabaseBuiltInBaseEntityUsernamePropertyDataType=ZV,O.relationalDatabaseBuiltInBaseEntityUsernamePropertyDataTypeRef=bk,O.relationalDatabaseBuiltInBaseEntityUsernamePropertyRef=qV,O.removeDisabledReasons=Xme,O.resolveActionDescriptorName=VU,O.resolveArgumentDeclarationValue=kb,O.resolveBaseEntityName=OU,O.resolveBuiltInBaseEntityDataTypeLabel=CU,O.resolveCardSubheader=xme,O.resolveClonedEntityProject=Rr,O.resolveConditionOperatorLabel=dy,O.resolveDataType=oy,O.resolveDataTypeEntityOrNestedChildrenFromLiteralValue=RA,O.resolveDataTypeLabel=Ed,O.resolveDatatypeIconName=jme,O.resolveDefinitionEntityDataTypeLabel=ihe,O.resolveDefinitionEntitySubheader=Xb,O.resolveEntityCodeName=fb,O.resolveEntityDataTypeLabel=rhe,O.resolveEntityName=ne,O.resolveEntitySubheader=Fme,O.resolveFirstCallsSecond=_0e,O.resolveFirstWritesSecond=D0e,O.resolveFunctionDeclarationCardSubheader=Qb,O.resolveInputMapNextStandaloneValue=Zb,O.resolveInputMapNextValue=wp,O.resolveInputMapNextValueAsPropertyOfAnObject=jx,O.resolveInputMapStandaloneValue=Jb,O.resolveInputMapValue=Fx,O.resolveInputMapValueAsPropertyOfAnObject=xx,O.resolveMethodCardSubheader=Yx,O.resolveNextValue=gy,O.resolveOutputMapValue=qb,O.resolvePersistedDefinitionEntityDatabaseEntity=CF,O.resolvePrimaryKeyProperty=S0e,O.resolvePrimitiveEntityForSearchLiteralValueType=jb,O.resolvePrimitiveEntityName=PU,O.resolvePropertyValue=Gx,O.resolvePublicationStepStatusFromType=n0e,O.resolveResourceNameFromType=s0e,O.resolveReturnDeclarationValue=Sb,O.resolveSearchName=$U,O.resolveValue=Ja,O.resolveValueDescriptorValue=Kx,O.resolveVarDeclarationAggregateObjectValue=Mx,O.resolveVarDeclarationNextAggregateObjectValue=Bx,O.resolveVarDeclarationNextValue=Ip,O.resolveVarDeclarationValue=Kb,O.resolveVarInstanceNextValue=Ry,O.resolveVarInstanceValue=Ux,O.resolveVariableScope=the,O.returnDeclarationValidation=Ehe,O.returnStatementValidation=The,O.savePersistedEntityMethod=lN,O.savePersistedEntityMethodParentRef=oN,O.searchStatementErrorGlobalValueDescriptor=zv,O.searchStatementErrorGlobalValueDescriptorDataType=YN,O.searchStatementErrorGlobalValueDescriptorRef=HN,O.searchStatementState=mme,O.searchStatementUtils=Eme,O.searchValidation=Ohe,O.sequentialExecutionOperation=zn,O.sequentialExecutionOperationError=vD,O.sequentialExecutionOperationErrorParentRef=mD,O.sequentialExecutionOperationListOfExecutionResultsDataType=fD,O.sequentialExecutionOperationListOfExecutionResultsReturn=cv,O.sequentialExecutionOperationListOfExecutionResultsReturnParentRef=yD,O.sequentialExecutionOperationListOfExecutionResultsReturnRef=pD,O.sequentialExecutionOperationListOfFunctionsArgument=uv,O.sequentialExecutionOperationListOfFunctionsArgumentDatatype=cD,O.sequentialExecutionOperationListOfFunctionsArgumentParentRef=hD,O.sequentialExecutionOperationListOfFunctionsArgumentRef=uD,O.sequentialExecutionOperationListOfFunctionsBlueprint=dD,O.sequentialExecutionOperationListOfFunctionsBlueprintDynamicInput=lD,O.sequentialExecutionOperationListOfFunctionsBlueprintDynamicOutput=oD,O.sortCallsBasedOnExecutionDependencies=L6,O.sortChildrenEntitiesBasedOnExecutionDependencies=g0e,O.splitListOperation=sv,O.splitListOperationError=u_,O.splitListOperationErrorParentRef=d_,O.splitListOperationFirstOutputListDataType=Qg,O.splitListOperationFirstOutputListReturn=n_,O.splitListOperationFirstOutputListReturnParentRef=s_,O.splitListOperationFirstOutputListReturnRef=iv,O.splitListOperationInputListArgument=t_,O.splitListOperationInputListArgumentParentRef=e_,O.splitListOperationInputListArgumentRef=Hg,O.splitListOperationInputListDataType=Yg,O.splitListOperationSecondOutputListDataType=a_,O.splitListOperationSecondOutputListReturn=l_,O.splitListOperationSecondOutputListReturnParentRef=o_,O.splitListOperationSplitIndexArgument=i_,O.splitListOperationSplitIndexArgumentParentRef=r_,O.splitListOperationSplitIndexArgumentRef=zg,O.splitListOperationSplitIndexDataType=Xg,O.splitStringOperation=tv,O.splitStringOperationError=Cg,O.splitStringOperationErrorParentRef=Og,O.splitStringOperationFirstPartResultStringDataType=Eg,O.splitStringOperationFirstPartResultStringReturn=Dg,O.splitStringOperationFirstPartResultStringReturnParentRef=_g,O.splitStringOperationFirstPartResultStringReturnRef=vg,O.splitStringOperationIndexArgument=Rg,O.splitStringOperationIndexArgumentParentRef=wg,O.splitStringOperationIndexArgumentRef=yg,O.splitStringOperationIndexDataType=mg,O.splitStringOperationSecondPartResultStringDataType=bg,O.splitStringOperationSecondPartResultStringReturn=Ek,O.splitStringOperationSecondPartResultStringReturnParentRef=gg,O.splitStringOperationSecondPartResultStringReturnRef=Tg,O.splitStringOperationStringArgument=Ig,O.splitStringOperationStringArgumentParentRef=Ag,O.splitStringOperationStringArgumentRef=fg,O.splitStringOperationStringDataType=hg,O.stringPrototype=Fe,O.stringValueAutogenerationSchema=QE,O.suggestNewIdForEntity=hb,O.syncSearchEntityOutput=Fb,O.test_primitive_entities_export=Pve,O.toCamelCase=Jr,O.toEntityState=Ri,O.toKebabCase=DU,O.toLowerCaseKebabCase=ly,O.toPascalCase=vd,O.transitionProjectVersion=mb,O.translateLogicErrorCode=kme,O.translateLogicErrorCodeShort=Sme,O.translateLogicErrorCodeShortWithEntityName=qme,O.translateLogicErrorCodeWithEntityName=Zme,O.traverseChangeSet=vb,O.untypedDataPrototype=zr,O.updateErrorsList=Qt,O.urlDefaultValue=JD,O.uuidPrototype=Hn,O.validateArgumentDeclarationName=cb,O.validateCalledByErrorIdInAction=f0e,O.validateCalledByIdInAction=p0e,O.validateCallers=v6,O.validateConditionEntityDeclaration=m0e,O.validateDataOperation=bo,O.validateDataOperationDataToValidateArgument=MD,O.validateDataOperationDataToValidateArgumentParentRef=BD,O.validateDataOperationDataToValidateArgumentRef=ND,O.validateDataOperationDataToValidateDataType=LD,O.validateDataOperationEntityToMatchTypeArgument=FD,O.validateDataOperationEntityToMatchTypeArgumentParentRef=xD,O.validateDataOperationEntityToMatchTypeArgumentRef=UD,O.validateDataOperationEntityToMatchTypeDataType=jD,O.validateDataOperationError=SD,O.validateDataOperationErrorParentRef=kD,O.validateDataOperationOutputEntityDeclaration=KD,O.validateDataOperationOutputEntityDeclarationParentRef=GD,O.validateDefinitionEntityName=ob,O.validateEntityValues=Hx,O.validateEntryCaller=m6,O.validateErrorCaller=y6,O.validateFunctionCallDeclaration=T6,O.validateFunctionDeclarationName=lb,O.validateGeneratedEntityParentIsNotBuiltInEntity=l0e,O.validateGeneration=a0e,O.validateGenerationTarget=Tr,O.validateGenerationUpdate=o0e,O.validateLogic=Lme,O.validateLoopEntityDeclaration=v0e,O.validateMissingValue=ha,O.validateName=she,O.validateOperationEntityDeclaration=b6,O.validatePropertyName=ub,O.validateReachability=fa,O.validateReadsValueInActionPayload=h0e,O.validateReferenceObject=Vy,O.validateReferenceToOne=hA,O.validateReferences=Fr,O.validateReturnDeclarationName=pb,O.validateSuccessCaller=h6,O.validateValueReaderGenerationUpdate=Cp,O.validateValueWritter=bA,O.validateVariableDeclarationName=db,O.validateVariableInternalCallUse=AA,O.valueAutogenerationCurrentDateAndTimeSchema=jB,O.valueAutogenerationGenericSchema=Lh,O.valueAutogenerationOptions=rT,O.valueAutogenerationOptionsSchema=UB,O.valueAutogenerationRandomBooleanSchema=XE,O.valueAutogenerationRandomDateBetweenSchema=JB,O.valueAutogenerationRandomDateFromSchema=qB,O.valueAutogenerationRandomDateSchema=Uh,O.valueAutogenerationRandomDateUntilSchema=ZB,O.valueAutogenerationRandomNumberBetweenSchema=GB,O.valueAutogenerationRandomNumberFromSchema=xB,O.valueAutogenerationRandomNumberSchema=Bh,O.valueAutogenerationRandomNumberUntilSchema=FB,O.valueAutogenerationRandomSchema=sc,O.valueAutogenerationRandomTextBetweenSchema=SB,O.valueAutogenerationRandomTextFromSchema=KB,O.valueAutogenerationRandomTextSchema=Mh,O.valueAutogenerationRandomTextUntilSchema=kB,O.valueAutogenerationRangeValueTypesSchema=ic,O.valueAutogenerationUniqueSchema=zE,O.valueDescriptorValidation=Cme,O.variableDeclarationValidation=_he,O.variableInstanceValidation=Dhe,O.waitOperation=gi,O.waitOperationMillisecondsNumberArgument=Eo,O.waitOperationMillisecondsNumberArgumentRef=eD,O.waitOperationMillisecondsNumberDataType=tD,O.waitOperationOperationError=sD,O.waitOperationOperationErrorParentRef=iD,O.waitOperationRef=rD,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})});
|
|
404
|
+
`)),console.log("Persisting new additions"),v.visit(async(b,w)=>{if(a.added[b.id]){console.log("Adding: ",b.id);try{const A=ee(b,this);if(A.hydrateAncestors(),A.addSelfToProject(l),l.add(A,K.Added),!this.get(b.id))throw new Error(`Entity ${b.id} was not added to the project`)}catch(A){console.error("Error: ",A),console.error("Errored entity: ",b)}}}),console.log("Persisting updates"),v.visit(async(b,w)=>{if(a.updated[b.id]){console.log("Updating: ",b.id);try{const A=this.get(b.id);A?(A.updateWithShallowTransfer(b,l),l.add(A,K.Updated)):console.warn(`Active version of ${b.id} not found when applying external changes`)}catch(A){console.error("Error: ",A),console.error("Errored entity: ",b)}}}),console.log("Persisting removals"),v.visit(async(b,w)=>{if(a.removed[b.id]){console.log("Removing: ",b.id);try{const A=this.get(b.id);A&&A.remove({ignoreUpstream:!1},l)}catch(A){console.error("Error: ",A),console.error("Errored entity: ",b)}}}),l}toFullProjectTransfer(){const i=new ya(this),a={};return i.visit(l=>{const p=l.toShallowJSON();a[l.id]=p}),{order:i.order,size:i.order.length,record:a}}};D(He,"_UUIDModule",T2),D(He,"sessionAuthor","1"),D(He,"repository",{APICreate:async(i,...a)=>i,APIUpdate:async(i,...a)=>i,APIDelete:async(i,...a)=>i,APIClone:async(i,...a)=>{},APILoad:async(i,...a)=>null,APILoadVersion:async(i,a,...l)=>null}),D(He,"type",f.Project),D(He,"USER_MANAGED_PARENT_TYPES",[]),D(He,"PARENT_TYPES",[...He.USER_MANAGED_PARENT_TYPES]),D(He,"MUTABLE_BASE_PROPERTIES",["name","description"]),D(He,"INMUTABLE_BASE_PROPERTIES",["id","type","version","createdAt","author","previousVersion"]),D(He,"BASE_PROPERTIES",[...He.MUTABLE_BASE_PROPERTIES,...He.INMUTABLE_BASE_PROPERTIES]),D(He,"MUTABLE_META_PROPERTIES",[...He.MUTABLE_BASE_PROPERTIES,"x","y"]),D(He,"INMUTABLE_META_PROPERTIES",[...He.INMUTABLE_BASE_PROPERTIES]),D(He,"META_PROPERTIES",[...He.MUTABLE_META_PROPERTIES,...He.INMUTABLE_META_PROPERTIES]),D(He,"MUTABLE_UPSTREAM_PROPERTIES",[]),D(He,"INMUTABLE_UPSTREAM_PROPERTIES",["primitives","builtInBaseEntities","operationDeclarations","globalEventActionDescriptors","loopDeclarations","builtInInstances"]),D(He,"UPSTREAM_PROPERTIES",[...He.MUTABLE_UPSTREAM_PROPERTIES,...He.INMUTABLE_UPSTREAM_PROPERTIES]),D(He,"MUTABLE_DOWNSTREAM_PROPERTIES",["entities","projects","functions","events","variableDeclarations","variableInstances","conditions","operations","functionCalls","loops","searches"]),D(He,"INMUTABLE_DOWNSTREAM_PROPERTIES",[]),D(He,"DOWNSTREAM_PROPERTIES",[...He.MUTABLE_DOWNSTREAM_PROPERTIES,...He.INMUTABLE_DOWNSTREAM_PROPERTIES]),D(He,"PROPERTIES",[...He.META_PROPERTIES,...He.UPSTREAM_PROPERTIES,...He.DOWNSTREAM_PROPERTIES]);let P=He;class UF extends lt{constructor(i){super(ks,i);D(this,"id",rr.Parallel);D(this,"name",rr.Parallel);D(this,"description","Programmatically execute a list of actions one after the other");D(this,"version","1");D(this,"autoexecutable",!0);D(this,"initialData",ks);D(this,"type",f.ActionDescriptor);D(this,"inputs",[]);D(this,"outputs",[]);D(this,"error",null);D(this,"project");this.project=i,this.inputs=ks.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=ks.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=ks.error?ee(ks.error,this.project):null}}class jF extends lt{constructor(i){super(gi,i);D(this,"id",gi.id);D(this,"name",gi.name);D(this,"description",gi.description);D(this,"version",gi.version);D(this,"autoexecutable",!1);D(this,"initialData",gi);D(this,"type",f.ActionDescriptor);D(this,"inputs",[]);D(this,"outputs",[]);D(this,"error",null);D(this,"project");this.project=i,this.inputs=gi.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=gi.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=gi.error?ee(gi.error,this.project):null}}class xF extends lt{constructor(i){super(zn,i);D(this,"id",rr.Sequential);D(this,"name",rr.Sequential);D(this,"description","Programmatically execute a list of actions one after the other");D(this,"version","1");D(this,"autoexecutable",!0);D(this,"initialData",zn);D(this,"type",f.ActionDescriptor);D(this,"inputs",[]);D(this,"outputs",[]);D(this,"error",null);D(this,"project");this.project=i,this.inputs=zn.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=zn.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=zn.error?ee(zn.error,this.project):null}}class Ave extends lt{constructor(u){super(gu,u)}}class Ive extends lt{constructor(u){super(To,u)}}class wve extends lt{constructor(i){super(bo,i);D(this,"autoexecutable",!0)}getEntityToMatchInputMap(i){return i.inputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===me.operation[ir.Validate].inputs.entityToMatch.id})||null}getDataToValidateInputMap(i){return i.inputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===me.operation[ir.Validate].inputs.dataToValidate.id})||null}getOutputDataOutputMap(i){return i.outputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===me.operation[ir.Validate].outputs.outputEntity.id})||null}getEntityToMatch(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"get-entity-to-match-validate-data"))){const l=this.project.requestActiveValue(i),p=l==null?void 0:l.valueAsTypeSingle;return a==null||a.attemptAutoclose("get-entity-to-match-validate-data",this.id),p}syncOperationInstance(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-operation-instance-validate-data"))){const l=[],p=[],t=[],y=[],v=this.getEntityToMatchInputMap(i);if(v){const{added:A,updated:V,removed:L,affected:j}=this.syncEntityToMatchInputMapDataType(v,a);l.push(...V),p.push(...A),t.push(...L),y.push(...j)}const b=this.getDataToValidateInputMap(i);if(b){const{added:A,updated:V,removed:L,affected:j}=this.syncDataToValidateInputMapDataType(b,a);l.push(...V),p.push(...A),t.push(...L),y.push(...j)}const w=this.getOutputDataOutputMap(i);if(w){const{added:A,updated:V,removed:L,affected:j}=this.syncOutputDataOutputMapDataType(w,a);l.push(...V),p.push(...A),t.push(...L),y.push(...j)}return a==null||a.attemptAutoclose("sync-operation-instance-validate-data",this.id),{updated:R(l),added:R(p),removed:R(t),affected:R(y),self:i}}syncEntityToMatchInputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-entity-to-match-input-map-data-type"))){var w,A,V,L,j,k,S,H,re,te,pe,ie,ve,J,se;const l=[],p=[],t=[],y=[];if(((w=i.declaration)==null?void 0:w.id)!==me.operation[ir.Validate].inputs.entityToMatch.id)return a==null||a.attemptAutoclose("sync-entity-to-match-input-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};const v=this.project.requestActiveValue(i),b=v==null?void 0:v.valueAsTypeSingle;if(!i.dataType){const ce={id:P.UUID.uuid(),version:P.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||P.sessionAuthor,previousVersion:null,deleted:!1,type:f.DataType,parentRelationType:null,options:((A=i.declaration.dataType)==null?void 0:A.options)||null,implementationChooseOne:((V=i.declaration.dataType)==null?void 0:V.implementationChooseOne)||!1,staticEntities:((L=i.declaration.dataType)==null?void 0:L.staticEntities)??null,interactiveEntities:((j=i.declaration.dataType)==null?void 0:j.interactiveEntities)??null,actionEntities:((k=i.declaration.dataType)==null?void 0:k.actionEntities)??null,isList:((S=i.declaration.dataType)==null?void 0:S.isList)||!1,andChildrenGroup:null,orChildrenGroup:null,asType:!0,entity:(b==null?void 0:b.toJSON())||null,like:!0,inferred:!0,parent:i.toReference()},Y=ee(ce,i.project);Y.hydrateAncestors(),Y.setParent(i,a),Y.initChildren(a),Y.setEntity(b,a),a==null||a.add(Y,K.Added),l.push(Y),i.setDataType(Y,a)}return(J=i.dataType)==null||J.metaSync({inferred:!0,like:!1,asType:!0,options:((H=i.declaration.dataType)==null?void 0:H.options)||null,implementationChooseOne:((re=i.declaration.dataType)==null?void 0:re.implementationChooseOne)||!1,staticEntities:((te=i.declaration.dataType)==null?void 0:te.staticEntities)??null,interactiveEntities:((pe=i.declaration.dataType)==null?void 0:pe.interactiveEntities)??null,actionEntities:((ie=i.declaration.dataType)==null?void 0:ie.actionEntities)??null,isList:((ve=i.declaration.dataType)==null?void 0:ve.isList)||!1},a),(se=i.dataType)==null||se.setEntity(b,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-entity-to-match-input-map-data-type",this.id),{updated:R(p),added:R(l),removed:R(t),affected:R(y),self:i.dataType}}syncDataToValidateInputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-data-to-validate-input-map-data-type"))){var A,V,L;const l=[],p=[],t=[],y=[];if(((A=i.declaration)==null?void 0:A.id)!==me.operation[ir.Validate].inputs.dataToValidate.id)return a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};const v=this.getEntityToMatchInputMap(i.parent);if(!v)return a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};if(!this.getEntityToMatch(v,a))return a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};if(!i.dataType){const j={id:P.UUID.uuid(),version:P.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||P.sessionAuthor,previousVersion:null,deleted:!1,type:f.DataType,parentRelationType:null,options:null,implementationChooseOne:!1,isList:!1,andChildrenGroup:null,orChildrenGroup:null,staticEntities:null,interactiveEntities:null,actionEntities:null,asType:!1,entity:null,like:!0,inferred:!0,parent:i.toReference()},k=ee(j,i.project);k.setParent(i,a),k.initChildren(a),a==null||a.add(k,K.Added),l.push(k),i.setDataType(k,a)}(V=i.dataType)==null||V.metaSync({inferred:!0,like:!0,asType:!1},a);const w=this.getEntityToMatch(v,a);return(L=i.dataType)==null||L.setEntity(w,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:R(p),added:R(l),removed:R(t),affected:R(y),self:i.dataType}}syncOutputDataOutputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"sync-output-data-output-map-data-type"))){var V,L,j;const l=[],p=[],t=[],y=[];if(((V=i.declaration)==null?void 0:V.id)!==me.operation[ir.Validate].outputs.outputEntity.id)return a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};const v=this.getEntityToMatchInputMap(i.parent);if(!v)return a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};if(!this.getEntityToMatch(v,a))return a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:[],added:[],removed:[],affected:[],self:null};const w=this.project.requestActiveValue(v),A=(w==null?void 0:w.valueAsTypeSingle)||null;if(!i.dataType){const k={id:P.UUID.uuid(),version:P.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||P.sessionAuthor,previousVersion:null,deleted:!1,type:f.DataType,parentRelationType:null,options:null,implementationChooseOne:!1,staticEntities:null,interactiveEntities:null,actionEntities:null,isList:!1,andChildrenGroup:null,orChildrenGroup:null,asType:!1,entity:(A==null?void 0:A.toJSON())||null,like:!0,inferred:!0,parent:i.toReference()},S=ee(k,i.project);S.hydrateAncestors(),S.setParent(i,a),S.initChildren(a),S.setEntity(A,a),a==null||a.add(S,K.Added),l.push(S),i.setDataType(S,a)}return(L=i.dataType)==null||L.metaSync({inferred:!0,like:!0,asType:!1},a),(j=i.dataType)==null||j.setEntity(A,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:R(p),added:R(l),removed:R(t),affected:R(y),self:i.dataType}}inferInputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"infer-input-map-data-type-validate-data"))){var p,t,y;if(((p=i.declaration)==null?void 0:p.id)===me.operation[ir.Validate].inputs.entityToMatch.id){const{added:v,updated:b,removed:w,affected:A}=this.syncEntityToMatchInputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-input-map-data-type",this.id),{updated:R(b),added:R(v),removed:R(w),affected:R(A),self:i.dataType}}if(((t=i.declaration)==null?void 0:t.id)===me.operation[ir.Validate].inputs.dataToValidate.id){const{added:v,updated:b,removed:w,affected:A}=this.syncDataToValidateInputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-input-map-data-type",this.id),{updated:R(b),added:R(v),removed:R(w),affected:R(A),self:i.dataType}}const l=(y=i.declaration)==null?void 0:y.getDataType(a);if(l&&l.isResolved)return a==null||a.attemptAutoclose("infer-input-map-data-type-validate-data",this.id),{updated:[],added:[],removed:[],affected:[],self:l};if(i.readsValue){const v=Hs(i.readsValue,a);return a==null||a.attemptAutoclose("infer-input-map-data-type-validate-data",this.id),{updated:[],added:[],removed:[],affected:[],self:v}}return a==null||a.attemptAutoclose("infer-input-map-data-type-validate-data",this.id),{updated:[],added:[],removed:[],affected:[],self:null}}inferOutputMapDataType(i,a=this.project.addChangeSet(new G(this.project,P.sessionAuthor,N().toISOString(),this,!0,"infer-output-map-data-type-validate-data"))){var l;if(((l=i.declaration)==null?void 0:l.id)===me.operation[ir.Validate].outputs.outputEntity.id){const{added:p,updated:t,removed:y,affected:v}=this.syncOutputDataOutputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-output-map-data-type-validate-data",this.id),{updated:R(t),added:R(p),removed:R(y),affected:R(v),self:i.dataType}}return{updated:[],added:[],removed:[],affected:[],self:null}}}class Rve extends lt{constructor(u){super(rv,u)}}class gve extends lt{constructor(u){super(sv,u)}}class _ve extends lt{constructor(u){super(nv,u)}}class Dve extends lt{constructor(u){super(Mf,u)}}class Ove extends lt{constructor(u){super(Nf,u)}}class Cve extends lt{constructor(u){super(Ru,u)}}function $ve(d){const u=[new xF(d),new UF(d),new jF(d),new Ave(d),new Ive(d),new wve(d),new Dve(d),new Rve(d),new _ve(d),new gve(d),new Ove(d),new Cve(d),new lt(tv,d),new lt(ev,d),new lt(hv,d),new lt(yv,d),new lt(mv,d),new lt(vv,d),new lt(Ev,d),new lt(Tv,d),new lt(bv,d),new lt(Av,d),new lt(Iv,d),new lt(wv,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.operationDeclarations=u,u}class FF extends On{constructor(i){super(ni,i);D(this,"initialData");D(this,"id",Oe.PERSISTED_ENTITY);D(this,"version","1");D(this,"name",Oe.PERSISTED_ENTITY);D(this,"description",ni.description);D(this,"type",f.BuiltInBaseEntity);D(this,"abstract",ni.abstract);D(this,"static",ni.static);D(this,"properties",[]);D(this,"methods",[]);D(this,"abstractMethods",[]);D(this,"extends",[]);D(this,"errors",[]);D(this,"project");this.initialData=ni,this.project=i,this.id=ni.id,this.version=ni.version,this.name=ni.name,this.static=ni.static,this.abstract=ni.abstract,this.properties=this.initialData.properties.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.methods=this.initialData.methods.map(a=>{const l=ee(a,this.project);return l.parent=this,l}),this.abstractMethods=this.initialData.abstractMethods.map(a=>{const l=ee(a,this.project);return l.parent=this,l}),this.extends=this.initialData.extends.map(a=>ee(a,this.project))}}var GF=(d=>(d.StatusCodeMustBeNumber="status-code-must-be-number",d.StatusCodeMustBeBetween100And599="status-code-must-be-between-100-and-599",d))(GF||{});function KF(d,u){const i=[];if(typeof u!="number"){const a=new Zt({id:d.id+"--status-code-must-be-number",message:`Entity of type ${d.type} with id "${d.id}" has an invalid value "${u}". The value must be a number.`,issue:null,severity:Z.Error,code:"status-code-must-be-number",entity:d});return i.push(a),{errors:i,override:u}}if(u<100){const a=new Zt({id:d.id+"--status-code-must-be-between-100-and-599",message:`Entity of type ${d.type} with id "${d.id}" has an invalid value "${u}". The value must be a number between 100 and 599.`,issue:null,severity:Z.Error,code:"status-code-must-be-between-100-and-599",entity:d});i.push(a)}if(u>599){const a=new Zt({id:d.id+"--status-code-must-be-between-100-and-599",message:`Entity of type ${d.type} with id "${d.id}" has an invalid value "${u}". The value must be a number between 100 and 599.`,issue:null,severity:Z.Error,code:"status-code-must-be-between-100-and-599",entity:d});i.push(a)}return{errors:i,override:u}}class kF extends On{constructor(i){super(Ki,i);D(this,"initialData");D(this,"id",Oe.PERSISTED_ENTITY);D(this,"version","1");D(this,"name",Oe.PERSISTED_ENTITY);D(this,"description",Ki.description);D(this,"type",f.BuiltInBaseEntity);D(this,"abstract",Ki.abstract);D(this,"static",Ki.static);D(this,"properties",[]);D(this,"methods",[]);D(this,"abstractMethods",[]);D(this,"extends",[]);D(this,"errors",[]);D(this,"project");this.initialData=Ki,this.project=i,this.id=Ki.id,this.version=Ki.version,this.name=Ki.name,this.static=Ki.static,this.abstract=Ki.abstract,this.properties=this.initialData.properties.map(t=>{const y=ee(t,this.project);return y.setParent(this,null),y.initChildren(null),y}),this.methods=this.initialData.methods.map(t=>{const y=ee(t,this.project);return y.parent=this,y}),this.abstractMethods=this.initialData.abstractMethods.map(t=>{const y=ee(t,this.project);return y.parent=this,y}),this.extends=this.initialData.extends.map(t=>ee(t,this.project));const a=this.properties.find(t=>t.id===me["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.properties.path.id);if(!a)throw new Error("Path property not found in endpoint entity");a._codeNativeValueValidation=(t,y)=>O6(t,y);const l=this.abstractMethods.find(t=>t.id===me["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id);if(!l)throw new Error("Handler method not found in endpoint entity");const p=l.outputs.find(t=>t.id===me["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.outputs.statusCode.id);if(!p)throw new Error("Status code output not found in handler method");p.codeNativeValueValidation=(t,y)=>KF(t,y)}}const Pve="test_primitive_entities_export";class Vve extends On{constructor(i){super(Xr,i);D(this,"initialData");D(this,"id",Oe.PERSISTED_ENTITY);D(this,"version","1");D(this,"name",Oe.PERSISTED_ENTITY);D(this,"description",Xr.description);D(this,"type",f.BuiltInBaseEntity);D(this,"abstract",Xr.abstract);D(this,"static",Xr.static);D(this,"properties",[]);D(this,"methods",[]);D(this,"abstractMethods",[]);D(this,"extends",[]);D(this,"errors",[]);D(this,"project");this.initialData=Xr,this.project=i,this.id=Xr.id,this.version=Xr.version,this.name=Xr.name,this.static=Xr.static,this.abstract=Xr.abstract,this.properties=this.initialData.properties.map(l=>{const p=ee(l,this.project);return p.setParent(this,null),p.initChildren(null),p}),this.methods=this.initialData.methods.map(l=>{const p=ee(l,this.project);return p.parent=this,p}),this.abstractMethods=this.initialData.abstractMethods.map(l=>{const p=ee(l,this.project);return p.parent=this,p}),this.extends=this.initialData.extends.map(l=>ee(l,this.project));const a=this.properties.find(l=>l.id===me["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.identifier.id);if(!a)throw new Error("Path property not found in endpoint entity");a._codeNativeValueValidation=(l,p)=>C6(l,p)}}function Nve(d){const u=[new FF(d),new kF(d),new Vve(d),new On(ih,d)];return u.forEach(i=>{d.subscribeBuiltInInstance(i)}),d.builtInBaseEntities=u,u}function Lve(d){const u=[new Ni(Fe,d),new Ni(Jn,d),new Ni(et,d),new Ni(W0,d),new Ni(zr,d),new Ni(Wn,d),new Ni(hn,d),new Ni(Hn,d),new Ni(Vl,d)];return u.forEach(i=>{d.subscribeBuiltInInstance(i)}),d.primitives=u,u}function Bve(d){const u=[new lt(nh,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.globalEventActionDescriptors=u,u}function Mve(d){const u=[new lt(Cu,d),new lt(_a,d),new lt(Du,d),new lt(Bl,d),new lt(Ml,d),new lt(Wf,d)];u.forEach(a=>{a.initChildren(null),d.subscribeBuiltInInstance(a)}),d.loopDeclarations=u;const i=[new lt(Xf,d),new lt(Ou,d),new lt(Yf,d),new lt(Ov,d),new lt($v,d),new lt(Hf,d)];return i.forEach(a=>{a.initChildren(null),d.subscribeBuiltInInstance(a)}),d.loopDeclarationsBodies=i,u}function Uve(d){const u=[new Xs(ah,d),new Xs(zv,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.valueDescriptors=u,u}function jve(d){const u=[new lt(Co,d),new lt(Wv,d),new lt(Gl,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.conditionDeclarations=u,u}const il={},Qy={},xp={empty:!1,enrich:!0,mock:!1,ignoreCache:!1,onFetch:async()=>null,manuallyInit:!1};function SF(d,u={enrich:!0,shallowErrors:!1}){const i={enrich:!0,shallowErrors:!1,...u},{enrich:a,shallowErrors:l}=i,p=d.project,t=d.record,y=new ya(p),v=new Set;t[p.id]=p,v.add(p.id);const b=N().toISOString();Object.values(t).forEach(V=>{!V||y.allBuiltInEntityIds.includes(V.id)||v.add(V.id)}),y.order=Array.from(v),y.flatRecord=t,y.orderEntities();const w=em(d.project);w.instances[p.id]=w;const A=a?w.addChangeSet(new G(w,P.sessionAuthor,b,w,!0,"project-init-from-fetch-result")):null;return y.visit(V=>{if(V.id===w.id)return;const L=ee(V,w);try{L.hydrateAncestors(),L.addSelfToProject(null);const j=Cd(V);Object.keys(j.downstream).forEach(k=>{const S=w.get(k);S&&S.hydrateAncestors()})}catch(j){if(l)console.error("Error hydrating ancestors: ",j);else throw j}}),a?(y.visit(V=>{if(V.id===w.id)return;const L=w.get(V.id);L&&L.afterAllChildrenInitialized(A)}),w.afterAllChildrenInitialized(A)):tm(w,b).forEach(L=>{L.remove({ignoreUpstream:!0},null)}),w.instancesList.forEach(V=>{V.previousVersion=null}),A==null||A.attemptAutoclose("project-init-from-fetch-result",w.id),w}async function xve(d,u=xp){const i={...xp,...u};if(i.empty)return{data:{project:{id:d.id,type:f.Project,version:P.UUID.uuid(),createdAt:N().toISOString(),author:P.sessionAuthor,previousVersion:null,deleted:!1,name:null,description:null,projects:[],entities:[],operations:[],functions:[],variableDeclarations:[],variableInstances:[],functionCalls:[],conditions:[],loops:[],searches:[],events:[]},record:{}}};if(i.mock){const l={...YE};return l.id=d.id,{data:{project:l,record:{}}}}return console.log("Fetching project from external API"),new Promise(async l=>{try{if(i.onFetch){const p=await i.onFetch(d.id);if(p){l({data:p});return}}else l({data:null})}catch(p){console.error("Error fetching project: ",p),l({data:null})}})}function em(d){const u=new P(d);return Lve(u),Nve(u),$ve(u),Bve(u),Mve(u),Uve(u),jve(u),Array.from(new Set([...u.getAllBuiltInIds(),...Cs()])).forEach(a=>{if(!u.builtInInstances[a]&&u.instances[a])u.builtInInstances[a]=u.instances[a],delete u.instances[a];else if(!u.builtInInstances[a])throw new Error(`Built in entity was not properly initialized: ${a}`)}),u.instances[u.id]=u,u}function tm(d,u){return d.instancesList.filter(a=>N(a.createdAt).isAfter(N(u)||!!a.previousVersion))}function Fve(d,{enrich:u}={enrich:!0}){const i=new Map,a=new Map,l=Array.from(new Set([...d.getAllBuiltInIds(),...Cs()]));Object.keys(d.instances).forEach(w=>{if(l.includes(w)){i.set(w,w),a.set(w,w);return}const A=d.get(w);if(!zy(A,{...d.instances,...d.builtInInstances}).every(k=>!l.includes(k))){i.set(w,w),a.set(w,w);return}const j=P.UUID.uuid();i.set(w,j),a.set(j,w)});const p=N().toISOString(),t=d.toShallowJSON({seenEntityMaps:i});t.previousVersion=null,t.createdAt=p,t.version=P.UUID.uuid();const y=em(t);y.instances[y.id]=y;const v=u?y.addChangeSet(new G(y,P.sessionAuthor,p,y,!0,"project-clone")):null,b=new ya(d);return b.visit(w=>{const A=w.toShallowJSON({seenEntityMaps:i});A.previousVersion=null,A.createdAt=p,A.version=P.UUID.uuid();const V=Cd(A,q6(b.flatRecord,i));if(Object.keys(V.upstream).length){let j=!1;if(Object.keys(V.upstream).forEach(k=>{if(!j&&(!y.get(k)||y.getDeleted(k))){j=!0;return}}),j)return}const L=ee(A,y);L.hydrateAncestors(),L.addSelfToProject(v),v==null||v.add(L,K.Added)}),u?(b.visit(w=>{if(w.id===y.id)return;const A=y.get(i.get(w.id));A&&A.afterAllChildrenInitialized(v)}),y.afterAllChildrenInitialized(v)):tm(y,p).forEach(A=>{A.remove({ignoreUpstream:!0},null)}),y.instancesList.forEach(w=>{w.previousVersion=null}),v==null||v.attemptAutoclose("project-clone",y.id),y}function qF(d,{enrich:u}={enrich:!0}){const i=em(d),a=N().toISOString(),l=u?i.addChangeSet(new G(i,P.sessionAuthor,a,i,!0,"project-init")):null;l&&(l.type=yb.Automatic);const p=new ya(d);return p.visit(t=>{const y=ee(t,i);y.hydrateAncestors(),y.addSelfToProject(l)}),u?(p.visit(t=>{if(t.id===i.id)return;const y=i.get(t.id);y&&y.afterAllChildrenInitialized(l)}),i.afterAllChildrenInitialized(l)):(tm(i,a).forEach(v=>{v.remove({ignoreUpstream:!0},null)}),new ya(i).visit(v=>{v.initialized=!0,v.captureVersion()})),i.initialized=!0,l==null||l.attemptAutoclose("project-init",i.id),i}async function Gve(d,u=xp){const i={...xp,...u};if(d.id&&il[d.id]&&!i.ignoreCache)return il[d.id];if(d.id&&Qy[d.id]&&!i.ignoreCache)return await Qy[d.id],il[d.id];const a=xve(d,i);d.id&&(Qy[d.id]=a);const l=await a;if(l.data){let p;return i.mock?p=qF(YE,{enrich:!!i.enrich}):l.data instanceof P?p=l.data:p=SF(l.data,{enrich:!!i.enrich}),il[d.id]=p,d.id&&delete Qy[d.id],p}return null}function Kve(d){return il[d.id]&&delete il[d.id],null}O.AI_VALUE_CONNECTION_GENERATION_ACTION_EXPLANATION=TA,O.ALL_BUILT_IN_BASE_ENTITIES=ON,O.ALL_BUILT_IN_CONDITION_ENTITIES=SN,O.ALL_BUILT_IN_GLOBAL_EVENT_ENTITIES=ZN,O.ALL_BUILT_IN_LOOP_BODY_ENTITIES=tV,O.ALL_BUILT_IN_LOOP_ENTITIES=eV,O.ALL_BUILT_IN_OPERATION_ENTITIES=p$,O.ALL_BUILT_IN_PRIMITIVE_ENTITIES=y1,O.ALL_BUILT_IN_TOP_LEVEL_ENTITIES=XN,O.ALL_BUILT_IN_VALUE_DESCRIPTORS=zN,O.ALL_CONNECTION_DISABLED_REASONS=Jme,O.ALL_OTHER_DISABLED_REASONS=Hme,O.ALL_TESTING_DISABLED_REASONS=Wme,O.ActionDescriptorState=lt,O.ActionInputMapState=wme,O.ActionOutputMapState=_me,O.AppendToListOperationInputIds=w_,O.AppendToListOperationOutputIds=R_,O.Area=ti,O.ArgumentDeclarationDependencyField=Dx,O.ArgumentDeclarationState=ca,O.BREAK_AND_CONTINUE_STATEMENTS_RETURN_DECLARATIONS_EXPLANATION=yA,O.BUILT_IN_BASE_ENTITY_IDS=me,O.BUILT_IN_ENTITY_TYPES=Gi,O.BaseCanvasDraggableState=hve,O.BaseEntityNames=Oe,O.BaseState=fve,O.BaseValueDescriptorIds=Pl,O.BreakStatementDependencyField=Cx,O.BreakStatementState=Za,O.BuiltInBaseEntityState=On,O.BuiltInFunctionIds=Fs,O.CACHED_PROJECTS_BY_ID=il,O.CALLABLE_ENTITIES_EXPLANATION=d0e,O.CALLABLE_TYPES=Gs,O.CALLER_ENTITIES_EXPLANATION=p6,O.CALLER_TYPES=Ks,O.CALLS_UPDATE_EXPLANATION=Ha,O.CANVAS_BASE_X=e6,O.CANVAS_BASE_Y=t6,O.CANVAS_CARD_HEADER_CENTER_HEIGHT=Dd,O.CANVAS_CARD_WIDTH=zx,O.CANVAS_COMPLEX_CARD_HEIGHT=Gme,O.CANVAS_HORIZONTAL_BUFFER_BETWEEN_CARDS=iA,O.CANVAS_SIMPLE_CARD_HEIGHT=tA,O.CANVAS_SIZE=eA,O.CANVAS_VERTICAL_BUFFER_BETWEEN_CARDS=$y,O.CARD_FOOTER_HEIGHT=Cy,O.CARD_PROPERTIES_SECTION_PADDING=pa,O.CARD_PROPERTIES_SECTION_SINGLE_PADDING=rA,O.CHILDREN_TYPES=vk,O.COMPARISON_CONDITIONS=KN,O.CONDITIONS=kN,O.CUSTOM_ENTITY_OPERATIONS=qD,O.CallableEntityClass=mve,O.CallerEntityClass=FA,O.CanvasEntityConnectionDisabledReason=sA,O.CanvasEntityOtherDisabledReason=aA,O.CanvasEntityTestingDisabledReason=nA,O.ChangeSet=G,O.ChangeSetChangeCaptureType=yb,O.ChangeSetEntityChangeType=K,O.ChildEntityBaseClass=yve,O.CommonStringValidationErrorCodes=D6,O.ComparisonOperatorTypes=ur,O.ConditionDependencyField=r3,O.ConditionState=Fa,O.ContinueStatementDependencyField=zU,O.ContinueStatementState=ci,O.CreateNewInputIds=TD,O.CreateNewOutputIds=bD,O.DRAGGABLE_CALLABLE_TYPES=J0,O.DRAGGABLE_CALLER_TYPES=a1,O.DRAGGABLE_ELEMENT_TYPES=Vf,O.DRAGGABLE_EXECUTABLE_TYPES=yk,O.DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES=Pf,O.DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS=Z0,O.DataTypeCompatibilityTypes=gs,O.DataTypeDependencyField=Tb,O.DataTypeParentChildRelation=Yr,O.DataTypeState=Wi,O.DefinitionEntityDependencyField=Xy,O.DefinitionEntityState=va,O.DynamicValueTypes=Ae,O.EDITABLE_PERSISTANCE_REPOSITORY_DEFAULTS=cve,O.ENTITIES_WITH_VALLUES_EXPLANATION=Ly,O.ENTITY_PERSISTANCE_OPTIONS_DEFAULTS=ye,O.ENTITY_RECUSION_OPTIONS_DEFAULTS=Le,O.ENTITY_TYPES=mk,O.ENTITY_WITH_CODE_NAMES_TYPES=l1,O.ENTITY_WITH_DECLARATION_TYPES=fk,O.ENTITY_WITH_LOGIC_SCOPE_TYPES=Ir,O.ENTITY_WITH_NAMES_TYPES=o1,O.ENTITY_WITH_PARENT_TYPES=ck,O.ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES=s1,O.ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES=pk,O.ENTITY_WITH_VALUE_TYPES=q0,O.ENTRY_POINT_ENTITIES_EXPLANATION=Op,O.ENTRY_POINT_TYPES=Yt,O.ERROR_PROPERTY_HEIGHT=Oy,O.EVENT_TYPES=$l,O.EXECUTABLE_TYPES=hk,O.EXECUTION_OPERATIONS=ED,O.EfimeralValueStore=bp,O.EndpointEntity=kF,O.EntityError=Zt,O.EntityErrorSeverity=Z,O.EntityGenerationError=Q,O.EntityGenerationErrorCode=q,O.EntityInstanceErrorCode=ae,O.EntityOperations=ir,O.EntityType=f,O.EntityWithLogicScopeClass=bve,O.EntityWithValueClass=Tve,O.EntryPointEntityClass=vve,O.Execution=Yb,O.ExecutionOperations=rr,O.ExecutionState=Hb,O.ExecutionTerminationType=Ze,O.ExplicitInfrastructureResource=uA,O.FunctionCallDependencyField=w6,O.FunctionCallState=za,O.FunctionDeclarationDependencyField=kU,O.FunctionDeclarationState=Ma,O.GET_PROJECT_OPTIONS_DEFAULTS=xp,O.GLOBAL_EVENT_DECLARATIONS=qN,O.GetLastInListOperationInputIds=c_,O.GetLastInListOperationOutputIds=p_,O.GlobalEventNames=qn,O.GlobalEventState=xa,O.HTTPOperations=di,O.HTTPStatucCodeValidationErrorCodes=GF,O.HTTP_OPERATIONS=gO,O.ImplicitGlobalInfrastructureResource=cA,O.InfrastructureResource=dA,O.InfrastructureResourceStatus=l6,O.InputMapDependencyField=wx,O.InputMapState=Ds,O.InstalledProjectState=Sa,O.InternalCallDependencyField=Ax,O.InternalCallState=qa,O.JoinListOperationInputIds=Pg,O.JoinListOperationOutputIds=Vg,O.LIST_OPERATIONS=U_,O.ListOperations=ct,O.LiteralValueDependencyField=xU,O.LiteralValueState=Ti,O.LoopDependencyField=e3,O.LoopState=bi,O.LoopTypes=Ge,O.MAIN_VALUE_PROPERTY_HEADER_HEIGHT=Dy,O.MAIN_VALUE_SUB_PROPERTY_HEIGHT=Kme,O.NESTED_PROPERTY_HEIGHT=Xx,O.NON_INTERACTIVE_BASE_ENTITIES_EXPLANATION=Ya,O.NUMBER_OPERATIONS=q1,O.NumberOperations=dr,O.OPERATION_DECLARATIONS=c$,O.OperationDependencyField=ZU,O.OperationState=Ua,O.OutputMapDependencyField=gx,O.OutputMapParentChildRelation=Cl,O.OutputMapState=zs,O.PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION=By,O.PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION=Wa,O.PASS_THROUGH_CALLABLE_TYPES=er,O.PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS=n1,O.PLACEHOLDER_VALUE_STORE_CLIENT=Vx,O.PROPERTY_HEIGHT=_y,O.PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION=EA,O.PUBLISHING_DISABLED_REASONS=d6,O.ParallelExecutionOperation=UF,O.PassThroughCallableEntityClass=Eve,O.PersistedEntity=FF,O.PrimitiveEntityState=Ni,O.PrimitiveTypes=X,O.ProjectState=P,O.ProjectStateEvents=vr,O.PropertyDependencyField=GU,O.PropertyState=da,O.PublicationRun=e0e,O.PublicationStep=o6,O.RANDOMNESS_OPERATIONS=u$,O.READABLE_ENTITY_TYPES=zb,O.READ_ONLY_ENTITY_PERSISTANCE_REPOSITORY=MF,O.RETURN_STATEMENT_RETURN_DECLARATIONS_EXPLANATION=u0e,O.RandomnessOperations=Pe,O.ReturnDeclarationDependencyField=WU,O.ReturnDeclarationState=Vi,O.ReturnStatementDependencyField=bb,O.ReturnStatementState=ja,O.SQLAST=yme,O.STANDALONE_CONDITIONS=NN,O.STATIC_PROPERTY_HEIGHT=Qx,O.STRING_OPERATIONS=$g,O.ScopeCompatibilityType=Hy,O.SearchDependencyField=vx,O.SearchState=ka,O.SequentialExecutionOperation=xF,O.SequentialExecutionOperationInputIds=nD,O.SequentialExecutionOperationOutputIds=aD,O.SharedEntityErrorCode=le,O.SharedStateFunctionality=BF,O.SplitListOperationInputIds=Jg,O.SplitListOperationOutputIds=Wg,O.StandaloneOperatorTypes=Br,O.StringOperations=mt,O.TERMINATION_TYPES=sr,O.Traverser=ya,O.USER_MANAGED_ENTITY_TYPES=d1,O.UserManagedEntityStateTemplate=pve,O.VALUE_READING_ENTITIES_EXPLANATION=vA,O.VALUE_READING_TYPES=Zn,O.VALUE_WRITING_ENTITIES_EXPLANATION=f6,O.VALUE_WRITING_TYPES=Or,O.VARIABLE_DATA_TYPE_INFERRANCE_EXPLANATION=mA,O.VARIABLE_TYPES=nt,O.ValueAutogenerationType=Dr,O.ValueDescriptorDependencyField=Px,O.ValueDescriptorParentChildRelation=oe,O.ValueDescriptorState=Xs,O.ValueReadingEntityClass=Up,O.ValueWritingEntityClass=jp,O.VariableDeclarationDependencyField=n3,O.VariableDeclarationState=Ka,O.VariableInputMapState=Ime,O.VariableInstanceDependencyField=Ib,O.VariableInstanceState=Ga,O.VariableOutputMapState=gme,O.WaitOperation=jF,O.WaitOperationInputIds=X_,O.WaitOperationOutputIds=Q_,O.actionDescriptorValidation=Rhe,O.addDisabledReasons=zme,O.afterLiteralValueAsTypeChangeSideEffects=Jx,O.afterLiteralValueAsTypeDeleteSideEffects=Zx,O.afterLiteralValueChangeSideEffects=Sx,O.afterLiteralValueDeleteSideEffects=kx,O.aggregateVariableInputsNextValues=Ap,O.aggregateVariableInputsValues=wy,O.appendToListOperation=Mf,O.appendToListOperationElementToAppendArgument=ov,O.appendToListOperationElementToAppendArgumentParentRef=V_,O.appendToListOperationElementToAppendArgumentRef=D_,O.appendToListOperationError=M_,O.appendToListOperationErrorParentRef=B_,O.appendToListOperationListArgument=av,O.appendToListOperationListArgumentParentRef=P_,O.appendToListOperationListArgumentRef=g_,O.appendToListOperationListDataType=__,O.appendToListOperationResultListDataType=$_,O.appendToListOperationResultListReturn=L_,O.appendToListOperationResultListReturnParentRef=N_,O.appendToListOperationResultListReturnRef=C_,O.appendToListOperationSecondListDataType=O_,O.applyNewScope=xe,O.argumentDeclarationValidation=Dme,O.asGenerationActionExample=Dn,O.assembleAndAddLiteralValueFromDataType=Qs,O.assembleStandaloneLiteralValueFromDataType=Xe,O.booleanPrototype=Jn,O.breakStatementValidation=Ome,O.calculateCardSize=i6,O.calculateMethodCardSize=r6,O.calculateNewParentBasedOnCallers=_A,O.capitalizeFirstLetter=ei,O.changeSetJSONRecordToUniqueIds=lhe,O.checkAreDataTypesCompatible=_s,O.checkAreDefinitionEntitiesCompatibleAsDataType=AU,O.checkArePropertiesCompatibleAsDataType=bU,O.checkExtendsBaseEntity=Yy,O.checkHasBaseEntity=zi,O.checkHasMetadataChanged=br,O.checkImplementationsOverlap=ma,O.checkImplementsBaseEntity=G0e,O.checkIsBranchDependentButNotDirectlyOnBranch=rl,O.checkIsBranchDependentOnBranch=DA,O.checkIsBuiltIn=xA,O.checkIsCallableEntityReachable=Mp,O.checkIsCanvasEntity=x0e,O.checkIsDefEntityInlineDeclaredForSearchOutputType=xb,O.checkIsDetachedBranch=RF,O.checkIsDetachedBranchShallow=MA,O.checkIsEmptyValue=Nx,O.checkIsGlobalVariable=U0e,O.checkIsGloballyDeclared=BA,O.checkIsLiteralValueEmpty=Gb,O.checkIsMethod=UA,O.checkIsNestedScope=Wy,O.checkIsRequiredValue=Yo,O.checkScopeCompatibility=Bp,O.cloneProject=Fve,O.conditionValidation=ghe,O.continueStatementValidation=bhe,O.convertToAbstract=b0e,O.convertToNonAbstract=A0e,O.convertToNonStatic=w0e,O.convertToStatic=I0e,O.countedLoopActionDescriptor=Cu,O.countedLoopActionDescriptorDynamicReturnDeclaration=ZP,O.countedLoopActionDescriptorDynamicReturnDeclarationParentRef=qP,O.countedLoopActionDescriptorStringArgumentDeclaration=SP,O.countedLoopActionDescriptorStringArgumentDeclarationDataType=KP,O.countedLoopActionDescriptorStringArgumentDeclarationDataTypeDefaultValue=FP,O.countedLoopActionDescriptorStringArgumentDeclarationDataTypeDefaultValueParentRef=xP,O.countedLoopActionDescriptorStringArgumentDeclarationDataTypeParentRef=GP,O.countedLoopActionDescriptorStringArgumentDeclarationParentRef=kP,O.countedLoopBodyActionDescriptor=Xf,O.countedLoopBodyActionDescriptorAnyDynamicArgument=zP,O.countedLoopBodyActionDescriptorAnyDynamicArgumentParentRef=YP,O.countedLoopBodyActionDescriptorAnyDynamicReturn=QP,O.countedLoopBodyActionDescriptorAnyDynamicReturnParentRef=XP,O.countedLoopBodyActionDescriptorIterationNumberArgumentDeclaration=Vv,O.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=WP,O.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=JP,O.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=HP,O.createDefinitionEntityFromJSONObject=Fy,O.createEntityError=vt,O.createNestedDataTypeForEntity=_6,O.createNewInstanceOperation=To,O.createNewInstanceOperationEntityToInstanciateArgument=OD,O.createNewInstanceOperationEntityToInstanciateArgumentRef=gD,O.createNewInstanceOperationEntityToInstanciateDataType=_D,O.createNewInstanceOperationError=VD,O.createNewInstanceOperationErrorParentRef=PD,O.createNewInstanceOperationNewEntityDataArgument=RD,O.createNewInstanceOperationNewEntityDataArgumentDataType=wD,O.createNewInstanceOperationNewEntityDataArgumentDataTypeParentRef=ID,O.createNewInstanceOperationNewEntityDataArgumentParentRef=AD,O.createNewInstanceOperationOutputEntityDeclaration=$D,O.createNewInstanceOperationOutputEntityDeclarationParentRef=CD,O.createNewInstanceOperationRef=DD,O.createSemanticId=NU,O.createStateFromGenerationTargetType=uve,O.createStateFromType=St,O.createStateFromTypeAndSubscribe=ee,O.cronJobBuiltInBaseEntity=ih,O.cronJobBuiltInBaseEntityExpressionProperty=_N,O.cronJobBuiltInBaseEntityExpressionPropertyDataTypeRef=Rk,O.cronJobBuiltInBaseEntityExpressionPropertyRef=RN,O.cronJobBuiltInBaseEntityRef=gN,O.cronJobTriggeredFunctionDeclarationBlueprint=Zv,O.cronJobTriggeredFunctionDeclarationBlueprintParentRef=IN,O.dataTypeCompatibilityToErrorExplanation=A6,O.dataTypeValidation=hhe,O.datePrototype=hn,O.dateValueAutogenerationSchema=tT,O.definitionEntityToZodSchema=h2,O.definitionEntityValidation=ave,O.deletePersistedEntityMethod=qv,O.deletePersistedEntityMethodParentRef=aN,O.deleteRootProject=Kve,O.emitSideEffects=UU,O.emptyCondition=Wv,O.emptyConditionArgument=VN,O.emptyConditionRef=PN,O.endpointBuiltInBaseEntity=Ki,O.endpointBuiltInBaseEntityRef=nV,O.endpointBuiltInBaseEntityRefFour=GV,O.endpointBuiltInBaseEntityRefThree=hV,O.endpointBuiltInBaseEntityRefTwo=uV,O.endpointBuiltInCorsProperty=aV,O.endpointBuiltInCorsPropertyDataType=sV,O.endpointBuiltInCorsPropertyDataTypeRef=rV,O.endpointBuiltInCorsPropertyRef=iV,O.endpointBuiltInMethodProperty=Lv,O.endpointBuiltInMethodPropertyDataType=fV,O.endpointBuiltInMethodPropertyDataTypeRef=cV,O.endpointBuiltInMethodPropertyRef=pV,O.endpointBuiltInPathProperty=Nv,O.endpointBuiltInPathPropertyDataType=dV,O.endpointBuiltInPathPropertyDataTypeRef=oV,O.endpointBuiltInPathPropertyRef=lV,O.endpointPathParamsArgumentDeclaration=Mv,O.endpointPathParamsArgumentDeclarationRef=RV,O.endpointPathParamsVariableDataType=gV,O.endpointPathParamsVariableDataTypeRef=wV,O.endpointReachedTriggerActionDescriptor=Kv,O.endpointReachedTriggerActionDescriptorRef=_V,O.endpointReachedTriggerActionDescriptorRefFour=CV,O.endpointReachedTriggerActionDescriptorRefThree=OV,O.endpointReachedTriggerActionDescriptorRefTwo=DV,O.endpointRequestBodyArgumentDeclaration=jv,O.endpointRequestBodyArgumentDeclarationRef=EV,O.endpointRequestBodyVariableDataType=TV,O.endpointRequestHeadersArgumentDeclaration=Bv,O.endpointRequestHeadersArgumentDeclarationRef=mV,O.endpointRequestHeadersVariableDataType=vV,O.endpointRequestHeadersVariableDataTypeRef=yV,O.endpointRequestQueryParamsArgumentDeclaration=Uv,O.endpointRequestQueryParamsArgumentDeclarationRef=AV,O.endpointRequestQueryParamsVariableDataType=IV,O.endpointRequestQueryParamsVariableDataTypeRef=bV,O.endpointResponseBodyDataType=xV,O.endpointResponseBodyReturnDeclaration=Gv,O.endpointResponseBodyReturnDeclarationRef=jV,O.endpointResponseCodeDataType=PV,O.endpointResponseCodeReturnDeclaration=xv,O.endpointResponseCodeReturnDeclarationDefaultValueParentRef=NV,O.endpointResponseCodeReturnDeclarationRef=$V,O.endpointResponseHeadersDataType=MV,O.endpointResponseHeadersDataTypeRef=LV,O.endpointResponseHeadersReturnDeclaration=Fv,O.endpointResponseHeadersReturnDeclarationRef=BV,O.endpointReturnStatementRef=VV,O.endpointReturnStatementRefThree=FV,O.endpointReturnStatementRefTwo=UV,O.enerateRandomIntegerOperationError=xO,O.enerateRandomIntegerOperationErrorParentRef=jO,O.enrichFromKnownEntities=$p,O.enumOptionsProperty=h1,O.enumOptionsPropertyDataType=p1,O.enumOptionsPropertyDataTypeRef=u1,O.enumOptionsPropertyRef=c1,O.enumPrototype=Wn,O.enumPrototypeRef=f1,O.errorCodeToMessage=_p,O.executionBuiltInBaseEntity=sh,O.executionBuiltInEntityAbortMethod=Jv,O.executionBuiltInEntityAbortMethodParentRef=DN,O.filterOutDuplicateEntities=R,O.filterOutDuplicateErrors=Rde,O.findEntityFromKeys=wA,O.findReferenceToSelfInList=S6,O.findReferencesToSelfInProject=$0e,O.flattenActionDescriptor=Z6,O.flattenArgumentDeclaration=J6,O.flattenBreakStatement=W6,O.flattenBuiltInBaseEntity=H6,O.flattenCalls=Os,O.flattenCanvasAncestorsUntil=Od,O.flattenCondition=Y6,O.flattenContinueStatement=z6,O.flattenDataType=Q6,O.flattenDefinitionEntity=X6,O.flattenDefinitionEntityExtensionAndImplementationTypes=Pd,O.flattenDefinitionEntityExtensionTypes=Vp,O.flattenDefinitionEntityExtensions=VA,O.flattenDefinitionEntityImplementations=NA,O.flattenDefinitionEntityImplementionTypes=Pp,O.flattenDerivedCanvasEntities=Yi,O.flattenDetachedBranch=_F,O.flattenElementCalls=pt,O.flattenElementCallsOnTheSameScope=C0e,O.flattenEntity=he,O.flattenFunctionCall=eF,O.flattenFunctionDeclaration=tF,O.flattenGlobalEvent=rF,O.flattenInputMap=iF,O.flattenInstalledProject=sF,O.flattenInternalCall=nF,O.flattenLiteralValue=aF,O.flattenLoop=oF,O.flattenOperation=lF,O.flattenOutputMap=dF,O.flattenPrimitiveEntity=uF,O.flattenProject=cF,O.flattenProjectElements=k6,O.flattenProperty=pF,O.flattenRelatedCanvasElementsOnTheLeft=wF,O.flattenRelatedCanvasElementsOnTheRight=Zy,O.flattenReturnDeclaration=fF,O.flattenReturnStatement=hF,O.flattenSearch=yF,O.flattenValueDescriptor=mF,O.flattenVariableDeclaration=vF,O.flattenVariableInstance=EF,O.flattenVariableReads=K6,O.flattenVariableWrites=G6,O.flattenVariables=Xt,O.fromChangeSetToRecordChangeSet=J0e,O.fromLiteralValueTypeToPrimitiveType=Ub,O.fromPublishingDisabledCodeToReadable=i0e,O.fromZodParseToEntityGenerationErrors=pA,O.functionCallValidation=E0e,O.functionDeclarationValidation=fhe,O.generate=vh,O.generateActionExample=c0e,O.generateExecutionDataType=ehe,O.generateHexadecimalTokenOperation=wv,O.generateHexadecimalTokenOperationError=d$,O.generateHexadecimalTokenOperationErrorParentRef=l$,O.generateHexadecimalTokenOperationResultStringDataType=n$,O.generateHexadecimalTokenOperationResultStringDataTypeParentRef=s$,O.generateHexadecimalTokenOperationResultStringOutput=o$,O.generateHexadecimalTokenOperationResultStringOutputParentRef=a$,O.generateIdFromStrategy=wr,O.generateIdentifierOperation=bv,O.generateIdentifierOperationAlphabetInput=xC,O.generateIdentifierOperationAlphabetInputParentRef=MC,O.generateIdentifierOperationAlphabetInputType=jC,O.generateIdentifierOperationAlphabetInputTypeParentRef=UC,O.generateIdentifierOperationError=qC,O.generateIdentifierOperationErrorParentRef=SC,O.generateIdentifierOperationLengthInput=BC,O.generateIdentifierOperationLengthInputParentRef=VC,O.generateIdentifierOperationLengthInputType=LC,O.generateIdentifierOperationLengthInputTypeParentRef=NC,O.generateIdentifierOperationResultStringDataType=KC,O.generateIdentifierOperationResultStringDataTypeParentRef=GC,O.generateIdentifierOperationResultStringOutput=kC,O.generateIdentifierOperationResultStringOutputParentRef=FC,O.generateMutablePropertiesExplanation=Py,O.generatePlaceholderValueStore=$me,O.generateRandomAlphanumericOperation=Tv,O.generateRandomAlphanumericOperationError=PC,O.generateRandomAlphanumericOperationErrorParentRef=$C,O.generateRandomAlphanumericOperationLengthInput=gC,O.generateRandomAlphanumericOperationLengthInputParentRef=IC,O.generateRandomAlphanumericOperationLengthInputType=RC,O.generateRandomAlphanumericOperationLengthInputTypeParentRef=wC,O.generateRandomAlphanumericOperationResultStringDataType=DC,O.generateRandomAlphanumericOperationResultStringDataTypeParentRef=_C,O.generateRandomAlphanumericOperationResultStringOutput=CC,O.generateRandomAlphanumericOperationResultStringOutputParentRef=OC,O.generateRandomBase62Operation=vv,O.generateRandomBase62OperationError=cC,O.generateRandomBase62OperationErrorParentRef=uC,O.generateRandomBase62OperationLengthInput=nC,O.generateRandomBase62OperationLengthInputParentRef=rC,O.generateRandomBase62OperationLengthInputType=sC,O.generateRandomBase62OperationLengthInputTypeParentRef=iC,O.generateRandomBase62OperationResultStringDataType=oC,O.generateRandomBase62OperationResultStringDataTypeParentRef=aC,O.generateRandomBase62OperationResultStringOutput=dC,O.generateRandomBase62OperationResultStringOutputParentRef=lC,O.generateRandomBase64Operation=Ev,O.generateRandomBase64OperationError=AC,O.generateRandomBase64OperationErrorParentRef=bC,O.generateRandomBase64OperationLengthInput=yC,O.generateRandomBase64OperationLengthInputParentRef=pC,O.generateRandomBase64OperationLengthInputType=hC,O.generateRandomBase64OperationLengthInputTypeParentRef=fC,O.generateRandomBase64OperationResultStringDataType=vC,O.generateRandomBase64OperationResultStringDataTypeParentRef=mC,O.generateRandomBase64OperationResultStringOutput=TC,O.generateRandomBase64OperationResultStringOutputParentRef=EC,O.generateRandomBoolean=C2,O.generateRandomDate=E2,O.generateRandomDateAfter=y2,O.generateRandomDateBefore=m2,O.generateRandomDateBetweenRange=v2,O.generateRandomFloatOperation=yv,O.generateRandomFloatOperationError=qO,O.generateRandomFloatOperationErrorParentRef=SO,O.generateRandomFloatOperationResultNumberDataType=GO,O.generateRandomFloatOperationResultNumberDataTypeParentRef=FO,O.generateRandomFloatOperationResultNumberOutput=kO,O.generateRandomFloatOperationResultNumberOutputParentRef=KO,O.generateRandomHexadecimalOperation=mv,O.generateRandomHexadecimalOperationError=tC,O.generateRandomHexadecimalOperationErrorParentRef=eC,O.generateRandomHexadecimalOperationLengthInput=HO,O.generateRandomHexadecimalOperationLengthInputParentRef=ZO,O.generateRandomHexadecimalOperationLengthInputType=WO,O.generateRandomHexadecimalOperationLengthInputTypeParentRef=JO,O.generateRandomHexadecimalOperationResultStringDataType=zO,O.generateRandomHexadecimalOperationResultStringDataTypeParentRef=YO,O.generateRandomHexadecimalOperationResultStringOutput=QO,O.generateRandomHexadecimalOperationResultStringOutputParentRef=XO,O.generateRandomIntegerOperation=hv,O.generateRandomIntegerOperationMaxValueInput=NO,O.generateRandomIntegerOperationMaxValueInputParentRef=$O,O.generateRandomIntegerOperationMaxValueInputType=VO,O.generateRandomIntegerOperationMaxValueInputTypeParentRef=PO,O.generateRandomIntegerOperationMinValueInput=UO,O.generateRandomIntegerOperationMinValueInputParentRef=LO,O.generateRandomIntegerOperationMinValueInputType=MO,O.generateRandomIntegerOperationMinValueInputTypeParentRef=BO,O.generateRandomIntegerOperationResultNumberDataType=DO,O.generateRandomIntegerOperationResultNumberDataTypeParentRef=_O,O.generateRandomIntegerOperationResultNumberOutput=CO,O.generateRandomIntegerOperationResultNumberOutputParentRef=OO,O.generateRandomNumber=R2,O.generateRandomNumberAfter=A2,O.generateRandomNumberBefore=I2,O.generateRandomNumberBetweenRange=w2,O.generateRandomText=O2,O.generateRandomTextAfter=g2,O.generateRandomTextBefore=_2,O.generateRandomTextBetweenRange=D2,O.generateRandomUUIDv4Operation=Av,O.generateRandomUUIDv4OperationError=zC,O.generateRandomUUIDv4OperationErrorParentRef=YC,O.generateRandomUUIDv4OperationResultStringDataType=JC,O.generateRandomUUIDv4OperationResultStringDataTypeParentRef=ZC,O.generateRandomUUIDv4OperationResultStringOutput=HC,O.generateRandomUUIDv4OperationResultStringOutputParentRef=WC,O.generateShortIdentifierOperation=Iv,O.generateShortIdentifierOperationError=i$,O.generateShortIdentifierOperationErrorParentRef=r$,O.generateShortIdentifierOperationResultStringDataType=QC,O.generateShortIdentifierOperationResultStringDataTypeParentRef=XC,O.generateShortIdentifierOperationResultStringOutput=t$,O.generateShortIdentifierOperationResultStringOutputParentRef=e$,O.generateStandaloneIfDefault=Pme,O.generateUniqueUUID=b2,O.getAllActionDescriptorsForConditions=jy,O.getAllActionDescriptorsForGlobalEvents=My,O.getAllActionDescriptorsForLoops=Uy,O.getAllActionDescriptorsForOperations=y0e,O.getAllBuiltInEntityIds=Cs,O.getAllGloballyDeclaredFunctionDeclarationsExplanation=E6,O.getBaseBuiltInEntities=Ii,O.getBaseSchemaBasedOnType=u6,O.getBuiltInEntityOwner=Qa,O.getCallableEntityReferenceSchema=Qr,O.getCallableEntityTypeSchema=oM,O.getCalledBy=fs,O.getCallerEntityReferenceSchema=Oce,O.getCallerEntityTypeSchema=Dce,O.getCalls=ky,O.getCanvasEntitiesDerivedFromInternalCalls=IF,O.getCanvasEntitiesDerivedFromWrites=$d,O.getCanvasEntityDerivedFromValueReadingEntity=qy,O.getCanvasEntityDerivedFromValueReadingEntityFromTransfer=AF,O.getCanvasEntityReferenceSchema=qce,O.getCanvasEntityTypeSchema=Sce,O.getChildrenEntityWithValues=N6,O.getColumnProperties=Vd,O.getCommonAncestor=OA,O.getCommonChildren=Gy,O.getDatabaseEntities=k0e,O.getDatabaseEntity=q0e,O.getDeclaration=ui,O.getDeclarationOutputedError=H0e,O.getDeepestScope=OF,O.getDefaultRelationalDatabaseEntityOrFirst=$F,O.getDraggableCallableEntityReferenceSchema=dM,O.getDraggableCallableEntityTypeSchema=lM,O.getDraggableCallerEntityReferenceSchema=$ce,O.getDraggableCallerEntityTypeSchema=Cce,O.getDraggableExecutableEntityReferenceSchema=Lce,O.getDraggableExecutableEntityTypeSchema=Nce,O.getDraggablePassThroughCallableEntityReferenceSchema=Qh,O.getDraggablePassThroughCallableEntityTypeSchema=Xh,O.getDraggablePlayableEntityReferenceSchema=xce,O.getDraggablePlayableEntityTypeSchema=jce,O.getEntitiesCreatedSinceInitialization=tm,O.getEntitiesToPropagateValuesTo=en,O.getEntityArgumentDeclarations=PA,O.getEntityInputMaps=TF,O.getEntityOutputMaps=L0e,O.getEntityReferenceSchema=kce,O.getEntityReturnDeclarations=bF,O.getEntityTypeSchema=Kce,O.getEntityWithLogicScopeReferenceSchema=aa,O.getEntityWithLogicScopeTypeSchema=Bce,O.getEntityWithValueReferenceSchema=aM,O.getEntityWithValueTypeSchema=_ce,O.getEntryPointEntityReferenceSchema=Zr,O.getEntryPointEntityTypeSchema=La,O.getEventEntityReferenceSchema=Yh,O.getEventEntityTypeSchema=Hh,O.getEventNameFromDefinition=r0e,O.getExecutableEntityReferenceSchema=Vce,O.getExecutableEntityTypeSchema=Pce,O.getExtendedBuiltInEntity=B0e,O.getExtendedDefinitionEntity=Jy,O.getFirstNonLoopScopeOwner=Nr,O.getGenerationTargetSchemaBasedOnType=c6,O.getHTTPAPINameFromProjectId=n6,O.getHeadIfPartOfDetachedBranch=gF,O.getHighestScope=DF,O.getImplementedBuiltInEntity=M0e,O.getIsInteractive=Np,O.getLastInListOperation=nv,O.getLastInListOperationError=I_,O.getLastInListOperationErrorParentRef=A_,O.getLastInListOperationInputListArgument=E_,O.getLastInListOperationInputListArgumentParentRef=v_,O.getLastInListOperationInputListArgumentRef=f_,O.getLastInListOperationInputListDataType=h_,O.getLastInListOperationOutputElementDataType=m_,O.getLastInListOperationOutputElementReturn=b_,O.getLastInListOperationOutputElementReturnParentRef=T_,O.getLastInListOperationOutputElementReturnRef=y_,O.getLinkedEntitiesFromArgumentDeclaration=O0e,O.getLiteralValueNameFromDataType=Wo,O.getLowestPersistedEntityImplementation=LA,O.getParentCallableEntity=$6,O.getParentCallerEntity=V6,O.getParentCanvasEntities=ri,O.getParentCanvasEntity=pr,O.getParentCanvasEntityFromTransfer=Ky,O.getParentEntryPoint=R0e,O.getParentPassthroughCallableEntity=P6,O.getPassThroughCallableEntityReferenceSchema=cr,O.getPassThroughCallableEntityTypeSchema=zh,O.getPeristedEntities=K0e,O.getPlayableEntityReferenceSchema=Uce,O.getPlayableEntityTypeSchema=Mce,O.getProject=Gve,O.getPrototypeByType=Lp,O.getRecusriveParentsIds=zy,O.getReferenceEntityId=W,O.getReferencedEntitiesStateOrErrors=Ny,O.getReferencedEntityStateOrErrors=fA,O.getReferencedIds=Cd,O.getRelatedCanvasElementsOnTheLeft=Xa,O.getRelatedCanvasElementsOnTheLeftFromTransfer=P0e,O.getRelatedCanvasElementsOnTheRight=rn,O.getRelationalDBInstanceNameFromEntityId=a6,O.getRootEntryPointScopeOwner=jA,O.getScopeOwner=wi,O.getStateClassFromType=Z0e,O.getStepNameFromDefinition=t0e,O.getTerminationReferenceSchema=Gce,O.getTerminationTypeSchema=Fce,O.getTopLevelParentEntityId=PF,O.getTouchedCanvasEntitiesFromChangeSet=W0e,O.getUsedArgFromDeclaration=V0e,O.getUsedReturnFromDeclaration=N0e,O.getValueReadingEntityReferenceSchema=nM,O.getValueReadingEntityTypeSchema=na,O.getValueWritingEntityReferenceSchema=gce,O.getValueWritingEntityTypeSchema=cc,O.getVariableFromInputMapping=B6,O.getVariableFromReturnVariablePointer=j6,O.getVariableReferenceSchema=Na,O.getVariableTypeSchema=Ko,O.getVariablesFromArgumentDeclarations=Sy,O.getVariablesFromInputMaps=M6,O.getVariablesFromOutputMapping=x6,O.getVariablesFromOutputMaps=F6,O.getVariablesFromReturnDeclarations=U6,O.getVariablesInSameOrHigherScope=ab,O.getWrites=$A,O.globalEventValidation=Ahe,O.groupCallsBasedOnParallelizableExecution=CA,O.handleAfterEntityImplementationSideEffects=g6,O.handleBeforeEntityImplementationSideEffects=R6,O.handleLiteralValueChange=Vme,O.handleLiteralValueDelete=qx,O.handleValueAsTypeChange=Nme,O.handleValueAsTypeDelete=Wx,O.httpRequestBodyArgument=Ff,O.httpRequestBodyArgumentRef=sO,O.httpRequestBodyDataType=nO,O.httpRequestHeadersArgument=xf,O.httpRequestHeadersArgumentRef=rO,O.httpRequestHeadersDataType=iO,O.httpRequestMethodArgument=Uf,O.httpRequestMethodArgumentRef=eO,O.httpRequestMethodDataType=tO,O.httpRequestMethodDataTypeRef=XD,O.httpRequestOperation=gu,O.httpRequestOperationErrorValueDescriptor=fv,O.httpRequestOperationErrorValueDescriptorDatatype=RO,O.httpRequestOperationErrorValueDescriptorRef=wO,O.httpRequestOperationRef=TO,O.httpRequestOperationRefEight=AO,O.httpRequestOperationRefFive=vO,O.httpRequestOperationRefFour=mO,O.httpRequestOperationRefNine=IO,O.httpRequestOperationRefSeven=bO,O.httpRequestOperationRefSix=EO,O.httpRequestOperationRefThree=yO,O.httpRequestOperationRefTwo=hO,O.httpRequestQueryParamsArgument=pv,O.httpRequestQueryParamsArgumentRef=YD,O.httpRequestQueryParamsDataType=zD,O.httpRequestVariableURLArgument=jf,O.httpRequestVariableURLArgumentRef=WD,O.httpRequestVariableURLDataType=HD,O.httpRequestVariableURLDataTypeRef=ZD,O.httpResponseBodyReturnDataType=fO,O.httpResponseBodyReturnDataTypeRef=cO,O.httpResponseBodyReturnReturn=kf,O.httpResponseBodyReturnReturnRef=pO,O.httpResponseCodeDataType=oO,O.httpResponseCodeReturn=Gf,O.httpResponseCodeReturnRef=aO,O.httpResponseHeadersDataType=uO,O.httpResponseHeadersDataTypeRef=lO,O.httpResponseHeadersReturn=Kf,O.httpResponseHeadersReturnRef=dO,O.httpStatusCodeValueValidation=KF,O.hydrateOrDiscardLiteralValue=Lx,O.implement=xy,O.inferArgumentDeclarationDataType=IU,O.inferDataType=Hs,O.inferInputMapDataType=ib,O.inferOutputMapDataType=nb,O.inferPropertyDataType=gU,O.inferReturnDeclarationDataType=sb,O.inferValueDescriptorDataType=_U,O.inferVariableDeclarationDataType=RU,O.inferVariableInstanceDataType=wU,O.initBaseProjectEntity=em,O.initProject=qF,O.initProjectFromFetchResult=SF,O.inputMapValidation=Ame,O.installedProjectValidation=Tme,O.internalCallValidation=bme,O.isPromise=IA,O.isUUID=LU,O.iterateOverListActionDescriptorListArgumentDeclaration=k$,O.iterateOverListActionDescriptorListArgumentDeclarationDataType=G$,O.iterateOverListActionDescriptorListArgumentDeclarationDataTypeParentRef=F$,O.iterateOverListActionDescriptorListArgumentDeclarationParentRef=K$,O.iterateOverListLoopActionDescriptor=_a,O.iterateOverListLoopActionDescriptorDynamicReturnDeclaration=q$,O.iterateOverListLoopActionDescriptorDynamicReturnDeclarationParentRef=S$,O.iterateOverListLoopBodyActionDescriptor=Ou,O.iterateOverListLoopBodyActionDescriptorAnyDynamicArgument=eP,O.iterateOverListLoopBodyActionDescriptorAnyDynamicArgumentParentRef=Q$,O.iterateOverListLoopBodyActionDescriptorAnyDynamicReturn=rP,O.iterateOverListLoopBodyActionDescriptorAnyDynamicReturnParentRef=tP,O.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclaration=zf,O.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=J$,O.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=Z$,O.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=W$,O.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclaration=X$,O.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=Y$,O.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=H$,O.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=z$,O.iterateOverObjectKeysActionDescriptorObjectArgumentDeclaration=oP,O.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationDataType=nP,O.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationDataTypeParentRef=sP,O.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationParentRef=aP,O.iterateOverObjectKeysLoopActionDescriptor=Bl,O.iterateOverObjectKeysLoopActionDescriptorDynamicReturnDeclaration=dP,O.iterateOverObjectKeysLoopActionDescriptorDynamicReturnDeclarationParentRef=lP,O.iterateOverObjectKeysLoopBodyActionDescriptor=Ov,O.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicArgument=EP,O.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicArgumentParentRef=vP,O.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicReturn=bP,O.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicReturnParentRef=TP,O.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Dv,O.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=cP,O.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=uP,O.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=pP,O.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclaration=mP,O.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=hP,O.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=fP,O.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=yP,O.iterateOverObjectValuesActionDescriptorObjectArgumentDeclaration=gP,O.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationDataType=wP,O.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationDataTypeParentRef=IP,O.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationParentRef=RP,O.iterateOverObjectValuesLoopActionDescriptor=Ml,O.iterateOverObjectValuesLoopActionDescriptorDynamicReturnDeclaration=DP,O.iterateOverObjectValuesLoopActionDescriptorDynamicReturnDeclarationParentRef=_P,O.iterateOverObjectValuesLoopBodyActionDescriptor=$v,O.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicArgument=MP,O.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicArgumentParentRef=BP,O.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicReturn=jP,O.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicReturnParentRef=UP,O.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Cv,O.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=CP,O.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=OP,O.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=$P,O.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclaration=LP,O.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=VP,O.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=PP,O.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=NP,O.iterateOverStringActionDescriptorDynamicReturnDeclaration=O$,O.iterateOverStringActionDescriptorDynamicReturnDeclarationParentRef=D$,O.iterateOverStringActionDescriptorStringArgumentDeclaration=_$,O.iterateOverStringActionDescriptorStringArgumentDeclarationDataType=R$,O.iterateOverStringActionDescriptorStringArgumentDeclarationDataTypeParentRef=w$,O.iterateOverStringActionDescriptorStringArgumentDeclarationParentRef=g$,O.iterateOverStringLoopActionDescriptor=Du,O.iterateOverStringLoopBodyActionDescriptor=Yf,O.iterateOverStringLoopBodyActionDescriptorAnyDynamicArgument=M$,O.iterateOverStringLoopBodyActionDescriptorAnyDynamicArgumentParentRef=B$,O.iterateOverStringLoopBodyActionDescriptorAnyDynamicReturn=j$,O.iterateOverStringLoopBodyActionDescriptorAnyDynamicReturnParentRef=U$,O.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclaration=gv,O.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=$$,O.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=C$,O.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=P$,O.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclaration=_v,O.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=N$,O.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=V$,O.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=L$,O.joinListOperation=rv,O.joinListOperationError=Zg,O.joinListOperationErrorParentRef=qg,O.joinListOperationFirstListArgument=Fg,O.joinListOperationFirstListArgumentParentRef=xg,O.joinListOperationFirstListArgumentRef=Ng,O.joinListOperationFirstListDataType=Lg,O.joinListOperationResultListDataType=jg,O.joinListOperationResultListReturn=Sg,O.joinListOperationResultListReturnParentRef=kg,O.joinListOperationResultListReturnRef=Ug,O.joinListOperationSecondListArgument=Kg,O.joinListOperationSecondListArgumentParentRef=Gg,O.joinListOperationSecondListArgumentRef=Bg,O.joinListOperationSecondListDataType=Mg,O.joinListWithLastSeparator=qe,O.joinStringsOperation=Ru,O.joinStringsOperationDynamicStringArgument=pg,O.joinStringsOperationDynamicStringArgumentParentRef=cg,O.joinStringsOperationDynamicStringArgumentRef=dg,O.joinStringsOperationDynamicStringDataType=ug,O.joinStringsOperationError=lg,O.joinStringsOperationErrorParentRef=og,O.joinStringsOperationFirstStringArgument=Lf,O.joinStringsOperationFirstStringArgumentParentRef=X1,O.joinStringsOperationFirstStringArgumentRef=Z1,O.joinStringsOperationFirstStringDataType=J1,O.joinStringsOperationResultStringDataType=z1,O.joinStringsOperationResultStringReturn=wu,O.joinStringsOperationResultStringReturnParentRef=ag,O.joinStringsOperationResultStringReturnRef=Y1,O.joinStringsOperationSecondStringArgument=Bf,O.joinStringsOperationSecondStringArgumentParentRef=ng,O.joinStringsOperationSecondStringArgumentRef=W1,O.joinStringsOperationSecondStringDataType=H1,O.joinStringsOperationSeparatorStringArgument=sg,O.joinStringsOperationSeparatorStringArgumentParentRef=ig,O.joinStringsOperationSeparatorStringArgumentRef=Q1,O.joinStringsOperationSeparatorStringDataType=rg,O.joinStringsOperationSeparatorStringDataTypeDefaultValue=tg,O.joinStringsOperationSeparatorStringDataTypeDefaultValueParentRef=eg,O.keyValuePrototype=Vl,O.literalValueValidation=dhe,O.loopValidation=whe,O.lowercaseFirstLetter=md,O.manualFlowActionDescriptorDeclarationArgumentDeclaration=Rv,O.manualFlowActionDescriptorDeclarationArgumentDeclarationDataType=m$,O.manualFlowActionDescriptorDeclarationArgumentDeclarationDataTypeParentRef=y$,O.manualFlowActionDescriptorDeclarationArgumentDeclarationParentRef=v$,O.manualFlowLoopActionDescriptor=Wf,O.manualFlowLoopActionDescriptorDynamicReturnDeclaration=h$,O.manualFlowLoopActionDescriptorDynamicReturnDeclarationParentRef=f$,O.manualFlowLoopBodyActionDescriptor=Hf,O.manualFlowLoopBodyActionDescriptorAnyDynamicArgument=T$,O.manualFlowLoopBodyActionDescriptorAnyDynamicArgumentParentRef=E$,O.manualFlowLoopBodyActionDescriptorAnyDynamicReturn=A$,O.manualFlowLoopBodyActionDescriptorAnyDynamicReturnParentRef=b$,O.mapActionDescriptorToTypeItRepresents=F0e,O.mapRecord=q6,O.mergeArraysOfStringsWithoutDuplicates=Yme,O.mergeEntityErrorsList=gde,O.mergeListOfEntities=j0e,O.methodDefaultValue=QD,O.mockClientProject=YE,O.moreThanOrEqualCondition=Gl,O.moreThanOrEqualConditionLeftHandArgument=UN,O.moreThanOrEqualConditionLeftHandArgumentDataType=BN,O.moreThanOrEqualConditionLeftHandArgumentDataTypeParentRef=LN,O.moreThanOrEqualConditionLeftHandArgumentParentRef=MN,O.moreThanOrEqualConditionRightHandArgument=GN,O.moreThanOrEqualConditionRightHandArgumentDataType=xN,O.moreThanOrEqualConditionRightHandArgumentDataTypeParentRef=jN,O.moreThanOrEqualConditionRightHandArgumentParentRef=FN,O.noSpacesOrDashesValueValidation=C6,O.noSpacesValueValidation=O6,O.notEmptyCondition=Co,O.notEmptyConditionArgument=$N,O.notEmptyConditionRef=CN,O.nullPrototype=W0,O.numberAdditionOperation=Nf,O.numberAdditionOperationDynamicSummandArgument=O1,O.numberAdditionOperationDynamicSummandArgumentType=D1,O.numberAdditionOperationDynamicSummandArgumentTypeParentRef=_1,O.numberAdditionOperationError=g1,O.numberAdditionOperationErrorParentRef=R1,O.numberAdditionOperationFirstNumberArgument=H0,O.numberAdditionOperationFirstNumberArgumentRef=m1,O.numberAdditionOperationFirstNumberDataType=v1,O.numberAdditionOperationRef=I1,O.numberAdditionOperationRefThree=z0,O.numberAdditionOperationRefTwo=w1,O.numberAdditionOperationResultNumberDataType=A1,O.numberAdditionOperationResultNumberReturn=X0,O.numberAdditionOperationResultNumberReturnRef=b1,O.numberAdditionOperationSecondNumberArgument=Y0,O.numberAdditionOperationSecondNumberArgumentRef=E1,O.numberAdditionOperationSecondNumberDataType=T1,O.numberPrototype=et,O.numberSubtractionOperation=ev,O.numberSubtractionOperationDynamicSubtrahendArgument=S1,O.numberSubtractionOperationDynamicSubtrahendArgumentType=k1,O.numberSubtractionOperationDynamicSubtrahendArgumentTypeParentRef=K1,O.numberSubtractionOperationError=G1,O.numberSubtractionOperationErrorParentRef=F1,O.numberSubtractionOperationFirstNumberArgument=B1,O.numberSubtractionOperationFirstNumberArgumentRef=C1,O.numberSubtractionOperationFirstNumberDataType=$1,O.numberSubtractionOperationRef=Q0,O.numberSubtractionOperationRefThree=j1,O.numberSubtractionOperationRefTwo=M1,O.numberSubtractionOperationResultNumberDataType=L1,O.numberSubtractionOperationResultNumberReturn=x1,O.numberSubtractionOperationResultNumberReturnRef=N1,O.numberSubtractionOperationSecondNumberArgument=U1,O.numberSubtractionOperationSecondNumberArgumentRef=P1,O.numberSubtractionOperationSecondNumberDataType=V1,O.numberValueAutogenerationSchema=eT,O.operationValidation=vhe,O.orderEntitiesForTraversal=T0e,O.outputMapValidation=Rme,O.parallelExecutionOperation=ks,O.parallelExecutionOperationError=z_,O.parallelExecutionOperationErrorParentRef=Y_,O.parallelExecutionOperationListOfExecutionResultsDataType=J_,O.parallelExecutionOperationListOfExecutionResultsReturn=dv,O.parallelExecutionOperationListOfExecutionResultsReturnRef=Z_,O.parallelExecutionOperationListOfFunctionsArgument=lv,O.parallelExecutionOperationListOfFunctionsArgumentDatatype=q_,O.parallelExecutionOperationListOfFunctionsArgumentRef=S_,O.parallelExecutionOperationListOfFunctionsBlueprint=k_,O.parallelExecutionOperationListOfFunctionsBlueprintDynamicInput=G_,O.parallelExecutionOperationListOfFunctionsBlueprintDynamicInputParentRef=F_,O.parallelExecutionOperationListOfFunctionsBlueprintDynamicOutput=x_,O.parallelExecutionOperationListOfFunctionsBlueprintDynamicOutputParentRef=j_,O.parallelExecutionOperationListOfFunctionsBlueprintParentRef=K_,O.parallelExecutionOperationRef=W_,O.parallelExecutionOperationRefThree=H_,O.persistedBuiltInBaseEntity=ni,O.persistedBuiltInBaseEntityDatabaseProperty=jl,O.persistedBuiltInBaseEntityDatabasePropertyDataType=cN,O.persistedBuiltInBaseEntityDatabasePropertyDataTypeRef=Ik,O.persistedBuiltInBaseEntityDatabasePropertyParentRef=pN,O.persistedBuiltInBaseEntityDatabasePropertyRef=uN,O.persistedBuiltInBaseEntityPrimaryKeyProperty=xl,O.persistedBuiltInBaseEntityPrimaryKeyPropertyDataType=bN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyNumberDataTypeOption=hN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyNumberDataTypeOptionParentRef=fN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyParentRef=AN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyRef=TN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyStringDataTypeOption=mN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyStringDataTypeOptionParentRef=yN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyUUIDDataTypeOption=EN,O.persistedBuiltInBaseEntityPrimaryKeyPropertyUUIDDataTypeOptionParentRef=vN,O.printEntity=gA,O.processOutputGlobalValueDescriptorDataType=WN,O.processOutputGlobalValueDescriptorReturn=ah,O.processOutputGlobalValueDescriptorReturnRef=JN,O.projectPublicationCompletedGlobalEvent=nh,O.propagateNewInputOrOutputMapValueAsTypeToParentVariable=gp,O.propagateNewInputOrOutputMapValueToParentVariable=Rp,O.propagateNewStaticPropertyValueAsTypeToVariables=Xo,O.propagateNewStaticPropertyValueToVariables=zo,O.propertyToZodSchema=f2,O.propertyValidation=ahe,O.readValueFromWritter=_d,O.rebaseStack=Eb,O.relationalDatabaseBuiltInBaseEntity=Xr,O.relationalDatabaseBuiltInBaseEntityAutoscalingProperty=Sv,O.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyDataType=sN,O.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyDataTypeRef=iN,O.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyParentRef=nN,O.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyRef=rN,O.relationalDatabaseBuiltInBaseEntityDefaultProperty=kv,O.relationalDatabaseBuiltInBaseEntityDefaultPropertyDataType=tN,O.relationalDatabaseBuiltInBaseEntityDefaultPropertyDataTypeRef=QV,O.relationalDatabaseBuiltInBaseEntityDefaultPropertyRef=eN,O.relationalDatabaseBuiltInBaseEntityIdentifierProperty=Qf,O.relationalDatabaseBuiltInBaseEntityIdentifierPropertyDataType=SV,O.relationalDatabaseBuiltInBaseEntityIdentifierPropertyDataTypeRef=KV,O.relationalDatabaseBuiltInBaseEntityIdentifierPropertyRef=kV,O.relationalDatabaseBuiltInBaseEntityMinSizeProperty=rh,O.relationalDatabaseBuiltInBaseEntityMinSizePropertyDataType=XV,O.relationalDatabaseBuiltInBaseEntityMinSizePropertyDataTypeRef=YV,O.relationalDatabaseBuiltInBaseEntityMinSizePropertyRef=zV,O.relationalDatabaseBuiltInBaseEntityPasswordProperty=th,O.relationalDatabaseBuiltInBaseEntityPasswordPropertyDataType=WV,O.relationalDatabaseBuiltInBaseEntityPasswordPropertyDataTypeRef=Ak,O.relationalDatabaseBuiltInBaseEntityPasswordPropertyDefaultValueParentRef=HV,O.relationalDatabaseBuiltInBaseEntityPasswordPropertyRef=JV,O.relationalDatabaseBuiltInBaseEntityRef=Ul,O.relationalDatabaseBuiltInBaseEntityUsernameProperty=eh,O.relationalDatabaseBuiltInBaseEntityUsernamePropertyDataType=ZV,O.relationalDatabaseBuiltInBaseEntityUsernamePropertyDataTypeRef=bk,O.relationalDatabaseBuiltInBaseEntityUsernamePropertyRef=qV,O.removeDisabledReasons=Xme,O.resolveActionDescriptorName=VU,O.resolveArgumentDeclarationValue=kb,O.resolveBaseEntityName=OU,O.resolveBuiltInBaseEntityDataTypeLabel=CU,O.resolveCardSubheader=xme,O.resolveClonedEntityProject=Rr,O.resolveConditionOperatorLabel=dy,O.resolveDataType=oy,O.resolveDataTypeEntityOrNestedChildrenFromLiteralValue=RA,O.resolveDataTypeLabel=Ed,O.resolveDatatypeIconName=jme,O.resolveDefinitionEntityDataTypeLabel=ihe,O.resolveDefinitionEntitySubheader=Xb,O.resolveEntityCodeName=fb,O.resolveEntityDataTypeLabel=rhe,O.resolveEntityName=ne,O.resolveEntitySubheader=Fme,O.resolveFirstCallsSecond=_0e,O.resolveFirstWritesSecond=D0e,O.resolveFunctionDeclarationCardSubheader=Qb,O.resolveInputMapNextStandaloneValue=Zb,O.resolveInputMapNextValue=wp,O.resolveInputMapNextValueAsPropertyOfAnObject=jx,O.resolveInputMapStandaloneValue=Jb,O.resolveInputMapValue=Fx,O.resolveInputMapValueAsPropertyOfAnObject=xx,O.resolveMethodCardSubheader=Yx,O.resolveNextValue=gy,O.resolveOutputMapValue=qb,O.resolvePersistedDefinitionEntityDatabaseEntity=CF,O.resolvePrimaryKeyProperty=S0e,O.resolvePrimitiveEntityForSearchLiteralValueType=jb,O.resolvePrimitiveEntityName=PU,O.resolvePropertyValue=Gx,O.resolvePublicationStepStatusFromType=n0e,O.resolveResourceNameFromType=s0e,O.resolveReturnDeclarationValue=Sb,O.resolveSearchName=$U,O.resolveValue=Ja,O.resolveValueDescriptorValue=Kx,O.resolveVarDeclarationAggregateObjectValue=Mx,O.resolveVarDeclarationNextAggregateObjectValue=Bx,O.resolveVarDeclarationNextValue=Ip,O.resolveVarDeclarationValue=Kb,O.resolveVarInstanceNextValue=Ry,O.resolveVarInstanceValue=Ux,O.resolveVariableScope=the,O.returnDeclarationValidation=Ehe,O.returnStatementValidation=The,O.savePersistedEntityMethod=lN,O.savePersistedEntityMethodParentRef=oN,O.searchStatementErrorGlobalValueDescriptor=zv,O.searchStatementErrorGlobalValueDescriptorDataType=YN,O.searchStatementErrorGlobalValueDescriptorRef=HN,O.searchStatementState=mme,O.searchStatementUtils=Eme,O.searchValidation=Ohe,O.sequentialExecutionOperation=zn,O.sequentialExecutionOperationError=vD,O.sequentialExecutionOperationErrorParentRef=mD,O.sequentialExecutionOperationListOfExecutionResultsDataType=fD,O.sequentialExecutionOperationListOfExecutionResultsReturn=cv,O.sequentialExecutionOperationListOfExecutionResultsReturnParentRef=yD,O.sequentialExecutionOperationListOfExecutionResultsReturnRef=pD,O.sequentialExecutionOperationListOfFunctionsArgument=uv,O.sequentialExecutionOperationListOfFunctionsArgumentDatatype=cD,O.sequentialExecutionOperationListOfFunctionsArgumentParentRef=hD,O.sequentialExecutionOperationListOfFunctionsArgumentRef=uD,O.sequentialExecutionOperationListOfFunctionsBlueprint=dD,O.sequentialExecutionOperationListOfFunctionsBlueprintDynamicInput=lD,O.sequentialExecutionOperationListOfFunctionsBlueprintDynamicOutput=oD,O.sortCallsBasedOnExecutionDependencies=L6,O.sortChildrenEntitiesBasedOnExecutionDependencies=g0e,O.splitListOperation=sv,O.splitListOperationError=u_,O.splitListOperationErrorParentRef=d_,O.splitListOperationFirstOutputListDataType=Qg,O.splitListOperationFirstOutputListReturn=n_,O.splitListOperationFirstOutputListReturnParentRef=s_,O.splitListOperationFirstOutputListReturnRef=iv,O.splitListOperationInputListArgument=t_,O.splitListOperationInputListArgumentParentRef=e_,O.splitListOperationInputListArgumentRef=Hg,O.splitListOperationInputListDataType=Yg,O.splitListOperationSecondOutputListDataType=a_,O.splitListOperationSecondOutputListReturn=l_,O.splitListOperationSecondOutputListReturnParentRef=o_,O.splitListOperationSplitIndexArgument=i_,O.splitListOperationSplitIndexArgumentParentRef=r_,O.splitListOperationSplitIndexArgumentRef=zg,O.splitListOperationSplitIndexDataType=Xg,O.splitStringOperation=tv,O.splitStringOperationError=Cg,O.splitStringOperationErrorParentRef=Og,O.splitStringOperationFirstPartResultStringDataType=Eg,O.splitStringOperationFirstPartResultStringReturn=Dg,O.splitStringOperationFirstPartResultStringReturnParentRef=_g,O.splitStringOperationFirstPartResultStringReturnRef=vg,O.splitStringOperationIndexArgument=Rg,O.splitStringOperationIndexArgumentParentRef=wg,O.splitStringOperationIndexArgumentRef=yg,O.splitStringOperationIndexDataType=mg,O.splitStringOperationSecondPartResultStringDataType=bg,O.splitStringOperationSecondPartResultStringReturn=Ek,O.splitStringOperationSecondPartResultStringReturnParentRef=gg,O.splitStringOperationSecondPartResultStringReturnRef=Tg,O.splitStringOperationStringArgument=Ig,O.splitStringOperationStringArgumentParentRef=Ag,O.splitStringOperationStringArgumentRef=fg,O.splitStringOperationStringDataType=hg,O.stringPrototype=Fe,O.stringValueAutogenerationSchema=QE,O.suggestNewIdForEntity=hb,O.syncSearchEntityOutput=Fb,O.test_primitive_entities_export=Pve,O.toCamelCase=Jr,O.toEntityState=Ri,O.toKebabCase=DU,O.toLowerCaseKebabCase=ly,O.toPascalCase=vd,O.transitionProjectVersion=mb,O.translateLogicErrorCode=kme,O.translateLogicErrorCodeShort=Sme,O.translateLogicErrorCodeShortWithEntityName=qme,O.translateLogicErrorCodeWithEntityName=Zme,O.traverseChangeSet=vb,O.untypedDataPrototype=zr,O.updateErrorsList=Qt,O.urlDefaultValue=JD,O.uuidPrototype=Hn,O.validateArgumentDeclarationName=cb,O.validateCalledByErrorIdInAction=f0e,O.validateCalledByIdInAction=p0e,O.validateCallers=v6,O.validateConditionEntityDeclaration=m0e,O.validateDataOperation=bo,O.validateDataOperationDataToValidateArgument=MD,O.validateDataOperationDataToValidateArgumentParentRef=BD,O.validateDataOperationDataToValidateArgumentRef=ND,O.validateDataOperationDataToValidateDataType=LD,O.validateDataOperationEntityToMatchTypeArgument=FD,O.validateDataOperationEntityToMatchTypeArgumentParentRef=xD,O.validateDataOperationEntityToMatchTypeArgumentRef=UD,O.validateDataOperationEntityToMatchTypeDataType=jD,O.validateDataOperationError=SD,O.validateDataOperationErrorParentRef=kD,O.validateDataOperationOutputEntityDeclaration=KD,O.validateDataOperationOutputEntityDeclarationParentRef=GD,O.validateDefinitionEntityName=ob,O.validateEntityValues=Hx,O.validateEntryCaller=m6,O.validateErrorCaller=y6,O.validateFunctionCallDeclaration=T6,O.validateFunctionDeclarationName=lb,O.validateGeneratedEntityParentIsNotBuiltInEntity=l0e,O.validateGeneration=a0e,O.validateGenerationTarget=Tr,O.validateGenerationUpdate=o0e,O.validateLogic=Lme,O.validateLoopEntityDeclaration=v0e,O.validateMissingValue=ha,O.validateName=she,O.validateOperationEntityDeclaration=b6,O.validatePropertyName=ub,O.validateReachability=fa,O.validateReadsValueInActionPayload=h0e,O.validateReferenceObject=Vy,O.validateReferenceToOne=hA,O.validateReferences=Fr,O.validateReturnDeclarationName=pb,O.validateSuccessCaller=h6,O.validateValueReaderGenerationUpdate=Cp,O.validateValueWritter=bA,O.validateVariableDeclarationName=db,O.validateVariableInternalCallUse=AA,O.valueAutogenerationCurrentDateAndTimeSchema=jB,O.valueAutogenerationGenericSchema=Lh,O.valueAutogenerationOptions=rT,O.valueAutogenerationOptionsSchema=UB,O.valueAutogenerationRandomBooleanSchema=XE,O.valueAutogenerationRandomDateBetweenSchema=JB,O.valueAutogenerationRandomDateFromSchema=qB,O.valueAutogenerationRandomDateSchema=Uh,O.valueAutogenerationRandomDateUntilSchema=ZB,O.valueAutogenerationRandomNumberBetweenSchema=GB,O.valueAutogenerationRandomNumberFromSchema=xB,O.valueAutogenerationRandomNumberSchema=Bh,O.valueAutogenerationRandomNumberUntilSchema=FB,O.valueAutogenerationRandomSchema=sc,O.valueAutogenerationRandomTextBetweenSchema=SB,O.valueAutogenerationRandomTextFromSchema=KB,O.valueAutogenerationRandomTextSchema=Mh,O.valueAutogenerationRandomTextUntilSchema=kB,O.valueAutogenerationRangeValueTypesSchema=ic,O.valueAutogenerationUniqueSchema=zE,O.valueDescriptorValidation=Cme,O.variableDeclarationValidation=_he,O.variableInstanceValidation=Dhe,O.waitOperation=gi,O.waitOperationMillisecondsNumberArgument=Eo,O.waitOperationMillisecondsNumberArgumentRef=eD,O.waitOperationMillisecondsNumberDataType=tD,O.waitOperationOperationError=sD,O.waitOperationOperationErrorParentRef=iD,O.waitOperationRef=rD,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6363",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|