@elyx-code/project-logic-tree 0.0.6385 → 0.0.6386
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 +1 -1
- package/dist/index.js +22 -14
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7758,7 +7758,7 @@ export declare function getPlayableEntityTypeSchema(): z_2.ZodUnion<[z_2.ZodUnio
|
|
|
7758
7758
|
|
|
7759
7759
|
export declare function getProject(where: {
|
|
7760
7760
|
id: string;
|
|
7761
|
-
}, _options?: IGetProjectOptions): Promise<ProjectState | null>;
|
|
7761
|
+
}, _options?: IGetProjectOptions, parentContext?: IProjectInstanceParentContext): Promise<ProjectState | null>;
|
|
7762
7762
|
|
|
7763
7763
|
export declare function getPrototypeByType(type: EntityType): EntityStateConstructor | null;
|
|
7764
7764
|
|
package/dist/index.js
CHANGED
|
@@ -106312,25 +106312,33 @@ function EIt(d, {
|
|
|
106312
106312
|
T.initialized = !0, T.captureVersion();
|
|
106313
106313
|
})), a.initialized = !0, p == null || p.attemptAutoclose("project-init", a.id), a;
|
|
106314
106314
|
}
|
|
106315
|
-
async function v1t(d, u = fy) {
|
|
106316
|
-
const
|
|
106315
|
+
async function v1t(d, u = fy, i) {
|
|
106316
|
+
const a = {
|
|
106317
106317
|
...fy,
|
|
106318
106318
|
...u
|
|
106319
106319
|
};
|
|
106320
|
-
if (d.id && md[d.id] && !
|
|
106320
|
+
if (d.id && md[d.id] && !a.ignoreCache)
|
|
106321
106321
|
return md[d.id];
|
|
106322
|
-
if (d.id && Fh[d.id] && !
|
|
106322
|
+
if (d.id && Fh[d.id] && !a.ignoreCache)
|
|
106323
106323
|
return await Fh[d.id], md[d.id];
|
|
106324
|
-
const
|
|
106325
|
-
d.id && (Fh[d.id] =
|
|
106326
|
-
const
|
|
106327
|
-
if (
|
|
106328
|
-
let
|
|
106329
|
-
return
|
|
106330
|
-
|
|
106331
|
-
|
|
106332
|
-
|
|
106333
|
-
|
|
106324
|
+
const l = vIt(d, a);
|
|
106325
|
+
d.id && (Fh[d.id] = l);
|
|
106326
|
+
const p = await l;
|
|
106327
|
+
if (p.data) {
|
|
106328
|
+
let t;
|
|
106329
|
+
return a.mock ? t = EIt(
|
|
106330
|
+
zN,
|
|
106331
|
+
{
|
|
106332
|
+
enrich: !!a.enrich
|
|
106333
|
+
},
|
|
106334
|
+
i
|
|
106335
|
+
) : p.data instanceof P ? t = p.data : t = mIt(
|
|
106336
|
+
p.data,
|
|
106337
|
+
{
|
|
106338
|
+
enrich: !!a.enrich
|
|
106339
|
+
},
|
|
106340
|
+
i
|
|
106341
|
+
), md[d.id] = t, d.id && delete Fh[d.id], t;
|
|
106334
106342
|
}
|
|
106335
106343
|
return null;
|
|
106336
106344
|
}
|
package/dist/index.umd.cjs
CHANGED
|
@@ -401,4 +401,4 @@ ${Cy}`,issue:null})),{errors:a,modifiedData:i}}onProjectInitialized(i,a=this.pro
|
|
|
401
401
|
You can inspect the existing 'entity' field with the 'describe_entity' action. Like so:
|
|
402
402
|
${Mn({describe_entity:T.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 w([...this.ownDeclaredMethods,...this.allBaseMethodsFromOriginalParents])}get allProperties(){return w([...this.ownDeclaredProperties,...this.allBasePropertiesFromOriginalParents])}get allBaseMethodsFromOriginalParents(){return w([...this.extends.flatMap(i=>i.allMethods,[]),...this.implements.flatMap(i=>i.allMethods,[])])}get allBasePropertiesFromOriginalParents(){return w([...this.extends.flatMap(i=>i.allProperties,[]),...this.implements.flatMap(i=>i.allProperties,[])])}get allBasePropertiesFromExtendedAndImplementedEntities(){return w([...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 w([...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 w(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.extendedPropertiesFromOriginalParents].filter(p=>!p.abstract);return[...i,...l]},[]))}get implementedPropertiesFromOriginalParents(){return w([...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 w(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 w([...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}--${S.InvalidParentUpdate}`,code:S.InvalidParentUpdate,severity:q.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 F(this.project,V.sessionAuthor,L().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:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}onDetachedDependencyRemoved(i,a,l){const p=[],t=[],y=[],v=[];return a==="implements"&&this.removeImplementation(i),a==="extends"&&this.removeExtension(i),{updated:w(p),added:w(t),removed:w(y),affected:w(v),self:this}}onDetachedDependencyRestored(i,a,l){const p=[],t=[],y=[],v=[];return a==="implements"&&this.addImplementation(i),a==="extends"&&this.addExtension(i),{updated:w(p),added:w(t),removed:w(y),affected:w(v),self:this}}unsubscribeFromDependencies(){return this.implements.forEach(i=>{zi.includes(i.type)||i.unsubscribeDependents([{entity:this,field:"implements"}])}),this}subscribeToDependencies(){return this.implements.forEach(i=>{zi.includes(i.type)||i.subscribeDependents([{entity:this,field:"implements"}])}),this.extends.forEach(i=>{zi.includes(i.type)||i.subscribeDependents([{entity:this,field:"extends"}])}),this}increaseVersion(i){if(i&&!L(i).isValid())throw new Error(`The shared timestamp '${i}' is not a valid ISO 8601 date string.`);return i&&L(i).isSame(L(this.createdAt))?this:(this.previousVersion=this.version,this.version=V.UUID.uuid(),this.createdAt=L(i).toISOString()||L().toISOString(),this)}captureVersion(){var a;const i=((a=this.knownVersions)==null?void 0:a.get(this.version))||new Ut(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:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}async restoreVersion(i){var v;const a=[],l=[],p=[],t=[];if(this.version===i)return{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this};if(!this.knownVersions){const T=new Map;for(const[R,A]of this.knownVersions||new Map){if(T.set(R,A),A.activeVersion=!1,A.knownVersions)for(const[P,N]of A.knownVersions)T.set(P,N);A.knownVersions=null}}let y=(v=this.knownVersions)==null?void 0:v.get(i);if(!y){const T=await this.APILoadVersion({},i);if(!T)throw new Error(`Version with id '${i}' for entity with id '${this.id}' not found.`);y=new Ut(T,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:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}updateWithShallowTransfer(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().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=Z(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=Z(l),t=this.project.get(p);t&&this.addExtension(t)}),i.implements.forEach(l=>{const p=Z(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=Z(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=Z(t),v=this.project.get(y);v&&(this.addExtension(v),v.type!==f.BuiltInBaseEntity&&i.push(v))}),this.initialData.implements.forEach(t=>{const y=Z(t),v=this.project.get(y);v&&(this.addImplementation(v),v.type!==f.BuiltInBaseEntity&&i.push(v))}),{updated:w(i),added:w(a),removed:w(l),affected:w(p),self:this}}afterAllChildrenInitialized(i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"after-all-children-initialized"))){const a=[],l=[],p=[],t=[];this.initialized=!0;const{updated:y,added:v,removed:T,affected:R}=this.syncImplementationProperties(i);a.push(...y),l.push(...v),p.push(...T),t.push(...R);const{updated:A,added:P,removed:N,affected:U}=this.addExtendedProperties(i);a.push(...A),l.push(...P),p.push(...N),t.push(...U);const{updated:K,added:k,removed:J}=this.removeUnrecognizedProperties(i);a.push(...K),l.push(...k),p.push(...J);const{updated:se,added:te,removed:ce,affected:re}=this.syncImplementationMethods(i);a.push(...se),l.push(...te),p.push(...ce),t.push(...re);const{updated:fe,added:z,removed:Y,affected:ue}=this.addExtendedMethods(i);a.push(...fe),l.push(...z),p.push(...Y),t.push(...ue);const{updated:H,added:ae,removed:be}=this.removeUnrecognizedMethods(i);return a.push(...H),l.push(...ae),p.push(...be),this.addSuggestions(),this.captureVersion(),i==null||i.attemptAutoclose("after-all-children-initialized",this.id),{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}addSelfToProject(i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().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:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}setParent(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().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,G.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 F(this.project,V.sessionAuthor,L().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 F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"remove-unrecognized-properties"))){const a=[],l=[],p=[],t=[];let y=[...this.properties];y=y.filter(T=>T.parent.id===this.id),y=y.filter(T=>!T.isExtendedProperty);const v=this.implementedPropertiesFromOriginalParents;return y=y.filter(T=>this.interactive&&!T.implements?!1:!v.find(R=>{var A;return R.id===((A=T.implements)==null?void 0:A.id)})),y.forEach(T=>{const R=T.remove({ignoreUpstream:!1},i);p.push(...R.removed),a.push(...R.updated)}),i==null||i.attemptAutoclose("remove-unrecognized-properties",this.id),{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}removeUnrecognizedMethods(i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"remove-unrecognized-methods"))){const a=[],l=[],p=[],t=[];let y=[...this.methods];y=y.filter(T=>T.parent.id===this.id),y=y.filter(T=>!T.isExtendedMethod);const v=this.implementedMethodsFromOriginalParents;return y=y.filter(T=>this.interactive&&!T.implements?!1:!v.find(R=>{var A;return R.id===((A=T.implements)==null?void 0:A.id)})),y.forEach(T=>{const R=T.remove({ignoreUpstream:!1},i);p.push(...R.removed),a.push(...R.updated)}),i==null||i.attemptAutoclose("remove-unrecognized-methods",this.id),{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}syncImplementationMethods(i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-implementation-methods"))){const a=[],l=[],p=[],t=[],y=this.methods,v=this.implementedMethodsFromOriginalParents,T=[...this.allBaseMethodsFromExtendedAndImplementedEntities,...y];return v.filter(A=>!T.find(N=>{var U;return((U=N.implements)==null?void 0:U.id)===A.id})).forEach(A=>{if(this.methods.find(K=>{var k;return((k=K.implements)==null?void 0:k.id)===A.id}))return;const N=this.methods.find(K=>{var ce,re;if(K.name===A.name&&!K.implements)return!0;const k=as(this,Ve.CRON_JOB),J=as(this,Ve.HTTP_ENDPOINT),se=((ce=K.implements)==null?void 0:ce.id)===ve["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id,te=((re=K.implements)==null?void 0:re.id)===ve["built-in-base-entity"].BUILT_IN_CRON_JOB_ENTITY.methods.handler.id;return!!(k&&!te&&!J&&se||J&&!se&&!k&&te)});if(N&&N.type===f.FunctionDeclaration){N.setImplements(A,i),N.metaSync({name:A.name},i),i==null||i.add(N,G.Updated),i==null||i.add(this,G.Updated);return}const U=A.implementAsFunctionDeclaration(i,this);l.push(U),i==null||i.add(U,G.Added),this.addMethod(U)}),i==null||i.attemptAutoclose("sync-implementation-methods",this.id),{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}syncImplementationProperties(i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-implementation-properties"))){const a=[],l=[],p=[],t=[],y=this.properties,v=this.implementedPropertiesFromOriginalParents,T=[...this.allBasePropertiesFromExtendedAndImplementedEntities,...y];return v.filter(A=>!T.find(N=>{var U;return((U=N.implements)==null?void 0:U.id)===A.id})).forEach(A=>{if(this.properties.find(K=>{var k;return((k=K.implements)==null?void 0:k.id)===A.id}))return;const N=this.properties.find(K=>K.name===A.name&&!!K.abstract&&!K.implements);if(N){N.setImplements(A,i),N.metaSync({abstract:!1},i),N.afterAllChildrenInitialized(i);return}const U=A.implement(this,i,V.UUID.uuid());l.push(U),i==null||i.add(U,G.Added)}),i==null||i.attemptAutoclose("sync-implementation-properties",this.id),{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}addExtendedMethods(i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"add-extended-methods"))){const a=[],l=[],p=[],t=[],y=this.methods,T=this.extendedMethodsFromOriginalParents.filter(A=>A.type===f.FunctionDeclaration),R=new Set(y.filter(A=>{var P;return!!((P=A.extends)!=null&&P.id)}).map(A=>A.extends.id));return T.forEach(A=>{if(R.has(A.id))return;R.add(A.id);const P=A.clone(i,this,V.UUID.uuid());P.setExtends(A,i),P.initChildren(i),l.push(P),i==null||i.add(P,G.Added),this.addMethod(P)}),i==null||i.attemptAutoclose("add-extended-methods",this.id),{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}addExtendedProperties(i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"add-extended-properties"))){const a=[],l=[],p=[],t=[],y=this.properties,v=this.extendedPropertiesFromOriginalParents,T=v.filter(A=>v.find(N=>{var U;return((U=N.implements)==null?void 0:U.id)===A.id})?!1:!A.abstract),R=new Set(y.filter(A=>{var P;return!!((P=A.extends)!=null&&P.id)}).map(A=>A.extends.id));return T.forEach(A=>{if(R.has(A.id))return;R.add(A.id);const P=A.clone(i,this,V.UUID.uuid());P.setExtends(A,i),P.initChildren(i),l.push(P),i==null||i.add(P,G.Added),this.addProperty(P)}),i==null||i.attemptAutoclose("add-extended-properties",this.id),{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}addSuggestions(){return this.implements.forEach(i=>{BG(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)}),MG(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(T=>T.id!==t),v.inputs.forEach(T=>{T.suggestion=!0}),v.returnStatements.length){const T=v.returnStatements[0];T.suggestion=!0,T.outputs.forEach(R=>{R.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 F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"meta-sync"))){const l=Cr(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,G.Removed):i.deleted===!1&&p.deleted?a==null||a.add(this,G.Added):l&&(a==null||a.add(this,G.Updated)),a==null||a.attemptAutoclose("meta-sync",this.id),this}async APILoad(i=me,...a){return await Ut.repository.APILoad(this.id,...a),this}async APICreate(i=me,...a){return await Ut.repository.APICreate(this.toShallowJSON(),...a),this}async APIUpdate(i=me,...a){return await Ut.repository.APIUpdate(this.toShallowJSON(),...a),this}async APIDelete(i=me,...a){return await Ut.repository.APIDelete(this.toShallowJSON(),...a),this}async APIClone(i=me,...a){return await Ut.repository.APIClone(this.id,...a),this}async APILoadVersion(i=me,a,...l){return await Ut.repository.APILoadVersion(this.id,a,...l)}removeFromParent(i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().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:w(p),updated:w(a),removed:w(l),affected:w(t),self:this}}remove({ignoreUpstream:i}={ignoreUpstream:!1},a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().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:T,removed:R,added:A}=v.entity.onDetachedDependencyRemoved(this,v.field,a);l.push(...T),p.push(...R),t.push(...A)}),this.properties.forEach(v=>{const{updated:T,removed:R}=v.remove({ignoreUpstream:!0},a);l.push(...T),p.push(...R)}),this.methods.forEach(v=>{const{updated:T,removed:R}=v.remove({ignoreUpstream:!0},a);l.push(...T),p.push(...R)}),this.abstractMethods.forEach(v=>{const{updated:T,removed:R}=v.remove({ignoreUpstream:!0},a);l.push(...T),p.push(...R)}),this.suggestedProperties.forEach(v=>{const{updated:T,removed:R}=v.remove({ignoreUpstream:!0},a);l.push(...T),p.push(...R)}),this.suggestedMethods.forEach(v=>{const{updated:T,removed:R}=v.remove({ignoreUpstream:!0},a);l.push(...T),p.push(...R)}),!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:w(t),updated:w(l),removed:w(p),affected:w(y),self:this}}restore({}={},i=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().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:T,added:R}=y.entity.onDetachedDependencyRestored(this,y.field,i);l.push(...v),p.push(...T),a.push(...R)}),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:w(a),updated:w(l),removed:w(p),affected:w(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=xe){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||Nr(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:V.UUID.uuid(),createdAt:i.timestamp||L().toISOString(),author:V.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(T=>T.toJSONClone({...i,newId:null})),methods:this.methods.map(T=>T.toJSONClone({...i,newId:null})),abstractMethods:this.abstractMethods.map(T=>T.toJSONClone({...i,newId:null})),implements:this.implements.map(T=>T.type===f.BuiltInBaseEntity?T.toJSON():T.toJSONClone({...i,newId:null})),extends:this.extends.map(T=>T.type===f.BuiltInBaseEntity?T.toJSON():T.toJSONClone({...i,newId:null})),parent:this.parent.toReference({seenEntityMaps:i.seenEntityMaps})})}toReference(i=xe){var l;let a=this.id;return(l=i.seenEntityMaps)!=null&&l.has(this.id)&&(a=i.seenEntityMaps.get(this.id)),{id:a+"--"+V.UUID.uuid()+"--ref",type:f.GenericReference,entityId:a,version:this.version,entityType:this.type}}toShallowJSON(i=xe){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=LG(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 F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"clone-entity")),a=null,l=null,p=!0){var K,k,J;let t=Vr(a,this);const y=this.toJSON(),v=l||V.UUID.uuid();y.properties=[],y.methods=[],y.abstractMethods=[];const T=v.split("-id"),R=T[T.length-1||0]||v;y.id=v,y.version=V.UUID.uuid(),y.createdAt=(i==null?void 0:i.timestamp)||L().toISOString(),y.author=(i==null?void 0:i.author)||"1",y.previousVersion=null,y.deleted=!1;const A=zt(y,t);a&&A.setParent(a,null),p&&A.subscribe(),A.initChildren(i),i==null||i.add(A,G.Added);const P=(K=this.properties)==null?void 0:K.map(se=>se.clone(i,A,V.UUID.uuid(),p));A.properties=P;const N=(k=this.methods)==null?void 0:k.map((se,te)=>se.clone(i,A,R+"-method-"+te+"-id",p));A.methods=N;const U=(J=this.abstractMethods)==null?void 0:J.map((se,te)=>se.clone(i,A,R+"-abstract-method-"+te+"-id",p));return A.abstractMethods=U,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 F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"implement-definition-entity")),l){const p=Ly(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 w([...this.methods,...this.extends.flatMap(l=>l.getAllInteractiveMethods()),...i.flatMap(l=>l.getAllInteractiveMethods())])}inferFromInputs(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().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(N=>ie(N,this.project)===ie(A,this.project))||v.push(A)});const T=this.properties.filter(A=>!A.dataType);v.forEach(A=>{var se,te,ce;const P=T.find(re=>ie(re,this.project)===ie(A,this.project));if(!P)return;const U=bi(A.parent).getMasterInputWithValueWritterFromAllInstances(A),K=tn(U,a),k=K==null?void 0:K.clone(a,P,V.UUID.uuid(),!0);k&&((se=P.dataType)==null||se.merge(k,a),k.id!==((te=P.dataType)==null?void 0:te.id)&&k.remove({ignoreUpstream:!1},a),P.dataType&&(P.dataType.metaSync({inferred:!0,like:!0},a),P.setDataType(P.dataType,a),a==null||a.add(P,G.Affected)));let J=null;if(A.declaration&&P.id!==((ce=A.declaration)==null?void 0:ce.id)&&(J=A.declaration),A.setDeclaration(P,a),a==null||a.add(A,G.Updated),J){const{updated:re,removed:fe}=J.remove({ignoreUpstream:!1},a);p.push(...re),t.push(...fe)}});const R=[];return v.forEach(A=>{if(!A.declaration){R.push(A);return}}),R.length===0?(a==null||a.attemptAutoclose("infer-definition-entity-from-inputs",this.id),{added:[],updated:[],removed:[],affected:[],self:this}):(R.forEach(A=>{var te,ce,re,fe;const P=this.properties.find(z=>ie(z,this.project)===ie(A,this.project));if(P){if(A.setDeclaration(P,a),!P.getDataType(a)){const Y=bi(A.parent).getMasterInputWithValueWritterFromAllInstances(A),ue=tn(Y),H=ue==null?void 0:ue.clone(a,P,V.UUID.uuid(),!0);H&&((te=P.dataType)==null||te.merge(H,a),H.id!==((ce=P.dataType)==null?void 0:ce.id)&&H.remove({ignoreUpstream:!1},a),P.dataType&&(P.dataType.metaSync({inferred:!0,like:!0},a),P.setDataType(P.dataType,a),a==null||a.add(P,G.Affected)))}return}const N=jn.new(a);N.parent=this.toReference(),N.index=A.index,N.name=ie(A,this.project),N.codeName=A.codeName,N.description=A.description;const U=ee(N,this.project);U.hydrateAncestors(),a==null||a.add(U,G.Added),U.setParent(this,a),U.initChildren(a);const k=bi(A.parent).getMasterInputWithValueWritterFromAllInstances(A),J=tn(k),se=J==null?void 0:J.clone(a,U,V.UUID.uuid(),!0);return se&&((re=U.dataType)==null||re.merge(se,a),se.id!==((fe=U.dataType)==null?void 0:fe.id)&&se.remove({ignoreUpstream:!1},a),U.dataType&&(U.dataType.metaSync({inferred:!0,like:!0},a),U.setDataType(U.dataType,a),a==null||a.add(U,G.Affected))),this.addProperty(U),A.setDeclaration(U,a),a==null||a.add(A,G.Updated),U}),a==null||a.attemptAutoclose("infer-definition-entity-from-inputs",this.id),{added:w(l),updated:w(p),removed:w(t),affected:w(y),self:this})}getRawDefaultValue(){const i={};return this.properties.forEach(a=>{var p;if(!MA(a))return;const l=$r(a.name);i[l]=((p=a.getDefaultValue())==null?void 0:p.value)||null}),i}getActiveRawDefaultValue(){const i={};return this.properties.forEach(a=>{var t;if(!MA(a))return;const l=$r(a.name),p=(t=this.project.requestActiveDynamicValue(a))==null?void 0:t.value;i[l]=(p==null?void 0:p.value)||null}),i}};O(Ut,"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}),O(Ut,"type",f.DefinitionEntity),O(Ut,"USER_MANAGED_PARENT_TYPES",[f.Project,f.DataType]),O(Ut,"PARENT_TYPES",[...Ut.USER_MANAGED_PARENT_TYPES]),O(Ut,"MUTABLE_BASE_PROPERTIES",["name","codeName","description","static","abstract"]),O(Ut,"INMUTABLE_BASE_PROPERTIES",["id","type","version","createdAt","author","previousVersion"]),O(Ut,"BASE_PROPERTIES",[...Ut.MUTABLE_BASE_PROPERTIES,...Ut.INMUTABLE_BASE_PROPERTIES]),O(Ut,"MUTABLE_META_PROPERTIES",[...Ut.MUTABLE_BASE_PROPERTIES,"x","y"]),O(Ut,"INMUTABLE_META_PROPERTIES",[...Ut.INMUTABLE_BASE_PROPERTIES]),O(Ut,"META_PROPERTIES",[...Ut.MUTABLE_META_PROPERTIES,...Ut.INMUTABLE_META_PROPERTIES]),O(Ut,"MUTABLE_UPSTREAM_PROPERTIES",["extends","implements"]),O(Ut,"INMUTABLE_UPSTREAM_PROPERTIES",["parent"]),O(Ut,"UPSTREAM_PROPERTIES",[...Ut.MUTABLE_UPSTREAM_PROPERTIES,...Ut.INMUTABLE_UPSTREAM_PROPERTIES]),O(Ut,"MUTABLE_DOWNSTREAM_PROPERTIES",["properties","methods","abstractMethods"]),O(Ut,"INMUTABLE_DOWNSTREAM_PROPERTIES",[]),O(Ut,"DOWNSTREAM_PROPERTIES",[...Ut.MUTABLE_DOWNSTREAM_PROPERTIES,...Ut.INMUTABLE_DOWNSTREAM_PROPERTIES]),O(Ut,"PROPERTIES",[...Ut.META_PROPERTIES,...Ut.UPSTREAM_PROPERTIES,...Ut.DOWNSTREAM_PROPERTIES]);let wa=Ut;function W0e(d){const u=dce(),i=d.toJSON();u.safeParse(i).success;const l=[];return ar(d.errors,l)}const xp=class xp extends Rr{constructor(i,a){super(i);O(this,"initialData");O(this,"id");O(this,"version");O(this,"name");O(this,"description",null);O(this,"type",f.BuiltInBaseEntity);O(this,"abstract",!1);O(this,"static");O(this,"properties",[]);O(this,"methods",[]);O(this,"abstractMethods",[]);O(this,"extends",[]);O(this,"interactive",!1);O(this,"errors",[]);O(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 w([...this.ownDeclaredMethods,...this.allBaseMethodsFromOriginalParents])}get allProperties(){return w([...this.ownDeclaredProperties,...this.allBasePropertiesFromOriginalParents])}get allBaseMethodsFromOriginalParents(){return w([...this.extends.flatMap(i=>i.allMethods,[])])}get allBasePropertiesFromOriginalParents(){return w([...this.extends.flatMap(i=>i.allProperties,[])])}get allBasePropertiesFromExtendedAndImplementedEntities(){return w(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.allBasePropertiesFromExtendedAndImplementedEntities].filter(p=>!p.abstract);return[...i,...l]},[]))}get extendedPropertiesFromOriginalParents(){return w(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.extendedPropertiesFromOriginalParents].filter(p=>!p.abstract);return[...i,...l]},[]))}get implementedPropertiesFromOriginalParents(){return w([...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=me,...a){return await xp.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=xe){return{id:this.id+"--"+V.UUID.uuid()+"--ref",type:f.GenericReference,entityId:this.id,version:this.version,entityType:this.type}}toShallowJSON(i=xe){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=W0e(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 F(this.project,V.sessionAuthor,L().toISOString(),null,!0,"implement-built-in-base-entity")),l){const p=Ly(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 xp&&i.push(...l.getAllInteractiveMethods())})),w(i)}};O(xp,"repository",{APILoad:async(i,...a)=>null});let xn=xp;function H0e(d){const u=sce(),i=d.toJSON();u.safeParse(i).success;const l=[];return ar(d.errors,l)}const tm=class tm extends Rr{constructor(i,a){super(i);O(this,"initialData");O(this,"id");O(this,"name");O(this,"description",null);O(this,"type",f.PrimitiveEntity);O(this,"static");O(this,"abstract");O(this,"properties",[]);O(this,"methods",[]);O(this,"abstractMethods",[]);O(this,"extends",[]);O(this,"errors",[]);O(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 w([...this.ownDeclaredMethods,...this.allBaseMethodsFromOriginalParents])}get allProperties(){return w([...this.ownDeclaredProperties,...this.allBasePropertiesFromOriginalParents])}get allBaseMethodsFromOriginalParents(){return w([...this.extends.flatMap(i=>i.allMethods,[])])}get allBasePropertiesFromOriginalParents(){return w([...this.extends.flatMap(i=>i.allProperties,[])])}get allBasePropertiesFromExtendedAndImplementedEntities(){return w(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.allBasePropertiesFromExtendedAndImplementedEntities].filter(p=>!p.abstract);return[...i,...l]},[]))}get extendedPropertiesFromOriginalParents(){return w(this.extends.reduce((i,a)=>{const l=[...a.ownDeclaredProperties,...a.extendedPropertiesFromOriginalParents].filter(p=>!p.abstract);return[...i,...l]},[]))}get implementedPropertiesFromOriginalParents(){return w([...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=me,...a){return await tm.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=xe){return{id:this.id+"--"+V.UUID.uuid()+"--ref",type:f.GenericReference,entityId:this.id,version:this.version,entityType:this.type}}toShallowJSON(i=xe){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=H0e(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 xn&&i.push(...l.getAllInteractiveMethods())}),w(i)}};O(tm,"repository",{APILoad:async(i,...a)=>null});let ki=tm;function zt(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 $i(d,u);case f.DefinitionEntity:return i||new wa(d,u);case f.PrimitiveEntity:return i||new ki(d,u);case f.FunctionDeclaration:return i||new Ka(d,u);case f.GlobalEvent:return i||new qa(d,u);case f.DataType:return i||new is(d,u);case f.Property:return i||new jn(d,u);case f.FunctionCall:return i||new so(d,u);case f.Condition:return i||new Za(d,u);case f.Operation:return i||new ka(d,u);case f.VariableDeclaration:return i||new Wa(d,u);case f.VariableInstance:return i||new Ja(d,u);case f.OutputMap:return i||new rn(d,u);case f.ReturnDeclaration:return i||new Ki(d,u);case f.ArgumentDeclaration:return i||new Ea(d,u);case f.InputMap:return i||new Ln(d,u);case f.Project:return i||new V(d);case f.InstalledProject:return i||new Ya(d,u);case f.ActionDescriptor:return i||new ht(d,u);case f.ReturnStatement:return i||new Sa(d,u);case f.Loop:return i||new Oi(d,u);case f.Search:return i||new Ha(d,u);case f.ValueDescriptor:return i||new sn(d,u);case f.BuiltInBaseEntity:return i||new xn(d,u);case f.InternalCall:return i||new za(d,u);case f.ContinueStatement:return i||new Ti(d,u);case f.BreakStatement:return i||new Xa(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=zt(d,u);return i.subscribe(),i}function Y0e(d,u){if(!d)throw new Error("Entity is null");switch(d.type){case f.LiteralValue:return $i.fromGenerationTarget(d,u);case f.DefinitionEntity:return wa.fromGenerationTarget(d,u);case f.FunctionDeclaration:return Ka.fromGenerationTarget(d,u);case f.GlobalEvent:return qa.fromGenerationTarget(d,u);case f.DataType:return is.fromGenerationTarget(d,u);case f.Property:return jn.fromGenerationTarget(d,u);case f.FunctionCall:return so.fromGenerationTarget(d,u);case f.Condition:return Za.fromGenerationTarget(d,u);case f.Operation:return ka.fromGenerationTarget(d,u);case f.VariableDeclaration:return Wa.fromGenerationTarget(d,u);case f.VariableInstance:return Ja.fromGenerationTarget(d,u);case f.OutputMap:return rn.fromGenerationTarget(d,u);case f.ReturnDeclaration:return Ki.fromGenerationTarget(d,u);case f.ArgumentDeclaration:return Ea.fromGenerationTarget(d,u);case f.InputMap:return Ln.fromGenerationTarget(d,u);case f.InstalledProject:return Ya.fromGenerationTarget(d,u);case f.ReturnStatement:return Sa.fromGenerationTarget(d,u);case f.Loop:return Oi.fromGenerationTarget(d,u);case f.Search:return Ha.fromGenerationTarget(d,u);case f.ActionDescriptor:return ht.fromGenerationTarget(d,u);case f.ValueDescriptor:return sn.fromGenerationTarget(d,u);case f.InternalCall:return za.fromGenerationTarget(d,u);case f.ContinueStatement:return Ti.fromGenerationTarget(d,u);case f.BreakStatement:return Xa.fromGenerationTarget(d,u);default:throw new Error("Invalid entity type: "+d.type)}}const xe={seenEntityMaps:new Map,seenEntities:new Set,timestamp:L().toISOString()};class jG{constructor(){O(this,"initialData")}}const me={cascade:!1},xG={APILoad:async(d,...u)=>null},z0e={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,...xG};class X0e{}class Q0e extends jG{}class eve{}class tve{}class rve{}class qA{}class ive extends qA{}class sve extends qA{}class nve{}class Mp{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=Ni(u.initialData.readsValue,u.project);i&&(u.readsValue=i)}if(u.readsValue){if(ot.includes(u.readsValue.type)){let i=u.parent;Dr.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 Up{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),ot.includes(y.type)&&(y.setParent(i,null),y.initChildren(null)),[...p,y]},[]),l=[...u.writesValues];return u.writesValues=w([...l,...a]),u.writesValues}}class ave{}var gr=(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))(gr||{});const ZA={...Ux,events:new by},FG={onRequestActiveDynamicValue:d=>null,...ZA},it=class it extends Rr{constructor(i,a={...FG,events:new by}){super(i);O(this,"initialData");O(this,"id");O(this,"type",f.Project);O(this,"name",null);O(this,"description",null);O(this,"x");O(this,"y");O(this,"entities",[]);O(this,"projects",[]);O(this,"functions",[]);O(this,"events",[]);O(this,"variableDeclarations",[]);O(this,"variableInstances",[]);O(this,"conditions",[]);O(this,"operations",[]);O(this,"functionCalls",[]);O(this,"loops",[]);O(this,"searches",[]);O(this,"primitives",[]);O(this,"builtInBaseEntities",[]);O(this,"operationDeclarations",[]);O(this,"globalEventActionDescriptors",[]);O(this,"loopDeclarations",[]);O(this,"loopDeclarationsBodies",[]);O(this,"conditionDeclarations",[]);O(this,"valueDescriptors",[]);O(this,"dataTypes",[]);O(this,"project");O(this,"instances",{});O(this,"builtInInstances",{});O(this,"deletedInstances",{});O(this,"errors",[]);O(this,"references",[]);O(this,"history",[]);O(this,"undoableStackValueIndex",-1);O(this,"detachedDependents",{});O(this,"knownVersions",null);O(this,"activeVersion",!1);O(this,"initialized",!1);O(this,"startedInitialization",!1);O(this,"onCloseChangeSetCallback",null);O(this,"onAddChangeSetCallback",null);O(this,"onDiscardChangeSetCallback",null);if(this.parentContext=a,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,!it.UUID)throw new Error("UUID module is already initialized. Please inject a valid UUID module.")}static get UUID(){return this.parentContext.onRequestModule("uuid")}static new(i=null){return{id:it.UUID.uuid(),version:it.UUID.uuid(),createdAt:(i==null?void 0:i.timestamp)||L().toISOString(),author:(i==null?void 0:i.author)||it.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(...Or(l)),{errors:p,modifiedData:l}}get off(){return this.parentContext.events.off}get on(){return this.parentContext.events.on}get emit(){return this.parentContext.events.emit}async closePendingChangeSets(){const i=this.history.find(a=>a.dirty&&!a.open);i&&await this.closeChangeSet(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 F(this,i,a,l,p,t);const y=this.history[this.history.length-1];return y.open?y:this.addChangeSet(new F(this,i,a,l,p,t))}addChangeSet(i){var p,t;if(!this.history.length)return this.undoableStackValueIndex=vb(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 Fe.warn("Previous still open: ",l),Fe.warn("New change set: ",i),new Error(`There is already an open change-set with id '${l.id}'.`);return this.undoableStackValueIndex=vb(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 F(this.project,it.sessionAuthor,L().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:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}onDetachedDependencyRemoved(i,a,l){const p=[],t=[],y=[],v=[];return{updated:w(p),added:w(t),removed:w(y),affected:w(v),self:this}}onDetachedDependencyRestored(i,a,l){const p=[],t=[],y=[],v=[];return{updated:w(p),added:w(t),removed:w(y),affected:w(v),self:this}}unsubscribeFromDependencies(){return this}subscribeToDependencies(){return this}increaseVersion(i){if(i&&!L(i).isValid())throw new Error(`The shared timestamp '${i}' is not a valid ISO 8601 date string.`);return i&&L(i).isSame(L(this.createdAt))?this:(this.previousVersion=this.version,this.version=it.UUID.uuid(),this.createdAt=L(i).toISOString()||L().toISOString(),this)}captureVersion(){var a;const i=((a=this.knownVersions)==null?void 0:a.get(this.version))||new it(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:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}async restoreVersion(i){var v;const a=[],l=[],p=[],t=[];if(this.version===i)return{updated:w(a),added:w(l),removed:w(p),affected:w(t),self:this};if(!this.knownVersions){const T=new Map;for(const[R,A]of this.knownVersions||new Map){if(T.set(R,A),A.activeVersion=!1,A.knownVersions)for(const[P,N]of A.knownVersions)T.set(P,N);A.knownVersions=null}}let y=(v=this.knownVersions)==null?void 0:v.get(i);if(!y){const T=await this.APILoadVersion({},i);if(!T)throw new Error(`Version with id '${i}' for entity with id '${this.id}' not found.`);y=new it(T)}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:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}updateWithShallowTransfer(i,a=this.project.addChangeSet(new F(this.project,it.sessionAuthor,L().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:w(i),added:w(a),removed:w(l),affected:w(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:w(a),added:w(l),removed:w(p),affected:w(t),self:this}}addSelfToProject(i){const a=[],l=[],p=[],t=[];return this.subscribe(),this.subscribeToDependencies(),{updated:w(a),added:w(l),removed:w(p),affected:w(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 F(this.project,it.sessionAuthor,L().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 F(this.project,it.sessionAuthor,L().toISOString(),this,!0,"meta-sync"))){const l=Cr(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,G.Removed):i.deleted===!1&&p.deleted?a==null||a.add(this,G.Added):l&&(a==null||a.add(this,G.Updated)),a==null||a.attemptAutoclose("meta-sync",this.id),this}async APILoad(i=me,...a){return await it.repository.APILoad(this.id,...a),this}async APICreate(i=me,...a){return await it.repository.APICreate(this.toShallowJSON(),...a),this}async APIUpdate(i=me,...a){return await it.repository.APIUpdate(this.toShallowJSON(),...a),this}async APIDelete(i=me,...a){return await it.repository.APIDelete(this.toShallowJSON(),...a),this}async APIClone(i=me,...a){return await it.repository.APIClone(this.id,...a),this}async APILoadVersion(i=me,a,...l){return await it.repository.APILoadVersion(this.id,a,...l)}remove({ignoreUpstream:i}={ignoreUpstream:!1},a=this.project.addChangeSet(new F(this.project,it.sessionAuthor,L().toISOString(),this,!0,"remove-entity"))){return{added:[],updated:[],removed:[],affected:[],self:this}}restore({}={},i=this.project.addChangeSet(new F(this.project,it.sessionAuthor,L().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,it.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=xe){var l;let a=this.id;return(l=i.seenEntityMaps)!=null&&l.has(this.id)&&(a=i.seenEntityMaps.get(this.id)),{id:a+"--"+it.UUID.uuid()+"--ref",type:f.GenericReference,entityId:a,version:this.version,entityType:this.type}}toShallowJSON(i=xe){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=$fe(),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=mt(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=mt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[]),...this.functionCalls.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[]),...this.operations.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[]),...this.loops.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[]),...this.searches.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Condition)]},[])]}getOperations(){return[...this.operations,...this.getEntryPoints().reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[]),...this.functionCalls.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[]),...this.conditions.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[]),...this.loops.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[]),...this.searches.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Operation)]},[])]}getFunctionCalls(){return[...this.functionCalls,...this.getEntryPoints().reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[]),...this.conditions.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[]),...this.operations.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[]),...this.loops.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[]),...this.searches.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.FunctionCall)]},[])]}getVariables(){return[...this.variableDeclarations,...this.getEntryPoints().reduce((a,l)=>{const p=sr(l);return[...a,...p]},[]),...this.functionCalls.reduce((a,l)=>{const p=sr(l);return[...a,...p]},[]),...this.conditions.reduce((a,l)=>{const p=sr(l);return[...a,...p]},[]),...this.operations.reduce((a,l)=>{const p=sr(l);return[...a,...p]},[]),...this.loops.reduce((a,l)=>{const p=sr(l);return[...a,...p]},[]),...this.searches.reduce((a,l)=>{const p=sr(l);return[...a,...p]},[])]}getVariableInstances(){return[...this.variableInstances,...this.entities.reduce((a,l)=>[...a,...l.methods.flatMap(p=>{const y=mt(p).filter(v=>v.type===f.VariableInstance);return[...a,...y]})],[]),...this.getEntryPoints().reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.functionCalls.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.conditions.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.operations.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.loops.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[]),...this.searches.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableInstance);return[...a,...t]},[])]}getVariableDeclarations(){return w([...this.variableDeclarations,...this.entities.reduce((a,l)=>[...a,...l.methods.flatMap(p=>{const y=mt(p).filter(v=>v.type===f.VariableDeclaration);return[...a,...y]})],[]),...this.getEntryPoints().reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.functionCalls.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.conditions.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.operations.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.loops.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[]),...this.searches.reduce((a,l)=>{const t=sr(l).filter(y=>y.type===f.VariableDeclaration);return[...a,...t]},[])])}getLoops(){return[...this.loops,...this.getEntryPoints().reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[]),...this.functionCalls.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[]),...this.conditions.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[]),...this.operations.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[]),...this.searches.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Loop)]},[])]}getSearches(){return[...this.searches,...this.getEntryPoints().reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[]),...this.functionCalls.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[]),...this.conditions.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[]),...this.operations.reduce((a,l)=>{const p=mt(l);return[...a,...p.filter(t=>t.type===f.Search)]},[]),...this.loops.reduce((a,l)=>{const p=mt(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===Ve.PERSISTED_ENTITY)||null}requestActiveDynamicValue(i){var l,p;const a=(p=(l=this.parentContext).onRequestActiveDynamicValue)==null?void 0:p.call(l,i);if(!a){const t=i.getDefaultValue();return t?{value:t,type:Te.DefaultValue,inheritanceLink:null,valueOwner:i}:null}return a||null}requestModule(i){if(this.parentContext.onRequestModule){const a=this.parentContext.onRequestModule(i);return!a&&i==="uuid"?$u:a||null}return i==="uuid"?$u:null}undo(){Fe.log("Undoing, from: ",this.undoableStackValueIndex),this.undoableStackValueIndex=this.undoableStackValueIndex-1,Fe.log("To: ",this.undoableStackValueIndex);const i=this.history[this.undoableStackValueIndex+1],a=this.history[this.undoableStackValueIndex];return Fe.log("Current change set: ",i==null?void 0:i.toJSON()),Fe.log("Change set to restore: ",a==null?void 0:a.toJSON()),yb(i||"initial",a||"initial",this)}redo(){Fe.log("Undoing, from: ",this.undoableStackValueIndex),this.undoableStackValueIndex=this.undoableStackValueIndex+1,Fe.log("To: ",this.undoableStackValueIndex);const i=this.history[this.undoableStackValueIndex-1],a=this.history[this.undoableStackValueIndex];return Fe.log("Current change set: ",i==null?void 0:i.toJSON()),Fe.log("Change set to restore: ",a.toJSON()),yb(i||"initial",a||"initial",this)}applyExternalChangeSet(i){const a=i.payload,l=this.addChangeSet(new F(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(T=>{var R;if(!t[T]){Fe.warn(`Entity '${T}' not found in change set transfer. Cannot apply changes.`);const A=(R=this.get(T))==null?void 0:R.toShallowJSON();throw A?Fe.warn("Entity in project: ",A):Fe.warn("Entity not in project"),new Error(`Entity '${T}' not found in change set transfer. Cannot apply changes.`)}});const v=new Un(p);return v.flatRecord=t,v.order=y,v.orderEntities(),Fe.log("All entities: ",v.order.map((T,R)=>`${R+1}: ${t[T].type} - ${T}`).join(`,
|
|
404
|
-
`)),Fe.log("Persisting new additions"),v.visit(async(T,R)=>{if(a.added[T.id]){Fe.log("Adding: ",T.id);try{const A=ee(T,this);if(A.hydrateAncestors(),A.addSelfToProject(l),l.add(A,G.Added),!this.get(T.id))throw new Error(`Entity ${T.id} was not added to the project`)}catch(A){Fe.error("Error: ",A),Fe.error("Errored entity: ",T)}}}),Fe.log("Persisting updates"),v.visit(async(T,R)=>{if(a.updated[T.id]){Fe.log("Updating: ",T.id);try{const A=this.get(T.id);A?(A.updateWithShallowTransfer(T,l),l.add(A,G.Updated)):Fe.warn(`Active version of ${T.id} not found when applying external changes`)}catch(A){Fe.error("Error: ",A),Fe.error("Errored entity: ",T)}}}),Fe.log("Persisting removals"),v.visit(async(T,R)=>{if(a.removed[T.id]){Fe.log("Removing: ",T.id);try{const A=this.get(T.id);A&&A.remove({ignoreUpstream:!1},l)}catch(A){Fe.error("Error: ",A),Fe.error("Errored entity: ",T)}}}),l}toFullProjectTransfer(){const i=new Un(this),a={};return i.visit(l=>{const p=l.toShallowJSON();a[l.id]=p}),{order:i.order,size:i.order.length,record:a}}};O(it,"parentContext",ZA),O(it,"sessionAuthor","1"),O(it,"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}),O(it,"type",f.Project),O(it,"USER_MANAGED_PARENT_TYPES",[]),O(it,"PARENT_TYPES",[...it.USER_MANAGED_PARENT_TYPES]),O(it,"MUTABLE_BASE_PROPERTIES",["name","description"]),O(it,"INMUTABLE_BASE_PROPERTIES",["id","type","version","createdAt","author","previousVersion"]),O(it,"BASE_PROPERTIES",[...it.MUTABLE_BASE_PROPERTIES,...it.INMUTABLE_BASE_PROPERTIES]),O(it,"MUTABLE_META_PROPERTIES",[...it.MUTABLE_BASE_PROPERTIES,"x","y"]),O(it,"INMUTABLE_META_PROPERTIES",[...it.INMUTABLE_BASE_PROPERTIES]),O(it,"META_PROPERTIES",[...it.MUTABLE_META_PROPERTIES,...it.INMUTABLE_META_PROPERTIES]),O(it,"MUTABLE_UPSTREAM_PROPERTIES",[]),O(it,"INMUTABLE_UPSTREAM_PROPERTIES",["primitives","builtInBaseEntities","operationDeclarations","globalEventActionDescriptors","loopDeclarations","builtInInstances"]),O(it,"UPSTREAM_PROPERTIES",[...it.MUTABLE_UPSTREAM_PROPERTIES,...it.INMUTABLE_UPSTREAM_PROPERTIES]),O(it,"MUTABLE_DOWNSTREAM_PROPERTIES",["entities","projects","functions","events","variableDeclarations","variableInstances","conditions","operations","functionCalls","loops","searches"]),O(it,"INMUTABLE_DOWNSTREAM_PROPERTIES",[]),O(it,"DOWNSTREAM_PROPERTIES",[...it.MUTABLE_DOWNSTREAM_PROPERTIES,...it.INMUTABLE_DOWNSTREAM_PROPERTIES]),O(it,"PROPERTIES",[...it.META_PROPERTIES,...it.UPSTREAM_PROPERTIES,...it.DOWNSTREAM_PROPERTIES]);let V=it;class GG extends ht{constructor(i){super(zs,i);O(this,"id",ur.Parallel);O(this,"name",ur.Parallel);O(this,"description","Programmatically execute a list of actions one after the other");O(this,"version","1");O(this,"autoexecutable",!0);O(this,"initialData",zs);O(this,"type",f.ActionDescriptor);O(this,"inputs",[]);O(this,"outputs",[]);O(this,"error",null);O(this,"project");this.project=i,this.inputs=zs.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=zs.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=zs.error?ee(zs.error,this.project):null}}class KG extends ht{constructor(i){super(Bi,i);O(this,"id",Bi.id);O(this,"name",Bi.name);O(this,"description",Bi.description);O(this,"version",Bi.version);O(this,"autoexecutable",!1);O(this,"initialData",Bi);O(this,"type",f.ActionDescriptor);O(this,"inputs",[]);O(this,"outputs",[]);O(this,"error",null);O(this,"project");this.project=i,this.inputs=Bi.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=Bi.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=Bi.error?ee(Bi.error,this.project):null}}class kG extends ht{constructor(i){super(oa,i);O(this,"id",ur.Sequential);O(this,"name",ur.Sequential);O(this,"description","Programmatically execute a list of actions one after the other");O(this,"version","1");O(this,"autoexecutable",!0);O(this,"initialData",oa);O(this,"type",f.ActionDescriptor);O(this,"inputs",[]);O(this,"outputs",[]);O(this,"error",null);O(this,"project");this.project=i,this.inputs=oa.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=oa.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=oa.error?ee(oa.error,this.project):null}}class ove extends ht{constructor(u){super(Nu,u)}}class lve extends ht{constructor(u){super(Oo,u)}}class dve extends ht{constructor(i){super(Co,i);O(this,"autoexecutable",!0)}getEntityToMatchInputMap(i){return i.inputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===ve.operation[cr.Validate].inputs.entityToMatch.id})||null}getDataToValidateInputMap(i){return i.inputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===ve.operation[cr.Validate].inputs.dataToValidate.id})||null}getOutputDataOutputMap(i){return i.outputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===ve.operation[cr.Validate].outputs.outputEntity.id})||null}getEntityToMatch(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"get-entity-to-match-validate-data"))){var t;const l=((t=this.project.requestActiveDynamicValue(i))==null?void 0:t.value)||null,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 F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-operation-instance-validate-data"))){const l=[],p=[],t=[],y=[],v=this.getEntityToMatchInputMap(i);if(v){const{added:A,updated:P,removed:N,affected:U}=this.syncEntityToMatchInputMapDataType(v,a);l.push(...P),p.push(...A),t.push(...N),y.push(...U)}const T=this.getDataToValidateInputMap(i);if(T){const{added:A,updated:P,removed:N,affected:U}=this.syncDataToValidateInputMapDataType(T,a);l.push(...P),p.push(...A),t.push(...N),y.push(...U)}const R=this.getOutputDataOutputMap(i);if(R){const{added:A,updated:P,removed:N,affected:U}=this.syncOutputDataOutputMapDataType(R,a);l.push(...P),p.push(...A),t.push(...N),y.push(...U)}return a==null||a.attemptAutoclose("sync-operation-instance-validate-data",this.id),{updated:w(l),added:w(p),removed:w(t),affected:w(y),self:i}}syncEntityToMatchInputMapDataType(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-entity-to-match-input-map-data-type"))){var R,A,P,N,U,K,k,J,se,te,ce,re,fe,z,Y,ue;const l=[],p=[],t=[],y=[];if(((R=i.declaration)==null?void 0:R.id)!==ve.operation[cr.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=((A=this.project.requestActiveDynamicValue(i))==null?void 0:A.value)||null,T=v==null?void 0:v.valueAsTypeSingle;if(!i.dataType){const H={id:V.UUID.uuid(),version:V.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||V.sessionAuthor,previousVersion:null,deleted:!1,type:f.DataType,parentRelationType:null,options:((P=i.declaration.dataType)==null?void 0:P.options)||null,implementationChooseOne:((N=i.declaration.dataType)==null?void 0:N.implementationChooseOne)||!1,staticEntities:((U=i.declaration.dataType)==null?void 0:U.staticEntities)??null,interactiveEntities:((K=i.declaration.dataType)==null?void 0:K.interactiveEntities)??null,actionEntities:((k=i.declaration.dataType)==null?void 0:k.actionEntities)??null,isList:((J=i.declaration.dataType)==null?void 0:J.isList)||!1,andChildrenGroup:null,orChildrenGroup:null,asType:!0,entity:(T==null?void 0:T.toJSON())||null,like:!0,inferred:!0,parent:i.toReference()},ae=ee(H,i.project);ae.hydrateAncestors(),ae.setParent(i,a),ae.initChildren(a),ae.setEntity(T,a),a==null||a.add(ae,G.Added),l.push(ae),i.setDataType(ae,a)}return(Y=i.dataType)==null||Y.metaSync({inferred:!0,like:!1,asType:!0,options:((se=i.declaration.dataType)==null?void 0:se.options)||null,implementationChooseOne:((te=i.declaration.dataType)==null?void 0:te.implementationChooseOne)||!1,staticEntities:((ce=i.declaration.dataType)==null?void 0:ce.staticEntities)??null,interactiveEntities:((re=i.declaration.dataType)==null?void 0:re.interactiveEntities)??null,actionEntities:((fe=i.declaration.dataType)==null?void 0:fe.actionEntities)??null,isList:((z=i.declaration.dataType)==null?void 0:z.isList)||!1},a),(ue=i.dataType)==null||ue.setEntity(T,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-entity-to-match-input-map-data-type",this.id),{updated:w(p),added:w(l),removed:w(t),affected:w(y),self:i.dataType}}syncDataToValidateInputMapDataType(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-data-to-validate-input-map-data-type"))){var A,P,N;const l=[],p=[],t=[],y=[];if(((A=i.declaration)==null?void 0:A.id)!==ve.operation[cr.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 U={id:V.UUID.uuid(),version:V.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||V.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(U,i.project);K.setParent(i,a),K.initChildren(a),a==null||a.add(K,G.Added),l.push(K),i.setDataType(K,a)}(P=i.dataType)==null||P.metaSync({inferred:!0,like:!0,asType:!1},a);const R=this.getEntityToMatch(v,a);return(N=i.dataType)==null||N.setEntity(R,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:w(p),added:w(l),removed:w(t),affected:w(y),self:i.dataType}}syncOutputDataOutputMapDataType(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-output-data-output-map-data-type"))){var P,N,U,K;const l=[],p=[],t=[],y=[];if(((P=i.declaration)==null?void 0:P.id)!==ve.operation[cr.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 R=((N=this.project.requestActiveDynamicValue(v))==null?void 0:N.value)||null,A=(R==null?void 0:R.valueAsTypeSingle)||null;if(!i.dataType){const k={id:V.UUID.uuid(),version:V.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||V.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()},J=ee(k,i.project);J.hydrateAncestors(),J.setParent(i,a),J.initChildren(a),J.setEntity(A,a),a==null||a.add(J,G.Added),l.push(J),i.setDataType(J,a)}return(U=i.dataType)==null||U.metaSync({inferred:!0,like:!0,asType:!1},a),(K=i.dataType)==null||K.setEntity(A,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:w(p),added:w(l),removed:w(t),affected:w(y),self:i.dataType}}inferInputMapDataType(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"infer-input-map-data-type-validate-data"))){var p,t,y;if(((p=i.declaration)==null?void 0:p.id)===ve.operation[cr.Validate].inputs.entityToMatch.id){const{added:v,updated:T,removed:R,affected:A}=this.syncEntityToMatchInputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-input-map-data-type",this.id),{updated:w(T),added:w(v),removed:w(R),affected:w(A),self:i.dataType}}if(((t=i.declaration)==null?void 0:t.id)===ve.operation[cr.Validate].inputs.dataToValidate.id){const{added:v,updated:T,removed:R,affected:A}=this.syncDataToValidateInputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-input-map-data-type",this.id),{updated:w(T),added:w(v),removed:w(R),affected:w(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=tn(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 F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"infer-output-map-data-type-validate-data"))){var l;if(((l=i.declaration)==null?void 0:l.id)===ve.operation[cr.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:w(t),added:w(p),removed:w(y),affected:w(v),self:i.dataType}}return{updated:[],added:[],removed:[],affected:[],self:null}}}class uve extends ht{constructor(u){super(tv,u)}}class cve extends ht{constructor(u){super(iv,u)}}class pve extends ht{constructor(u){super(sv,u)}}class fve extends ht{constructor(u){super(Bf,u)}}class hve extends ht{constructor(u){super(Vf,u)}}class yve extends ht{constructor(u){super(Vu,u)}}function mve(d){const u=[new kG(d),new GG(d),new KG(d),new ove(d),new lve(d),new dve(d),new fve(d),new uve(d),new pve(d),new cve(d),new hve(d),new yve(d),new ht(ev,d),new ht(Q0,d),new ht(fv,d),new ht(hv,d),new ht(yv,d),new ht(mv,d),new ht(vv,d),new ht(Ev,d),new ht(Tv,d),new ht(bv,d),new ht(Av,d),new ht(Iv,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.operationDeclarations=u,u}class SG extends xn{constructor(i){super(hi,i);O(this,"initialData");O(this,"id",Ve.PERSISTED_ENTITY);O(this,"version","1");O(this,"name",Ve.PERSISTED_ENTITY);O(this,"description",hi.description);O(this,"type",f.BuiltInBaseEntity);O(this,"abstract",hi.abstract);O(this,"static",hi.static);O(this,"properties",[]);O(this,"methods",[]);O(this,"abstractMethods",[]);O(this,"extends",[]);O(this,"errors",[]);O(this,"project");this.initialData=hi,this.project=i,this.id=hi.id,this.version=hi.version,this.name=hi.name,this.static=hi.static,this.abstract=hi.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 qG=(d=>(d.StatusCodeMustBeNumber="status-code-must-be-number",d.StatusCodeMustBeBetween100And599="status-code-must-be-between-100-and-599",d))(qG||{});function ZG(d,u){const i=[];if(typeof u!="number"){const a=new Xt({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:q.Error,code:"status-code-must-be-number",entity:d});return i.push(a),{errors:i,override:u}}if(u<100){const a=new Xt({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:q.Error,code:"status-code-must-be-between-100-and-599",entity:d});i.push(a)}if(u>599){const a=new Xt({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:q.Error,code:"status-code-must-be-between-100-and-599",entity:d});i.push(a)}return{errors:i,override:u}}class JG extends xn{constructor(i){super(Xi,i);O(this,"initialData");O(this,"id",Ve.PERSISTED_ENTITY);O(this,"version","1");O(this,"name",Ve.PERSISTED_ENTITY);O(this,"description",Xi.description);O(this,"type",f.BuiltInBaseEntity);O(this,"abstract",Xi.abstract);O(this,"static",Xi.static);O(this,"properties",[]);O(this,"methods",[]);O(this,"abstractMethods",[]);O(this,"extends",[]);O(this,"errors",[]);O(this,"project");this.initialData=Xi,this.project=i,this.id=Xi.id,this.version=Xi.version,this.name=Xi.name,this.static=Xi.static,this.abstract=Xi.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===ve["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)=>vF(t,y);const l=this.abstractMethods.find(t=>t.id===ve["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===ve["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)=>ZG(t,y)}}const vve="test_primitive_entities_export";class Eve extends xn{constructor(i){super(li,i);O(this,"initialData");O(this,"id",Ve.PERSISTED_ENTITY);O(this,"version","1");O(this,"name",Ve.PERSISTED_ENTITY);O(this,"description",li.description);O(this,"type",f.BuiltInBaseEntity);O(this,"abstract",li.abstract);O(this,"static",li.static);O(this,"properties",[]);O(this,"methods",[]);O(this,"abstractMethods",[]);O(this,"extends",[]);O(this,"errors",[]);O(this,"project");this.initialData=li,this.project=i,this.id=li.id,this.version=li.version,this.name=li.name,this.static=li.static,this.abstract=li.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===ve["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)=>EF(l,p)}}function Tve(d){const u=[new SG(d),new JG(d),new Eve(d),new xn(rh,d)];return u.forEach(i=>{d.subscribeBuiltInInstance(i)}),d.builtInBaseEntities=u,u}function bve(d){const u=[new ki(qe,d),new ki(ia,d),new ki(lt,d),new ki(J0,d),new ki(oi,d),new ki(sa,d),new ki(bn,d),new ki(na,d),new ki(Ul,d)];return u.forEach(i=>{d.subscribeBuiltInInstance(i)}),d.primitives=u,u}function Ave(d){const u=[new ht(sh,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.globalEventActionDescriptors=u,u}function Ive(d){const u=[new ht(Uu,d),new ht(Va,d),new ht(Bu,d),new ht(Fl,d),new ht(Gl,d),new ht(Jf,d)];u.forEach(a=>{a.initChildren(null),d.subscribeBuiltInInstance(a)}),d.loopDeclarations=u;const i=[new ht(zf,d),new ht(Mu,d),new ht(Hf,d),new ht(Dv,d),new ht(Cv,d),new ht(Wf,d)];return i.forEach(a=>{a.initChildren(null),d.subscribeBuiltInInstance(a)}),d.loopDeclarationsBodies=i,u}function wve(d){const u=[new sn(nh,d),new sn(Yv,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.valueDescriptors=u,u}function Rve(d){const u=[new ht(jo,d),new ht(Jv,d),new ht(Zl,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.conditionDeclarations=u,u}const dl={},Xy={},jp={empty:!1,enrich:!0,mock:!1,ignoreCache:!1,onFetch:async()=>null,manuallyInit:!1};function WG(d,u={enrich:!0,shallowErrors:!1},i){const a={enrich:!0,shallowErrors:!1,...u},{enrich:l,shallowErrors:p}=a,t=d.project,y=d.record,v=new Un(t),T=new Set;y[t.id]=t,T.add(t.id);const R=L().toISOString();Object.values(y).forEach(N=>{!N||v.allBuiltInEntityIds.includes(N.id)||T.add(N.id)}),v.order=Array.from(T),v.flatRecord=y,v.orderEntities();const A=Qy(d.project,i);A.instances[t.id]=A;const P=l?A.addChangeSet(new F(A,V.sessionAuthor,R,A,!0,"project-init-from-fetch-result")):null;return v.visit(N=>{if(N.id===A.id)return;const U=ee(N,A);try{U.hydrateAncestors(),U.addSelfToProject(null);const K=Nd(N);Object.keys(K.downstream).forEach(k=>{const J=A.get(k);J&&J.hydrateAncestors()})}catch(K){if(p)Fe.error("Error hydrating ancestors: ",K);else throw K}}),l?(v.visit(N=>{if(N.id===A.id)return;const U=A.get(N.id);U&&U.afterAllChildrenInitialized(P)}),A.afterAllChildrenInitialized(P)):em(A,R).forEach(U=>{U.remove({ignoreUpstream:!0},null)}),A.instancesList.forEach(N=>{N.previousVersion=null}),P==null||P.attemptAutoclose("project-init-from-fetch-result",A.id),A}async function gve(d,u=jp){const i={...jp,...u};if(i.empty)return{data:{project:{id:d.id,type:f.Project,version:V.UUID.uuid(),createdAt:L().toISOString(),author:V.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={...oT};return l.id=d.id,{data:{project:l,record:{}}}}return Fe.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){Fe.error("Error fetching project: ",p),l({data:null})}})}function Qy(d,u){const i=new V(d,u);return bve(i),Tve(i),mve(i),Ave(i),Ive(i),wve(i),Rve(i),Array.from(new Set([...i.getAllBuiltInIds(),...xs()])).forEach(l=>{if(!i.builtInInstances[l]&&i.instances[l])i.builtInInstances[l]=i.instances[l],delete i.instances[l];else if(!i.builtInInstances[l])throw new Error(`Built in entity was not properly initialized: ${l}`)}),i.instances[i.id]=i,i}function em(d,u){return d.instancesList.filter(a=>L(a.createdAt).isAfter(L(u)||!!a.previousVersion))}function _ve(d,{enrich:u}={enrich:!0},i){const a=new Map,l=new Map,p=Array.from(new Set([...d.getAllBuiltInIds(),...xs()]));Object.keys(d.instances).forEach(A=>{if(p.includes(A)){a.set(A,A),l.set(A,A);return}const P=d.get(A);if(!Wy(P,{...d.instances,...d.builtInInstances}).every(k=>!p.includes(k))){a.set(A,A),l.set(A,A);return}const K=V.UUID.uuid();a.set(A,K),l.set(K,A)});const t=L().toISOString(),y=d.toShallowJSON({seenEntityMaps:a});y.previousVersion=null,y.createdAt=t,y.version=V.UUID.uuid();const v=Qy(y,i);v.instances[v.id]=v;const T=u?v.addChangeSet(new F(v,V.sessionAuthor,t,v,!0,"project-clone")):null,R=new Un(d);return R.visit(A=>{const P=A.toShallowJSON({seenEntityMaps:a});P.previousVersion=null,P.createdAt=t,P.version=V.UUID.uuid();const N=Nd(P,NF(R.flatRecord,a));if(Object.keys(N.upstream).length){let K=!1;if(Object.keys(N.upstream).forEach(k=>{if(!K&&(!v.get(k)||v.getDeleted(k))){K=!0;return}}),K)return}const U=ee(P,v);U.hydrateAncestors(),U.addSelfToProject(T),T==null||T.add(U,G.Added)}),u?(R.visit(A=>{if(A.id===v.id)return;const P=v.get(a.get(A.id));P&&P.afterAllChildrenInitialized(T)}),v.afterAllChildrenInitialized(T)):em(v,t).forEach(P=>{P.remove({ignoreUpstream:!0},null)}),v.instancesList.forEach(A=>{A.previousVersion=null}),T==null||T.attemptAutoclose("project-clone",v.id),v}function HG(d,{enrich:u}={enrich:!0},i){const a=Qy(d,i),l=L().toISOString(),p=u?a.addChangeSet(new F(a,V.sessionAuthor,l,a,!0,"project-init")):null;p&&(p.type=hb.Automatic);const t=new Un(d);return t.visit(y=>{const v=ee(y,a);v.hydrateAncestors(),v.addSelfToProject(p)}),u?(t.visit(y=>{if(y.id===a.id)return;const v=a.get(y.id);v&&v.afterAllChildrenInitialized(p)}),a.afterAllChildrenInitialized(p)):(em(a,l).forEach(T=>{T.remove({ignoreUpstream:!0},null)}),new Un(a).visit(T=>{T.initialized=!0,T.captureVersion()})),a.initialized=!0,p==null||p.attemptAutoclose("project-init",a.id),a}async function Dve(d,u=jp){const i={...jp,...u};if(d.id&&dl[d.id]&&!i.ignoreCache)return dl[d.id];if(d.id&&Xy[d.id]&&!i.ignoreCache)return await Xy[d.id],dl[d.id];const a=gve(d,i);d.id&&(Xy[d.id]=a);const l=await a;if(l.data){let p;return i.mock?p=HG(oT,{enrich:!!i.enrich}):l.data instanceof V?p=l.data:p=WG(l.data,{enrich:!!i.enrich}),dl[d.id]=p,d.id&&delete Xy[d.id],p}return null}function Ove(d){return dl[d.id]&&delete dl[d.id],null}D.AI_VALUE_CONNECTION_GENERATION_ACTION_EXPLANATION=TA,D.ALL_BUILT_IN_BASE_ENTITIES=LN,D.ALL_BUILT_IN_CONDITION_ENTITIES=YN,D.ALL_BUILT_IN_GLOBAL_EVENT_ENTITIES=XN,D.ALL_BUILT_IN_LOOP_BODY_ENTITIES=oV,D.ALL_BUILT_IN_LOOP_ENTITIES=aV,D.ALL_BUILT_IN_OPERATION_ENTITIES=E$,D.ALL_BUILT_IN_PRIMITIVE_ENTITIES=A1,D.ALL_BUILT_IN_TOP_LEVEL_ENTITIES=s2,D.ALL_BUILT_IN_VALUE_DESCRIPTORS=i2,D.ALL_CONNECTION_DISABLED_REASONS=Ime,D.ALL_OTHER_DISABLED_REASONS=Rme,D.ALL_TESTING_DISABLED_REASONS=wme,D.ActionDescriptorState=ht,D.ActionInputMapState=Yye,D.ActionOutputMapState=Qye,D.AppendToListOperationInputIds=C_,D.AppendToListOperationOutputIds=$_,D.Area=ci,D.ArgumentDeclarationDependencyField=hx,D.ArgumentDeclarationState=Ea,D.BREAK_AND_CONTINUE_STATEMENTS_RETURN_DECLARATIONS_EXPLANATION=yA,D.BUILT_IN_BASE_ENTITY_IDS=ve,D.BUILT_IN_ENTITY_TYPES=zi,D.BaseCanvasDraggableState=eve,D.BaseEntityNames=Ve,D.BaseState=Q0e,D.BaseValueDescriptorIds=Ml,D.BreakStatementDependencyField=Ex,D.BreakStatementState=Xa,D.BuiltInBaseEntityState=xn,D.BuiltInFunctionIds=Li,D.CACHED_PROJECTS_BY_ID=dl,D.CALLABLE_ENTITIES_EXPLANATION=jme,D.CALLABLE_TYPES=$s,D.CALLER_ENTITIES_EXPLANATION=tF,D.CALLER_TYPES=Ps,D.CALLS_UPDATE_EXPLANATION=to,D.CANVAS_BASE_X=kx,D.CANVAS_BASE_Y=Sx,D.CANVAS_CARD_HEADER_CENTER_HEIGHT=Pd,D.CANVAS_CARD_WIDTH=Fx,D.CANVAS_COMPLEX_CARD_HEIGHT=mme,D.CANVAS_HORIZONTAL_BUFFER_BETWEEN_CARDS=iA,D.CANVAS_SIMPLE_CARD_HEIGHT=tA,D.CANVAS_SIZE=eA,D.CANVAS_VERTICAL_BUFFER_BETWEEN_CARDS=gy,D.CARD_FOOTER_HEIGHT=Ry,D.CARD_PROPERTIES_SECTION_PADDING=ba,D.CARD_PROPERTIES_SECTION_SINGLE_PADDING=rA,D.CHILDREN_TYPES=R8,D.COMPARISON_CONDITIONS=WN,D.CONDITIONS=HN,D.CUSTOM_ENTITY_OPERATIONS=zD,D.CallableEntityClass=rve,D.CallerEntityClass=qA,D.CanvasEntityConnectionDisabledReason=sA,D.CanvasEntityOtherDisabledReason=aA,D.CanvasEntityTestingDisabledReason=nA,D.ChangeSet=F,D.ChangeSetChangeCaptureType=hb,D.ChangeSetEntityChangeType=G,D.ChildEntityBaseClass=tve,D.CommonStringValidationErrorCodes=mF,D.ComparisonOperatorTypes=vr,D.ConditionDependencyField=BU,D.ConditionState=Za,D.ContinueStatementDependencyField=$U,D.ContinueStatementState=Ti,D.CreateNewInputIds=gD,D.CreateNewOutputIds=_D,D.DEFAULT_EXECUTION_INSTANCE_PARENT_CONTEXT=jx,D.DEFAULT_PROJECT_INSTANCE_PARENT_CONTEXT=FG,D.DEFAULT_PROJECT_STATIC_PARENT_CONTEXT=ZA,D.DEFAULT_UUID_MODULE=$u,D.DRAGGABLE_CALLABLE_TYPES=Z0,D.DRAGGABLE_CALLER_TYPES=p1,D.DRAGGABLE_ELEMENT_TYPES=Pf,D.DRAGGABLE_EXECUTABLE_TYPES=I8,D.DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES=$f,D.DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS=q0,D.DataTypeCompatibilityTypes=Ms,D.DataTypeDependencyField=Eb,D.DataTypeParentChildRelation=ai,D.DataTypeState=is,D.DefinitionEntityDependencyField=zy,D.DefinitionEntityState=wa,D.DynamicValueTypes=Te,D.EDITABLE_PERSISTANCE_REPOSITORY_DEFAULTS=z0e,D.ENTITIES_WITH_VALLUES_EXPLANATION=Cy,D.ENTITY_PERSISTANCE_OPTIONS_DEFAULTS=me,D.ENTITY_RECUSION_OPTIONS_DEFAULTS=xe,D.ENTITY_TYPES=w8,D.ENTITY_WITH_CODE_NAMES_TYPES=h1,D.ENTITY_WITH_DECLARATION_TYPES=b8,D.ENTITY_WITH_LOGIC_SCOPE_TYPES=Dr,D.ENTITY_WITH_NAMES_TYPES=f1,D.ENTITY_WITH_PARENT_TYPES=E8,D.ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES=u1,D.ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES=T8,D.ENTITY_WITH_VALUE_TYPES=S0,D.ENTRY_POINT_ENTITIES_EXPLANATION=gp,D.ENTRY_POINT_TYPES=tr,D.ERROR_PROPERTY_HEIGHT=wy,D.EVENT_TYPES=_o,D.EXECUTABLE_TYPES=A8,D.EXECUTION_OPERATIONS=RD,D.EfimeralValueStore=mp,D.EndpointEntity=JG,D.EntityError=Xt,D.EntityErrorSeverity=q,D.EntityGenerationError=Q,D.EntityGenerationErrorCode=S,D.EntityInstanceErrorCode=oe,D.EntityOperations=cr,D.EntityType=f,D.EntityWithLogicScopeClass=ave,D.EntityWithValueClass=nve,D.EntryPointEntityClass=ive,D.Execution=Bn,D.ExecutionOperations=ur,D.ExecutionState=Yb,D.ExecutionTerminationType=Je,D.ExplicitInfrastructureResource=uA,D.FunctionCallDependencyField=pF,D.FunctionCallState=so,D.FunctionDeclarationDependencyField=IU,D.FunctionDeclarationState=Ka,D.GET_PROJECT_OPTIONS_DEFAULTS=jp,D.GLOBAL_EVENT_DECLARATIONS=zN,D.GetLastInListOperationInputIds=v_,D.GetLastInListOperationOutputIds=E_,D.GlobalEventNames=ra,D.GlobalEventState=qa,D.HTTPOperations=Ei,D.HTTPStatucCodeValidationErrorCodes=qG,D.HTTP_OPERATIONS=PO,D.ImplicitGlobalInfrastructureResource=cA,D.InfrastructureResource=dA,D.InfrastructureResourceStatus=zx,D.InputMapDependencyField=ux,D.InputMapState=Ln,D.InstalledProjectState=Ya,D.InternalCallDependencyField=lx,D.InternalCallState=za,D.JoinListOperationInputIds=Ug,D.JoinListOperationOutputIds=jg,D.LIST_OPERATIONS=k_,D.ListOperations=vt,D.LiteralValueDependencyField=mx,D.LiteralValueState=$i,D.Logger=Fe,D.LoopDependencyField=NU,D.LoopState=Oi,D.LoopTypes=Ze,D.MAIN_VALUE_PROPERTY_HEADER_HEIGHT=Iy,D.MAIN_VALUE_SUB_PROPERTY_HEIGHT=vme,D.NESTED_PROPERTY_HEIGHT=Gx,D.NON_INTERACTIVE_BASE_ENTITIES_EXPLANATION=ro,D.NUMBER_OPERATIONS=z1,D.NumberOperations=mr,D.OPERATION_DECLARATIONS=v$,D.OperationDependencyField=gU,D.OperationState=ka,D.OutputMapDependencyField=px,D.OutputMapParentChildRelation=Bl,D.OutputMapState=rn,D.PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION=$y,D.PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION=eo,D.PASS_THROUGH_CALLABLE_TYPES=nr,D.PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS=c1,D.PLACEHOLDER_VALUE_STORE_CLIENT=Ax,D.PROPERTY_HEIGHT=Ay,D.PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION=EA,D.PUBLISHING_DISABLED_REASONS=Xx,D.ParallelExecutionOperation=GG,D.PassThroughCallableEntityClass=sve,D.PersistedEntity=SG,D.PrimitiveEntityState=ki,D.PrimitiveTypes=X,D.ProjectState=V,D.ProjectStateEvents=gr,D.PropertyDependencyField=NG,D.PropertyState=jn,D.PublicationRun=Cme,D.PublicationStep=Yx,D.RANDOMNESS_OPERATIONS=m$,D.READABLE_ENTITY_TYPES=zb,D.READ_ONLY_ENTITY_PERSISTANCE_REPOSITORY=xG,D.RETURN_STATEMENT_RETURN_DECLARATIONS_EXPLANATION=xme,D.RandomnessOperations=Le,D.ReturnDeclarationDependencyField=DU,D.ReturnDeclarationState=Ki,D.ReturnStatementDependencyField=Tb,D.ReturnStatementState=Sa,D.SQLAST=Fye,D.STANDALONE_CONDITIONS=xN,D.STATIC_PROPERTY_HEIGHT=Kx,D.STRING_OPERATIONS=Mg,D.ScopeCompatibilityType=Zy,D.SearchDependencyField=zj,D.SearchState=Ha,D.SequentialExecutionOperation=kG,D.SequentialExecutionOperationInputIds=cD,D.SequentialExecutionOperationOutputIds=pD,D.SharedEntityErrorCode=ne,D.SharedStateFunctionality=jG,D.SplitListOperationInputIds=Qg,D.SplitListOperationOutputIds=e_,D.StandaloneOperatorTypes=kr,D.StringOperations=It,D.TERMINATION_TYPES=pr,D.Traverser=Un,D.USER_MANAGED_ENTITY_TYPES=y1,D.UserManagedEntityStateTemplate=X0e,D.VALUE_READING_ENTITIES_EXPLANATION=vA,D.VALUE_READING_TYPES=Tn,D.VALUE_WRITING_ENTITIES_EXPLANATION=rF,D.VALUE_WRITING_TYPES=Ur,D.VARIABLE_DATA_TYPE_INFERRANCE_EXPLANATION=mA,D.VARIABLE_TYPES=ot,D.ValueAutogenerationType=Mr,D.ValueDescriptorDependencyField=bx,D.ValueDescriptorParentChildRelation=le,D.ValueDescriptorState=sn,D.ValueReadingEntityClass=Mp,D.ValueWritingEntityClass=Up,D.VariableDeclarationDependencyField=xU,D.VariableDeclarationState=Wa,D.VariableInputMapState=Hye,D.VariableInstanceDependencyField=Ab,D.VariableInstanceState=Ja,D.VariableOutputMapState=Xye,D.WaitOperation=KG,D.WaitOperationInputIds=sD,D.WaitOperationOutputIds=nD,D.actionDescriptorValidation=Hfe,D.addDisabledReasons=_me,D.afterLiteralValueAsTypeChangeSideEffects=Bx,D.afterLiteralValueAsTypeDeleteSideEffects=Lx,D.afterLiteralValueChangeSideEffects=Vx,D.afterLiteralValueDeleteSideEffects=Px,D.aggregateVariableInputsNextValues=vp,D.aggregateVariableInputsValues=my,D.appendToListOperation=Bf,D.appendToListOperationElementToAppendArgument=av,D.appendToListOperationElementToAppendArgumentParentRef=j_,D.appendToListOperationElementToAppendArgumentRef=N_,D.appendToListOperationError=K_,D.appendToListOperationErrorParentRef=G_,D.appendToListOperationListArgument=nv,D.appendToListOperationListArgumentParentRef=U_,D.appendToListOperationListArgumentRef=P_,D.appendToListOperationListDataType=V_,D.appendToListOperationResultListDataType=M_,D.appendToListOperationResultListReturn=F_,D.appendToListOperationResultListReturnParentRef=x_,D.appendToListOperationResultListReturnRef=B_,D.appendToListOperationSecondListDataType=L_,D.applyNewScope=Se,D.argumentDeclarationValidation=eme,D.asGenerationActionExample=Mn,D.assembleAndAddLiteralValueFromDataType=nn,D.assembleStandaloneLiteralValueFromDataType=et,D.booleanPrototype=ia,D.breakStatementValidation=ime,D.calculateCardSize=Zx,D.calculateMethodCardSize=qx,D.calculateNewParentBasedOnCallers=Dp,D.capitalizeFirstLetter=di,D.changeSetJSONRecordToUniqueIds=jfe,D.checkAreDataTypesCompatible=Us,D.checkAreDefinitionEntitiesCompatibleAsDataType=rx,D.checkArePropertiesCompatibleAsDataType=tx,D.checkExtendsBaseEntity=Jy,D.checkHasBaseEntity=as,D.checkHasMetadataChanged=Cr,D.checkImplementationsOverlap=Ia,D.checkImplementsBaseEntity=b0e,D.checkIsBranchDependentButNotDirectlyOnBranch=ll,D.checkIsBranchDependentOnBranch=_A,D.checkIsBuiltIn=BA,D.checkIsCallableEntityReachable=Lp,D.checkIsCanvasEntity=E0e,D.checkIsDefEntityInlineDeclaredForSearchOutputType=jb,D.checkIsDetachedBranch=hG,D.checkIsDetachedBranchShallow=NA,D.checkIsEmptyValue=yy,D.checkIsGlobalVariable=m0e,D.checkIsGloballyDeclared=VA,D.checkIsLiteralValueEmpty=Sb,D.checkIsMethod=LA,D.checkIsNestedScope=qy,D.checkIsRequiredValue=Ta,D.checkScopeCompatibility=Fs,D.checkShouldInputOrOutputBePartOfFinalVariableObjectValue=Bp,D.checkShouldPropertyBePartOfFinalVariableObjectValue=MA,D.cloneProject=_ve,D.conditionValidation=Yfe,D.continueStatementValidation=qfe,D.convertToAbstract=zme,D.convertToNonAbstract=Xme,D.convertToNonStatic=e0e,D.convertToStatic=Qme,D.countedLoopActionDescriptor=Uu,D.countedLoopActionDescriptorDynamicReturnDeclaration=XP,D.countedLoopActionDescriptorDynamicReturnDeclarationParentRef=zP,D.countedLoopActionDescriptorStringArgumentDeclaration=YP,D.countedLoopActionDescriptorStringArgumentDeclarationDataType=WP,D.countedLoopActionDescriptorStringArgumentDeclarationDataTypeDefaultValue=ZP,D.countedLoopActionDescriptorStringArgumentDeclarationDataTypeDefaultValueParentRef=qP,D.countedLoopActionDescriptorStringArgumentDeclarationDataTypeParentRef=JP,D.countedLoopActionDescriptorStringArgumentDeclarationParentRef=HP,D.countedLoopBodyActionDescriptor=zf,D.countedLoopBodyActionDescriptorAnyDynamicArgument=iV,D.countedLoopBodyActionDescriptorAnyDynamicArgumentParentRef=rV,D.countedLoopBodyActionDescriptorAnyDynamicReturn=nV,D.countedLoopBodyActionDescriptorAnyDynamicReturnParentRef=sV,D.countedLoopBodyActionDescriptorIterationNumberArgumentDeclaration=Pv,D.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=eV,D.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=QP,D.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=tV,D.createDefinitionEntityFromJSONObject=By,D.createEntityError=st,D.createNestedDataTypeForEntity=yF,D.createNewInstanceOperation=Oo,D.createNewInstanceOperationEntityToInstanciateArgument=LD,D.createNewInstanceOperationEntityToInstanciateArgumentRef=PD,D.createNewInstanceOperationEntityToInstanciateDataType=VD,D.createNewInstanceOperationError=jD,D.createNewInstanceOperationErrorParentRef=UD,D.createNewInstanceOperationNewEntityDataArgument=$D,D.createNewInstanceOperationNewEntityDataArgumentDataType=CD,D.createNewInstanceOperationNewEntityDataArgumentDataTypeParentRef=OD,D.createNewInstanceOperationNewEntityDataArgumentParentRef=DD,D.createNewInstanceOperationOutputEntityDeclaration=MD,D.createNewInstanceOperationOutputEntityDeclarationParentRef=BD,D.createNewInstanceOperationRef=ND,D.createSemanticId=OG,D.createStateFromGenerationTargetType=Y0e,D.createStateFromType=zt,D.createStateFromTypeAndSubscribe=ee,D.cronJobBuiltInBaseEntity=rh,D.cronJobBuiltInBaseEntityExpressionProperty=VN,D.cronJobBuiltInBaseEntityExpressionPropertyDataTypeRef=P8,D.cronJobBuiltInBaseEntityExpressionPropertyRef=$N,D.cronJobBuiltInBaseEntityRef=PN,D.cronJobTriggeredFunctionDeclarationBlueprint=qv,D.cronJobTriggeredFunctionDeclarationBlueprintParentRef=ON,D.dataTypeCompatibilityToErrorExplanation=uF,D.dataTypeValidation=xfe,D.datePrototype=bn,D.dateValueAutogenerationSchema=HT,D.definitionEntityToZodSchema=f2,D.definitionEntityValidation=Z0e,D.deletePersistedEntityMethod=Sv,D.deletePersistedEntityMethodParentRef=pN,D.deleteRootProject=Ove,D.emitSideEffects=AU,D.emptyCondition=Jv,D.emptyConditionArgument=jN,D.emptyConditionRef=UN,D.endpointBuiltInBaseEntity=Xi,D.endpointBuiltInBaseEntityRef=cV,D.endpointBuiltInBaseEntityRefFour=JV,D.endpointBuiltInBaseEntityRefThree=bV,D.endpointBuiltInBaseEntityRefTwo=mV,D.endpointBuiltInCorsProperty=pV,D.endpointBuiltInCorsPropertyDataType=uV,D.endpointBuiltInCorsPropertyDataTypeRef=lV,D.endpointBuiltInCorsPropertyRef=dV,D.endpointBuiltInMethodProperty=Nv,D.endpointBuiltInMethodPropertyDataType=TV,D.endpointBuiltInMethodPropertyDataTypeRef=vV,D.endpointBuiltInMethodPropertyRef=EV,D.endpointBuiltInPathProperty=Vv,D.endpointBuiltInPathPropertyDataType=yV,D.endpointBuiltInPathPropertyDataTypeRef=fV,D.endpointBuiltInPathPropertyRef=hV,D.endpointPathParamsArgumentDeclaration=Bv,D.endpointPathParamsArgumentDeclarationRef=$V,D.endpointPathParamsVariableDataType=PV,D.endpointPathParamsVariableDataTypeRef=CV,D.endpointReachedTriggerActionDescriptor=Gv,D.endpointReachedTriggerActionDescriptorRef=VV,D.endpointReachedTriggerActionDescriptorRefFour=BV,D.endpointReachedTriggerActionDescriptorRefThree=LV,D.endpointReachedTriggerActionDescriptorRefTwo=NV,D.endpointRequestBodyArgumentDeclaration=Uv,D.endpointRequestBodyArgumentDeclarationRef=RV,D.endpointRequestBodyVariableDataType=gV,D.endpointRequestHeadersArgumentDeclaration=Lv,D.endpointRequestHeadersArgumentDeclarationRef=IV,D.endpointRequestHeadersVariableDataType=wV,D.endpointRequestHeadersVariableDataTypeRef=AV,D.endpointRequestQueryParamsArgumentDeclaration=Mv,D.endpointRequestQueryParamsArgumentDeclarationRef=DV,D.endpointRequestQueryParamsVariableDataType=OV,D.endpointRequestQueryParamsVariableDataTypeRef=_V,D.endpointResponseBodyDataType=qV,D.endpointResponseBodyReturnDeclaration=Fv,D.endpointResponseBodyReturnDeclarationRef=SV,D.endpointResponseCodeDataType=UV,D.endpointResponseCodeReturnDeclaration=jv,D.endpointResponseCodeReturnDeclarationDefaultValueParentRef=xV,D.endpointResponseCodeReturnDeclarationRef=MV,D.endpointResponseHeadersDataType=KV,D.endpointResponseHeadersDataTypeRef=FV,D.endpointResponseHeadersReturnDeclaration=xv,D.endpointResponseHeadersReturnDeclarationRef=GV,D.endpointReturnStatementRef=jV,D.endpointReturnStatementRefThree=ZV,D.endpointReturnStatementRefTwo=kV,D.enerateRandomIntegerOperationError=qO,D.enerateRandomIntegerOperationErrorParentRef=SO,D.enrichFromKnownEntities=Op,D.enumOptionsProperty=b1,D.enumOptionsPropertyDataType=E1,D.enumOptionsPropertyDataTypeRef=m1,D.enumOptionsPropertyRef=v1,D.enumPrototype=sa,D.enumPrototypeRef=T1,D.errorCodeToMessage=wp,D.executionBuiltInBaseEntity=ih,D.executionBuiltInEntityAbortMethod=Zv,D.executionBuiltInEntityAbortMethodParentRef=NN,D.filterOutDuplicateEntities=w,D.filterOutDuplicateErrors=B4,D.findEntityFromKeys=wA,D.findReferenceToSelfInList=VF,D.findReferencesToSelfInProject=d0e,D.flattenActionDescriptor=LF,D.flattenArgumentDeclaration=BF,D.flattenBreakStatement=MF,D.flattenBuiltInBaseEntity=UF,D.flattenCalls=js,D.flattenCanvasAncestorsUntil=Vd,D.flattenCondition=jF,D.flattenContinueStatement=xF,D.flattenDataType=GF,D.flattenDefinitionEntity=FF,D.flattenDefinitionEntityExtensionAndImplementationTypes=Md,D.flattenDefinitionEntityExtensionTypes=$p,D.flattenDefinitionEntityExtensions=CA,D.flattenDefinitionEntityImplementations=$A,D.flattenDefinitionEntityImplementionTypes=Cp,D.flattenDerivedCanvasEntities=ns,D.flattenDetachedBranch=mG,D.flattenElementCalls=mt,D.flattenElementCallsOnTheSameScope=l0e,D.flattenEntity=ye,D.flattenFunctionCall=KF,D.flattenFunctionDeclaration=kF,D.flattenGlobalEvent=SF,D.flattenInputMap=qF,D.flattenInstalledProject=ZF,D.flattenInternalCall=JF,D.flattenLiteralValue=WF,D.flattenLoop=HF,D.flattenOperation=YF,D.flattenOutputMap=zF,D.flattenPrimitiveEntity=XF,D.flattenProject=QF,D.flattenProjectElements=PF,D.flattenProperty=eG,D.flattenRelatedCallableElementsOnTheRight=pG,D.flattenRelatedCanvasElementsOnTheLeft=fG,D.flattenRelatedCanvasElementsOnTheRight=ky,D.flattenReturnDeclaration=tG,D.flattenReturnStatement=rG,D.flattenSearch=iG,D.flattenValueDescriptor=sG,D.flattenVariableDeclaration=nG,D.flattenVariableInstance=aG,D.flattenVariableReads=$F,D.flattenVariableWrites=CF,D.flattenVariables=sr,D.fromChangeSetToRecordChangeSet=_0e,D.fromLiteralValueTypeToPrimitiveType=Mb,D.fromPublishingDisabledCodeToReadable=Vme,D.fromZodParseToEntityGenerationErrors=pA,D.functionCallValidation=Wme,D.functionDeclarationValidation=Ufe,D.generate=ch,D.generateActionExample=Fme,D.generateExecutionDataType=Zye,D.generateHexadecimalTokenOperation=Iv,D.generateHexadecimalTokenOperationError=y$,D.generateHexadecimalTokenOperationErrorParentRef=h$,D.generateHexadecimalTokenOperationResultStringDataType=c$,D.generateHexadecimalTokenOperationResultStringDataTypeParentRef=u$,D.generateHexadecimalTokenOperationResultStringOutput=f$,D.generateHexadecimalTokenOperationResultStringOutputParentRef=p$,D.generateIdFromStrategy=Nr,D.generateIdentifierOperation=Tv,D.generateIdentifierOperationAlphabetInput=qC,D.generateIdentifierOperationAlphabetInputParentRef=KC,D.generateIdentifierOperationAlphabetInputType=SC,D.generateIdentifierOperationAlphabetInputTypeParentRef=kC,D.generateIdentifierOperationError=zC,D.generateIdentifierOperationErrorParentRef=YC,D.generateIdentifierOperationLengthInput=GC,D.generateIdentifierOperationLengthInputParentRef=jC,D.generateIdentifierOperationLengthInputType=FC,D.generateIdentifierOperationLengthInputTypeParentRef=xC,D.generateIdentifierOperationResultStringDataType=WC,D.generateIdentifierOperationResultStringDataTypeParentRef=JC,D.generateIdentifierOperationResultStringOutput=HC,D.generateIdentifierOperationResultStringOutputParentRef=ZC,D.generateMutablePropertiesExplanation=_y,D.generatePlaceholderValueStore=nme,D.generateRandomAlphanumericOperation=Ev,D.generateRandomAlphanumericOperationError=UC,D.generateRandomAlphanumericOperationErrorParentRef=MC,D.generateRandomAlphanumericOperationLengthInput=PC,D.generateRandomAlphanumericOperationLengthInputParentRef=OC,D.generateRandomAlphanumericOperationLengthInputType=$C,D.generateRandomAlphanumericOperationLengthInputTypeParentRef=CC,D.generateRandomAlphanumericOperationResultStringDataType=NC,D.generateRandomAlphanumericOperationResultStringDataTypeParentRef=VC,D.generateRandomAlphanumericOperationResultStringOutput=BC,D.generateRandomAlphanumericOperationResultStringOutputParentRef=LC,D.generateRandomBase62Operation=mv,D.generateRandomBase62OperationError=vC,D.generateRandomBase62OperationErrorParentRef=mC,D.generateRandomBase62OperationLengthInput=cC,D.generateRandomBase62OperationLengthInputParentRef=lC,D.generateRandomBase62OperationLengthInputType=uC,D.generateRandomBase62OperationLengthInputTypeParentRef=dC,D.generateRandomBase62OperationResultStringDataType=fC,D.generateRandomBase62OperationResultStringDataTypeParentRef=pC,D.generateRandomBase62OperationResultStringOutput=yC,D.generateRandomBase62OperationResultStringOutputParentRef=hC,D.generateRandomBase64Operation=vv,D.generateRandomBase64OperationError=DC,D.generateRandomBase64OperationErrorParentRef=_C,D.generateRandomBase64OperationLengthInput=AC,D.generateRandomBase64OperationLengthInputParentRef=EC,D.generateRandomBase64OperationLengthInputType=bC,D.generateRandomBase64OperationLengthInputTypeParentRef=TC,D.generateRandomBase64OperationResultStringDataType=wC,D.generateRandomBase64OperationResultStringDataTypeParentRef=IC,D.generateRandomBase64OperationResultStringOutput=gC,D.generateRandomBase64OperationResultStringOutputParentRef=RC,D.generateRandomBoolean=D2,D.generateRandomDate=v2,D.generateRandomDateAfter=h2,D.generateRandomDateBefore=y2,D.generateRandomDateBetweenRange=m2,D.generateRandomFloatOperation=hv,D.generateRandomFloatOperationError=zO,D.generateRandomFloatOperationErrorParentRef=YO,D.generateRandomFloatOperationResultNumberDataType=JO,D.generateRandomFloatOperationResultNumberDataTypeParentRef=ZO,D.generateRandomFloatOperationResultNumberOutput=HO,D.generateRandomFloatOperationResultNumberOutputParentRef=WO,D.generateRandomHexadecimalOperation=yv,D.generateRandomHexadecimalOperationError=oC,D.generateRandomHexadecimalOperationErrorParentRef=aC,D.generateRandomHexadecimalOperationLengthInput=tC,D.generateRandomHexadecimalOperationLengthInputParentRef=XO,D.generateRandomHexadecimalOperationLengthInputType=eC,D.generateRandomHexadecimalOperationLengthInputTypeParentRef=QO,D.generateRandomHexadecimalOperationResultStringDataType=iC,D.generateRandomHexadecimalOperationResultStringDataTypeParentRef=rC,D.generateRandomHexadecimalOperationResultStringOutput=nC,D.generateRandomHexadecimalOperationResultStringOutputParentRef=sC,D.generateRandomIntegerOperation=fv,D.generateRandomIntegerOperationMaxValueInput=xO,D.generateRandomIntegerOperationMaxValueInputParentRef=MO,D.generateRandomIntegerOperationMaxValueInputType=jO,D.generateRandomIntegerOperationMaxValueInputTypeParentRef=UO,D.generateRandomIntegerOperationMinValueInput=kO,D.generateRandomIntegerOperationMinValueInputParentRef=FO,D.generateRandomIntegerOperationMinValueInputType=KO,D.generateRandomIntegerOperationMinValueInputTypeParentRef=GO,D.generateRandomIntegerOperationResultNumberDataType=NO,D.generateRandomIntegerOperationResultNumberDataTypeParentRef=VO,D.generateRandomIntegerOperationResultNumberOutput=BO,D.generateRandomIntegerOperationResultNumberOutputParentRef=LO,D.generateRandomNumber=I2,D.generateRandomNumberAfter=T2,D.generateRandomNumberBefore=b2,D.generateRandomNumberBetweenRange=A2,D.generateRandomText=_2,D.generateRandomTextAfter=w2,D.generateRandomTextBefore=R2,D.generateRandomTextBetweenRange=g2,D.generateRandomUUIDv4Operation=bv,D.generateRandomUUIDv4OperationError=i$,D.generateRandomUUIDv4OperationErrorParentRef=r$,D.generateRandomUUIDv4OperationResultStringDataType=QC,D.generateRandomUUIDv4OperationResultStringDataTypeParentRef=XC,D.generateRandomUUIDv4OperationResultStringOutput=t$,D.generateRandomUUIDv4OperationResultStringOutputParentRef=e$,D.generateShortIdentifierOperation=Av,D.generateShortIdentifierOperationError=d$,D.generateShortIdentifierOperationErrorParentRef=l$,D.generateShortIdentifierOperationResultStringDataType=n$,D.generateShortIdentifierOperationResultStringDataTypeParentRef=s$,D.generateShortIdentifierOperationResultStringOutput=o$,D.generateShortIdentifierOperationResultStringOutputParentRef=a$,D.generateStandaloneIfDefault=ame,D.generateUniqueUUID=E2,D.getAllActionDescriptorsForConditions=Ny,D.getAllActionDescriptorsForGlobalEvents=Py,D.getAllActionDescriptorsForLoops=Vy,D.getAllActionDescriptorsForOperations=Sme,D.getAllBuiltInEntityIds=xs,D.getAllGloballyDeclaredFunctionDeclarationsExplanation=oF,D.getAllVariablesInScope=C0e,D.getBaseBuiltInEntities=Pi,D.getBaseSchemaBasedOnType=Qx,D.getBuiltInEntityOwner=ao,D.getCallableEntitiesDerivedFromInternalCalls=cG,D.getCallableEntitiesDerivedFromWrites=Bd,D.getCallableEntityReferenceSchema=ui,D.getCallableEntityTypeSchema=yU,D.getCalledBy=Is,D.getCallerEntityReferenceSchema=Hpe,D.getCallerEntityTypeSchema=Wpe,D.getCalls=jy,D.getCanvasEntitiesDerivedFromInternalCalls=uG,D.getCanvasEntitiesDerivedFromWrites=Ld,D.getCanvasEntityDerivedFromValueReadingEntity=Gy,D.getCanvasEntityDerivedFromValueReadingEntityFromTransfer=dG,D.getCanvasEntityReferenceSchema=pfe,D.getCanvasEntityTypeSchema=cfe,D.getChildrenEntityWithValues=r0e,D.getColumnProperties=Ud,D.getCommonAncestor=DA,D.getCommonChildren=My,D.getDatabaseEntities=I0e,D.getDatabaseEntity=R0e,D.getDeclaration=bi,D.getDeclarationOutputedError=O0e,D.getDeepestScope=EG,D.getDefaultRelationalDatabaseEntityOrFirst=bG,D.getDraggableCallableEntityReferenceSchema=vU,D.getDraggableCallableEntityTypeSchema=mU,D.getDraggableCallerEntityReferenceSchema=zpe,D.getDraggableCallerEntityTypeSchema=Ype,D.getDraggableExecutableEntityReferenceSchema=tfe,D.getDraggableExecutableEntityTypeSchema=efe,D.getDraggablePassThroughCallableEntityReferenceSchema=ey,D.getDraggablePassThroughCallableEntityTypeSchema=Qh,D.getDraggablePlayableEntityReferenceSchema=afe,D.getDraggablePlayableEntityTypeSchema=nfe,D.getEntitiesCreatedSinceInitialization=em,D.getEntitiesToPropagateValuesTo=an,D.getEntityArgumentDeclarations=OA,D.getEntityInputMaps=oG,D.getEntityOutputMaps=f0e,D.getEntityReferenceSchema=ufe,D.getEntityReturnDeclarations=lG,D.getEntityTypeSchema=dfe,D.getEntityWithLogicScopeReferenceSchema=ma,D.getEntityWithLogicScopeTypeSchema=rfe,D.getEntityWithValueReferenceSchema=hU,D.getEntityWithValueTypeSchema=Jpe,D.getEntryPointEntityReferenceSchema=ii,D.getEntryPointEntityTypeSchema=Ga,D.getEventEntityReferenceSchema=zh,D.getEventEntityTypeSchema=Yh,D.getEventNameFromDefinition=Pme,D.getExecutableEntityReferenceSchema=Qpe,D.getExecutableEntityTypeSchema=Xpe,D.getExtendedBuiltInEntity=h0e,D.getExtendedDefinitionEntity=Sy,D.getFirstNonLoopScopeOwner=Gr,D.getGenerationTargetSchemaBasedOnType=eF,D.getHTTPAPINameFromProjectId=Wx,D.getHeadIfPartOfDetachedBranch=yG,D.getHighestScope=vG,D.getImplementedBuiltInEntity=y0e,D.getIsInteractive=Pp,D.getLastInListOperation=sv,D.getLastInListOperationError=O_,D.getLastInListOperationErrorParentRef=D_,D.getLastInListOperationInputListArgument=R_,D.getLastInListOperationInputListArgumentParentRef=w_,D.getLastInListOperationInputListArgumentRef=T_,D.getLastInListOperationInputListDataType=b_,D.getLastInListOperationOutputElementDataType=I_,D.getLastInListOperationOutputElementReturn=__,D.getLastInListOperationOutputElementReturnParentRef=g_,D.getLastInListOperationOutputElementReturnRef=A_,D.getLinkedEntitiesFromArgumentDeclaration=o0e,D.getLiteralValueNameFromDataType=rl,D.getLowestPersistedEntityImplementation=PA,D.getOnlyRelevantErrorsForPublication=Jme,D.getParentCallableEntity=TF,D.getParentCallerEntity=AF,D.getParentCanvasEntities=Ai,D.getParentCanvasEntity=or,D.getParentCanvasEntityFromTransfer=Uy,D.getParentEntryPoint=t0e,D.getParentPassthroughCallableEntity=bF,D.getPassThroughCallableEntityReferenceSchema=Tr,D.getPassThroughCallableEntityTypeSchema=Xh,D.getPeristedEntities=A0e,D.getPlayableEntityReferenceSchema=sfe,D.getPlayableEntityTypeSchema=ife,D.getProject=Dve,D.getPrototypeByType=Vp,D.getRecordOrderForTraversal=Yme,D.getRecusriveParentsIds=Wy,D.getReferenceEntityId=Z,D.getReferencedEntitiesStateOrErrors=Oy,D.getReferencedEntityStateOrErrors=fA,D.getReferencedIds=Nd,D.getRelatedCallableElementsOnTheRight=Ky,D.getRelatedCanvasElementsOnTheLeft=no,D.getRelatedCanvasElementsOnTheLeftFromTransfer=u0e,D.getRelatedCanvasElementsOnTheRight=ln,D.getRelationalDBInstanceNameFromEntityId=Hx,D.getRootEntryPointScopeOwner=Np,D.getScopeOwner=Vi,D.getStateClassFromType=g0e,D.getStepNameFromDefinition=$me,D.getTerminationReferenceSchema=lfe,D.getTerminationTypeSchema=ofe,D.getTopLevelParentEntityId=AG,D.getTouchedCanvasEntitiesFromChangeSet=D0e,D.getUsedArgFromDeclaration=c0e,D.getUsedReturnFromDeclaration=p0e,D.getValueReadingEntityReferenceSchema=fU,D.getValueReadingEntityTypeSchema=ya,D.getValueWritingEntityReferenceSchema=Zpe,D.getValueWritingEntityTypeSchema=yc,D.getVariableFromInputMapping=wF,D.getVariableFromReturnVariablePointer=_F,D.getVariableReferenceSchema=Fa,D.getVariableTypeSchema=Yo,D.getVariablesFromArgumentDeclarations=Fy,D.getVariablesFromInputMaps=RF,D.getVariablesFromOutputMapping=DF,D.getVariablesFromOutputMaps=OF,D.getVariablesFromReturnDeclarations=gF,D.getVariablesInSameOrHigherScope=kb,D.getWrites=xy,D.globalEventValidation=Zfe,D.groupCallsBasedOnParallelizableExecution=s0e,D.handleAfterEntityImplementationSideEffects=hF,D.handleBeforeEntityImplementationSideEffects=fF,D.handleLiteralValueChange=ome,D.handleLiteralValueDelete=Nx,D.handleValueAsTypeChange=lme,D.handleValueAsTypeDelete=Mx,D.httpRequestBodyArgument=xf,D.httpRequestBodyArgumentRef=uO,D.httpRequestBodyDataType=cO,D.httpRequestHeadersArgument=jf,D.httpRequestHeadersArgumentRef=lO,D.httpRequestHeadersDataType=dO,D.httpRequestMethodArgument=Mf,D.httpRequestMethodArgumentRef=aO,D.httpRequestMethodDataType=oO,D.httpRequestMethodDataTypeRef=sO,D.httpRequestOperation=Nu,D.httpRequestOperationErrorValueDescriptor=pv,D.httpRequestOperationErrorValueDescriptorDatatype=$O,D.httpRequestOperationErrorValueDescriptorRef=CO,D.httpRequestOperationRef=gO,D.httpRequestOperationRefEight=DO,D.httpRequestOperationRefFive=wO,D.httpRequestOperationRefFour=IO,D.httpRequestOperationRefNine=OO,D.httpRequestOperationRefSeven=_O,D.httpRequestOperationRefSix=RO,D.httpRequestOperationRefThree=AO,D.httpRequestOperationRefTwo=bO,D.httpRequestQueryParamsArgument=cv,D.httpRequestQueryParamsArgumentRef=rO,D.httpRequestQueryParamsDataType=iO,D.httpRequestVariableURLArgument=Uf,D.httpRequestVariableURLArgumentRef=eO,D.httpRequestVariableURLDataType=tO,D.httpRequestVariableURLDataTypeRef=XD,D.httpResponseBodyReturnDataType=TO,D.httpResponseBodyReturnDataTypeRef=vO,D.httpResponseBodyReturnReturn=Kf,D.httpResponseBodyReturnReturnRef=EO,D.httpResponseCodeDataType=fO,D.httpResponseCodeReturn=Ff,D.httpResponseCodeReturnRef=pO,D.httpResponseHeadersDataType=mO,D.httpResponseHeadersDataTypeRef=hO,D.httpResponseHeadersReturn=Gf,D.httpResponseHeadersReturnRef=yO,D.httpStatusCodeValueValidation=ZG,D.hydrateOrDiscardLiteralValue=Ix,D.implement=Ly,D.inferArgumentDeclarationDataType=ix,D.inferDataType=tn,D.inferInputMapDataType=Fb,D.inferOutputMapDataType=Kb,D.inferPropertyDataType=ax,D.inferReturnDeclarationDataType=Gb,D.inferValueDescriptorDataType=ox,D.inferVariableDeclarationDataType=nx,D.inferVariableInstanceDataType=sx,D.initBaseProjectEntity=Qy,D.initProject=HG,D.initProjectFromFetchResult=WG,D.inputMapValidation=Jye,D.installedProjectValidation=Sye,D.internalCallValidation=qye,D.isPromise=IA,D.isUUID=CG,D.iterateOverListActionDescriptorListArgumentDeclaration=H$,D.iterateOverListActionDescriptorListArgumentDeclarationDataType=J$,D.iterateOverListActionDescriptorListArgumentDeclarationDataTypeParentRef=Z$,D.iterateOverListActionDescriptorListArgumentDeclarationParentRef=W$,D.iterateOverListLoopActionDescriptor=Va,D.iterateOverListLoopActionDescriptorDynamicReturnDeclaration=z$,D.iterateOverListLoopActionDescriptorDynamicReturnDeclarationParentRef=Y$,D.iterateOverListLoopBodyActionDescriptor=Mu,D.iterateOverListLoopBodyActionDescriptorAnyDynamicArgument=aP,D.iterateOverListLoopBodyActionDescriptorAnyDynamicArgumentParentRef=nP,D.iterateOverListLoopBodyActionDescriptorAnyDynamicReturn=lP,D.iterateOverListLoopBodyActionDescriptorAnyDynamicReturnParentRef=oP,D.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Yf,D.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=Q$,D.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=X$,D.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=eP,D.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclaration=sP,D.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=rP,D.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=tP,D.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=iP,D.iterateOverObjectKeysActionDescriptorObjectArgumentDeclaration=fP,D.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationDataType=cP,D.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationDataTypeParentRef=uP,D.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationParentRef=pP,D.iterateOverObjectKeysLoopActionDescriptor=Fl,D.iterateOverObjectKeysLoopActionDescriptorDynamicReturnDeclaration=yP,D.iterateOverObjectKeysLoopActionDescriptorDynamicReturnDeclarationParentRef=hP,D.iterateOverObjectKeysLoopBodyActionDescriptor=Dv,D.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicArgument=RP,D.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicArgumentParentRef=wP,D.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicReturn=_P,D.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicReturnParentRef=gP,D.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclaration=_v,D.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=vP,D.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=mP,D.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=EP,D.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclaration=IP,D.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=bP,D.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=TP,D.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=AP,D.iterateOverObjectValuesActionDescriptorObjectArgumentDeclaration=PP,D.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationDataType=CP,D.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationDataTypeParentRef=OP,D.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationParentRef=$P,D.iterateOverObjectValuesLoopActionDescriptor=Gl,D.iterateOverObjectValuesLoopActionDescriptorDynamicReturnDeclaration=NP,D.iterateOverObjectValuesLoopActionDescriptorDynamicReturnDeclarationParentRef=VP,D.iterateOverObjectValuesLoopBodyActionDescriptor=Cv,D.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicArgument=KP,D.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicArgumentParentRef=GP,D.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicReturn=SP,D.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicReturnParentRef=kP,D.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Ov,D.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=BP,D.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=LP,D.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=MP,D.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclaration=FP,D.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=jP,D.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=UP,D.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=xP,D.iterateOverStringActionDescriptorDynamicReturnDeclaration=L$,D.iterateOverStringActionDescriptorDynamicReturnDeclarationParentRef=N$,D.iterateOverStringActionDescriptorStringArgumentDeclaration=V$,D.iterateOverStringActionDescriptorStringArgumentDeclarationDataType=$$,D.iterateOverStringActionDescriptorStringArgumentDeclarationDataTypeParentRef=C$,D.iterateOverStringActionDescriptorStringArgumentDeclarationParentRef=P$,D.iterateOverStringLoopActionDescriptor=Bu,D.iterateOverStringLoopBodyActionDescriptor=Hf,D.iterateOverStringLoopBodyActionDescriptorAnyDynamicArgument=K$,D.iterateOverStringLoopBodyActionDescriptorAnyDynamicArgumentParentRef=G$,D.iterateOverStringLoopBodyActionDescriptorAnyDynamicReturn=S$,D.iterateOverStringLoopBodyActionDescriptorAnyDynamicReturnParentRef=k$,D.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Rv,D.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=M$,D.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=B$,D.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=U$,D.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclaration=gv,D.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=x$,D.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=j$,D.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=F$,D.joinListOperation=tv,D.joinListOperationError=Xg,D.joinListOperationErrorParentRef=zg,D.joinListOperationFirstListArgument=Zg,D.joinListOperationFirstListArgumentParentRef=qg,D.joinListOperationFirstListArgumentRef=xg,D.joinListOperationFirstListDataType=Fg,D.joinListOperationResultListDataType=Sg,D.joinListOperationResultListReturn=Yg,D.joinListOperationResultListReturnParentRef=Hg,D.joinListOperationResultListReturnRef=kg,D.joinListOperationSecondListArgument=Wg,D.joinListOperationSecondListArgumentParentRef=Jg,D.joinListOperationSecondListArgumentRef=Gg,D.joinListOperationSecondListDataType=Kg,D.joinListWithLastSeparator=Xe,D.joinStringsOperation=Vu,D.joinStringsOperationDynamicStringArgument=Eg,D.joinStringsOperationDynamicStringArgumentParentRef=vg,D.joinStringsOperationDynamicStringArgumentRef=yg,D.joinStringsOperationDynamicStringDataType=mg,D.joinStringsOperationError=hg,D.joinStringsOperationErrorParentRef=fg,D.joinStringsOperationFirstStringArgument=Nf,D.joinStringsOperationFirstStringArgumentParentRef=sg,D.joinStringsOperationFirstStringArgumentRef=X1,D.joinStringsOperationFirstStringDataType=Q1,D.joinStringsOperationResultStringDataType=ig,D.joinStringsOperationResultStringReturn=Pu,D.joinStringsOperationResultStringReturnParentRef=pg,D.joinStringsOperationResultStringReturnRef=rg,D.joinStringsOperationSecondStringArgument=Lf,D.joinStringsOperationSecondStringArgumentParentRef=cg,D.joinStringsOperationSecondStringArgumentRef=eg,D.joinStringsOperationSecondStringDataType=tg,D.joinStringsOperationSeparatorStringArgument=ug,D.joinStringsOperationSeparatorStringArgumentParentRef=dg,D.joinStringsOperationSeparatorStringArgumentRef=ng,D.joinStringsOperationSeparatorStringDataType=lg,D.joinStringsOperationSeparatorStringDataTypeDefaultValue=og,D.joinStringsOperationSeparatorStringDataTypeDefaultValueParentRef=ag,D.keyValuePrototype=Ul,D.literalValueValidation=tme,D.loopValidation=Wfe,D.lowercaseFirstLetter=dd,D.manualFlowActionDescriptorDeclarationArgumentDeclaration=wv,D.manualFlowActionDescriptorDeclarationArgumentDeclarationDataType=I$,D.manualFlowActionDescriptorDeclarationArgumentDeclarationDataTypeParentRef=A$,D.manualFlowActionDescriptorDeclarationArgumentDeclarationParentRef=w$,D.manualFlowLoopActionDescriptor=Jf,D.manualFlowLoopActionDescriptorDynamicReturnDeclaration=b$,D.manualFlowLoopActionDescriptorDynamicReturnDeclarationParentRef=T$,D.manualFlowLoopBodyActionDescriptor=Wf,D.manualFlowLoopBodyActionDescriptorAnyDynamicArgument=g$,D.manualFlowLoopBodyActionDescriptorAnyDynamicArgumentParentRef=R$,D.manualFlowLoopBodyActionDescriptorAnyDynamicReturn=D$,D.manualFlowLoopBodyActionDescriptorAnyDynamicReturnParentRef=_$,D.mapActionDescriptorToTypeItRepresents=T0e,D.mapRecord=NF,D.mergeArraysOfStringsWithoutDuplicates=gme,D.mergeEntityErrorsList=ade,D.mergeListOfEntities=v0e,D.methodDefaultValue=nO,D.mockClientProject=oT,D.moreThanOrEqualCondition=Zl,D.moreThanOrEqualConditionLeftHandArgument=kN,D.moreThanOrEqualConditionLeftHandArgumentDataType=GN,D.moreThanOrEqualConditionLeftHandArgumentDataTypeParentRef=FN,D.moreThanOrEqualConditionLeftHandArgumentParentRef=KN,D.moreThanOrEqualConditionRightHandArgument=JN,D.moreThanOrEqualConditionRightHandArgumentDataType=qN,D.moreThanOrEqualConditionRightHandArgumentDataTypeParentRef=SN,D.moreThanOrEqualConditionRightHandArgumentParentRef=ZN,D.noSpacesOrDashesValueValidation=EF,D.noSpacesValueValidation=vF,D.notEmptyCondition=jo,D.notEmptyConditionArgument=MN,D.notEmptyConditionRef=BN,D.nullPrototype=J0,D.numberAdditionOperation=Vf,D.numberAdditionOperationDynamicSummandArgument=L1,D.numberAdditionOperationDynamicSummandArgumentType=N1,D.numberAdditionOperationDynamicSummandArgumentTypeParentRef=V1,D.numberAdditionOperationError=P1,D.numberAdditionOperationErrorParentRef=$1,D.numberAdditionOperationFirstNumberArgument=W0,D.numberAdditionOperationFirstNumberArgumentRef=I1,D.numberAdditionOperationFirstNumberDataType=w1,D.numberAdditionOperationRef=O1,D.numberAdditionOperationRefThree=Y0,D.numberAdditionOperationRefTwo=C1,D.numberAdditionOperationResultNumberDataType=D1,D.numberAdditionOperationResultNumberReturn=z0,D.numberAdditionOperationResultNumberReturnRef=_1,D.numberAdditionOperationSecondNumberArgument=H0,D.numberAdditionOperationSecondNumberArgumentRef=R1,D.numberAdditionOperationSecondNumberDataType=g1,D.numberPrototype=lt,D.numberSubtractionOperation=Q0,D.numberSubtractionOperationDynamicSubtrahendArgument=Y1,D.numberSubtractionOperationDynamicSubtrahendArgumentType=H1,D.numberSubtractionOperationDynamicSubtrahendArgumentTypeParentRef=W1,D.numberSubtractionOperationError=J1,D.numberSubtractionOperationErrorParentRef=Z1,D.numberSubtractionOperationFirstNumberArgument=G1,D.numberSubtractionOperationFirstNumberArgumentRef=B1,D.numberSubtractionOperationFirstNumberDataType=M1,D.numberSubtractionOperationRef=X0,D.numberSubtractionOperationRefThree=S1,D.numberSubtractionOperationRefTwo=K1,D.numberSubtractionOperationResultNumberDataType=F1,D.numberSubtractionOperationResultNumberReturn=q1,D.numberSubtractionOperationResultNumberReturnRef=x1,D.numberSubtractionOperationSecondNumberArgument=k1,D.numberSubtractionOperationSecondNumberArgumentRef=U1,D.numberSubtractionOperationSecondNumberDataType=j1,D.numberValueAutogenerationSchema=WT,D.operationValidation=Kfe,D.orderEntitiesForTraversal=Hme,D.outputMapValidation=zye,D.parallelExecutionOperation=zs,D.parallelExecutionOperationError=iD,D.parallelExecutionOperationErrorParentRef=rD,D.parallelExecutionOperationListOfExecutionResultsDataType=Q_,D.parallelExecutionOperationListOfExecutionResultsReturn=lv,D.parallelExecutionOperationListOfExecutionResultsReturnRef=X_,D.parallelExecutionOperationListOfFunctionsArgument=ov,D.parallelExecutionOperationListOfFunctionsArgumentDatatype=z_,D.parallelExecutionOperationListOfFunctionsArgumentRef=Y_,D.parallelExecutionOperationListOfFunctionsBlueprint=H_,D.parallelExecutionOperationListOfFunctionsBlueprintDynamicInput=J_,D.parallelExecutionOperationListOfFunctionsBlueprintDynamicInputParentRef=Z_,D.parallelExecutionOperationListOfFunctionsBlueprintDynamicOutput=q_,D.parallelExecutionOperationListOfFunctionsBlueprintDynamicOutputParentRef=S_,D.parallelExecutionOperationListOfFunctionsBlueprintParentRef=W_,D.parallelExecutionOperationRef=eD,D.parallelExecutionOperationRefThree=tD,D.persistedBuiltInBaseEntity=hi,D.persistedBuiltInBaseEntityDatabaseProperty=kl,D.persistedBuiltInBaseEntityDatabasePropertyDataType=vN,D.persistedBuiltInBaseEntityDatabasePropertyDataTypeRef=C8,D.persistedBuiltInBaseEntityDatabasePropertyParentRef=EN,D.persistedBuiltInBaseEntityDatabasePropertyRef=mN,D.persistedBuiltInBaseEntityPrimaryKeyProperty=Sl,D.persistedBuiltInBaseEntityPrimaryKeyPropertyDataType=_N,D.persistedBuiltInBaseEntityPrimaryKeyPropertyNumberDataTypeOption=bN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyNumberDataTypeOptionParentRef=TN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyParentRef=DN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyRef=gN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyStringDataTypeOption=IN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyStringDataTypeOptionParentRef=AN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyUUIDDataTypeOption=RN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyUUIDDataTypeOptionParentRef=wN,D.printEntity=gA,D.processOutputGlobalValueDescriptorDataType=e2,D.processOutputGlobalValueDescriptorReturn=nh,D.processOutputGlobalValueDescriptorReturnRef=QN,D.projectPublicationCompletedGlobalEvent=sh,D.propagateNewInputOrOutputMapValueAsTypeToParentVariable=Ip,D.propagateNewInputOrOutputMapValueToParentVariable=Ap,D.propagateNewStaticPropertyValueAsTypeToVariables=nl,D.propagateNewStaticPropertyValueToVariables=sl,D.propertyToZodSchema=p2,D.propertyValidation=L0e,D.readValueFromWritter=$d,D.rebaseStack=vb,D.relationalDatabaseBuiltInBaseEntity=li,D.relationalDatabaseBuiltInBaseEntityAutoscalingProperty=kv,D.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyDataType=uN,D.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyDataTypeRef=dN,D.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyParentRef=cN,D.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyRef=lN,D.relationalDatabaseBuiltInBaseEntityDefaultProperty=Kv,D.relationalDatabaseBuiltInBaseEntityDefaultPropertyDataType=oN,D.relationalDatabaseBuiltInBaseEntityDefaultPropertyDataTypeRef=nN,D.relationalDatabaseBuiltInBaseEntityDefaultPropertyRef=aN,D.relationalDatabaseBuiltInBaseEntityIdentifierProperty=Xf,D.relationalDatabaseBuiltInBaseEntityIdentifierPropertyDataType=YV,D.relationalDatabaseBuiltInBaseEntityIdentifierPropertyDataTypeRef=WV,D.relationalDatabaseBuiltInBaseEntityIdentifierPropertyRef=HV,D.relationalDatabaseBuiltInBaseEntityMinSizeProperty=th,D.relationalDatabaseBuiltInBaseEntityMinSizePropertyDataType=sN,D.relationalDatabaseBuiltInBaseEntityMinSizePropertyDataTypeRef=rN,D.relationalDatabaseBuiltInBaseEntityMinSizePropertyRef=iN,D.relationalDatabaseBuiltInBaseEntityPasswordProperty=eh,D.relationalDatabaseBuiltInBaseEntityPasswordPropertyDataType=eN,D.relationalDatabaseBuiltInBaseEntityPasswordPropertyDataTypeRef=O8,D.relationalDatabaseBuiltInBaseEntityPasswordPropertyDefaultValueParentRef=tN,D.relationalDatabaseBuiltInBaseEntityPasswordPropertyRef=QV,D.relationalDatabaseBuiltInBaseEntityRef=Kl,D.relationalDatabaseBuiltInBaseEntityUsernameProperty=Qf,D.relationalDatabaseBuiltInBaseEntityUsernamePropertyDataType=XV,D.relationalDatabaseBuiltInBaseEntityUsernamePropertyDataTypeRef=D8,D.relationalDatabaseBuiltInBaseEntityUsernamePropertyRef=zV,D.removeDisabledReasons=Dme,D.resolveActionDescriptorName=DG,D.resolveArgumentDeclarationValue=Zb,D.resolveBaseEntityName=wG,D.resolveBuiltInBaseEntityDataTypeLabel=RG,D.resolveCardSubheader=hme,D.resolveClonedEntityProject=Vr,D.resolveConditionOperatorLabel=Yy,D.resolveDataType=hy,D.resolveDataTypeEntityOrNestedChildrenFromLiteralValue=RA,D.resolveDataTypeLabel=xd,D.resolveDatatypeIconName=fme,D.resolveDefinitionEntityDataTypeLabel=P0e,D.resolveDefinitionEntitySubheader=Xb,D.resolveEntityCodeName=kA,D.resolveEntityDataTypeLabel=$0e,D.resolveEntityName=ie,D.resolveEntitySubheader=yme,D.resolveFirstCallsSecond=n0e,D.resolveFirstWritesSecond=a0e,D.resolveFunctionDeclarationCardSubheader=Qb,D.resolveInputMapNextStandaloneValue=Tp,D.resolveInputMapNextValue=Ey,D.resolveInputMapNextValueAsPropertyOfAnObject=_x,D.resolveInputMapStandaloneValue=bp,D.resolveInputMapValue=Ox,D.resolveInputMapValueAsPropertyOfAnObject=Dx,D.resolveMethodCardSubheader=xx,D.resolveNextValue=Ty,D.resolveOutputMapValue=Wb,D.resolvePersistedDefinitionEntityDatabaseEntity=TG,D.resolvePrimaryKeyProperty=w0e,D.resolvePrimitiveEntityForSearchLiteralValueType=Ub,D.resolvePrimitiveEntityName=_G,D.resolvePropertyValue=Cx,D.resolvePublicationStepStatusFromType=Lme,D.resolveResourceNameFromType=Nme,D.resolveReturnDeclarationValue=Jb,D.resolveSearchName=gG,D.resolveValue=il,D.resolveValueDescriptorValue=$x,D.resolveVarDeclarationAggregateObjectValue=Rx,D.resolveVarDeclarationNextAggregateObjectValue=wx,D.resolveVarDeclarationNextValue=Ep,D.resolveVarDeclarationValue=qb,D.resolveVarInstanceNextValue=vy,D.resolveVarInstanceValue=gx,D.resolveVariableScope=Wye,D.returnDeclarationValidation=kfe,D.returnStatementValidation=Sfe,D.savePersistedEntityMethod=hN,D.savePersistedEntityMethodParentRef=fN,D.searchStatementErrorGlobalValueDescriptor=Yv,D.searchStatementErrorGlobalValueDescriptorDataType=r2,D.searchStatementErrorGlobalValueDescriptorRef=t2,D.searchStatementState=Gye,D.searchStatementUtils=kye,D.searchValidation=Qfe,D.sequentialExecutionOperation=oa,D.sequentialExecutionOperationError=wD,D.sequentialExecutionOperationErrorParentRef=ID,D.sequentialExecutionOperationListOfExecutionResultsDataType=TD,D.sequentialExecutionOperationListOfExecutionResultsReturn=uv,D.sequentialExecutionOperationListOfExecutionResultsReturnParentRef=AD,D.sequentialExecutionOperationListOfExecutionResultsReturnRef=ED,D.sequentialExecutionOperationListOfFunctionsArgument=dv,D.sequentialExecutionOperationListOfFunctionsArgumentDatatype=vD,D.sequentialExecutionOperationListOfFunctionsArgumentParentRef=bD,D.sequentialExecutionOperationListOfFunctionsArgumentRef=mD,D.sequentialExecutionOperationListOfFunctionsBlueprint=yD,D.sequentialExecutionOperationListOfFunctionsBlueprintDynamicInput=hD,D.sequentialExecutionOperationListOfFunctionsBlueprintDynamicOutput=fD,D.sortCallsBasedOnExecutionDependencies=IF,D.sortChildrenEntitiesBasedOnExecutionDependencies=i0e,D.splitListOperation=iv,D.splitListOperationError=m_,D.splitListOperationErrorParentRef=y_,D.splitListOperationFirstOutputListDataType=n_,D.splitListOperationFirstOutputListReturn=c_,D.splitListOperationFirstOutputListReturnParentRef=u_,D.splitListOperationFirstOutputListReturnRef=rv,D.splitListOperationInputListArgument=o_,D.splitListOperationInputListArgumentParentRef=a_,D.splitListOperationInputListArgumentRef=t_,D.splitListOperationInputListDataType=r_,D.splitListOperationSecondOutputListDataType=p_,D.splitListOperationSecondOutputListReturn=h_,D.splitListOperationSecondOutputListReturnParentRef=f_,D.splitListOperationSplitIndexArgument=d_,D.splitListOperationSplitIndexArgumentParentRef=l_,D.splitListOperationSplitIndexArgumentRef=i_,D.splitListOperationSplitIndexDataType=s_,D.splitStringOperation=ev,D.splitStringOperationError=Bg,D.splitStringOperationErrorParentRef=Lg,D.splitStringOperationFirstPartResultStringDataType=Rg,D.splitStringOperationFirstPartResultStringReturn=Ng,D.splitStringOperationFirstPartResultStringReturnParentRef=Vg,D.splitStringOperationFirstPartResultStringReturnRef=wg,D.splitStringOperationIndexArgument=$g,D.splitStringOperationIndexArgumentParentRef=Cg,D.splitStringOperationIndexArgumentRef=Ag,D.splitStringOperationIndexDataType=Ig,D.splitStringOperationSecondPartResultStringDataType=_g,D.splitStringOperationSecondPartResultStringReturn=g8,D.splitStringOperationSecondPartResultStringReturnParentRef=Pg,D.splitStringOperationSecondPartResultStringReturnRef=gg,D.splitStringOperationStringArgument=Og,D.splitStringOperationStringArgumentParentRef=Dg,D.splitStringOperationStringArgumentRef=Tg,D.splitStringOperationStringDataType=bg,D.stringPrototype=qe,D.stringValueAutogenerationSchema=JT,D.suggestNewIdForEntity=SA,D.syncSearchEntityOutput=xb,D.test_primitive_entities_export=vve,D.toCamelCase=$r,D.toEntityState=Ni,D.toKebabCase=IG,D.toLowerCaseKebabCase=Hy,D.toPascalCase=jd,D.transitionProjectVersion=yb,D.translateLogicErrorCode=Eme,D.translateLogicErrorCodeShort=Tme,D.translateLogicErrorCodeShortWithEntityName=bme,D.translateLogicErrorCodeWithEntityName=Ame,D.traverseChangeSet=mb,D.untypedDataPrototype=oi,D.updateErrorsList=ar,D.urlDefaultValue=QD,D.uuidPrototype=na,D.validateArgumentDeclarationName=GA,D.validateCalledByErrorIdInAction=Kme,D.validateCalledByIdInAction=Gme,D.validateCallers=aF,D.validateConditionEntityDeclaration=qme,D.validateDataOperation=Co,D.validateDataOperationDataToValidateArgument=KD,D.validateDataOperationDataToValidateArgumentParentRef=GD,D.validateDataOperationDataToValidateArgumentRef=xD,D.validateDataOperationDataToValidateDataType=FD,D.validateDataOperationEntityToMatchTypeArgument=ZD,D.validateDataOperationEntityToMatchTypeArgumentParentRef=qD,D.validateDataOperationEntityToMatchTypeArgumentRef=kD,D.validateDataOperationEntityToMatchTypeDataType=SD,D.validateDataOperationError=YD,D.validateDataOperationErrorParentRef=HD,D.validateDataOperationOutputEntityDeclaration=WD,D.validateDataOperationOutputEntityDeclarationParentRef=JD,D.validateDefinitionEntityName=UA,D.validateEntryCaller=nF,D.validateErrorCaller=sF,D.validateFunctionCallDeclaration=lF,D.validateFunctionDeclarationName=jA,D.validateGeneratedEntityParentIsNotBuiltInEntity=Ume,D.validateGeneration=Bme,D.validateGenerationTarget=Or,D.validateGenerationUpdate=Mme,D.validateLoopEntityDeclaration=Zme,D.validateMissingValue=io,D.validateName=V0e,D.validateOperationEntityDeclaration=dF,D.validatePropertyName=FA,D.validateReachability=Aa,D.validateReadsValueInActionPayload=kme,D.validateReferenceObject=Dy,D.validateReferenceToOne=hA,D.validateReferences=zr,D.validateReturnDeclarationName=KA,D.validateSuccessCaller=iF,D.validateValueReaderGenerationUpdate=_p,D.validateValueWritter=bA,D.validateVariableDeclarationName=xA,D.validateVariableInternalCallUse=AA,D.valueAutogenerationCurrentDateAndTimeSchema=zM,D.valueAutogenerationGenericSchema=Fh,D.valueAutogenerationOptions=YT,D.valueAutogenerationOptionsSchema=YM,D.valueAutogenerationRandomBooleanSchema=ZT,D.valueAutogenerationRandomDateBetweenSchema=aU,D.valueAutogenerationRandomDateFromSchema=sU,D.valueAutogenerationRandomDateSchema=kh,D.valueAutogenerationRandomDateUntilSchema=nU,D.valueAutogenerationRandomNumberBetweenSchema=eU,D.valueAutogenerationRandomNumberFromSchema=XM,D.valueAutogenerationRandomNumberSchema=Gh,D.valueAutogenerationRandomNumberUntilSchema=QM,D.valueAutogenerationRandomSchema=cc,D.valueAutogenerationRandomTextBetweenSchema=iU,D.valueAutogenerationRandomTextFromSchema=tU,D.valueAutogenerationRandomTextSchema=Kh,D.valueAutogenerationRandomTextUntilSchema=rU,D.valueAutogenerationRangeValueTypesSchema=uc,D.valueAutogenerationUniqueSchema=qT,D.valueDescriptorValidation=sme,D.variableDeclarationValidation=zfe,D.variableInstanceValidation=Xfe,D.waitOperation=Bi,D.waitOperationMillisecondsNumberArgument=Do,D.waitOperationMillisecondsNumberArgumentRef=aD,D.waitOperationMillisecondsNumberDataType=oD,D.waitOperationOperationError=uD,D.waitOperationOperationErrorParentRef=dD,D.waitOperationRef=lD,Object.defineProperty(D,Symbol.toStringTag,{value:"Module"})});
|
|
404
|
+
`)),Fe.log("Persisting new additions"),v.visit(async(T,R)=>{if(a.added[T.id]){Fe.log("Adding: ",T.id);try{const A=ee(T,this);if(A.hydrateAncestors(),A.addSelfToProject(l),l.add(A,G.Added),!this.get(T.id))throw new Error(`Entity ${T.id} was not added to the project`)}catch(A){Fe.error("Error: ",A),Fe.error("Errored entity: ",T)}}}),Fe.log("Persisting updates"),v.visit(async(T,R)=>{if(a.updated[T.id]){Fe.log("Updating: ",T.id);try{const A=this.get(T.id);A?(A.updateWithShallowTransfer(T,l),l.add(A,G.Updated)):Fe.warn(`Active version of ${T.id} not found when applying external changes`)}catch(A){Fe.error("Error: ",A),Fe.error("Errored entity: ",T)}}}),Fe.log("Persisting removals"),v.visit(async(T,R)=>{if(a.removed[T.id]){Fe.log("Removing: ",T.id);try{const A=this.get(T.id);A&&A.remove({ignoreUpstream:!1},l)}catch(A){Fe.error("Error: ",A),Fe.error("Errored entity: ",T)}}}),l}toFullProjectTransfer(){const i=new Un(this),a={};return i.visit(l=>{const p=l.toShallowJSON();a[l.id]=p}),{order:i.order,size:i.order.length,record:a}}};O(it,"parentContext",ZA),O(it,"sessionAuthor","1"),O(it,"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}),O(it,"type",f.Project),O(it,"USER_MANAGED_PARENT_TYPES",[]),O(it,"PARENT_TYPES",[...it.USER_MANAGED_PARENT_TYPES]),O(it,"MUTABLE_BASE_PROPERTIES",["name","description"]),O(it,"INMUTABLE_BASE_PROPERTIES",["id","type","version","createdAt","author","previousVersion"]),O(it,"BASE_PROPERTIES",[...it.MUTABLE_BASE_PROPERTIES,...it.INMUTABLE_BASE_PROPERTIES]),O(it,"MUTABLE_META_PROPERTIES",[...it.MUTABLE_BASE_PROPERTIES,"x","y"]),O(it,"INMUTABLE_META_PROPERTIES",[...it.INMUTABLE_BASE_PROPERTIES]),O(it,"META_PROPERTIES",[...it.MUTABLE_META_PROPERTIES,...it.INMUTABLE_META_PROPERTIES]),O(it,"MUTABLE_UPSTREAM_PROPERTIES",[]),O(it,"INMUTABLE_UPSTREAM_PROPERTIES",["primitives","builtInBaseEntities","operationDeclarations","globalEventActionDescriptors","loopDeclarations","builtInInstances"]),O(it,"UPSTREAM_PROPERTIES",[...it.MUTABLE_UPSTREAM_PROPERTIES,...it.INMUTABLE_UPSTREAM_PROPERTIES]),O(it,"MUTABLE_DOWNSTREAM_PROPERTIES",["entities","projects","functions","events","variableDeclarations","variableInstances","conditions","operations","functionCalls","loops","searches"]),O(it,"INMUTABLE_DOWNSTREAM_PROPERTIES",[]),O(it,"DOWNSTREAM_PROPERTIES",[...it.MUTABLE_DOWNSTREAM_PROPERTIES,...it.INMUTABLE_DOWNSTREAM_PROPERTIES]),O(it,"PROPERTIES",[...it.META_PROPERTIES,...it.UPSTREAM_PROPERTIES,...it.DOWNSTREAM_PROPERTIES]);let V=it;class GG extends ht{constructor(i){super(zs,i);O(this,"id",ur.Parallel);O(this,"name",ur.Parallel);O(this,"description","Programmatically execute a list of actions one after the other");O(this,"version","1");O(this,"autoexecutable",!0);O(this,"initialData",zs);O(this,"type",f.ActionDescriptor);O(this,"inputs",[]);O(this,"outputs",[]);O(this,"error",null);O(this,"project");this.project=i,this.inputs=zs.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=zs.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=zs.error?ee(zs.error,this.project):null}}class KG extends ht{constructor(i){super(Bi,i);O(this,"id",Bi.id);O(this,"name",Bi.name);O(this,"description",Bi.description);O(this,"version",Bi.version);O(this,"autoexecutable",!1);O(this,"initialData",Bi);O(this,"type",f.ActionDescriptor);O(this,"inputs",[]);O(this,"outputs",[]);O(this,"error",null);O(this,"project");this.project=i,this.inputs=Bi.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=Bi.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=Bi.error?ee(Bi.error,this.project):null}}class kG extends ht{constructor(i){super(oa,i);O(this,"id",ur.Sequential);O(this,"name",ur.Sequential);O(this,"description","Programmatically execute a list of actions one after the other");O(this,"version","1");O(this,"autoexecutable",!0);O(this,"initialData",oa);O(this,"type",f.ActionDescriptor);O(this,"inputs",[]);O(this,"outputs",[]);O(this,"error",null);O(this,"project");this.project=i,this.inputs=oa.inputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.outputs=oa.outputs.map(a=>{const l=ee(a,this.project);return l.setParent(this,null),l.initChildren(null),l}),this.error=oa.error?ee(oa.error,this.project):null}}class ove extends ht{constructor(u){super(Nu,u)}}class lve extends ht{constructor(u){super(Oo,u)}}class dve extends ht{constructor(i){super(Co,i);O(this,"autoexecutable",!0)}getEntityToMatchInputMap(i){return i.inputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===ve.operation[cr.Validate].inputs.entityToMatch.id})||null}getDataToValidateInputMap(i){return i.inputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===ve.operation[cr.Validate].inputs.dataToValidate.id})||null}getOutputDataOutputMap(i){return i.outputs.find(a=>{var l;return((l=a.declaration)==null?void 0:l.id)===ve.operation[cr.Validate].outputs.outputEntity.id})||null}getEntityToMatch(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"get-entity-to-match-validate-data"))){var t;const l=((t=this.project.requestActiveDynamicValue(i))==null?void 0:t.value)||null,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 F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-operation-instance-validate-data"))){const l=[],p=[],t=[],y=[],v=this.getEntityToMatchInputMap(i);if(v){const{added:A,updated:P,removed:N,affected:U}=this.syncEntityToMatchInputMapDataType(v,a);l.push(...P),p.push(...A),t.push(...N),y.push(...U)}const T=this.getDataToValidateInputMap(i);if(T){const{added:A,updated:P,removed:N,affected:U}=this.syncDataToValidateInputMapDataType(T,a);l.push(...P),p.push(...A),t.push(...N),y.push(...U)}const R=this.getOutputDataOutputMap(i);if(R){const{added:A,updated:P,removed:N,affected:U}=this.syncOutputDataOutputMapDataType(R,a);l.push(...P),p.push(...A),t.push(...N),y.push(...U)}return a==null||a.attemptAutoclose("sync-operation-instance-validate-data",this.id),{updated:w(l),added:w(p),removed:w(t),affected:w(y),self:i}}syncEntityToMatchInputMapDataType(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-entity-to-match-input-map-data-type"))){var R,A,P,N,U,K,k,J,se,te,ce,re,fe,z,Y,ue;const l=[],p=[],t=[],y=[];if(((R=i.declaration)==null?void 0:R.id)!==ve.operation[cr.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=((A=this.project.requestActiveDynamicValue(i))==null?void 0:A.value)||null,T=v==null?void 0:v.valueAsTypeSingle;if(!i.dataType){const H={id:V.UUID.uuid(),version:V.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||V.sessionAuthor,previousVersion:null,deleted:!1,type:f.DataType,parentRelationType:null,options:((P=i.declaration.dataType)==null?void 0:P.options)||null,implementationChooseOne:((N=i.declaration.dataType)==null?void 0:N.implementationChooseOne)||!1,staticEntities:((U=i.declaration.dataType)==null?void 0:U.staticEntities)??null,interactiveEntities:((K=i.declaration.dataType)==null?void 0:K.interactiveEntities)??null,actionEntities:((k=i.declaration.dataType)==null?void 0:k.actionEntities)??null,isList:((J=i.declaration.dataType)==null?void 0:J.isList)||!1,andChildrenGroup:null,orChildrenGroup:null,asType:!0,entity:(T==null?void 0:T.toJSON())||null,like:!0,inferred:!0,parent:i.toReference()},ae=ee(H,i.project);ae.hydrateAncestors(),ae.setParent(i,a),ae.initChildren(a),ae.setEntity(T,a),a==null||a.add(ae,G.Added),l.push(ae),i.setDataType(ae,a)}return(Y=i.dataType)==null||Y.metaSync({inferred:!0,like:!1,asType:!0,options:((se=i.declaration.dataType)==null?void 0:se.options)||null,implementationChooseOne:((te=i.declaration.dataType)==null?void 0:te.implementationChooseOne)||!1,staticEntities:((ce=i.declaration.dataType)==null?void 0:ce.staticEntities)??null,interactiveEntities:((re=i.declaration.dataType)==null?void 0:re.interactiveEntities)??null,actionEntities:((fe=i.declaration.dataType)==null?void 0:fe.actionEntities)??null,isList:((z=i.declaration.dataType)==null?void 0:z.isList)||!1},a),(ue=i.dataType)==null||ue.setEntity(T,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-entity-to-match-input-map-data-type",this.id),{updated:w(p),added:w(l),removed:w(t),affected:w(y),self:i.dataType}}syncDataToValidateInputMapDataType(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-data-to-validate-input-map-data-type"))){var A,P,N;const l=[],p=[],t=[],y=[];if(((A=i.declaration)==null?void 0:A.id)!==ve.operation[cr.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 U={id:V.UUID.uuid(),version:V.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||V.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(U,i.project);K.setParent(i,a),K.initChildren(a),a==null||a.add(K,G.Added),l.push(K),i.setDataType(K,a)}(P=i.dataType)==null||P.metaSync({inferred:!0,like:!0,asType:!1},a);const R=this.getEntityToMatch(v,a);return(N=i.dataType)==null||N.setEntity(R,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-data-to-validate-input-map-data-type",this.id),{updated:w(p),added:w(l),removed:w(t),affected:w(y),self:i.dataType}}syncOutputDataOutputMapDataType(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"sync-output-data-output-map-data-type"))){var P,N,U,K;const l=[],p=[],t=[],y=[];if(((P=i.declaration)==null?void 0:P.id)!==ve.operation[cr.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 R=((N=this.project.requestActiveDynamicValue(v))==null?void 0:N.value)||null,A=(R==null?void 0:R.valueAsTypeSingle)||null;if(!i.dataType){const k={id:V.UUID.uuid(),version:V.UUID.uuid(),createdAt:(a==null?void 0:a.timestamp)||new Date().toISOString(),author:(a==null?void 0:a.author)||V.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()},J=ee(k,i.project);J.hydrateAncestors(),J.setParent(i,a),J.initChildren(a),J.setEntity(A,a),a==null||a.add(J,G.Added),l.push(J),i.setDataType(J,a)}return(U=i.dataType)==null||U.metaSync({inferred:!0,like:!0,asType:!1},a),(K=i.dataType)==null||K.setEntity(A,a),i.dataType&&p.push(i.dataType),a==null||a.attemptAutoclose("sync-output-data-output-map-data-type",this.id),{updated:w(p),added:w(l),removed:w(t),affected:w(y),self:i.dataType}}inferInputMapDataType(i,a=this.project.addChangeSet(new F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"infer-input-map-data-type-validate-data"))){var p,t,y;if(((p=i.declaration)==null?void 0:p.id)===ve.operation[cr.Validate].inputs.entityToMatch.id){const{added:v,updated:T,removed:R,affected:A}=this.syncEntityToMatchInputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-input-map-data-type",this.id),{updated:w(T),added:w(v),removed:w(R),affected:w(A),self:i.dataType}}if(((t=i.declaration)==null?void 0:t.id)===ve.operation[cr.Validate].inputs.dataToValidate.id){const{added:v,updated:T,removed:R,affected:A}=this.syncDataToValidateInputMapDataType(i,a);return a==null||a.attemptAutoclose("infer-input-map-data-type",this.id),{updated:w(T),added:w(v),removed:w(R),affected:w(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=tn(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 F(this.project,V.sessionAuthor,L().toISOString(),this,!0,"infer-output-map-data-type-validate-data"))){var l;if(((l=i.declaration)==null?void 0:l.id)===ve.operation[cr.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:w(t),added:w(p),removed:w(y),affected:w(v),self:i.dataType}}return{updated:[],added:[],removed:[],affected:[],self:null}}}class uve extends ht{constructor(u){super(tv,u)}}class cve extends ht{constructor(u){super(iv,u)}}class pve extends ht{constructor(u){super(sv,u)}}class fve extends ht{constructor(u){super(Bf,u)}}class hve extends ht{constructor(u){super(Vf,u)}}class yve extends ht{constructor(u){super(Vu,u)}}function mve(d){const u=[new kG(d),new GG(d),new KG(d),new ove(d),new lve(d),new dve(d),new fve(d),new uve(d),new pve(d),new cve(d),new hve(d),new yve(d),new ht(ev,d),new ht(Q0,d),new ht(fv,d),new ht(hv,d),new ht(yv,d),new ht(mv,d),new ht(vv,d),new ht(Ev,d),new ht(Tv,d),new ht(bv,d),new ht(Av,d),new ht(Iv,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.operationDeclarations=u,u}class SG extends xn{constructor(i){super(hi,i);O(this,"initialData");O(this,"id",Ve.PERSISTED_ENTITY);O(this,"version","1");O(this,"name",Ve.PERSISTED_ENTITY);O(this,"description",hi.description);O(this,"type",f.BuiltInBaseEntity);O(this,"abstract",hi.abstract);O(this,"static",hi.static);O(this,"properties",[]);O(this,"methods",[]);O(this,"abstractMethods",[]);O(this,"extends",[]);O(this,"errors",[]);O(this,"project");this.initialData=hi,this.project=i,this.id=hi.id,this.version=hi.version,this.name=hi.name,this.static=hi.static,this.abstract=hi.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 qG=(d=>(d.StatusCodeMustBeNumber="status-code-must-be-number",d.StatusCodeMustBeBetween100And599="status-code-must-be-between-100-and-599",d))(qG||{});function ZG(d,u){const i=[];if(typeof u!="number"){const a=new Xt({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:q.Error,code:"status-code-must-be-number",entity:d});return i.push(a),{errors:i,override:u}}if(u<100){const a=new Xt({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:q.Error,code:"status-code-must-be-between-100-and-599",entity:d});i.push(a)}if(u>599){const a=new Xt({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:q.Error,code:"status-code-must-be-between-100-and-599",entity:d});i.push(a)}return{errors:i,override:u}}class JG extends xn{constructor(i){super(Xi,i);O(this,"initialData");O(this,"id",Ve.PERSISTED_ENTITY);O(this,"version","1");O(this,"name",Ve.PERSISTED_ENTITY);O(this,"description",Xi.description);O(this,"type",f.BuiltInBaseEntity);O(this,"abstract",Xi.abstract);O(this,"static",Xi.static);O(this,"properties",[]);O(this,"methods",[]);O(this,"abstractMethods",[]);O(this,"extends",[]);O(this,"errors",[]);O(this,"project");this.initialData=Xi,this.project=i,this.id=Xi.id,this.version=Xi.version,this.name=Xi.name,this.static=Xi.static,this.abstract=Xi.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===ve["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)=>vF(t,y);const l=this.abstractMethods.find(t=>t.id===ve["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===ve["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)=>ZG(t,y)}}const vve="test_primitive_entities_export";class Eve extends xn{constructor(i){super(li,i);O(this,"initialData");O(this,"id",Ve.PERSISTED_ENTITY);O(this,"version","1");O(this,"name",Ve.PERSISTED_ENTITY);O(this,"description",li.description);O(this,"type",f.BuiltInBaseEntity);O(this,"abstract",li.abstract);O(this,"static",li.static);O(this,"properties",[]);O(this,"methods",[]);O(this,"abstractMethods",[]);O(this,"extends",[]);O(this,"errors",[]);O(this,"project");this.initialData=li,this.project=i,this.id=li.id,this.version=li.version,this.name=li.name,this.static=li.static,this.abstract=li.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===ve["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)=>EF(l,p)}}function Tve(d){const u=[new SG(d),new JG(d),new Eve(d),new xn(rh,d)];return u.forEach(i=>{d.subscribeBuiltInInstance(i)}),d.builtInBaseEntities=u,u}function bve(d){const u=[new ki(qe,d),new ki(ia,d),new ki(lt,d),new ki(J0,d),new ki(oi,d),new ki(sa,d),new ki(bn,d),new ki(na,d),new ki(Ul,d)];return u.forEach(i=>{d.subscribeBuiltInInstance(i)}),d.primitives=u,u}function Ave(d){const u=[new ht(sh,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.globalEventActionDescriptors=u,u}function Ive(d){const u=[new ht(Uu,d),new ht(Va,d),new ht(Bu,d),new ht(Fl,d),new ht(Gl,d),new ht(Jf,d)];u.forEach(a=>{a.initChildren(null),d.subscribeBuiltInInstance(a)}),d.loopDeclarations=u;const i=[new ht(zf,d),new ht(Mu,d),new ht(Hf,d),new ht(Dv,d),new ht(Cv,d),new ht(Wf,d)];return i.forEach(a=>{a.initChildren(null),d.subscribeBuiltInInstance(a)}),d.loopDeclarationsBodies=i,u}function wve(d){const u=[new sn(nh,d),new sn(Yv,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.valueDescriptors=u,u}function Rve(d){const u=[new ht(jo,d),new ht(Jv,d),new ht(Zl,d)];return u.forEach(i=>{i.initChildren(null),d.subscribeBuiltInInstance(i)}),d.conditionDeclarations=u,u}const dl={},Xy={},jp={empty:!1,enrich:!0,mock:!1,ignoreCache:!1,onFetch:async()=>null,manuallyInit:!1};function WG(d,u={enrich:!0,shallowErrors:!1},i){const a={enrich:!0,shallowErrors:!1,...u},{enrich:l,shallowErrors:p}=a,t=d.project,y=d.record,v=new Un(t),T=new Set;y[t.id]=t,T.add(t.id);const R=L().toISOString();Object.values(y).forEach(N=>{!N||v.allBuiltInEntityIds.includes(N.id)||T.add(N.id)}),v.order=Array.from(T),v.flatRecord=y,v.orderEntities();const A=Qy(d.project,i);A.instances[t.id]=A;const P=l?A.addChangeSet(new F(A,V.sessionAuthor,R,A,!0,"project-init-from-fetch-result")):null;return v.visit(N=>{if(N.id===A.id)return;const U=ee(N,A);try{U.hydrateAncestors(),U.addSelfToProject(null);const K=Nd(N);Object.keys(K.downstream).forEach(k=>{const J=A.get(k);J&&J.hydrateAncestors()})}catch(K){if(p)Fe.error("Error hydrating ancestors: ",K);else throw K}}),l?(v.visit(N=>{if(N.id===A.id)return;const U=A.get(N.id);U&&U.afterAllChildrenInitialized(P)}),A.afterAllChildrenInitialized(P)):em(A,R).forEach(U=>{U.remove({ignoreUpstream:!0},null)}),A.instancesList.forEach(N=>{N.previousVersion=null}),P==null||P.attemptAutoclose("project-init-from-fetch-result",A.id),A}async function gve(d,u=jp){const i={...jp,...u};if(i.empty)return{data:{project:{id:d.id,type:f.Project,version:V.UUID.uuid(),createdAt:L().toISOString(),author:V.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={...oT};return l.id=d.id,{data:{project:l,record:{}}}}return Fe.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){Fe.error("Error fetching project: ",p),l({data:null})}})}function Qy(d,u){const i=new V(d,u);return bve(i),Tve(i),mve(i),Ave(i),Ive(i),wve(i),Rve(i),Array.from(new Set([...i.getAllBuiltInIds(),...xs()])).forEach(l=>{if(!i.builtInInstances[l]&&i.instances[l])i.builtInInstances[l]=i.instances[l],delete i.instances[l];else if(!i.builtInInstances[l])throw new Error(`Built in entity was not properly initialized: ${l}`)}),i.instances[i.id]=i,i}function em(d,u){return d.instancesList.filter(a=>L(a.createdAt).isAfter(L(u)||!!a.previousVersion))}function _ve(d,{enrich:u}={enrich:!0},i){const a=new Map,l=new Map,p=Array.from(new Set([...d.getAllBuiltInIds(),...xs()]));Object.keys(d.instances).forEach(A=>{if(p.includes(A)){a.set(A,A),l.set(A,A);return}const P=d.get(A);if(!Wy(P,{...d.instances,...d.builtInInstances}).every(k=>!p.includes(k))){a.set(A,A),l.set(A,A);return}const K=V.UUID.uuid();a.set(A,K),l.set(K,A)});const t=L().toISOString(),y=d.toShallowJSON({seenEntityMaps:a});y.previousVersion=null,y.createdAt=t,y.version=V.UUID.uuid();const v=Qy(y,i);v.instances[v.id]=v;const T=u?v.addChangeSet(new F(v,V.sessionAuthor,t,v,!0,"project-clone")):null,R=new Un(d);return R.visit(A=>{const P=A.toShallowJSON({seenEntityMaps:a});P.previousVersion=null,P.createdAt=t,P.version=V.UUID.uuid();const N=Nd(P,NF(R.flatRecord,a));if(Object.keys(N.upstream).length){let K=!1;if(Object.keys(N.upstream).forEach(k=>{if(!K&&(!v.get(k)||v.getDeleted(k))){K=!0;return}}),K)return}const U=ee(P,v);U.hydrateAncestors(),U.addSelfToProject(T),T==null||T.add(U,G.Added)}),u?(R.visit(A=>{if(A.id===v.id)return;const P=v.get(a.get(A.id));P&&P.afterAllChildrenInitialized(T)}),v.afterAllChildrenInitialized(T)):em(v,t).forEach(P=>{P.remove({ignoreUpstream:!0},null)}),v.instancesList.forEach(A=>{A.previousVersion=null}),T==null||T.attemptAutoclose("project-clone",v.id),v}function HG(d,{enrich:u}={enrich:!0},i){const a=Qy(d,i),l=L().toISOString(),p=u?a.addChangeSet(new F(a,V.sessionAuthor,l,a,!0,"project-init")):null;p&&(p.type=hb.Automatic);const t=new Un(d);return t.visit(y=>{const v=ee(y,a);v.hydrateAncestors(),v.addSelfToProject(p)}),u?(t.visit(y=>{if(y.id===a.id)return;const v=a.get(y.id);v&&v.afterAllChildrenInitialized(p)}),a.afterAllChildrenInitialized(p)):(em(a,l).forEach(T=>{T.remove({ignoreUpstream:!0},null)}),new Un(a).visit(T=>{T.initialized=!0,T.captureVersion()})),a.initialized=!0,p==null||p.attemptAutoclose("project-init",a.id),a}async function Dve(d,u=jp,i){const a={...jp,...u};if(d.id&&dl[d.id]&&!a.ignoreCache)return dl[d.id];if(d.id&&Xy[d.id]&&!a.ignoreCache)return await Xy[d.id],dl[d.id];const l=gve(d,a);d.id&&(Xy[d.id]=l);const p=await l;if(p.data){let t;return a.mock?t=HG(oT,{enrich:!!a.enrich},i):p.data instanceof V?t=p.data:t=WG(p.data,{enrich:!!a.enrich},i),dl[d.id]=t,d.id&&delete Xy[d.id],t}return null}function Ove(d){return dl[d.id]&&delete dl[d.id],null}D.AI_VALUE_CONNECTION_GENERATION_ACTION_EXPLANATION=TA,D.ALL_BUILT_IN_BASE_ENTITIES=LN,D.ALL_BUILT_IN_CONDITION_ENTITIES=YN,D.ALL_BUILT_IN_GLOBAL_EVENT_ENTITIES=XN,D.ALL_BUILT_IN_LOOP_BODY_ENTITIES=oV,D.ALL_BUILT_IN_LOOP_ENTITIES=aV,D.ALL_BUILT_IN_OPERATION_ENTITIES=E$,D.ALL_BUILT_IN_PRIMITIVE_ENTITIES=A1,D.ALL_BUILT_IN_TOP_LEVEL_ENTITIES=s2,D.ALL_BUILT_IN_VALUE_DESCRIPTORS=i2,D.ALL_CONNECTION_DISABLED_REASONS=Ime,D.ALL_OTHER_DISABLED_REASONS=Rme,D.ALL_TESTING_DISABLED_REASONS=wme,D.ActionDescriptorState=ht,D.ActionInputMapState=Yye,D.ActionOutputMapState=Qye,D.AppendToListOperationInputIds=C_,D.AppendToListOperationOutputIds=$_,D.Area=ci,D.ArgumentDeclarationDependencyField=hx,D.ArgumentDeclarationState=Ea,D.BREAK_AND_CONTINUE_STATEMENTS_RETURN_DECLARATIONS_EXPLANATION=yA,D.BUILT_IN_BASE_ENTITY_IDS=ve,D.BUILT_IN_ENTITY_TYPES=zi,D.BaseCanvasDraggableState=eve,D.BaseEntityNames=Ve,D.BaseState=Q0e,D.BaseValueDescriptorIds=Ml,D.BreakStatementDependencyField=Ex,D.BreakStatementState=Xa,D.BuiltInBaseEntityState=xn,D.BuiltInFunctionIds=Li,D.CACHED_PROJECTS_BY_ID=dl,D.CALLABLE_ENTITIES_EXPLANATION=jme,D.CALLABLE_TYPES=$s,D.CALLER_ENTITIES_EXPLANATION=tF,D.CALLER_TYPES=Ps,D.CALLS_UPDATE_EXPLANATION=to,D.CANVAS_BASE_X=kx,D.CANVAS_BASE_Y=Sx,D.CANVAS_CARD_HEADER_CENTER_HEIGHT=Pd,D.CANVAS_CARD_WIDTH=Fx,D.CANVAS_COMPLEX_CARD_HEIGHT=mme,D.CANVAS_HORIZONTAL_BUFFER_BETWEEN_CARDS=iA,D.CANVAS_SIMPLE_CARD_HEIGHT=tA,D.CANVAS_SIZE=eA,D.CANVAS_VERTICAL_BUFFER_BETWEEN_CARDS=gy,D.CARD_FOOTER_HEIGHT=Ry,D.CARD_PROPERTIES_SECTION_PADDING=ba,D.CARD_PROPERTIES_SECTION_SINGLE_PADDING=rA,D.CHILDREN_TYPES=R8,D.COMPARISON_CONDITIONS=WN,D.CONDITIONS=HN,D.CUSTOM_ENTITY_OPERATIONS=zD,D.CallableEntityClass=rve,D.CallerEntityClass=qA,D.CanvasEntityConnectionDisabledReason=sA,D.CanvasEntityOtherDisabledReason=aA,D.CanvasEntityTestingDisabledReason=nA,D.ChangeSet=F,D.ChangeSetChangeCaptureType=hb,D.ChangeSetEntityChangeType=G,D.ChildEntityBaseClass=tve,D.CommonStringValidationErrorCodes=mF,D.ComparisonOperatorTypes=vr,D.ConditionDependencyField=BU,D.ConditionState=Za,D.ContinueStatementDependencyField=$U,D.ContinueStatementState=Ti,D.CreateNewInputIds=gD,D.CreateNewOutputIds=_D,D.DEFAULT_EXECUTION_INSTANCE_PARENT_CONTEXT=jx,D.DEFAULT_PROJECT_INSTANCE_PARENT_CONTEXT=FG,D.DEFAULT_PROJECT_STATIC_PARENT_CONTEXT=ZA,D.DEFAULT_UUID_MODULE=$u,D.DRAGGABLE_CALLABLE_TYPES=Z0,D.DRAGGABLE_CALLER_TYPES=p1,D.DRAGGABLE_ELEMENT_TYPES=Pf,D.DRAGGABLE_EXECUTABLE_TYPES=I8,D.DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES=$f,D.DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS=q0,D.DataTypeCompatibilityTypes=Ms,D.DataTypeDependencyField=Eb,D.DataTypeParentChildRelation=ai,D.DataTypeState=is,D.DefinitionEntityDependencyField=zy,D.DefinitionEntityState=wa,D.DynamicValueTypes=Te,D.EDITABLE_PERSISTANCE_REPOSITORY_DEFAULTS=z0e,D.ENTITIES_WITH_VALLUES_EXPLANATION=Cy,D.ENTITY_PERSISTANCE_OPTIONS_DEFAULTS=me,D.ENTITY_RECUSION_OPTIONS_DEFAULTS=xe,D.ENTITY_TYPES=w8,D.ENTITY_WITH_CODE_NAMES_TYPES=h1,D.ENTITY_WITH_DECLARATION_TYPES=b8,D.ENTITY_WITH_LOGIC_SCOPE_TYPES=Dr,D.ENTITY_WITH_NAMES_TYPES=f1,D.ENTITY_WITH_PARENT_TYPES=E8,D.ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES=u1,D.ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES=T8,D.ENTITY_WITH_VALUE_TYPES=S0,D.ENTRY_POINT_ENTITIES_EXPLANATION=gp,D.ENTRY_POINT_TYPES=tr,D.ERROR_PROPERTY_HEIGHT=wy,D.EVENT_TYPES=_o,D.EXECUTABLE_TYPES=A8,D.EXECUTION_OPERATIONS=RD,D.EfimeralValueStore=mp,D.EndpointEntity=JG,D.EntityError=Xt,D.EntityErrorSeverity=q,D.EntityGenerationError=Q,D.EntityGenerationErrorCode=S,D.EntityInstanceErrorCode=oe,D.EntityOperations=cr,D.EntityType=f,D.EntityWithLogicScopeClass=ave,D.EntityWithValueClass=nve,D.EntryPointEntityClass=ive,D.Execution=Bn,D.ExecutionOperations=ur,D.ExecutionState=Yb,D.ExecutionTerminationType=Je,D.ExplicitInfrastructureResource=uA,D.FunctionCallDependencyField=pF,D.FunctionCallState=so,D.FunctionDeclarationDependencyField=IU,D.FunctionDeclarationState=Ka,D.GET_PROJECT_OPTIONS_DEFAULTS=jp,D.GLOBAL_EVENT_DECLARATIONS=zN,D.GetLastInListOperationInputIds=v_,D.GetLastInListOperationOutputIds=E_,D.GlobalEventNames=ra,D.GlobalEventState=qa,D.HTTPOperations=Ei,D.HTTPStatucCodeValidationErrorCodes=qG,D.HTTP_OPERATIONS=PO,D.ImplicitGlobalInfrastructureResource=cA,D.InfrastructureResource=dA,D.InfrastructureResourceStatus=zx,D.InputMapDependencyField=ux,D.InputMapState=Ln,D.InstalledProjectState=Ya,D.InternalCallDependencyField=lx,D.InternalCallState=za,D.JoinListOperationInputIds=Ug,D.JoinListOperationOutputIds=jg,D.LIST_OPERATIONS=k_,D.ListOperations=vt,D.LiteralValueDependencyField=mx,D.LiteralValueState=$i,D.Logger=Fe,D.LoopDependencyField=NU,D.LoopState=Oi,D.LoopTypes=Ze,D.MAIN_VALUE_PROPERTY_HEADER_HEIGHT=Iy,D.MAIN_VALUE_SUB_PROPERTY_HEIGHT=vme,D.NESTED_PROPERTY_HEIGHT=Gx,D.NON_INTERACTIVE_BASE_ENTITIES_EXPLANATION=ro,D.NUMBER_OPERATIONS=z1,D.NumberOperations=mr,D.OPERATION_DECLARATIONS=v$,D.OperationDependencyField=gU,D.OperationState=ka,D.OutputMapDependencyField=px,D.OutputMapParentChildRelation=Bl,D.OutputMapState=rn,D.PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION=$y,D.PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION=eo,D.PASS_THROUGH_CALLABLE_TYPES=nr,D.PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS=c1,D.PLACEHOLDER_VALUE_STORE_CLIENT=Ax,D.PROPERTY_HEIGHT=Ay,D.PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION=EA,D.PUBLISHING_DISABLED_REASONS=Xx,D.ParallelExecutionOperation=GG,D.PassThroughCallableEntityClass=sve,D.PersistedEntity=SG,D.PrimitiveEntityState=ki,D.PrimitiveTypes=X,D.ProjectState=V,D.ProjectStateEvents=gr,D.PropertyDependencyField=NG,D.PropertyState=jn,D.PublicationRun=Cme,D.PublicationStep=Yx,D.RANDOMNESS_OPERATIONS=m$,D.READABLE_ENTITY_TYPES=zb,D.READ_ONLY_ENTITY_PERSISTANCE_REPOSITORY=xG,D.RETURN_STATEMENT_RETURN_DECLARATIONS_EXPLANATION=xme,D.RandomnessOperations=Le,D.ReturnDeclarationDependencyField=DU,D.ReturnDeclarationState=Ki,D.ReturnStatementDependencyField=Tb,D.ReturnStatementState=Sa,D.SQLAST=Fye,D.STANDALONE_CONDITIONS=xN,D.STATIC_PROPERTY_HEIGHT=Kx,D.STRING_OPERATIONS=Mg,D.ScopeCompatibilityType=Zy,D.SearchDependencyField=zj,D.SearchState=Ha,D.SequentialExecutionOperation=kG,D.SequentialExecutionOperationInputIds=cD,D.SequentialExecutionOperationOutputIds=pD,D.SharedEntityErrorCode=ne,D.SharedStateFunctionality=jG,D.SplitListOperationInputIds=Qg,D.SplitListOperationOutputIds=e_,D.StandaloneOperatorTypes=kr,D.StringOperations=It,D.TERMINATION_TYPES=pr,D.Traverser=Un,D.USER_MANAGED_ENTITY_TYPES=y1,D.UserManagedEntityStateTemplate=X0e,D.VALUE_READING_ENTITIES_EXPLANATION=vA,D.VALUE_READING_TYPES=Tn,D.VALUE_WRITING_ENTITIES_EXPLANATION=rF,D.VALUE_WRITING_TYPES=Ur,D.VARIABLE_DATA_TYPE_INFERRANCE_EXPLANATION=mA,D.VARIABLE_TYPES=ot,D.ValueAutogenerationType=Mr,D.ValueDescriptorDependencyField=bx,D.ValueDescriptorParentChildRelation=le,D.ValueDescriptorState=sn,D.ValueReadingEntityClass=Mp,D.ValueWritingEntityClass=Up,D.VariableDeclarationDependencyField=xU,D.VariableDeclarationState=Wa,D.VariableInputMapState=Hye,D.VariableInstanceDependencyField=Ab,D.VariableInstanceState=Ja,D.VariableOutputMapState=Xye,D.WaitOperation=KG,D.WaitOperationInputIds=sD,D.WaitOperationOutputIds=nD,D.actionDescriptorValidation=Hfe,D.addDisabledReasons=_me,D.afterLiteralValueAsTypeChangeSideEffects=Bx,D.afterLiteralValueAsTypeDeleteSideEffects=Lx,D.afterLiteralValueChangeSideEffects=Vx,D.afterLiteralValueDeleteSideEffects=Px,D.aggregateVariableInputsNextValues=vp,D.aggregateVariableInputsValues=my,D.appendToListOperation=Bf,D.appendToListOperationElementToAppendArgument=av,D.appendToListOperationElementToAppendArgumentParentRef=j_,D.appendToListOperationElementToAppendArgumentRef=N_,D.appendToListOperationError=K_,D.appendToListOperationErrorParentRef=G_,D.appendToListOperationListArgument=nv,D.appendToListOperationListArgumentParentRef=U_,D.appendToListOperationListArgumentRef=P_,D.appendToListOperationListDataType=V_,D.appendToListOperationResultListDataType=M_,D.appendToListOperationResultListReturn=F_,D.appendToListOperationResultListReturnParentRef=x_,D.appendToListOperationResultListReturnRef=B_,D.appendToListOperationSecondListDataType=L_,D.applyNewScope=Se,D.argumentDeclarationValidation=eme,D.asGenerationActionExample=Mn,D.assembleAndAddLiteralValueFromDataType=nn,D.assembleStandaloneLiteralValueFromDataType=et,D.booleanPrototype=ia,D.breakStatementValidation=ime,D.calculateCardSize=Zx,D.calculateMethodCardSize=qx,D.calculateNewParentBasedOnCallers=Dp,D.capitalizeFirstLetter=di,D.changeSetJSONRecordToUniqueIds=jfe,D.checkAreDataTypesCompatible=Us,D.checkAreDefinitionEntitiesCompatibleAsDataType=rx,D.checkArePropertiesCompatibleAsDataType=tx,D.checkExtendsBaseEntity=Jy,D.checkHasBaseEntity=as,D.checkHasMetadataChanged=Cr,D.checkImplementationsOverlap=Ia,D.checkImplementsBaseEntity=b0e,D.checkIsBranchDependentButNotDirectlyOnBranch=ll,D.checkIsBranchDependentOnBranch=_A,D.checkIsBuiltIn=BA,D.checkIsCallableEntityReachable=Lp,D.checkIsCanvasEntity=E0e,D.checkIsDefEntityInlineDeclaredForSearchOutputType=jb,D.checkIsDetachedBranch=hG,D.checkIsDetachedBranchShallow=NA,D.checkIsEmptyValue=yy,D.checkIsGlobalVariable=m0e,D.checkIsGloballyDeclared=VA,D.checkIsLiteralValueEmpty=Sb,D.checkIsMethod=LA,D.checkIsNestedScope=qy,D.checkIsRequiredValue=Ta,D.checkScopeCompatibility=Fs,D.checkShouldInputOrOutputBePartOfFinalVariableObjectValue=Bp,D.checkShouldPropertyBePartOfFinalVariableObjectValue=MA,D.cloneProject=_ve,D.conditionValidation=Yfe,D.continueStatementValidation=qfe,D.convertToAbstract=zme,D.convertToNonAbstract=Xme,D.convertToNonStatic=e0e,D.convertToStatic=Qme,D.countedLoopActionDescriptor=Uu,D.countedLoopActionDescriptorDynamicReturnDeclaration=XP,D.countedLoopActionDescriptorDynamicReturnDeclarationParentRef=zP,D.countedLoopActionDescriptorStringArgumentDeclaration=YP,D.countedLoopActionDescriptorStringArgumentDeclarationDataType=WP,D.countedLoopActionDescriptorStringArgumentDeclarationDataTypeDefaultValue=ZP,D.countedLoopActionDescriptorStringArgumentDeclarationDataTypeDefaultValueParentRef=qP,D.countedLoopActionDescriptorStringArgumentDeclarationDataTypeParentRef=JP,D.countedLoopActionDescriptorStringArgumentDeclarationParentRef=HP,D.countedLoopBodyActionDescriptor=zf,D.countedLoopBodyActionDescriptorAnyDynamicArgument=iV,D.countedLoopBodyActionDescriptorAnyDynamicArgumentParentRef=rV,D.countedLoopBodyActionDescriptorAnyDynamicReturn=nV,D.countedLoopBodyActionDescriptorAnyDynamicReturnParentRef=sV,D.countedLoopBodyActionDescriptorIterationNumberArgumentDeclaration=Pv,D.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=eV,D.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=QP,D.countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=tV,D.createDefinitionEntityFromJSONObject=By,D.createEntityError=st,D.createNestedDataTypeForEntity=yF,D.createNewInstanceOperation=Oo,D.createNewInstanceOperationEntityToInstanciateArgument=LD,D.createNewInstanceOperationEntityToInstanciateArgumentRef=PD,D.createNewInstanceOperationEntityToInstanciateDataType=VD,D.createNewInstanceOperationError=jD,D.createNewInstanceOperationErrorParentRef=UD,D.createNewInstanceOperationNewEntityDataArgument=$D,D.createNewInstanceOperationNewEntityDataArgumentDataType=CD,D.createNewInstanceOperationNewEntityDataArgumentDataTypeParentRef=OD,D.createNewInstanceOperationNewEntityDataArgumentParentRef=DD,D.createNewInstanceOperationOutputEntityDeclaration=MD,D.createNewInstanceOperationOutputEntityDeclarationParentRef=BD,D.createNewInstanceOperationRef=ND,D.createSemanticId=OG,D.createStateFromGenerationTargetType=Y0e,D.createStateFromType=zt,D.createStateFromTypeAndSubscribe=ee,D.cronJobBuiltInBaseEntity=rh,D.cronJobBuiltInBaseEntityExpressionProperty=VN,D.cronJobBuiltInBaseEntityExpressionPropertyDataTypeRef=P8,D.cronJobBuiltInBaseEntityExpressionPropertyRef=$N,D.cronJobBuiltInBaseEntityRef=PN,D.cronJobTriggeredFunctionDeclarationBlueprint=qv,D.cronJobTriggeredFunctionDeclarationBlueprintParentRef=ON,D.dataTypeCompatibilityToErrorExplanation=uF,D.dataTypeValidation=xfe,D.datePrototype=bn,D.dateValueAutogenerationSchema=HT,D.definitionEntityToZodSchema=f2,D.definitionEntityValidation=Z0e,D.deletePersistedEntityMethod=Sv,D.deletePersistedEntityMethodParentRef=pN,D.deleteRootProject=Ove,D.emitSideEffects=AU,D.emptyCondition=Jv,D.emptyConditionArgument=jN,D.emptyConditionRef=UN,D.endpointBuiltInBaseEntity=Xi,D.endpointBuiltInBaseEntityRef=cV,D.endpointBuiltInBaseEntityRefFour=JV,D.endpointBuiltInBaseEntityRefThree=bV,D.endpointBuiltInBaseEntityRefTwo=mV,D.endpointBuiltInCorsProperty=pV,D.endpointBuiltInCorsPropertyDataType=uV,D.endpointBuiltInCorsPropertyDataTypeRef=lV,D.endpointBuiltInCorsPropertyRef=dV,D.endpointBuiltInMethodProperty=Nv,D.endpointBuiltInMethodPropertyDataType=TV,D.endpointBuiltInMethodPropertyDataTypeRef=vV,D.endpointBuiltInMethodPropertyRef=EV,D.endpointBuiltInPathProperty=Vv,D.endpointBuiltInPathPropertyDataType=yV,D.endpointBuiltInPathPropertyDataTypeRef=fV,D.endpointBuiltInPathPropertyRef=hV,D.endpointPathParamsArgumentDeclaration=Bv,D.endpointPathParamsArgumentDeclarationRef=$V,D.endpointPathParamsVariableDataType=PV,D.endpointPathParamsVariableDataTypeRef=CV,D.endpointReachedTriggerActionDescriptor=Gv,D.endpointReachedTriggerActionDescriptorRef=VV,D.endpointReachedTriggerActionDescriptorRefFour=BV,D.endpointReachedTriggerActionDescriptorRefThree=LV,D.endpointReachedTriggerActionDescriptorRefTwo=NV,D.endpointRequestBodyArgumentDeclaration=Uv,D.endpointRequestBodyArgumentDeclarationRef=RV,D.endpointRequestBodyVariableDataType=gV,D.endpointRequestHeadersArgumentDeclaration=Lv,D.endpointRequestHeadersArgumentDeclarationRef=IV,D.endpointRequestHeadersVariableDataType=wV,D.endpointRequestHeadersVariableDataTypeRef=AV,D.endpointRequestQueryParamsArgumentDeclaration=Mv,D.endpointRequestQueryParamsArgumentDeclarationRef=DV,D.endpointRequestQueryParamsVariableDataType=OV,D.endpointRequestQueryParamsVariableDataTypeRef=_V,D.endpointResponseBodyDataType=qV,D.endpointResponseBodyReturnDeclaration=Fv,D.endpointResponseBodyReturnDeclarationRef=SV,D.endpointResponseCodeDataType=UV,D.endpointResponseCodeReturnDeclaration=jv,D.endpointResponseCodeReturnDeclarationDefaultValueParentRef=xV,D.endpointResponseCodeReturnDeclarationRef=MV,D.endpointResponseHeadersDataType=KV,D.endpointResponseHeadersDataTypeRef=FV,D.endpointResponseHeadersReturnDeclaration=xv,D.endpointResponseHeadersReturnDeclarationRef=GV,D.endpointReturnStatementRef=jV,D.endpointReturnStatementRefThree=ZV,D.endpointReturnStatementRefTwo=kV,D.enerateRandomIntegerOperationError=qO,D.enerateRandomIntegerOperationErrorParentRef=SO,D.enrichFromKnownEntities=Op,D.enumOptionsProperty=b1,D.enumOptionsPropertyDataType=E1,D.enumOptionsPropertyDataTypeRef=m1,D.enumOptionsPropertyRef=v1,D.enumPrototype=sa,D.enumPrototypeRef=T1,D.errorCodeToMessage=wp,D.executionBuiltInBaseEntity=ih,D.executionBuiltInEntityAbortMethod=Zv,D.executionBuiltInEntityAbortMethodParentRef=NN,D.filterOutDuplicateEntities=w,D.filterOutDuplicateErrors=B4,D.findEntityFromKeys=wA,D.findReferenceToSelfInList=VF,D.findReferencesToSelfInProject=d0e,D.flattenActionDescriptor=LF,D.flattenArgumentDeclaration=BF,D.flattenBreakStatement=MF,D.flattenBuiltInBaseEntity=UF,D.flattenCalls=js,D.flattenCanvasAncestorsUntil=Vd,D.flattenCondition=jF,D.flattenContinueStatement=xF,D.flattenDataType=GF,D.flattenDefinitionEntity=FF,D.flattenDefinitionEntityExtensionAndImplementationTypes=Md,D.flattenDefinitionEntityExtensionTypes=$p,D.flattenDefinitionEntityExtensions=CA,D.flattenDefinitionEntityImplementations=$A,D.flattenDefinitionEntityImplementionTypes=Cp,D.flattenDerivedCanvasEntities=ns,D.flattenDetachedBranch=mG,D.flattenElementCalls=mt,D.flattenElementCallsOnTheSameScope=l0e,D.flattenEntity=ye,D.flattenFunctionCall=KF,D.flattenFunctionDeclaration=kF,D.flattenGlobalEvent=SF,D.flattenInputMap=qF,D.flattenInstalledProject=ZF,D.flattenInternalCall=JF,D.flattenLiteralValue=WF,D.flattenLoop=HF,D.flattenOperation=YF,D.flattenOutputMap=zF,D.flattenPrimitiveEntity=XF,D.flattenProject=QF,D.flattenProjectElements=PF,D.flattenProperty=eG,D.flattenRelatedCallableElementsOnTheRight=pG,D.flattenRelatedCanvasElementsOnTheLeft=fG,D.flattenRelatedCanvasElementsOnTheRight=ky,D.flattenReturnDeclaration=tG,D.flattenReturnStatement=rG,D.flattenSearch=iG,D.flattenValueDescriptor=sG,D.flattenVariableDeclaration=nG,D.flattenVariableInstance=aG,D.flattenVariableReads=$F,D.flattenVariableWrites=CF,D.flattenVariables=sr,D.fromChangeSetToRecordChangeSet=_0e,D.fromLiteralValueTypeToPrimitiveType=Mb,D.fromPublishingDisabledCodeToReadable=Vme,D.fromZodParseToEntityGenerationErrors=pA,D.functionCallValidation=Wme,D.functionDeclarationValidation=Ufe,D.generate=ch,D.generateActionExample=Fme,D.generateExecutionDataType=Zye,D.generateHexadecimalTokenOperation=Iv,D.generateHexadecimalTokenOperationError=y$,D.generateHexadecimalTokenOperationErrorParentRef=h$,D.generateHexadecimalTokenOperationResultStringDataType=c$,D.generateHexadecimalTokenOperationResultStringDataTypeParentRef=u$,D.generateHexadecimalTokenOperationResultStringOutput=f$,D.generateHexadecimalTokenOperationResultStringOutputParentRef=p$,D.generateIdFromStrategy=Nr,D.generateIdentifierOperation=Tv,D.generateIdentifierOperationAlphabetInput=qC,D.generateIdentifierOperationAlphabetInputParentRef=KC,D.generateIdentifierOperationAlphabetInputType=SC,D.generateIdentifierOperationAlphabetInputTypeParentRef=kC,D.generateIdentifierOperationError=zC,D.generateIdentifierOperationErrorParentRef=YC,D.generateIdentifierOperationLengthInput=GC,D.generateIdentifierOperationLengthInputParentRef=jC,D.generateIdentifierOperationLengthInputType=FC,D.generateIdentifierOperationLengthInputTypeParentRef=xC,D.generateIdentifierOperationResultStringDataType=WC,D.generateIdentifierOperationResultStringDataTypeParentRef=JC,D.generateIdentifierOperationResultStringOutput=HC,D.generateIdentifierOperationResultStringOutputParentRef=ZC,D.generateMutablePropertiesExplanation=_y,D.generatePlaceholderValueStore=nme,D.generateRandomAlphanumericOperation=Ev,D.generateRandomAlphanumericOperationError=UC,D.generateRandomAlphanumericOperationErrorParentRef=MC,D.generateRandomAlphanumericOperationLengthInput=PC,D.generateRandomAlphanumericOperationLengthInputParentRef=OC,D.generateRandomAlphanumericOperationLengthInputType=$C,D.generateRandomAlphanumericOperationLengthInputTypeParentRef=CC,D.generateRandomAlphanumericOperationResultStringDataType=NC,D.generateRandomAlphanumericOperationResultStringDataTypeParentRef=VC,D.generateRandomAlphanumericOperationResultStringOutput=BC,D.generateRandomAlphanumericOperationResultStringOutputParentRef=LC,D.generateRandomBase62Operation=mv,D.generateRandomBase62OperationError=vC,D.generateRandomBase62OperationErrorParentRef=mC,D.generateRandomBase62OperationLengthInput=cC,D.generateRandomBase62OperationLengthInputParentRef=lC,D.generateRandomBase62OperationLengthInputType=uC,D.generateRandomBase62OperationLengthInputTypeParentRef=dC,D.generateRandomBase62OperationResultStringDataType=fC,D.generateRandomBase62OperationResultStringDataTypeParentRef=pC,D.generateRandomBase62OperationResultStringOutput=yC,D.generateRandomBase62OperationResultStringOutputParentRef=hC,D.generateRandomBase64Operation=vv,D.generateRandomBase64OperationError=DC,D.generateRandomBase64OperationErrorParentRef=_C,D.generateRandomBase64OperationLengthInput=AC,D.generateRandomBase64OperationLengthInputParentRef=EC,D.generateRandomBase64OperationLengthInputType=bC,D.generateRandomBase64OperationLengthInputTypeParentRef=TC,D.generateRandomBase64OperationResultStringDataType=wC,D.generateRandomBase64OperationResultStringDataTypeParentRef=IC,D.generateRandomBase64OperationResultStringOutput=gC,D.generateRandomBase64OperationResultStringOutputParentRef=RC,D.generateRandomBoolean=D2,D.generateRandomDate=v2,D.generateRandomDateAfter=h2,D.generateRandomDateBefore=y2,D.generateRandomDateBetweenRange=m2,D.generateRandomFloatOperation=hv,D.generateRandomFloatOperationError=zO,D.generateRandomFloatOperationErrorParentRef=YO,D.generateRandomFloatOperationResultNumberDataType=JO,D.generateRandomFloatOperationResultNumberDataTypeParentRef=ZO,D.generateRandomFloatOperationResultNumberOutput=HO,D.generateRandomFloatOperationResultNumberOutputParentRef=WO,D.generateRandomHexadecimalOperation=yv,D.generateRandomHexadecimalOperationError=oC,D.generateRandomHexadecimalOperationErrorParentRef=aC,D.generateRandomHexadecimalOperationLengthInput=tC,D.generateRandomHexadecimalOperationLengthInputParentRef=XO,D.generateRandomHexadecimalOperationLengthInputType=eC,D.generateRandomHexadecimalOperationLengthInputTypeParentRef=QO,D.generateRandomHexadecimalOperationResultStringDataType=iC,D.generateRandomHexadecimalOperationResultStringDataTypeParentRef=rC,D.generateRandomHexadecimalOperationResultStringOutput=nC,D.generateRandomHexadecimalOperationResultStringOutputParentRef=sC,D.generateRandomIntegerOperation=fv,D.generateRandomIntegerOperationMaxValueInput=xO,D.generateRandomIntegerOperationMaxValueInputParentRef=MO,D.generateRandomIntegerOperationMaxValueInputType=jO,D.generateRandomIntegerOperationMaxValueInputTypeParentRef=UO,D.generateRandomIntegerOperationMinValueInput=kO,D.generateRandomIntegerOperationMinValueInputParentRef=FO,D.generateRandomIntegerOperationMinValueInputType=KO,D.generateRandomIntegerOperationMinValueInputTypeParentRef=GO,D.generateRandomIntegerOperationResultNumberDataType=NO,D.generateRandomIntegerOperationResultNumberDataTypeParentRef=VO,D.generateRandomIntegerOperationResultNumberOutput=BO,D.generateRandomIntegerOperationResultNumberOutputParentRef=LO,D.generateRandomNumber=I2,D.generateRandomNumberAfter=T2,D.generateRandomNumberBefore=b2,D.generateRandomNumberBetweenRange=A2,D.generateRandomText=_2,D.generateRandomTextAfter=w2,D.generateRandomTextBefore=R2,D.generateRandomTextBetweenRange=g2,D.generateRandomUUIDv4Operation=bv,D.generateRandomUUIDv4OperationError=i$,D.generateRandomUUIDv4OperationErrorParentRef=r$,D.generateRandomUUIDv4OperationResultStringDataType=QC,D.generateRandomUUIDv4OperationResultStringDataTypeParentRef=XC,D.generateRandomUUIDv4OperationResultStringOutput=t$,D.generateRandomUUIDv4OperationResultStringOutputParentRef=e$,D.generateShortIdentifierOperation=Av,D.generateShortIdentifierOperationError=d$,D.generateShortIdentifierOperationErrorParentRef=l$,D.generateShortIdentifierOperationResultStringDataType=n$,D.generateShortIdentifierOperationResultStringDataTypeParentRef=s$,D.generateShortIdentifierOperationResultStringOutput=o$,D.generateShortIdentifierOperationResultStringOutputParentRef=a$,D.generateStandaloneIfDefault=ame,D.generateUniqueUUID=E2,D.getAllActionDescriptorsForConditions=Ny,D.getAllActionDescriptorsForGlobalEvents=Py,D.getAllActionDescriptorsForLoops=Vy,D.getAllActionDescriptorsForOperations=Sme,D.getAllBuiltInEntityIds=xs,D.getAllGloballyDeclaredFunctionDeclarationsExplanation=oF,D.getAllVariablesInScope=C0e,D.getBaseBuiltInEntities=Pi,D.getBaseSchemaBasedOnType=Qx,D.getBuiltInEntityOwner=ao,D.getCallableEntitiesDerivedFromInternalCalls=cG,D.getCallableEntitiesDerivedFromWrites=Bd,D.getCallableEntityReferenceSchema=ui,D.getCallableEntityTypeSchema=yU,D.getCalledBy=Is,D.getCallerEntityReferenceSchema=Hpe,D.getCallerEntityTypeSchema=Wpe,D.getCalls=jy,D.getCanvasEntitiesDerivedFromInternalCalls=uG,D.getCanvasEntitiesDerivedFromWrites=Ld,D.getCanvasEntityDerivedFromValueReadingEntity=Gy,D.getCanvasEntityDerivedFromValueReadingEntityFromTransfer=dG,D.getCanvasEntityReferenceSchema=pfe,D.getCanvasEntityTypeSchema=cfe,D.getChildrenEntityWithValues=r0e,D.getColumnProperties=Ud,D.getCommonAncestor=DA,D.getCommonChildren=My,D.getDatabaseEntities=I0e,D.getDatabaseEntity=R0e,D.getDeclaration=bi,D.getDeclarationOutputedError=O0e,D.getDeepestScope=EG,D.getDefaultRelationalDatabaseEntityOrFirst=bG,D.getDraggableCallableEntityReferenceSchema=vU,D.getDraggableCallableEntityTypeSchema=mU,D.getDraggableCallerEntityReferenceSchema=zpe,D.getDraggableCallerEntityTypeSchema=Ype,D.getDraggableExecutableEntityReferenceSchema=tfe,D.getDraggableExecutableEntityTypeSchema=efe,D.getDraggablePassThroughCallableEntityReferenceSchema=ey,D.getDraggablePassThroughCallableEntityTypeSchema=Qh,D.getDraggablePlayableEntityReferenceSchema=afe,D.getDraggablePlayableEntityTypeSchema=nfe,D.getEntitiesCreatedSinceInitialization=em,D.getEntitiesToPropagateValuesTo=an,D.getEntityArgumentDeclarations=OA,D.getEntityInputMaps=oG,D.getEntityOutputMaps=f0e,D.getEntityReferenceSchema=ufe,D.getEntityReturnDeclarations=lG,D.getEntityTypeSchema=dfe,D.getEntityWithLogicScopeReferenceSchema=ma,D.getEntityWithLogicScopeTypeSchema=rfe,D.getEntityWithValueReferenceSchema=hU,D.getEntityWithValueTypeSchema=Jpe,D.getEntryPointEntityReferenceSchema=ii,D.getEntryPointEntityTypeSchema=Ga,D.getEventEntityReferenceSchema=zh,D.getEventEntityTypeSchema=Yh,D.getEventNameFromDefinition=Pme,D.getExecutableEntityReferenceSchema=Qpe,D.getExecutableEntityTypeSchema=Xpe,D.getExtendedBuiltInEntity=h0e,D.getExtendedDefinitionEntity=Sy,D.getFirstNonLoopScopeOwner=Gr,D.getGenerationTargetSchemaBasedOnType=eF,D.getHTTPAPINameFromProjectId=Wx,D.getHeadIfPartOfDetachedBranch=yG,D.getHighestScope=vG,D.getImplementedBuiltInEntity=y0e,D.getIsInteractive=Pp,D.getLastInListOperation=sv,D.getLastInListOperationError=O_,D.getLastInListOperationErrorParentRef=D_,D.getLastInListOperationInputListArgument=R_,D.getLastInListOperationInputListArgumentParentRef=w_,D.getLastInListOperationInputListArgumentRef=T_,D.getLastInListOperationInputListDataType=b_,D.getLastInListOperationOutputElementDataType=I_,D.getLastInListOperationOutputElementReturn=__,D.getLastInListOperationOutputElementReturnParentRef=g_,D.getLastInListOperationOutputElementReturnRef=A_,D.getLinkedEntitiesFromArgumentDeclaration=o0e,D.getLiteralValueNameFromDataType=rl,D.getLowestPersistedEntityImplementation=PA,D.getOnlyRelevantErrorsForPublication=Jme,D.getParentCallableEntity=TF,D.getParentCallerEntity=AF,D.getParentCanvasEntities=Ai,D.getParentCanvasEntity=or,D.getParentCanvasEntityFromTransfer=Uy,D.getParentEntryPoint=t0e,D.getParentPassthroughCallableEntity=bF,D.getPassThroughCallableEntityReferenceSchema=Tr,D.getPassThroughCallableEntityTypeSchema=Xh,D.getPeristedEntities=A0e,D.getPlayableEntityReferenceSchema=sfe,D.getPlayableEntityTypeSchema=ife,D.getProject=Dve,D.getPrototypeByType=Vp,D.getRecordOrderForTraversal=Yme,D.getRecusriveParentsIds=Wy,D.getReferenceEntityId=Z,D.getReferencedEntitiesStateOrErrors=Oy,D.getReferencedEntityStateOrErrors=fA,D.getReferencedIds=Nd,D.getRelatedCallableElementsOnTheRight=Ky,D.getRelatedCanvasElementsOnTheLeft=no,D.getRelatedCanvasElementsOnTheLeftFromTransfer=u0e,D.getRelatedCanvasElementsOnTheRight=ln,D.getRelationalDBInstanceNameFromEntityId=Hx,D.getRootEntryPointScopeOwner=Np,D.getScopeOwner=Vi,D.getStateClassFromType=g0e,D.getStepNameFromDefinition=$me,D.getTerminationReferenceSchema=lfe,D.getTerminationTypeSchema=ofe,D.getTopLevelParentEntityId=AG,D.getTouchedCanvasEntitiesFromChangeSet=D0e,D.getUsedArgFromDeclaration=c0e,D.getUsedReturnFromDeclaration=p0e,D.getValueReadingEntityReferenceSchema=fU,D.getValueReadingEntityTypeSchema=ya,D.getValueWritingEntityReferenceSchema=Zpe,D.getValueWritingEntityTypeSchema=yc,D.getVariableFromInputMapping=wF,D.getVariableFromReturnVariablePointer=_F,D.getVariableReferenceSchema=Fa,D.getVariableTypeSchema=Yo,D.getVariablesFromArgumentDeclarations=Fy,D.getVariablesFromInputMaps=RF,D.getVariablesFromOutputMapping=DF,D.getVariablesFromOutputMaps=OF,D.getVariablesFromReturnDeclarations=gF,D.getVariablesInSameOrHigherScope=kb,D.getWrites=xy,D.globalEventValidation=Zfe,D.groupCallsBasedOnParallelizableExecution=s0e,D.handleAfterEntityImplementationSideEffects=hF,D.handleBeforeEntityImplementationSideEffects=fF,D.handleLiteralValueChange=ome,D.handleLiteralValueDelete=Nx,D.handleValueAsTypeChange=lme,D.handleValueAsTypeDelete=Mx,D.httpRequestBodyArgument=xf,D.httpRequestBodyArgumentRef=uO,D.httpRequestBodyDataType=cO,D.httpRequestHeadersArgument=jf,D.httpRequestHeadersArgumentRef=lO,D.httpRequestHeadersDataType=dO,D.httpRequestMethodArgument=Mf,D.httpRequestMethodArgumentRef=aO,D.httpRequestMethodDataType=oO,D.httpRequestMethodDataTypeRef=sO,D.httpRequestOperation=Nu,D.httpRequestOperationErrorValueDescriptor=pv,D.httpRequestOperationErrorValueDescriptorDatatype=$O,D.httpRequestOperationErrorValueDescriptorRef=CO,D.httpRequestOperationRef=gO,D.httpRequestOperationRefEight=DO,D.httpRequestOperationRefFive=wO,D.httpRequestOperationRefFour=IO,D.httpRequestOperationRefNine=OO,D.httpRequestOperationRefSeven=_O,D.httpRequestOperationRefSix=RO,D.httpRequestOperationRefThree=AO,D.httpRequestOperationRefTwo=bO,D.httpRequestQueryParamsArgument=cv,D.httpRequestQueryParamsArgumentRef=rO,D.httpRequestQueryParamsDataType=iO,D.httpRequestVariableURLArgument=Uf,D.httpRequestVariableURLArgumentRef=eO,D.httpRequestVariableURLDataType=tO,D.httpRequestVariableURLDataTypeRef=XD,D.httpResponseBodyReturnDataType=TO,D.httpResponseBodyReturnDataTypeRef=vO,D.httpResponseBodyReturnReturn=Kf,D.httpResponseBodyReturnReturnRef=EO,D.httpResponseCodeDataType=fO,D.httpResponseCodeReturn=Ff,D.httpResponseCodeReturnRef=pO,D.httpResponseHeadersDataType=mO,D.httpResponseHeadersDataTypeRef=hO,D.httpResponseHeadersReturn=Gf,D.httpResponseHeadersReturnRef=yO,D.httpStatusCodeValueValidation=ZG,D.hydrateOrDiscardLiteralValue=Ix,D.implement=Ly,D.inferArgumentDeclarationDataType=ix,D.inferDataType=tn,D.inferInputMapDataType=Fb,D.inferOutputMapDataType=Kb,D.inferPropertyDataType=ax,D.inferReturnDeclarationDataType=Gb,D.inferValueDescriptorDataType=ox,D.inferVariableDeclarationDataType=nx,D.inferVariableInstanceDataType=sx,D.initBaseProjectEntity=Qy,D.initProject=HG,D.initProjectFromFetchResult=WG,D.inputMapValidation=Jye,D.installedProjectValidation=Sye,D.internalCallValidation=qye,D.isPromise=IA,D.isUUID=CG,D.iterateOverListActionDescriptorListArgumentDeclaration=H$,D.iterateOverListActionDescriptorListArgumentDeclarationDataType=J$,D.iterateOverListActionDescriptorListArgumentDeclarationDataTypeParentRef=Z$,D.iterateOverListActionDescriptorListArgumentDeclarationParentRef=W$,D.iterateOverListLoopActionDescriptor=Va,D.iterateOverListLoopActionDescriptorDynamicReturnDeclaration=z$,D.iterateOverListLoopActionDescriptorDynamicReturnDeclarationParentRef=Y$,D.iterateOverListLoopBodyActionDescriptor=Mu,D.iterateOverListLoopBodyActionDescriptorAnyDynamicArgument=aP,D.iterateOverListLoopBodyActionDescriptorAnyDynamicArgumentParentRef=nP,D.iterateOverListLoopBodyActionDescriptorAnyDynamicReturn=lP,D.iterateOverListLoopBodyActionDescriptorAnyDynamicReturnParentRef=oP,D.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Yf,D.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=Q$,D.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=X$,D.iterateOverListLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=eP,D.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclaration=sP,D.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=rP,D.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=tP,D.iterateOverListLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=iP,D.iterateOverObjectKeysActionDescriptorObjectArgumentDeclaration=fP,D.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationDataType=cP,D.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationDataTypeParentRef=uP,D.iterateOverObjectKeysActionDescriptorObjectArgumentDeclarationParentRef=pP,D.iterateOverObjectKeysLoopActionDescriptor=Fl,D.iterateOverObjectKeysLoopActionDescriptorDynamicReturnDeclaration=yP,D.iterateOverObjectKeysLoopActionDescriptorDynamicReturnDeclarationParentRef=hP,D.iterateOverObjectKeysLoopBodyActionDescriptor=Dv,D.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicArgument=RP,D.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicArgumentParentRef=wP,D.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicReturn=_P,D.iterateOverObjectKeysLoopBodyActionDescriptorAnyDynamicReturnParentRef=gP,D.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclaration=_v,D.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=vP,D.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=mP,D.iterateOverObjectKeysLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=EP,D.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclaration=IP,D.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=bP,D.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=TP,D.iterateOverObjectKeysLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=AP,D.iterateOverObjectValuesActionDescriptorObjectArgumentDeclaration=PP,D.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationDataType=CP,D.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationDataTypeParentRef=OP,D.iterateOverObjectValuesActionDescriptorObjectArgumentDeclarationParentRef=$P,D.iterateOverObjectValuesLoopActionDescriptor=Gl,D.iterateOverObjectValuesLoopActionDescriptorDynamicReturnDeclaration=NP,D.iterateOverObjectValuesLoopActionDescriptorDynamicReturnDeclarationParentRef=VP,D.iterateOverObjectValuesLoopBodyActionDescriptor=Cv,D.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicArgument=KP,D.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicArgumentParentRef=GP,D.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicReturn=SP,D.iterateOverObjectValuesLoopBodyActionDescriptorAnyDynamicReturnParentRef=kP,D.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Ov,D.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=BP,D.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=LP,D.iterateOverObjectValuesLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=MP,D.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclaration=FP,D.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=jP,D.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=UP,D.iterateOverObjectValuesLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=xP,D.iterateOverStringActionDescriptorDynamicReturnDeclaration=L$,D.iterateOverStringActionDescriptorDynamicReturnDeclarationParentRef=N$,D.iterateOverStringActionDescriptorStringArgumentDeclaration=V$,D.iterateOverStringActionDescriptorStringArgumentDeclarationDataType=$$,D.iterateOverStringActionDescriptorStringArgumentDeclarationDataTypeParentRef=C$,D.iterateOverStringActionDescriptorStringArgumentDeclarationParentRef=P$,D.iterateOverStringLoopActionDescriptor=Bu,D.iterateOverStringLoopBodyActionDescriptor=Hf,D.iterateOverStringLoopBodyActionDescriptorAnyDynamicArgument=K$,D.iterateOverStringLoopBodyActionDescriptorAnyDynamicArgumentParentRef=G$,D.iterateOverStringLoopBodyActionDescriptorAnyDynamicReturn=S$,D.iterateOverStringLoopBodyActionDescriptorAnyDynamicReturnParentRef=k$,D.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclaration=Rv,D.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataType=M$,D.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationDataTypeParentRef=B$,D.iterateOverStringLoopBodyActionDescriptorCurrentValueArgumentDeclarationParentRef=U$,D.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclaration=gv,D.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataType=x$,D.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef=j$,D.iterateOverStringLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef=F$,D.joinListOperation=tv,D.joinListOperationError=Xg,D.joinListOperationErrorParentRef=zg,D.joinListOperationFirstListArgument=Zg,D.joinListOperationFirstListArgumentParentRef=qg,D.joinListOperationFirstListArgumentRef=xg,D.joinListOperationFirstListDataType=Fg,D.joinListOperationResultListDataType=Sg,D.joinListOperationResultListReturn=Yg,D.joinListOperationResultListReturnParentRef=Hg,D.joinListOperationResultListReturnRef=kg,D.joinListOperationSecondListArgument=Wg,D.joinListOperationSecondListArgumentParentRef=Jg,D.joinListOperationSecondListArgumentRef=Gg,D.joinListOperationSecondListDataType=Kg,D.joinListWithLastSeparator=Xe,D.joinStringsOperation=Vu,D.joinStringsOperationDynamicStringArgument=Eg,D.joinStringsOperationDynamicStringArgumentParentRef=vg,D.joinStringsOperationDynamicStringArgumentRef=yg,D.joinStringsOperationDynamicStringDataType=mg,D.joinStringsOperationError=hg,D.joinStringsOperationErrorParentRef=fg,D.joinStringsOperationFirstStringArgument=Nf,D.joinStringsOperationFirstStringArgumentParentRef=sg,D.joinStringsOperationFirstStringArgumentRef=X1,D.joinStringsOperationFirstStringDataType=Q1,D.joinStringsOperationResultStringDataType=ig,D.joinStringsOperationResultStringReturn=Pu,D.joinStringsOperationResultStringReturnParentRef=pg,D.joinStringsOperationResultStringReturnRef=rg,D.joinStringsOperationSecondStringArgument=Lf,D.joinStringsOperationSecondStringArgumentParentRef=cg,D.joinStringsOperationSecondStringArgumentRef=eg,D.joinStringsOperationSecondStringDataType=tg,D.joinStringsOperationSeparatorStringArgument=ug,D.joinStringsOperationSeparatorStringArgumentParentRef=dg,D.joinStringsOperationSeparatorStringArgumentRef=ng,D.joinStringsOperationSeparatorStringDataType=lg,D.joinStringsOperationSeparatorStringDataTypeDefaultValue=og,D.joinStringsOperationSeparatorStringDataTypeDefaultValueParentRef=ag,D.keyValuePrototype=Ul,D.literalValueValidation=tme,D.loopValidation=Wfe,D.lowercaseFirstLetter=dd,D.manualFlowActionDescriptorDeclarationArgumentDeclaration=wv,D.manualFlowActionDescriptorDeclarationArgumentDeclarationDataType=I$,D.manualFlowActionDescriptorDeclarationArgumentDeclarationDataTypeParentRef=A$,D.manualFlowActionDescriptorDeclarationArgumentDeclarationParentRef=w$,D.manualFlowLoopActionDescriptor=Jf,D.manualFlowLoopActionDescriptorDynamicReturnDeclaration=b$,D.manualFlowLoopActionDescriptorDynamicReturnDeclarationParentRef=T$,D.manualFlowLoopBodyActionDescriptor=Wf,D.manualFlowLoopBodyActionDescriptorAnyDynamicArgument=g$,D.manualFlowLoopBodyActionDescriptorAnyDynamicArgumentParentRef=R$,D.manualFlowLoopBodyActionDescriptorAnyDynamicReturn=D$,D.manualFlowLoopBodyActionDescriptorAnyDynamicReturnParentRef=_$,D.mapActionDescriptorToTypeItRepresents=T0e,D.mapRecord=NF,D.mergeArraysOfStringsWithoutDuplicates=gme,D.mergeEntityErrorsList=ade,D.mergeListOfEntities=v0e,D.methodDefaultValue=nO,D.mockClientProject=oT,D.moreThanOrEqualCondition=Zl,D.moreThanOrEqualConditionLeftHandArgument=kN,D.moreThanOrEqualConditionLeftHandArgumentDataType=GN,D.moreThanOrEqualConditionLeftHandArgumentDataTypeParentRef=FN,D.moreThanOrEqualConditionLeftHandArgumentParentRef=KN,D.moreThanOrEqualConditionRightHandArgument=JN,D.moreThanOrEqualConditionRightHandArgumentDataType=qN,D.moreThanOrEqualConditionRightHandArgumentDataTypeParentRef=SN,D.moreThanOrEqualConditionRightHandArgumentParentRef=ZN,D.noSpacesOrDashesValueValidation=EF,D.noSpacesValueValidation=vF,D.notEmptyCondition=jo,D.notEmptyConditionArgument=MN,D.notEmptyConditionRef=BN,D.nullPrototype=J0,D.numberAdditionOperation=Vf,D.numberAdditionOperationDynamicSummandArgument=L1,D.numberAdditionOperationDynamicSummandArgumentType=N1,D.numberAdditionOperationDynamicSummandArgumentTypeParentRef=V1,D.numberAdditionOperationError=P1,D.numberAdditionOperationErrorParentRef=$1,D.numberAdditionOperationFirstNumberArgument=W0,D.numberAdditionOperationFirstNumberArgumentRef=I1,D.numberAdditionOperationFirstNumberDataType=w1,D.numberAdditionOperationRef=O1,D.numberAdditionOperationRefThree=Y0,D.numberAdditionOperationRefTwo=C1,D.numberAdditionOperationResultNumberDataType=D1,D.numberAdditionOperationResultNumberReturn=z0,D.numberAdditionOperationResultNumberReturnRef=_1,D.numberAdditionOperationSecondNumberArgument=H0,D.numberAdditionOperationSecondNumberArgumentRef=R1,D.numberAdditionOperationSecondNumberDataType=g1,D.numberPrototype=lt,D.numberSubtractionOperation=Q0,D.numberSubtractionOperationDynamicSubtrahendArgument=Y1,D.numberSubtractionOperationDynamicSubtrahendArgumentType=H1,D.numberSubtractionOperationDynamicSubtrahendArgumentTypeParentRef=W1,D.numberSubtractionOperationError=J1,D.numberSubtractionOperationErrorParentRef=Z1,D.numberSubtractionOperationFirstNumberArgument=G1,D.numberSubtractionOperationFirstNumberArgumentRef=B1,D.numberSubtractionOperationFirstNumberDataType=M1,D.numberSubtractionOperationRef=X0,D.numberSubtractionOperationRefThree=S1,D.numberSubtractionOperationRefTwo=K1,D.numberSubtractionOperationResultNumberDataType=F1,D.numberSubtractionOperationResultNumberReturn=q1,D.numberSubtractionOperationResultNumberReturnRef=x1,D.numberSubtractionOperationSecondNumberArgument=k1,D.numberSubtractionOperationSecondNumberArgumentRef=U1,D.numberSubtractionOperationSecondNumberDataType=j1,D.numberValueAutogenerationSchema=WT,D.operationValidation=Kfe,D.orderEntitiesForTraversal=Hme,D.outputMapValidation=zye,D.parallelExecutionOperation=zs,D.parallelExecutionOperationError=iD,D.parallelExecutionOperationErrorParentRef=rD,D.parallelExecutionOperationListOfExecutionResultsDataType=Q_,D.parallelExecutionOperationListOfExecutionResultsReturn=lv,D.parallelExecutionOperationListOfExecutionResultsReturnRef=X_,D.parallelExecutionOperationListOfFunctionsArgument=ov,D.parallelExecutionOperationListOfFunctionsArgumentDatatype=z_,D.parallelExecutionOperationListOfFunctionsArgumentRef=Y_,D.parallelExecutionOperationListOfFunctionsBlueprint=H_,D.parallelExecutionOperationListOfFunctionsBlueprintDynamicInput=J_,D.parallelExecutionOperationListOfFunctionsBlueprintDynamicInputParentRef=Z_,D.parallelExecutionOperationListOfFunctionsBlueprintDynamicOutput=q_,D.parallelExecutionOperationListOfFunctionsBlueprintDynamicOutputParentRef=S_,D.parallelExecutionOperationListOfFunctionsBlueprintParentRef=W_,D.parallelExecutionOperationRef=eD,D.parallelExecutionOperationRefThree=tD,D.persistedBuiltInBaseEntity=hi,D.persistedBuiltInBaseEntityDatabaseProperty=kl,D.persistedBuiltInBaseEntityDatabasePropertyDataType=vN,D.persistedBuiltInBaseEntityDatabasePropertyDataTypeRef=C8,D.persistedBuiltInBaseEntityDatabasePropertyParentRef=EN,D.persistedBuiltInBaseEntityDatabasePropertyRef=mN,D.persistedBuiltInBaseEntityPrimaryKeyProperty=Sl,D.persistedBuiltInBaseEntityPrimaryKeyPropertyDataType=_N,D.persistedBuiltInBaseEntityPrimaryKeyPropertyNumberDataTypeOption=bN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyNumberDataTypeOptionParentRef=TN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyParentRef=DN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyRef=gN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyStringDataTypeOption=IN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyStringDataTypeOptionParentRef=AN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyUUIDDataTypeOption=RN,D.persistedBuiltInBaseEntityPrimaryKeyPropertyUUIDDataTypeOptionParentRef=wN,D.printEntity=gA,D.processOutputGlobalValueDescriptorDataType=e2,D.processOutputGlobalValueDescriptorReturn=nh,D.processOutputGlobalValueDescriptorReturnRef=QN,D.projectPublicationCompletedGlobalEvent=sh,D.propagateNewInputOrOutputMapValueAsTypeToParentVariable=Ip,D.propagateNewInputOrOutputMapValueToParentVariable=Ap,D.propagateNewStaticPropertyValueAsTypeToVariables=nl,D.propagateNewStaticPropertyValueToVariables=sl,D.propertyToZodSchema=p2,D.propertyValidation=L0e,D.readValueFromWritter=$d,D.rebaseStack=vb,D.relationalDatabaseBuiltInBaseEntity=li,D.relationalDatabaseBuiltInBaseEntityAutoscalingProperty=kv,D.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyDataType=uN,D.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyDataTypeRef=dN,D.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyParentRef=cN,D.relationalDatabaseBuiltInBaseEntityAutoscalingPropertyRef=lN,D.relationalDatabaseBuiltInBaseEntityDefaultProperty=Kv,D.relationalDatabaseBuiltInBaseEntityDefaultPropertyDataType=oN,D.relationalDatabaseBuiltInBaseEntityDefaultPropertyDataTypeRef=nN,D.relationalDatabaseBuiltInBaseEntityDefaultPropertyRef=aN,D.relationalDatabaseBuiltInBaseEntityIdentifierProperty=Xf,D.relationalDatabaseBuiltInBaseEntityIdentifierPropertyDataType=YV,D.relationalDatabaseBuiltInBaseEntityIdentifierPropertyDataTypeRef=WV,D.relationalDatabaseBuiltInBaseEntityIdentifierPropertyRef=HV,D.relationalDatabaseBuiltInBaseEntityMinSizeProperty=th,D.relationalDatabaseBuiltInBaseEntityMinSizePropertyDataType=sN,D.relationalDatabaseBuiltInBaseEntityMinSizePropertyDataTypeRef=rN,D.relationalDatabaseBuiltInBaseEntityMinSizePropertyRef=iN,D.relationalDatabaseBuiltInBaseEntityPasswordProperty=eh,D.relationalDatabaseBuiltInBaseEntityPasswordPropertyDataType=eN,D.relationalDatabaseBuiltInBaseEntityPasswordPropertyDataTypeRef=O8,D.relationalDatabaseBuiltInBaseEntityPasswordPropertyDefaultValueParentRef=tN,D.relationalDatabaseBuiltInBaseEntityPasswordPropertyRef=QV,D.relationalDatabaseBuiltInBaseEntityRef=Kl,D.relationalDatabaseBuiltInBaseEntityUsernameProperty=Qf,D.relationalDatabaseBuiltInBaseEntityUsernamePropertyDataType=XV,D.relationalDatabaseBuiltInBaseEntityUsernamePropertyDataTypeRef=D8,D.relationalDatabaseBuiltInBaseEntityUsernamePropertyRef=zV,D.removeDisabledReasons=Dme,D.resolveActionDescriptorName=DG,D.resolveArgumentDeclarationValue=Zb,D.resolveBaseEntityName=wG,D.resolveBuiltInBaseEntityDataTypeLabel=RG,D.resolveCardSubheader=hme,D.resolveClonedEntityProject=Vr,D.resolveConditionOperatorLabel=Yy,D.resolveDataType=hy,D.resolveDataTypeEntityOrNestedChildrenFromLiteralValue=RA,D.resolveDataTypeLabel=xd,D.resolveDatatypeIconName=fme,D.resolveDefinitionEntityDataTypeLabel=P0e,D.resolveDefinitionEntitySubheader=Xb,D.resolveEntityCodeName=kA,D.resolveEntityDataTypeLabel=$0e,D.resolveEntityName=ie,D.resolveEntitySubheader=yme,D.resolveFirstCallsSecond=n0e,D.resolveFirstWritesSecond=a0e,D.resolveFunctionDeclarationCardSubheader=Qb,D.resolveInputMapNextStandaloneValue=Tp,D.resolveInputMapNextValue=Ey,D.resolveInputMapNextValueAsPropertyOfAnObject=_x,D.resolveInputMapStandaloneValue=bp,D.resolveInputMapValue=Ox,D.resolveInputMapValueAsPropertyOfAnObject=Dx,D.resolveMethodCardSubheader=xx,D.resolveNextValue=Ty,D.resolveOutputMapValue=Wb,D.resolvePersistedDefinitionEntityDatabaseEntity=TG,D.resolvePrimaryKeyProperty=w0e,D.resolvePrimitiveEntityForSearchLiteralValueType=Ub,D.resolvePrimitiveEntityName=_G,D.resolvePropertyValue=Cx,D.resolvePublicationStepStatusFromType=Lme,D.resolveResourceNameFromType=Nme,D.resolveReturnDeclarationValue=Jb,D.resolveSearchName=gG,D.resolveValue=il,D.resolveValueDescriptorValue=$x,D.resolveVarDeclarationAggregateObjectValue=Rx,D.resolveVarDeclarationNextAggregateObjectValue=wx,D.resolveVarDeclarationNextValue=Ep,D.resolveVarDeclarationValue=qb,D.resolveVarInstanceNextValue=vy,D.resolveVarInstanceValue=gx,D.resolveVariableScope=Wye,D.returnDeclarationValidation=kfe,D.returnStatementValidation=Sfe,D.savePersistedEntityMethod=hN,D.savePersistedEntityMethodParentRef=fN,D.searchStatementErrorGlobalValueDescriptor=Yv,D.searchStatementErrorGlobalValueDescriptorDataType=r2,D.searchStatementErrorGlobalValueDescriptorRef=t2,D.searchStatementState=Gye,D.searchStatementUtils=kye,D.searchValidation=Qfe,D.sequentialExecutionOperation=oa,D.sequentialExecutionOperationError=wD,D.sequentialExecutionOperationErrorParentRef=ID,D.sequentialExecutionOperationListOfExecutionResultsDataType=TD,D.sequentialExecutionOperationListOfExecutionResultsReturn=uv,D.sequentialExecutionOperationListOfExecutionResultsReturnParentRef=AD,D.sequentialExecutionOperationListOfExecutionResultsReturnRef=ED,D.sequentialExecutionOperationListOfFunctionsArgument=dv,D.sequentialExecutionOperationListOfFunctionsArgumentDatatype=vD,D.sequentialExecutionOperationListOfFunctionsArgumentParentRef=bD,D.sequentialExecutionOperationListOfFunctionsArgumentRef=mD,D.sequentialExecutionOperationListOfFunctionsBlueprint=yD,D.sequentialExecutionOperationListOfFunctionsBlueprintDynamicInput=hD,D.sequentialExecutionOperationListOfFunctionsBlueprintDynamicOutput=fD,D.sortCallsBasedOnExecutionDependencies=IF,D.sortChildrenEntitiesBasedOnExecutionDependencies=i0e,D.splitListOperation=iv,D.splitListOperationError=m_,D.splitListOperationErrorParentRef=y_,D.splitListOperationFirstOutputListDataType=n_,D.splitListOperationFirstOutputListReturn=c_,D.splitListOperationFirstOutputListReturnParentRef=u_,D.splitListOperationFirstOutputListReturnRef=rv,D.splitListOperationInputListArgument=o_,D.splitListOperationInputListArgumentParentRef=a_,D.splitListOperationInputListArgumentRef=t_,D.splitListOperationInputListDataType=r_,D.splitListOperationSecondOutputListDataType=p_,D.splitListOperationSecondOutputListReturn=h_,D.splitListOperationSecondOutputListReturnParentRef=f_,D.splitListOperationSplitIndexArgument=d_,D.splitListOperationSplitIndexArgumentParentRef=l_,D.splitListOperationSplitIndexArgumentRef=i_,D.splitListOperationSplitIndexDataType=s_,D.splitStringOperation=ev,D.splitStringOperationError=Bg,D.splitStringOperationErrorParentRef=Lg,D.splitStringOperationFirstPartResultStringDataType=Rg,D.splitStringOperationFirstPartResultStringReturn=Ng,D.splitStringOperationFirstPartResultStringReturnParentRef=Vg,D.splitStringOperationFirstPartResultStringReturnRef=wg,D.splitStringOperationIndexArgument=$g,D.splitStringOperationIndexArgumentParentRef=Cg,D.splitStringOperationIndexArgumentRef=Ag,D.splitStringOperationIndexDataType=Ig,D.splitStringOperationSecondPartResultStringDataType=_g,D.splitStringOperationSecondPartResultStringReturn=g8,D.splitStringOperationSecondPartResultStringReturnParentRef=Pg,D.splitStringOperationSecondPartResultStringReturnRef=gg,D.splitStringOperationStringArgument=Og,D.splitStringOperationStringArgumentParentRef=Dg,D.splitStringOperationStringArgumentRef=Tg,D.splitStringOperationStringDataType=bg,D.stringPrototype=qe,D.stringValueAutogenerationSchema=JT,D.suggestNewIdForEntity=SA,D.syncSearchEntityOutput=xb,D.test_primitive_entities_export=vve,D.toCamelCase=$r,D.toEntityState=Ni,D.toKebabCase=IG,D.toLowerCaseKebabCase=Hy,D.toPascalCase=jd,D.transitionProjectVersion=yb,D.translateLogicErrorCode=Eme,D.translateLogicErrorCodeShort=Tme,D.translateLogicErrorCodeShortWithEntityName=bme,D.translateLogicErrorCodeWithEntityName=Ame,D.traverseChangeSet=mb,D.untypedDataPrototype=oi,D.updateErrorsList=ar,D.urlDefaultValue=QD,D.uuidPrototype=na,D.validateArgumentDeclarationName=GA,D.validateCalledByErrorIdInAction=Kme,D.validateCalledByIdInAction=Gme,D.validateCallers=aF,D.validateConditionEntityDeclaration=qme,D.validateDataOperation=Co,D.validateDataOperationDataToValidateArgument=KD,D.validateDataOperationDataToValidateArgumentParentRef=GD,D.validateDataOperationDataToValidateArgumentRef=xD,D.validateDataOperationDataToValidateDataType=FD,D.validateDataOperationEntityToMatchTypeArgument=ZD,D.validateDataOperationEntityToMatchTypeArgumentParentRef=qD,D.validateDataOperationEntityToMatchTypeArgumentRef=kD,D.validateDataOperationEntityToMatchTypeDataType=SD,D.validateDataOperationError=YD,D.validateDataOperationErrorParentRef=HD,D.validateDataOperationOutputEntityDeclaration=WD,D.validateDataOperationOutputEntityDeclarationParentRef=JD,D.validateDefinitionEntityName=UA,D.validateEntryCaller=nF,D.validateErrorCaller=sF,D.validateFunctionCallDeclaration=lF,D.validateFunctionDeclarationName=jA,D.validateGeneratedEntityParentIsNotBuiltInEntity=Ume,D.validateGeneration=Bme,D.validateGenerationTarget=Or,D.validateGenerationUpdate=Mme,D.validateLoopEntityDeclaration=Zme,D.validateMissingValue=io,D.validateName=V0e,D.validateOperationEntityDeclaration=dF,D.validatePropertyName=FA,D.validateReachability=Aa,D.validateReadsValueInActionPayload=kme,D.validateReferenceObject=Dy,D.validateReferenceToOne=hA,D.validateReferences=zr,D.validateReturnDeclarationName=KA,D.validateSuccessCaller=iF,D.validateValueReaderGenerationUpdate=_p,D.validateValueWritter=bA,D.validateVariableDeclarationName=xA,D.validateVariableInternalCallUse=AA,D.valueAutogenerationCurrentDateAndTimeSchema=zM,D.valueAutogenerationGenericSchema=Fh,D.valueAutogenerationOptions=YT,D.valueAutogenerationOptionsSchema=YM,D.valueAutogenerationRandomBooleanSchema=ZT,D.valueAutogenerationRandomDateBetweenSchema=aU,D.valueAutogenerationRandomDateFromSchema=sU,D.valueAutogenerationRandomDateSchema=kh,D.valueAutogenerationRandomDateUntilSchema=nU,D.valueAutogenerationRandomNumberBetweenSchema=eU,D.valueAutogenerationRandomNumberFromSchema=XM,D.valueAutogenerationRandomNumberSchema=Gh,D.valueAutogenerationRandomNumberUntilSchema=QM,D.valueAutogenerationRandomSchema=cc,D.valueAutogenerationRandomTextBetweenSchema=iU,D.valueAutogenerationRandomTextFromSchema=tU,D.valueAutogenerationRandomTextSchema=Kh,D.valueAutogenerationRandomTextUntilSchema=rU,D.valueAutogenerationRangeValueTypesSchema=uc,D.valueAutogenerationUniqueSchema=qT,D.valueDescriptorValidation=sme,D.variableDeclarationValidation=zfe,D.variableInstanceValidation=Xfe,D.waitOperation=Bi,D.waitOperationMillisecondsNumberArgument=Do,D.waitOperationMillisecondsNumberArgumentRef=aD,D.waitOperationMillisecondsNumberDataType=oD,D.waitOperationOperationError=uD,D.waitOperationOperationErrorParentRef=dD,D.waitOperationRef=lD,Object.defineProperty(D,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.6386",
|
|
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",
|