@cratis/screenplay-language 4.179.0 → 4.180.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- import"../../_virtual/_virtual/_rolldown/runtime.js";import{DiagnosticCodes as e}from"../Diagnostics/DiagnosticCodes.js";import{stringBodyPattern as t,unescapeString as n}from"../Text/StringLiteral.js";import{pattern as r}from"../Text/patterns.js";import{locationOf as i,startOf as a}from"./SourceLine.js";import{parseComplianceDirective as o,parseComplianceMarkers as s}from"./ConceptComplianceParser.js";import{firstWord as c,unescapeIdentifier as l}from"./LineText.js";import{describePlacement as u,documentPlacement as d,isDocumentPlacement as f}from"../Files/PlayPlacement.js";import{parseDescription as p}from"./DescriptionParser.js";import{parsePurpose as m}from"./PurposeParser.js";import{isFileImport as h,parseFileImport as g}from"./FileImportParser.js";import{recordAuthoredDocument as _}from"../Syntax/SourceOptions.js";import{collectInputUses as v}from"./InputUses.js";import{misplacedReactionIdentity as y}from"./ReactionIdentityParser.js";import{parseEventSource as b}from"./EventSourceParser.js";import{isFileDirective as x}from"./FileReferences.js";import{parseSystem as S}from"./OperationParser.js";import{parseExample as C}from"./SpecificationExampleParser.js";import{isBlankPublicEventOrigin as w}from"../Syntax/PublicEventInvariants.js";import{parseType as T}from"./DeclarationParsers.js";import{parseValidate as E}from"./CommandParser.js";import{parseTriggerDeclaration as D}from"./TriggerDataParser.js";import{FeatureBody as O,featureBodyExpected as k}from"./FeatureBody.js";import{ModuleBody as A,moduleBodyExpected as j,modulePattern as M,parseModule as N}from"./ModuleBody.js";import{EnumerationMembers as P}from"./EnumerationMembers.js";import{parseGeneration as F}from"./GenerationParser.js";import{parseIdentity as I}from"./IdentityParser.js";import{parsePolicy as L}from"./PolicyParser.js";import{parseSeed as R}from"./SeedParser.js";import{parseExposure as z,parseInstance as B}from"./CompositionParser.js";const V=r(`^domain\\s+([A-Za-z_]\\w*(?:\\.[A-Za-z_]\\w*)*)$`),H=r(`^import\\s+([\\w.]+)(?:\\s+from\\s+"(?<origin>${t})")?$`),U=r(`^concept\\s+(\\w+)\\s*:\\s*(\\w+)((?:\\s+@?\\w+)*)$`),W=r(`^@?[a-z_]\\w*$`),G=r(`^persona\\s+([A-Za-z_]\\w*)$`),K=r(`^policy\\s+([A-Za-z_]\\w*)$`),q=/^[ ]*\t/,J=[`Uuid`,`String`,`Int`,`Decimal`,`Bool`,`Date`,`DateTime`],Y=/* @__PURE__ */ new Set([`policy`,`authentication`,`seed`,`ui`,`theme`,`trigger`,`layout`,`behavior`]),X=/* @__PURE__ */ new Set([`slice`,`feature`,`description`,`documentation`,`authorize`,`screen`,`dialog`,`form`,`contribute`,`on`,`uses`]);function parseApplication(t,r,a=d){t.deferIdentityValidation=!0,warnOnTabIndentation(t,r);let o=a.length===1?new A(a[0]):void 0,s=a.length>1?new O(a[a.length-1]):void 0,l=o??s,u=null,p=null,x=[],E=[],k=[],j=[],M=[],P=[],F=[],V=[],U=[],W=[],G=[],K=[],q=[],J=[],X=[],Z=!1;for(let r=t.reader.peekSignificant();r!==void 0;r=t.reader.peekSignificant()){t.reader.takeSignificant();let s=c(r.content);if(s===`runs`)y(t,r);else if(s===`domain`)t.authoredDeclarations=!0,p=parseDomain(t,r,p,Z);else if(Z||=declaresConstruct(s,r,a),t.authoredDeclarations||=s!==`import`&&declaresConstruct(s,r,a),s===`import`&&h(r.content))l===void 0?g(t,r,E):l.tryParse(t,r);else if(s===`import`){let a=H.exec(r.content);if(a===null)t.error(e.InvalidImportDeclaration,`Invalid import '${r.content}' - expected 'import <Qualified.Name> [from "<origin>"]'`,i(r));else{let o=a.groups?.origin===void 0?null:n(a.groups.origin);o!==null&&w(o)&&t.error(e.InvalidImportDeclaration,`An import origin must be a nonblank quoted string`,i(r)),x.push({kind:`ImportSyntax`,qualifiedName:a[1],origin:o,visibility:o===null?`Private`:`Public`,location:i(r)})}}else if(s===`example`)l===void 0?K.push(C(t,r)):l.tryParse(t,r);else if(s===`eventsource`)P.push(b(t,r));else if(s===`system`)M.push(S(t,r));else if(s===`concept`)k.push(parseConcept(t,r));else if(s===`type`)j.push(T(t,r));else if(s===`module`&&!f(a))parseModuleInPlacedFile(t,r,a,o);else if(s===`module`)F.push(N(t,r));else if(s===`persona`)V.push(parsePersona(t,r));else if(s===`seed`)G.push(R(t.valueContext,r));else if(s===`purpose`&&l!==void 0)l.tryParse(t,r);else if(s===`purpose`)W.push(m(t,r));else if(s===`identity`)u=I(t,r,u);else if(s===`policy`)U.push(L(t,r));else if(s===`exposure`)J.push(z(t,r));else if(s===`instance`)X.push(B(t,r));else if(s===`trigger`){let e=D(t,r),n=/^trigger\s+([A-Za-z_]\w*)$/.exec(r.content)?.[1];n!==void 0&&q.push({name:n,data:e})}else Y.has(s)?s===`behavior`||s===`layout`?v(t,r):t.skipOpaqueBlock(r.indent):l?.tryParse(t,r)!==!0&&reportUnexpectedTopLevel(t,r,a)}o===void 0?s!==void 0&&F.unshift(place(a,s.build(t.start,!0),t.start)):F.unshift(o.build(t.start,!0));let Q={kind:`ApplicationSyntax`,...u===null?{}:{identity:u},sourceOptions:t.sourceOptions,domain:p,imports:x,concepts:k,types:j,systems:M,eventSources:P,examples:K,modules:F,personas:V,policies:U,purposes:W,seeds:G,declaredTriggers:q,fileImports:E,...J.length>0?{exposures:J}:{},...X.length>0?{instanceContributions:X}:{},location:t.start};return t.authoredDeclarations&&_(Q),Q}function declaresConstruct(e,t,n){return e===`import`?H.test(t.content):e===`module`?f(n):e===`identity`?t.content===`identity`:e===`purpose`||e===`example`||e===`exposure`||e===`instance`||e===`eventsource`||e===`system`||e===`concept`||e===`type`||e===`persona`||Y.has(e)}function parseModuleInPlacedFile(t,n,r,a){let o=M.exec(n.content)?.[1]??``;a!==void 0&&o===r[0]?(t.authoredDeclarations=!0,a.parseChildren(t,n)):(t.error(e.ModuleInPlacedFile,`This file is imported into ${u(r)}, so it cannot declare module '${o}' - import it at the top level of a document instead`,i(n)),t.skipBlock(n.indent))}function reportUnexpectedTopLevel(t,n,r){let a=c(n.content);if(f(r)){let r=X.has(a)?` - '${a}' belongs in a module or feature; wrap it in one, or import this file from inside one`:` - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme or layout`;t.error(e.UnknownTopLevelConstruct,`Unexpected '${a}' at the top level${r}`,i(n))}else{let o=r.length===1?j:k;t.error(e.UnexpectedInPlacedFile,`Unexpected '${a}' in a file imported into ${u(r)} - expected an application declaration or ${o}`,i(n))}t.skipBlock(n.indent)}function place(e,t,n){let r=t;for(let t=e.length-2;t>=1;t--)r={kind:`FeatureSyntax`,name:e[t],description:null,authorize:null,features:[r],slices:[],fileImports:[],isPlacement:!0,location:n};return{kind:`ModuleSyntax`,name:e[0],description:null,authorize:null,features:[r],fileImports:[],isPlacement:!0,location:n}}function parseDomain(t,n,r,a){let o=V.exec(n.content);return o===null?(t.error(e.InvalidDomainDeclaration,`Invalid domain declaration '${n.content}' - expected 'domain <Qualified.Name>'`,i(n)),r):r===null?(a&&t.error(e.DomainNotFirst,`'domain' must be declared before any other construct`,i(n)),{kind:`DomainSyntax`,name:o[1],location:i(n)}):(t.error(e.DuplicateDomain,`The document already declares a domain - a document can have at most one`,i(n)),r)}function warnOnTabIndentation(t,n){let r=!1;for(let i of n)i.raw.trimStart().startsWith("```")?r=!r:!r&&q.test(i.raw)&&t.warning(e.TabIndentation,`Screenplay is indentation based - use spaces, not tabs`,a(i))}function parseConcept(t,n){let r=U.exec(n.content);if(r===null)return t.error(e.InvalidConceptDeclaration,`Invalid concept declaration '${n.content}' - expected 'concept <Name> : <Type>'`,i(n)),t.skipBlock(n.indent),{kind:`ConceptSyntax`,name:c(n.content),type:``,attributes:[],values:[],location:i(n)};let[,a,u,d]=r,f=s(t,n,a,d);u!==`Enum`&&!J.includes(u)&&t.error(e.UnknownPrimitiveType,`Unknown primitive type '${u}' - expected ${J.join(`, `)} or Enum`,i(n));let m=[],h=new P,g=null,_=!1,v=null,y=[];for(let r=t.peekChild(n.indent);r!==void 0;r=t.peekChild(n.indent)){t.reader.takeSignificant();let n=u===`Enum`?h.tryNumbered(t,r):void 0;if(n!==void 0)m.push(n);else if(c(r.content)===`description`&&(u!==`Enum`||r.content!==`description`||t.peekChild(r.indent)?.content.startsWith("```")===!0))v=p(t,r,v,`Concept '${a}'`);else if(x(r))continue;else if(c(r.content)===`validate`){u===`Enum`&&r.content===`validate`&&t.peekChild(r.indent)===void 0&&t.warning(e.ValidateReadAsEnumerationBlock,`'validate' in enumeration concept '${a}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,i(r));let n=E(t,r,`concept`);n!==void 0&&y.push(n)}else if(c(r.content)===`generate`&&(u!==`Enum`||r.content!==`generate`)){_&&t.error(e.DuplicateGeneration,`Concept '${a}' declares generation more than once.`,i(r));let n=F(t,r,u);_||(g=n),_=!0}else o(t,r,a,f)||(u===`Enum`&&W.test(r.content)?m.push(l(r.content)):u===`Enum`?t.error(e.InvalidEnumerationValue,`Invalid enum value '${r.content}' - expected an identifier`,i(r)):(t.error(e.UnknownConceptDirective,`Unexpected '${r.content}' in concept body - expected validate, generate, 'file <path>' or '<attribute> reason "<text>"'`,i(r)),t.skipBlock(r.indent)))}let b=h.finish(t,n,m.length);return{kind:`ConceptSyntax`,name:a,type:u,attributes:f,values:m,validations:y,description:v,...g===null?{}:{generation:g},...b===void 0?{}:{valueNumbers:b},location:i(n)}}function parsePersona(t,n){let r=G.exec(n.content)?.[1]??``;r===``&&t.error(e.InvalidPersonaDeclaration,`Invalid persona declaration '${n.content}' - expected 'persona <Name>'`,i(n));let a=null,o=[];for(let s=t.peekChild(n.indent);s!==void 0;s=t.peekChild(n.indent)){t.reader.takeSignificant();let n=c(s.content);if(n===`description`)a=p(t,s,a,`Persona '${r}'`);else if(n===`policy`){let n=K.exec(s.content);n===null?t.error(e.InvalidPersonaPolicyReference,`Invalid policy reference '${s.content}' - expected 'policy <Name>'`,i(s)):o.push(n[1])}else t.error(e.UnknownPersonaDirective,`Unexpected '${n}' in persona body - expected description or policy`,i(s)),t.skipBlock(s.indent)}return{kind:`PersonaSyntax`,name:r,description:a,policies:o,location:i(n)}}export{parseApplication};
1
+ import"../../_virtual/_virtual/_rolldown/runtime.js";import{DiagnosticCodes as e}from"../Diagnostics/DiagnosticCodes.js";import{stringBodyPattern as t,unescapeString as n}from"../Text/StringLiteral.js";import{pattern as r}from"../Text/patterns.js";import{locationOf as i,startOf as a}from"./SourceLine.js";import{parseComplianceDirective as o,parseComplianceMarkers as s}from"./ConceptComplianceParser.js";import{firstWord as c,unescapeIdentifier as l}from"./LineText.js";import{describePlacement as u,documentPlacement as d,isDocumentPlacement as f}from"../Files/PlayPlacement.js";import{parseDescription as p}from"./DescriptionParser.js";import{parsePurpose as m}from"./PurposeParser.js";import{isFileImport as h,parseFileImport as g}from"./FileImportParser.js";import{recordAuthoredDocument as _}from"../Syntax/SourceOptions.js";import{collectInputUses as v}from"./InputUses.js";import{misplacedReactionIdentity as y}from"./ReactionIdentityParser.js";import{parseEventSource as b}from"./EventSourceParser.js";import{isFileDirective as x}from"./FileReferences.js";import{parseSystem as S}from"./OperationParser.js";import{parseExample as C}from"./SpecificationExampleParser.js";import{isBlankPublicEventOrigin as w}from"../Syntax/PublicEventInvariants.js";import{parseType as T}from"./DeclarationParsers.js";import{parseValidate as E}from"./CommandParser.js";import{parseTriggerDeclaration as D}from"./TriggerDataParser.js";import{FeatureBody as O,featureBodyExpected as k}from"./FeatureBody.js";import{ModuleBody as A,moduleBodyExpected as j,modulePattern as M,parseModule as N}from"./ModuleBody.js";import{EnumerationMembers as P}from"./EnumerationMembers.js";import{parseGeneration as F}from"./GenerationParser.js";import{parseIdentity as I}from"./IdentityParser.js";import{parsePolicy as L}from"./PolicyParser.js";import{parseSeed as R}from"./SeedParser.js";import{parseExposure as z,parseInstance as B}from"./CompositionParser.js";const V=r(`^domain\\s+([A-Za-z_]\\w*(?:\\.[A-Za-z_]\\w*)*)$`),H=r(`^import\\s+([\\w.]+)(?:\\s+from\\s+"(?<origin>${t})")?$`),U=r(`^concept\\s+(\\w+)\\s*:\\s*(\\w+)((?:\\s+@?\\w+)*)$`),W=r(`^@?[a-z_]\\w*$`),G=r(`^persona\\s+([A-Za-z_]\\w*)$`),K=r(`^policy\\s+([A-Za-z_]\\w*)$`),q=/^[ ]*\t/,J=[`Uuid`,`String`,`Int`,`Decimal`,`Bool`,`Date`,`DateTime`],Y=/* @__PURE__ */ new Set([`policy`,`authentication`,`seed`,`ui`,`theme`,`trigger`,`layout`,`behavior`,`sample`]),X=/* @__PURE__ */ new Set([`slice`,`feature`,`description`,`documentation`,`authorize`,`screen`,`dialog`,`form`,`contribute`,`on`,`uses`]);function parseApplication(t,r,a=d){t.deferIdentityValidation=!0,warnOnTabIndentation(t,r);let o=a.length===1?new A(a[0]):void 0,s=a.length>1?new O(a[a.length-1]):void 0,l=o??s,u=null,p=null,x=[],E=[],k=[],j=[],M=[],P=[],F=[],V=[],U=[],W=[],G=[],K=[],q=[],J=[],X=[],Z=!1;for(let r=t.reader.peekSignificant();r!==void 0;r=t.reader.peekSignificant()){t.reader.takeSignificant();let s=c(r.content);if(s===`runs`)y(t,r);else if(s===`domain`)t.authoredDeclarations=!0,p=parseDomain(t,r,p,Z);else if(Z||=declaresConstruct(s,r,a),t.authoredDeclarations||=s!==`import`&&declaresConstruct(s,r,a),s===`import`&&h(r.content))l===void 0?g(t,r,E):l.tryParse(t,r);else if(s===`import`){let a=H.exec(r.content);if(a===null)t.error(e.InvalidImportDeclaration,`Invalid import '${r.content}' - expected 'import <Qualified.Name> [from "<origin>"]'`,i(r));else{let o=a.groups?.origin===void 0?null:n(a.groups.origin);o!==null&&w(o)&&t.error(e.InvalidImportDeclaration,`An import origin must be a nonblank quoted string`,i(r)),x.push({kind:`ImportSyntax`,qualifiedName:a[1],origin:o,visibility:o===null?`Private`:`Public`,location:i(r)})}}else if(s===`example`)l===void 0?K.push(C(t,r)):l.tryParse(t,r);else if(s===`eventsource`)P.push(b(t,r));else if(s===`system`)M.push(S(t,r));else if(s===`concept`)k.push(parseConcept(t,r));else if(s===`type`)j.push(T(t,r));else if(s===`module`&&!f(a))parseModuleInPlacedFile(t,r,a,o);else if(s===`module`)F.push(N(t,r));else if(s===`persona`)V.push(parsePersona(t,r));else if(s===`seed`)G.push(R(t.valueContext,r));else if(s===`purpose`&&l!==void 0)l.tryParse(t,r);else if(s===`purpose`)W.push(m(t,r));else if(s===`identity`)u=I(t,r,u);else if(s===`policy`)U.push(L(t,r));else if(s===`exposure`)J.push(z(t,r));else if(s===`instance`)X.push(B(t,r));else if(s===`trigger`){let e=D(t,r),n=/^trigger\s+([A-Za-z_]\w*)$/.exec(r.content)?.[1];n!==void 0&&q.push({name:n,data:e})}else Y.has(s)?s===`behavior`||s===`layout`?v(t,r):t.skipOpaqueBlock(r.indent):l?.tryParse(t,r)!==!0&&reportUnexpectedTopLevel(t,r,a)}o===void 0?s!==void 0&&F.unshift(place(a,s.build(t.start,!0),t.start)):F.unshift(o.build(t.start,!0));let Q={kind:`ApplicationSyntax`,...u===null?{}:{identity:u},sourceOptions:t.sourceOptions,domain:p,imports:x,concepts:k,types:j,systems:M,eventSources:P,examples:K,modules:F,personas:V,policies:U,purposes:W,seeds:G,declaredTriggers:q,fileImports:E,...J.length>0?{exposures:J}:{},...X.length>0?{instanceContributions:X}:{},location:t.start};return t.authoredDeclarations&&_(Q),Q}function declaresConstruct(e,t,n){return e===`import`?H.test(t.content):e===`module`?f(n):e===`identity`?t.content===`identity`:e===`purpose`||e===`example`||e===`exposure`||e===`instance`||e===`eventsource`||e===`system`||e===`concept`||e===`type`||e===`persona`||Y.has(e)}function parseModuleInPlacedFile(t,n,r,a){let o=M.exec(n.content)?.[1]??``;a!==void 0&&o===r[0]?(t.authoredDeclarations=!0,a.parseChildren(t,n)):(t.error(e.ModuleInPlacedFile,`This file is imported into ${u(r)}, so it cannot declare module '${o}' - import it at the top level of a document instead`,i(n)),t.skipBlock(n.indent))}function reportUnexpectedTopLevel(t,n,r){let a=c(n.content);if(f(r)){let r=X.has(a)?` - '${a}' belongs in a module or feature; wrap it in one, or import this file from inside one`:` - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme, sample data or layout`;t.error(e.UnknownTopLevelConstruct,`Unexpected '${a}' at the top level${r}`,i(n))}else{let o=r.length===1?j:k;t.error(e.UnexpectedInPlacedFile,`Unexpected '${a}' in a file imported into ${u(r)} - expected an application declaration or ${o}`,i(n))}t.skipBlock(n.indent)}function place(e,t,n){let r=t;for(let t=e.length-2;t>=1;t--)r={kind:`FeatureSyntax`,name:e[t],description:null,authorize:null,features:[r],slices:[],fileImports:[],isPlacement:!0,location:n};return{kind:`ModuleSyntax`,name:e[0],description:null,authorize:null,features:[r],fileImports:[],isPlacement:!0,location:n}}function parseDomain(t,n,r,a){let o=V.exec(n.content);return o===null?(t.error(e.InvalidDomainDeclaration,`Invalid domain declaration '${n.content}' - expected 'domain <Qualified.Name>'`,i(n)),r):r===null?(a&&t.error(e.DomainNotFirst,`'domain' must be declared before any other construct`,i(n)),{kind:`DomainSyntax`,name:o[1],location:i(n)}):(t.error(e.DuplicateDomain,`The document already declares a domain - a document can have at most one`,i(n)),r)}function warnOnTabIndentation(t,n){let r=!1;for(let i of n)i.raw.trimStart().startsWith("```")?r=!r:!r&&q.test(i.raw)&&t.warning(e.TabIndentation,`Screenplay is indentation based - use spaces, not tabs`,a(i))}function parseConcept(t,n){let r=U.exec(n.content);if(r===null)return t.error(e.InvalidConceptDeclaration,`Invalid concept declaration '${n.content}' - expected 'concept <Name> : <Type>'`,i(n)),t.skipBlock(n.indent),{kind:`ConceptSyntax`,name:c(n.content),type:``,attributes:[],values:[],location:i(n)};let[,a,u,d]=r,f=s(t,n,a,d);u!==`Enum`&&!J.includes(u)&&t.error(e.UnknownPrimitiveType,`Unknown primitive type '${u}' - expected ${J.join(`, `)} or Enum`,i(n));let m=[],h=new P,g=null,_=!1,v=null,y=[];for(let r=t.peekChild(n.indent);r!==void 0;r=t.peekChild(n.indent)){t.reader.takeSignificant();let n=u===`Enum`?h.tryNumbered(t,r):void 0;if(n!==void 0)m.push(n);else if(c(r.content)===`description`&&(u!==`Enum`||r.content!==`description`||t.peekChild(r.indent)?.content.startsWith("```")===!0))v=p(t,r,v,`Concept '${a}'`);else if(x(r))continue;else if(c(r.content)===`validate`){u===`Enum`&&r.content===`validate`&&t.peekChild(r.indent)===void 0&&t.warning(e.ValidateReadAsEnumerationBlock,`'validate' in enumeration concept '${a}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,i(r));let n=E(t,r,`concept`);n!==void 0&&y.push(n)}else if(c(r.content)===`generate`&&(u!==`Enum`||r.content!==`generate`)){_&&t.error(e.DuplicateGeneration,`Concept '${a}' declares generation more than once.`,i(r));let n=F(t,r,u);_||(g=n),_=!0}else o(t,r,a,f)||(u===`Enum`&&W.test(r.content)?m.push(l(r.content)):u===`Enum`?t.error(e.InvalidEnumerationValue,`Invalid enum value '${r.content}' - expected an identifier`,i(r)):(t.error(e.UnknownConceptDirective,`Unexpected '${r.content}' in concept body - expected validate, generate, 'file <path>' or '<attribute> reason "<text>"'`,i(r)),t.skipBlock(r.indent)))}let b=h.finish(t,n,m.length);return{kind:`ConceptSyntax`,name:a,type:u,attributes:f,values:m,validations:y,description:v,...g===null?{}:{generation:g},...b===void 0?{}:{valueNumbers:b},location:i(n)}}function parsePersona(t,n){let r=G.exec(n.content)?.[1]??``;r===``&&t.error(e.InvalidPersonaDeclaration,`Invalid persona declaration '${n.content}' - expected 'persona <Name>'`,i(n));let a=null,o=[];for(let s=t.peekChild(n.indent);s!==void 0;s=t.peekChild(n.indent)){t.reader.takeSignificant();let n=c(s.content);if(n===`description`)a=p(t,s,a,`Persona '${r}'`);else if(n===`policy`){let n=K.exec(s.content);n===null?t.error(e.InvalidPersonaPolicyReference,`Invalid policy reference '${s.content}' - expected 'policy <Name>'`,i(s)):o.push(n[1])}else t.error(e.UnknownPersonaDirective,`Unexpected '${n}' in persona body - expected description or policy`,i(s)),t.skipBlock(s.indent)}return{kind:`PersonaSyntax`,name:r,description:a,policies:o,location:i(n)}}export{parseApplication};
2
2
  //# sourceMappingURL=ScreenplayParser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScreenplayParser.js","names":["domainPattern","pattern","importPattern","stringBodyPattern","conceptPattern","enumValuePattern","personaPattern","personaPolicyPattern","tabIndentPattern","primitiveTypes","opaqueTopLevel","bodyKeywords","documentPlacement","context","lines","moduleBody","placement","ModuleBody","featureBody","FeatureBody","placedBody","identity","domain","imports","fileImports","concepts","types","systems","eventSources","modules","personas","policies","purposes","seeds","examples","declaredTriggers","exposures","instanceContributions","sawOtherConstruct","line","keyword","firstWord","misplacedReactionIdentity","isFileImport","parseFileImport","match","DiagnosticCodes","locationOf","origin","unescapeString","isBlankPublicEventOrigin","parseExample","parseEventSource","parseSystem","parseType","isDocumentPlacement","parseModule","parseSeed","parsePurpose","parseIdentity","parsePolicy","parseExposure","parseInstance","data","parseTriggerDeclaration","name","collectInputUses","root","recordAuthoredDocument","modulePattern","describePlacement","word","hint","expected","moduleBodyExpected","featureBodyExpected","feature","innermost","index","start","existing","inFence","startOf","type","attributeText","attributes","parseComplianceMarkers","values","members","EnumerationMembers","generation","declaredGeneration","description","validations","child","memberName","parseDescription","isFileDirective","parsed","parseValidate","parseGeneration","parseComplianceDirective","unescapeIdentifier","valueNumbers","policy"],"sources":["../../../../../../Compiler/Parsing/ScreenplayParser.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { EnumerationMembers } from './EnumerationMembers';\nimport { GenerationSyntax } from '../Syntax/GenerationSyntax';\nimport { parseGeneration } from './GenerationParser';\nimport { IdentitySyntax } from '../Syntax/IdentitySyntax';\nimport { parseIdentity } from './IdentityParser';\nimport { misplacedReactionIdentity } from './ReactionIdentityParser';\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { recordAuthoredDocument } from '../Syntax/SourceOptions';\nimport { SourceLocation } from '../Diagnostics/SourceLocation';\nimport { describePlacement, documentPlacement, isDocumentPlacement, PlayPlacement } from '../Files/PlayPlacement';\nimport { PersonaSyntax } from '../Syntax/Authorization';\nimport { ConceptSyntax, DomainSyntax, ImportSyntax, TypeSyntax } from '../Syntax/Declarations';\nimport { SpecificationExampleSyntax } from '../Syntax/Specifications';\nimport { ApplicationSyntax, FeatureSyntax, FileImportSyntax, ModuleSyntax } from '../Syntax/Structure';\nimport { parseTriggerDeclaration } from './TriggerDataParser';\nimport { pattern } from '../Text/patterns';\nimport { parseComplianceDirective, parseComplianceMarkers } from './ConceptComplianceParser';\nimport { parseType } from './DeclarationParsers';\nimport { ValidateSyntax } from '../Syntax/Commands';\nimport { parseValidate } from './CommandParser';\nimport { parseDescription } from './DescriptionParser';\nimport { FeatureBody, featureBodyExpected } from './FeatureBody';\nimport { isFileImport, parseFileImport } from './FileImportParser';\nimport { isFileDirective } from './FileReferences';\nimport { collectInputUses } from './InputUses';\nimport { firstWord, unescapeIdentifier } from './LineText';\nimport { ModuleBody, moduleBodyExpected, modulePattern, parseModule } from './ModuleBody';\nimport { ParserContext } from './ParserContext';\nimport { PolicySyntax } from '../Syntax/Policies';\nimport { parsePolicy } from './PolicyParser';\nimport { PurposeSyntax } from '../Syntax/Purposes';\nimport { parsePurpose } from './PurposeParser';\nimport { SeedSyntax } from '../Syntax/Seeds';\nimport { parseSeed } from './SeedParser';\nimport { parseSystem } from './OperationParser';\nimport { EventVisibility } from '../Syntax/EventVisibility';\nimport { isBlankPublicEventOrigin } from '../Syntax/PublicEventInvariants';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\nimport { SystemSyntax } from '../Syntax/Operations';\nimport { EventSourceSyntax } from '../Syntax/EventSources';\nimport { parseEventSource } from './EventSourceParser';\nimport { parseExposure, parseInstance } from './CompositionParser';\nimport { ExposureSyntax, InstanceContributionsSyntax } from '../Syntax/CompositionSyntax';\nimport { parseExample } from './SpecificationExampleParser';\nimport { locationOf, SourceLine, startOf } from './SourceLine';\n\nconst domainPattern = pattern('^domain\\\\s+([A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*)$');\nconst importPattern = pattern(`^import\\\\s+([\\\\w.]+)(?:\\\\s+from\\\\s+\"(?<origin>${stringBodyPattern})\")?$`);\nconst conceptPattern = pattern('^concept\\\\s+(\\\\w+)\\\\s*:\\\\s*(\\\\w+)((?:\\\\s+@?\\\\w+)*)$');\nconst enumValuePattern = pattern('^@?[a-z_]\\\\w*$');\nconst personaPattern = pattern('^persona\\\\s+([A-Za-z_]\\\\w*)$');\nconst personaPolicyPattern = pattern('^policy\\\\s+([A-Za-z_]\\\\w*)$');\nconst tabIndentPattern = /^[ ]*\\t/;\nconst primitiveTypes = ['Uuid', 'String', 'Int', 'Decimal', 'Bool', 'Date', 'DateTime'];\n\n// Top-level, module and feature constructs the C# compiler knows that this compiler does not model. They\n// are skipped whole, not reported.\nconst opaqueTopLevel = new Set(['policy', 'authentication', 'seed', 'ui', 'theme', 'trigger', 'layout', 'behavior']);\n\n// What belongs in a module or feature body; at the top level of a whole document it gets a hint saying so.\nconst bodyKeywords = new Set(['slice', 'feature', 'description', 'documentation', 'authorize', 'screen', 'dialog', 'form', 'contribute', 'on', 'uses']);\n\n// Parses one document into its application syntax - the port of the C# ScreenplayParser. The placement says\n// where the document's top level belongs: the application, unless an import placed it in a module or feature.\nexport function parseApplication(context: ParserContext, lines: readonly SourceLine[], placement: PlayPlacement = documentPlacement): ApplicationSyntax {\n context.deferIdentityValidation = true;\n warnOnTabIndentation(context, lines);\n const moduleBody = placement.length === 1 ? new ModuleBody(placement[0]) : undefined;\n const featureBody = placement.length > 1 ? new FeatureBody(placement[placement.length - 1]) : undefined;\n const placedBody = moduleBody ?? featureBody;\n let identity: IdentitySyntax | null = null;\n let domain: DomainSyntax | null = null;\n const imports: ImportSyntax[] = [];\n const fileImports: FileImportSyntax[] = [];\n const concepts: ConceptSyntax[] = [];\n const types: TypeSyntax[] = [];\n const systems: SystemSyntax[] = [];\n const eventSources: EventSourceSyntax[] = [];\n const modules: ModuleSyntax[] = [];\n const personas: PersonaSyntax[] = [];\n const policies: PolicySyntax[] = [];\n const purposes: PurposeSyntax[] = [];\n const seeds: SeedSyntax[] = [];\n const examples: SpecificationExampleSyntax[] = [];\n const declaredTriggers: NonNullable<ApplicationSyntax['declaredTriggers']>[number][] = [];\n const exposures: ExposureSyntax[] = [];\n const instanceContributions: InstanceContributionsSyntax[] = [];\n let sawOtherConstruct = false;\n for (let line = context.reader.peekSignificant(); line !== undefined; line = context.reader.peekSignificant()) {\n context.reader.takeSignificant();\n const keyword = firstWord(line.content);\n if (keyword === 'runs') {\n misplacedReactionIdentity(context, line);\n continue;\n }\n if (keyword === 'domain') {\n context.authoredDeclarations = true;\n domain = parseDomain(context, line, domain, sawOtherConstruct);\n continue;\n }\n // The C# parser asks whether anything was declared before the domain, so an import it rejected,\n // a file import and an unknown construct do not count.\n sawOtherConstruct ||= declaresConstruct(keyword, line, placement);\n context.authoredDeclarations ||= keyword !== 'import' && declaresConstruct(keyword, line, placement);\n if (keyword === 'import' && isFileImport(line.content)) {\n // A top level import belongs to whatever the document's top level is - the application, or the\n // module or feature the document was itself imported into.\n if (placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else {\n parseFileImport(context, line, fileImports);\n }\n } else if (keyword === 'import') {\n const match = importPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, `Invalid import '${line.content}' - expected 'import <Qualified.Name> [from \"<origin>\"]'`, locationOf(line));\n } else {\n const origin = match.groups?.origin === undefined ? null : unescapeString(match.groups.origin);\n if (origin !== null && isBlankPublicEventOrigin(origin)) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, 'An import origin must be a nonblank quoted string', locationOf(line));\n }\n imports.push({ kind: 'ImportSyntax', qualifiedName: match[1], origin, visibility: origin === null ? EventVisibility.Private : EventVisibility.Public, location: locationOf(line) });\n }\n } else if (keyword === 'example') {\n if (placedBody !== undefined) placedBody.tryParse(context, line);\n else examples.push(parseExample(context, line));\n } else if (keyword === 'eventsource') {\n eventSources.push(parseEventSource(context, line));\n } else if (keyword === 'system') {\n systems.push(parseSystem(context, line));\n } else if (keyword === 'concept') {\n concepts.push(parseConcept(context, line));\n } else if (keyword === 'type') {\n types.push(parseType(context, line));\n } else if (keyword === 'module' && !isDocumentPlacement(placement)) {\n parseModuleInPlacedFile(context, line, placement, moduleBody);\n } else if (keyword === 'module') {\n modules.push(parseModule(context, line));\n } else if (keyword === 'persona') {\n personas.push(parsePersona(context, line));\n } else if (keyword === 'seed') {\n seeds.push(parseSeed(context.valueContext, line));\n } else if (keyword === 'purpose' && placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else if (keyword === 'purpose') {\n purposes.push(parsePurpose(context, line));\n } else if (keyword === 'identity') {\n identity = parseIdentity(context, line, identity);\n } else if (keyword === 'policy') {\n // Legacy policies were opaque: enrich their structure without adding diagnostics.\n policies.push(parsePolicy(context, line));\n } else if (keyword === 'exposure') {\n exposures.push(parseExposure(context, line));\n } else if (keyword === 'instance') {\n instanceContributions.push(parseInstance(context, line));\n } else if (keyword === 'trigger') {\n const data = parseTriggerDeclaration(context, line);\n const name = /^trigger\\s+([A-Za-z_]\\w*)$/.exec(line.content)?.[1];\n if (name !== undefined) declaredTriggers.push({ name, data });\n } else if (opaqueTopLevel.has(keyword)) {\n if (keyword === 'behavior' || keyword === 'layout') collectInputUses(context, line);\n else context.skipOpaqueBlock(line.indent);\n } else if (placedBody?.tryParse(context, line) !== true) {\n reportUnexpectedTopLevel(context, line, placement);\n }\n }\n if (moduleBody !== undefined) {\n modules.unshift(moduleBody.build(context.start, true));\n } else if (featureBody !== undefined) {\n modules.unshift(place(placement, featureBody.build(context.start, true), context.start));\n }\n const root: ApplicationSyntax = { kind: 'ApplicationSyntax', ...(identity === null ? {} : { identity }), sourceOptions: context.sourceOptions, domain, imports, concepts, types, systems, eventSources, examples, modules, personas, policies, purposes, seeds, declaredTriggers, fileImports, ...(exposures.length > 0 ? { exposures } : {}), ...(instanceContributions.length > 0 ? { instanceContributions } : {}), location: context.start };\n if (context.authoredDeclarations) recordAuthoredDocument(root);\n return root;\n}\n\nfunction declaresConstruct(keyword: string, line: SourceLine, placement: PlayPlacement): boolean {\n if (keyword === 'import') {\n return importPattern.test(line.content);\n }\n if (keyword === 'module') {\n return isDocumentPlacement(placement);\n }\n if (keyword === 'identity') return line.content === 'identity';\n return keyword === 'purpose' || keyword === 'example' || keyword === 'exposure' || keyword === 'instance' || keyword === 'eventsource' || keyword === 'system' || keyword === 'concept' || keyword === 'type' || keyword === 'persona' || opaqueTopLevel.has(keyword);\n}\n\nfunction parseModuleInPlacedFile(context: ParserContext, line: SourceLine, placement: PlayPlacement, moduleBody: ModuleBody | undefined): void {\n const name = modulePattern.exec(line.content)?.[1] ?? '';\n\n // Restating the module a file is placed in says nothing new, so its body simply joins the placement.\n if (moduleBody !== undefined && name === placement[0]) {\n context.authoredDeclarations = true;\n moduleBody.parseChildren(context, line);\n return;\n }\n context.error(DiagnosticCodes.ModuleInPlacedFile,\n `This file is imported into ${describePlacement(placement)}, so it cannot declare module '${name}' - import it at the top level of a document instead`, locationOf(line));\n context.skipBlock(line.indent);\n}\n\nfunction reportUnexpectedTopLevel(context: ParserContext, line: SourceLine, placement: PlayPlacement): void {\n const word = firstWord(line.content);\n if (!isDocumentPlacement(placement)) {\n const expected = placement.length === 1 ? moduleBodyExpected : featureBodyExpected;\n context.error(DiagnosticCodes.UnexpectedInPlacedFile,\n `Unexpected '${word}' in a file imported into ${describePlacement(placement)} - expected an application declaration or ${expected}`, locationOf(line));\n } else {\n const hint = bodyKeywords.has(word)\n ? ` - '${word}' belongs in a module or feature; wrap it in one, or import this file from inside one`\n : ' - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme or layout';\n context.error(DiagnosticCodes.UnknownTopLevelConstruct, `Unexpected '${word}' at the top level${hint}`, locationOf(line));\n }\n context.skipBlock(line.indent);\n}\n\n// Wraps the feature a file is placed in in the features and module around it, each marked as a placement.\nfunction place(placement: PlayPlacement, innermost: FeatureSyntax, start: SourceLocation): ModuleSyntax {\n let feature = innermost;\n for (let index = placement.length - 2; index >= 1; index--) {\n feature = {\n kind: 'FeatureSyntax', name: placement[index], description: null, authorize: null,\n features: [feature], slices: [], fileImports: [], isPlacement: true, location: start,\n };\n }\n return {\n kind: 'ModuleSyntax', name: placement[0], description: null, authorize: null,\n features: [feature], fileImports: [], isPlacement: true, location: start,\n };\n}\n\nfunction parseDomain(context: ParserContext, line: SourceLine, existing: DomainSyntax | null, sawOtherConstruct: boolean): DomainSyntax | null {\n const match = domainPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidDomainDeclaration, `Invalid domain declaration '${line.content}' - expected 'domain <Qualified.Name>'`, locationOf(line));\n return existing;\n }\n if (existing !== null) {\n context.error(DiagnosticCodes.DuplicateDomain, 'The document already declares a domain - a document can have at most one', locationOf(line));\n return existing;\n }\n if (sawOtherConstruct) {\n context.error(DiagnosticCodes.DomainNotFirst, '\\'domain\\' must be declared before any other construct', locationOf(line));\n }\n return { kind: 'DomainSyntax', name: match[1], location: locationOf(line) };\n}\n\nfunction warnOnTabIndentation(context: ParserContext, lines: readonly SourceLine[]): void {\n let inFence = false;\n for (const line of lines) {\n if (line.raw.trimStart().startsWith('```')) {\n inFence = !inFence;\n continue;\n }\n if (!inFence && tabIndentPattern.test(line.raw)) {\n context.warning(DiagnosticCodes.TabIndentation, 'Screenplay is indentation based - use spaces, not tabs', startOf(line));\n }\n }\n}\n\nfunction parseConcept(context: ParserContext, line: SourceLine): ConceptSyntax {\n const match = conceptPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidConceptDeclaration, `Invalid concept declaration '${line.content}' - expected 'concept <Name> : <Type>'`, locationOf(line));\n context.skipBlock(line.indent);\n return { kind: 'ConceptSyntax', name: firstWord(line.content), type: '', attributes: [], values: [], location: locationOf(line) };\n }\n const [, name, type, attributeText] = match;\n const attributes = parseComplianceMarkers(context, line, name, attributeText);\n if (type !== 'Enum' && !primitiveTypes.includes(type)) {\n context.error(DiagnosticCodes.UnknownPrimitiveType, `Unknown primitive type '${type}' - expected ${primitiveTypes.join(', ')} or Enum`, locationOf(line));\n }\n const values: string[] = [];\n const members = new EnumerationMembers();\n let generation: GenerationSyntax | null = null;\n let declaredGeneration = false;\n let description: string | null = null;\n const validations: ValidateSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const memberName = type === 'Enum' ? members.tryNumbered(context, child) : undefined;\n if (memberName !== undefined) {\n values.push(memberName);\n } else if (firstWord(child.content) === 'description' && (type !== 'Enum' || child.content !== 'description' || context.peekChild(child.indent)?.content.startsWith('```') === true)) {\n description = parseDescription(context, child, description, `Concept '${name}'`);\n } else if (isFileDirective(child)) {\n continue;\n } else if (firstWord(child.content) === 'validate') {\n if (type === 'Enum' && child.content === 'validate' && context.peekChild(child.indent) === undefined) {\n context.warning(DiagnosticCodes.ValidateReadAsEnumerationBlock,\n `'validate' in enumeration concept '${name}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,\n locationOf(child));\n }\n const parsed = parseValidate(context, child, 'concept');\n if (parsed !== undefined) validations.push(parsed);\n } else if (firstWord(child.content) === 'generate' && !(type === 'Enum' && child.content === 'generate')) {\n if (declaredGeneration) context.error(DiagnosticCodes.DuplicateGeneration, `Concept '${name}' declares generation more than once.`, locationOf(child));\n const parsed = parseGeneration(context, child, type);\n if (!declaredGeneration) generation = parsed;\n declaredGeneration = true;\n } else if (parseComplianceDirective(context, child, name, attributes)) {\n // Compliance directives are modeled by their original concept marker.\n } else if (type === 'Enum' && enumValuePattern.test(child.content)) {\n values.push(unescapeIdentifier(child.content));\n } else if (type === 'Enum') {\n context.error(DiagnosticCodes.InvalidEnumerationValue, `Invalid enum value '${child.content}' - expected an identifier`, locationOf(child));\n } else {\n context.error(DiagnosticCodes.UnknownConceptDirective, `Unexpected '${child.content}' in concept body - expected validate, generate, 'file <path>' or '<attribute> reason \"<text>\"'`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n const valueNumbers = members.finish(context, line, values.length);\n return { kind: 'ConceptSyntax', name, type, attributes, values, validations, description, ...(generation === null ? {} : { generation }), ...(valueNumbers === undefined ? {} : { valueNumbers }), location: locationOf(line) };\n}\n\n// 'persona <Name>' with an optional description and the policies it holds - the port of the C# ParsePersona.\nfunction parsePersona(context: ParserContext, line: SourceLine): PersonaSyntax {\n const name = personaPattern.exec(line.content)?.[1] ?? '';\n if (name === '') {\n context.error(DiagnosticCodes.InvalidPersonaDeclaration, `Invalid persona declaration '${line.content}' - expected 'persona <Name>'`, locationOf(line));\n }\n let description: string | null = null;\n const policies: string[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const keyword = firstWord(child.content);\n if (keyword === 'description') {\n description = parseDescription(context, child, description, `Persona '${name}'`);\n } else if (keyword === 'policy') {\n const policy = personaPolicyPattern.exec(child.content);\n if (policy === null) {\n context.error(DiagnosticCodes.InvalidPersonaPolicyReference, `Invalid policy reference '${child.content}' - expected 'policy <Name>'`, locationOf(child));\n } else {\n policies.push(policy[1]);\n }\n } else {\n context.error(DiagnosticCodes.UnknownPersonaDirective, `Unexpected '${keyword}' in persona body - expected description or policy`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n return { kind: 'PersonaSyntax', name, description, policies, location: locationOf(line) };\n}\n"],"mappings":"k5DAiDA,MAAMA,EAAgBC,EAAQ,kDAAkD,EAC1EC,EAAgBD,EAAQ,iDAAiDE,EAAkB,MAAM,EACjGC,EAAiBH,EAAQ,qDAAqD,EAC9EI,EAAmBJ,EAAQ,gBAAgB,EAC3CK,EAAiBL,EAAQ,8BAA8B,EACvDM,EAAuBN,EAAQ,6BAA6B,EAC5DO,EA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AExJ/D,EAAS,KAAKyE,EAAO,EAAE,CAE/B,MACI3F,EAAQ,MAAMiC,EAAgB,wBAAyB,eAAeN,EAAQ,oDAAqDO,EAAW+C,CAAK,CAAC,EACpJjF,EAAQ,UAAUiF,EAAM,MAAM,CAEtC,CACA,MAAO,CAAE,KAAM,gBAAiB,OAAM,cAAa,WAAU,SAAU/C,EAAWR,CAAI,CAAE,CAC5F"}
1
+ {"version":3,"file":"ScreenplayParser.js","names":["domainPattern","pattern","importPattern","stringBodyPattern","conceptPattern","enumValuePattern","personaPattern","personaPolicyPattern","tabIndentPattern","primitiveTypes","opaqueTopLevel","bodyKeywords","documentPlacement","context","lines","moduleBody","placement","ModuleBody","featureBody","FeatureBody","placedBody","identity","domain","imports","fileImports","concepts","types","systems","eventSources","modules","personas","policies","purposes","seeds","examples","declaredTriggers","exposures","instanceContributions","sawOtherConstruct","line","keyword","firstWord","misplacedReactionIdentity","isFileImport","parseFileImport","match","DiagnosticCodes","locationOf","origin","unescapeString","isBlankPublicEventOrigin","parseExample","parseEventSource","parseSystem","parseType","isDocumentPlacement","parseModule","parseSeed","parsePurpose","parseIdentity","parsePolicy","parseExposure","parseInstance","data","parseTriggerDeclaration","name","collectInputUses","root","recordAuthoredDocument","modulePattern","describePlacement","word","hint","expected","moduleBodyExpected","featureBodyExpected","feature","innermost","index","start","existing","inFence","startOf","type","attributeText","attributes","parseComplianceMarkers","values","members","EnumerationMembers","generation","declaredGeneration","description","validations","child","memberName","parseDescription","isFileDirective","parsed","parseValidate","parseGeneration","parseComplianceDirective","unescapeIdentifier","valueNumbers","policy"],"sources":["../../../../../../Compiler/Parsing/ScreenplayParser.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { EnumerationMembers } from './EnumerationMembers';\nimport { GenerationSyntax } from '../Syntax/GenerationSyntax';\nimport { parseGeneration } from './GenerationParser';\nimport { IdentitySyntax } from '../Syntax/IdentitySyntax';\nimport { parseIdentity } from './IdentityParser';\nimport { misplacedReactionIdentity } from './ReactionIdentityParser';\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { recordAuthoredDocument } from '../Syntax/SourceOptions';\nimport { SourceLocation } from '../Diagnostics/SourceLocation';\nimport { describePlacement, documentPlacement, isDocumentPlacement, PlayPlacement } from '../Files/PlayPlacement';\nimport { PersonaSyntax } from '../Syntax/Authorization';\nimport { ConceptSyntax, DomainSyntax, ImportSyntax, TypeSyntax } from '../Syntax/Declarations';\nimport { SpecificationExampleSyntax } from '../Syntax/Specifications';\nimport { ApplicationSyntax, FeatureSyntax, FileImportSyntax, ModuleSyntax } from '../Syntax/Structure';\nimport { parseTriggerDeclaration } from './TriggerDataParser';\nimport { pattern } from '../Text/patterns';\nimport { parseComplianceDirective, parseComplianceMarkers } from './ConceptComplianceParser';\nimport { parseType } from './DeclarationParsers';\nimport { ValidateSyntax } from '../Syntax/Commands';\nimport { parseValidate } from './CommandParser';\nimport { parseDescription } from './DescriptionParser';\nimport { FeatureBody, featureBodyExpected } from './FeatureBody';\nimport { isFileImport, parseFileImport } from './FileImportParser';\nimport { isFileDirective } from './FileReferences';\nimport { collectInputUses } from './InputUses';\nimport { firstWord, unescapeIdentifier } from './LineText';\nimport { ModuleBody, moduleBodyExpected, modulePattern, parseModule } from './ModuleBody';\nimport { ParserContext } from './ParserContext';\nimport { PolicySyntax } from '../Syntax/Policies';\nimport { parsePolicy } from './PolicyParser';\nimport { PurposeSyntax } from '../Syntax/Purposes';\nimport { parsePurpose } from './PurposeParser';\nimport { SeedSyntax } from '../Syntax/Seeds';\nimport { parseSeed } from './SeedParser';\nimport { parseSystem } from './OperationParser';\nimport { EventVisibility } from '../Syntax/EventVisibility';\nimport { isBlankPublicEventOrigin } from '../Syntax/PublicEventInvariants';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\nimport { SystemSyntax } from '../Syntax/Operations';\nimport { EventSourceSyntax } from '../Syntax/EventSources';\nimport { parseEventSource } from './EventSourceParser';\nimport { parseExposure, parseInstance } from './CompositionParser';\nimport { ExposureSyntax, InstanceContributionsSyntax } from '../Syntax/CompositionSyntax';\nimport { parseExample } from './SpecificationExampleParser';\nimport { locationOf, SourceLine, startOf } from './SourceLine';\n\nconst domainPattern = pattern('^domain\\\\s+([A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*)$');\nconst importPattern = pattern(`^import\\\\s+([\\\\w.]+)(?:\\\\s+from\\\\s+\"(?<origin>${stringBodyPattern})\")?$`);\nconst conceptPattern = pattern('^concept\\\\s+(\\\\w+)\\\\s*:\\\\s*(\\\\w+)((?:\\\\s+@?\\\\w+)*)$');\nconst enumValuePattern = pattern('^@?[a-z_]\\\\w*$');\nconst personaPattern = pattern('^persona\\\\s+([A-Za-z_]\\\\w*)$');\nconst personaPolicyPattern = pattern('^policy\\\\s+([A-Za-z_]\\\\w*)$');\nconst tabIndentPattern = /^[ ]*\\t/;\nconst primitiveTypes = ['Uuid', 'String', 'Int', 'Decimal', 'Bool', 'Date', 'DateTime'];\n\n// Top-level, module and feature constructs the C# compiler knows that this compiler does not model. They\n// are skipped whole, not reported.\nconst opaqueTopLevel = new Set(['policy', 'authentication', 'seed', 'ui', 'theme', 'trigger', 'layout', 'behavior', 'sample']);\n\n// What belongs in a module or feature body; at the top level of a whole document it gets a hint saying so.\nconst bodyKeywords = new Set(['slice', 'feature', 'description', 'documentation', 'authorize', 'screen', 'dialog', 'form', 'contribute', 'on', 'uses']);\n\n// Parses one document into its application syntax - the port of the C# ScreenplayParser. The placement says\n// where the document's top level belongs: the application, unless an import placed it in a module or feature.\nexport function parseApplication(context: ParserContext, lines: readonly SourceLine[], placement: PlayPlacement = documentPlacement): ApplicationSyntax {\n context.deferIdentityValidation = true;\n warnOnTabIndentation(context, lines);\n const moduleBody = placement.length === 1 ? new ModuleBody(placement[0]) : undefined;\n const featureBody = placement.length > 1 ? new FeatureBody(placement[placement.length - 1]) : undefined;\n const placedBody = moduleBody ?? featureBody;\n let identity: IdentitySyntax | null = null;\n let domain: DomainSyntax | null = null;\n const imports: ImportSyntax[] = [];\n const fileImports: FileImportSyntax[] = [];\n const concepts: ConceptSyntax[] = [];\n const types: TypeSyntax[] = [];\n const systems: SystemSyntax[] = [];\n const eventSources: EventSourceSyntax[] = [];\n const modules: ModuleSyntax[] = [];\n const personas: PersonaSyntax[] = [];\n const policies: PolicySyntax[] = [];\n const purposes: PurposeSyntax[] = [];\n const seeds: SeedSyntax[] = [];\n const examples: SpecificationExampleSyntax[] = [];\n const declaredTriggers: NonNullable<ApplicationSyntax['declaredTriggers']>[number][] = [];\n const exposures: ExposureSyntax[] = [];\n const instanceContributions: InstanceContributionsSyntax[] = [];\n let sawOtherConstruct = false;\n for (let line = context.reader.peekSignificant(); line !== undefined; line = context.reader.peekSignificant()) {\n context.reader.takeSignificant();\n const keyword = firstWord(line.content);\n if (keyword === 'runs') {\n misplacedReactionIdentity(context, line);\n continue;\n }\n if (keyword === 'domain') {\n context.authoredDeclarations = true;\n domain = parseDomain(context, line, domain, sawOtherConstruct);\n continue;\n }\n // The C# parser asks whether anything was declared before the domain, so an import it rejected,\n // a file import and an unknown construct do not count.\n sawOtherConstruct ||= declaresConstruct(keyword, line, placement);\n context.authoredDeclarations ||= keyword !== 'import' && declaresConstruct(keyword, line, placement);\n if (keyword === 'import' && isFileImport(line.content)) {\n // A top level import belongs to whatever the document's top level is - the application, or the\n // module or feature the document was itself imported into.\n if (placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else {\n parseFileImport(context, line, fileImports);\n }\n } else if (keyword === 'import') {\n const match = importPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, `Invalid import '${line.content}' - expected 'import <Qualified.Name> [from \"<origin>\"]'`, locationOf(line));\n } else {\n const origin = match.groups?.origin === undefined ? null : unescapeString(match.groups.origin);\n if (origin !== null && isBlankPublicEventOrigin(origin)) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, 'An import origin must be a nonblank quoted string', locationOf(line));\n }\n imports.push({ kind: 'ImportSyntax', qualifiedName: match[1], origin, visibility: origin === null ? EventVisibility.Private : EventVisibility.Public, location: locationOf(line) });\n }\n } else if (keyword === 'example') {\n if (placedBody !== undefined) placedBody.tryParse(context, line);\n else examples.push(parseExample(context, line));\n } else if (keyword === 'eventsource') {\n eventSources.push(parseEventSource(context, line));\n } else if (keyword === 'system') {\n systems.push(parseSystem(context, line));\n } else if (keyword === 'concept') {\n concepts.push(parseConcept(context, line));\n } else if (keyword === 'type') {\n types.push(parseType(context, line));\n } else if (keyword === 'module' && !isDocumentPlacement(placement)) {\n parseModuleInPlacedFile(context, line, placement, moduleBody);\n } else if (keyword === 'module') {\n modules.push(parseModule(context, line));\n } else if (keyword === 'persona') {\n personas.push(parsePersona(context, line));\n } else if (keyword === 'seed') {\n seeds.push(parseSeed(context.valueContext, line));\n } else if (keyword === 'purpose' && placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else if (keyword === 'purpose') {\n purposes.push(parsePurpose(context, line));\n } else if (keyword === 'identity') {\n identity = parseIdentity(context, line, identity);\n } else if (keyword === 'policy') {\n // Legacy policies were opaque: enrich their structure without adding diagnostics.\n policies.push(parsePolicy(context, line));\n } else if (keyword === 'exposure') {\n exposures.push(parseExposure(context, line));\n } else if (keyword === 'instance') {\n instanceContributions.push(parseInstance(context, line));\n } else if (keyword === 'trigger') {\n const data = parseTriggerDeclaration(context, line);\n const name = /^trigger\\s+([A-Za-z_]\\w*)$/.exec(line.content)?.[1];\n if (name !== undefined) declaredTriggers.push({ name, data });\n } else if (opaqueTopLevel.has(keyword)) {\n if (keyword === 'behavior' || keyword === 'layout') collectInputUses(context, line);\n else context.skipOpaqueBlock(line.indent);\n } else if (placedBody?.tryParse(context, line) !== true) {\n reportUnexpectedTopLevel(context, line, placement);\n }\n }\n if (moduleBody !== undefined) {\n modules.unshift(moduleBody.build(context.start, true));\n } else if (featureBody !== undefined) {\n modules.unshift(place(placement, featureBody.build(context.start, true), context.start));\n }\n const root: ApplicationSyntax = { kind: 'ApplicationSyntax', ...(identity === null ? {} : { identity }), sourceOptions: context.sourceOptions, domain, imports, concepts, types, systems, eventSources, examples, modules, personas, policies, purposes, seeds, declaredTriggers, fileImports, ...(exposures.length > 0 ? { exposures } : {}), ...(instanceContributions.length > 0 ? { instanceContributions } : {}), location: context.start };\n if (context.authoredDeclarations) recordAuthoredDocument(root);\n return root;\n}\n\nfunction declaresConstruct(keyword: string, line: SourceLine, placement: PlayPlacement): boolean {\n if (keyword === 'import') {\n return importPattern.test(line.content);\n }\n if (keyword === 'module') {\n return isDocumentPlacement(placement);\n }\n if (keyword === 'identity') return line.content === 'identity';\n return keyword === 'purpose' || keyword === 'example' || keyword === 'exposure' || keyword === 'instance' || keyword === 'eventsource' || keyword === 'system' || keyword === 'concept' || keyword === 'type' || keyword === 'persona' || opaqueTopLevel.has(keyword);\n}\n\nfunction parseModuleInPlacedFile(context: ParserContext, line: SourceLine, placement: PlayPlacement, moduleBody: ModuleBody | undefined): void {\n const name = modulePattern.exec(line.content)?.[1] ?? '';\n\n // Restating the module a file is placed in says nothing new, so its body simply joins the placement.\n if (moduleBody !== undefined && name === placement[0]) {\n context.authoredDeclarations = true;\n moduleBody.parseChildren(context, line);\n return;\n }\n context.error(DiagnosticCodes.ModuleInPlacedFile,\n `This file is imported into ${describePlacement(placement)}, so it cannot declare module '${name}' - import it at the top level of a document instead`, locationOf(line));\n context.skipBlock(line.indent);\n}\n\nfunction reportUnexpectedTopLevel(context: ParserContext, line: SourceLine, placement: PlayPlacement): void {\n const word = firstWord(line.content);\n if (!isDocumentPlacement(placement)) {\n const expected = placement.length === 1 ? moduleBodyExpected : featureBodyExpected;\n context.error(DiagnosticCodes.UnexpectedInPlacedFile,\n `Unexpected '${word}' in a file imported into ${describePlacement(placement)} - expected an application declaration or ${expected}`, locationOf(line));\n } else {\n const hint = bodyKeywords.has(word)\n ? ` - '${word}' belongs in a module or feature; wrap it in one, or import this file from inside one`\n : ' - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme, sample data or layout';\n context.error(DiagnosticCodes.UnknownTopLevelConstruct, `Unexpected '${word}' at the top level${hint}`, locationOf(line));\n }\n context.skipBlock(line.indent);\n}\n\n// Wraps the feature a file is placed in in the features and module around it, each marked as a placement.\nfunction place(placement: PlayPlacement, innermost: FeatureSyntax, start: SourceLocation): ModuleSyntax {\n let feature = innermost;\n for (let index = placement.length - 2; index >= 1; index--) {\n feature = {\n kind: 'FeatureSyntax', name: placement[index], description: null, authorize: null,\n features: [feature], slices: [], fileImports: [], isPlacement: true, location: start,\n };\n }\n return {\n kind: 'ModuleSyntax', name: placement[0], description: null, authorize: null,\n features: [feature], fileImports: [], isPlacement: true, location: start,\n };\n}\n\nfunction parseDomain(context: ParserContext, line: SourceLine, existing: DomainSyntax | null, sawOtherConstruct: boolean): DomainSyntax | null {\n const match = domainPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidDomainDeclaration, `Invalid domain declaration '${line.content}' - expected 'domain <Qualified.Name>'`, locationOf(line));\n return existing;\n }\n if (existing !== null) {\n context.error(DiagnosticCodes.DuplicateDomain, 'The document already declares a domain - a document can have at most one', locationOf(line));\n return existing;\n }\n if (sawOtherConstruct) {\n context.error(DiagnosticCodes.DomainNotFirst, '\\'domain\\' must be declared before any other construct', locationOf(line));\n }\n return { kind: 'DomainSyntax', name: match[1], location: locationOf(line) };\n}\n\nfunction warnOnTabIndentation(context: ParserContext, lines: readonly SourceLine[]): void {\n let inFence = false;\n for (const line of lines) {\n if (line.raw.trimStart().startsWith('```')) {\n inFence = !inFence;\n continue;\n }\n if (!inFence && tabIndentPattern.test(line.raw)) {\n context.warning(DiagnosticCodes.TabIndentation, 'Screenplay is indentation based - use spaces, not tabs', startOf(line));\n }\n }\n}\n\nfunction parseConcept(context: ParserContext, line: SourceLine): ConceptSyntax {\n const match = conceptPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidConceptDeclaration, `Invalid concept declaration '${line.content}' - expected 'concept <Name> : <Type>'`, locationOf(line));\n context.skipBlock(line.indent);\n return { kind: 'ConceptSyntax', name: firstWord(line.content), type: '', attributes: [], values: [], location: locationOf(line) };\n }\n const [, name, type, attributeText] = match;\n const attributes = parseComplianceMarkers(context, line, name, attributeText);\n if (type !== 'Enum' && !primitiveTypes.includes(type)) {\n context.error(DiagnosticCodes.UnknownPrimitiveType, `Unknown primitive type '${type}' - expected ${primitiveTypes.join(', ')} or Enum`, locationOf(line));\n }\n const values: string[] = [];\n const members = new EnumerationMembers();\n let generation: GenerationSyntax | null = null;\n let declaredGeneration = false;\n let description: string | null = null;\n const validations: ValidateSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const memberName = type === 'Enum' ? members.tryNumbered(context, child) : undefined;\n if (memberName !== undefined) {\n values.push(memberName);\n } else if (firstWord(child.content) === 'description' && (type !== 'Enum' || child.content !== 'description' || context.peekChild(child.indent)?.content.startsWith('```') === true)) {\n description = parseDescription(context, child, description, `Concept '${name}'`);\n } else if (isFileDirective(child)) {\n continue;\n } else if (firstWord(child.content) === 'validate') {\n if (type === 'Enum' && child.content === 'validate' && context.peekChild(child.indent) === undefined) {\n context.warning(DiagnosticCodes.ValidateReadAsEnumerationBlock,\n `'validate' in enumeration concept '${name}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,\n locationOf(child));\n }\n const parsed = parseValidate(context, child, 'concept');\n if (parsed !== undefined) validations.push(parsed);\n } else if (firstWord(child.content) === 'generate' && !(type === 'Enum' && child.content === 'generate')) {\n if (declaredGeneration) context.error(DiagnosticCodes.DuplicateGeneration, `Concept '${name}' declares generation more than once.`, locationOf(child));\n const parsed = parseGeneration(context, child, type);\n if (!declaredGeneration) generation = parsed;\n declaredGeneration = true;\n } else if (parseComplianceDirective(context, child, name, attributes)) {\n // Compliance directives are modeled by their original concept marker.\n } else if (type === 'Enum' && enumValuePattern.test(child.content)) {\n values.push(unescapeIdentifier(child.content));\n } else if (type === 'Enum') {\n context.error(DiagnosticCodes.InvalidEnumerationValue, `Invalid enum value '${child.content}' - expected an identifier`, locationOf(child));\n } else {\n context.error(DiagnosticCodes.UnknownConceptDirective, `Unexpected '${child.content}' in concept body - expected validate, generate, 'file <path>' or '<attribute> reason \"<text>\"'`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n const valueNumbers = members.finish(context, line, values.length);\n return { kind: 'ConceptSyntax', name, type, attributes, values, validations, description, ...(generation === null ? {} : { generation }), ...(valueNumbers === undefined ? {} : { valueNumbers }), location: locationOf(line) };\n}\n\n// 'persona <Name>' with an optional description and the policies it holds - the port of the C# ParsePersona.\nfunction parsePersona(context: ParserContext, line: SourceLine): PersonaSyntax {\n const name = personaPattern.exec(line.content)?.[1] ?? '';\n if (name === '') {\n context.error(DiagnosticCodes.InvalidPersonaDeclaration, `Invalid persona declaration '${line.content}' - expected 'persona <Name>'`, locationOf(line));\n }\n let description: string | null = null;\n const policies: string[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const keyword = firstWord(child.content);\n if (keyword === 'description') {\n description = parseDescription(context, child, description, `Persona '${name}'`);\n } else if (keyword === 'policy') {\n const policy = personaPolicyPattern.exec(child.content);\n if (policy === null) {\n context.error(DiagnosticCodes.InvalidPersonaPolicyReference, `Invalid policy reference '${child.content}' - expected 'policy <Name>'`, locationOf(child));\n } else {\n policies.push(policy[1]);\n }\n } else {\n context.error(DiagnosticCodes.UnknownPersonaDirective, `Unexpected '${keyword}' in persona body - expected description or policy`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n return { kind: 'PersonaSyntax', name, description, policies, location: locationOf(line) };\n}\n"],"mappings":"k5DAiDA,MAAMA,EAAgBC,EAAQ,kDAAkD,EAC1EC,EAAgBD,EAAQ,iDAAiDE,EAAkB,MAAM,EACjGC,EAAi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AAqB,KAAKuF,EAAM,OAAO,EAClDU,IAAW,KACX3F,EAAQ,MAAMiC,EAAgB,8BAA+B,6BAA6BgD,EAAM,QAAQ,8BAA+B/C,EAAW+C,CAAK,CAAC,EAExJ/D,EAAS,KAAKyE,EAAO,EAAE,CAE/B,MACI3F,EAAQ,MAAMiC,EAAgB,wBAAyB,eAAeN,EAAQ,oDAAqDO,EAAW+C,CAAK,CAAC,EACpJjF,EAAQ,UAAUiF,EAAM,MAAM,CAEtC,CACA,MAAO,CAAE,KAAM,gBAAiB,OAAM,cAAa,WAAU,SAAU/C,EAAWR,CAAI,CAAE,CAC5F"}
@@ -1,2 +1,2 @@
1
- const e={kinds:/* @__PURE__ */ `AddMappingSyntax.AllSyntax.ApplicationSyntax.ApplicationTriggerInteractionTriggerSyntax.ArrangementContainerSyntax.ArrangementOverrideSyntax.ArrangementSlotSyntax.ArrangementSyntax.AuthenticatedConditionSyntax.AuthenticationProviderSyntax.AuthenticationSyntax.AuthorizeSyntax.NavigationItemSyntax.NavigationLogoSyntax.NavigationRegionSyntax.NavigationTargetSyntax.BehaviorArgumentSyntax.BehaviorParameterSyntax.BehaviorSyntax.BuiltInInteractionTriggerSyntax.CaptureAppendSyntax.CaptureChildrenSyntax.CaptureMapEntrySyntax.CaptureNestedSyntax.CaptureSourceSettingSyntax.CaptureSourceSyntax.CaptureSplitSyntax.CaptureSyntax.CaptureTranslationSyntax.CaptureWhenSyntax.CausedByExpressionSyntax.CaseValueExpressionSyntax.ChildrenSyntax.ClaimConditionSyntax.ClaimIdentitySourceSyntax.CodeIdentitySourceSyntax.FileIdentitySourceSyntax.IdentitySyntax.IdentityDetailSyntax.QueryIdentitySourceSyntax.ClearMappingSyntax.ClearWithSyntax.CloseDialogActionSyntax.CodeBlockSyntax.ComponentExposedValueSyntax.ComponentOutletSyntax.ComponentPropertySyntax.CodeValidateSyntax.CommandSyntax.CommandStreamSyntax.ObserverFilterSyntax.ComparisonConditionSyntax.CompositeKeySyntax.ConceptAttributeSyntax.ConceptSyntax.GenerationSyntax.ConcurrencySyntax.ConfirmActionSyntax.ContextExpressionSyntax.IdentityExpressionSyntax.ContributionSyntax.ContributionDestinationSyntax.CountMappingSyntax.DeclarativeValidateSyntax.DecrementMappingSyntax.DialogTemplateSyntax.DomainSyntax.EnvironmentExpressionSyntax.EventContextExpressionSyntax.EventInteractionTriggerSyntax.EventSourceIdExpressionSyntax.EventSourceSyntax.EventStreamIdPartSyntax.EventStreamSyntax.EventSpecSyntax.EventSyntax.EverySyntax.ExecuteCommandActionSyntax.ExpressionKeySyntax.FeatureSyntax.FileConstraintSyntax.FileImportSyntax.FileReferenceSyntax.FormColumnSyntax.ExposureSyntax.ExposedPropertySyntax.InstanceContributionsSyntax.InstanceContributionSyntax.ContributedItemSyntax.ContributedItemValueSyntax.ScreenContributionSyntax.TemplateSlotContentSyntax.CommandFormLayoutSyntax.FormLayoutColumnSyntax.FormFieldPlacementSyntax.FormWidthSyntax.FormFieldSyntax.FormPopulateFromItemSyntax.FormPopulateViaQuerySyntax.FormSyntax.FromSyntax.HandlerSyntax.ImplementationSyntax.ImplementationHintSyntax.SystemSyntax.OperationSyntax.OperationPhaseSyntax.SpecificationExampleSyntax.SpecificationParameterSyntax.SpecificationCaseSyntax.SpecificationOperationFailureSyntax.SpecificationOperationSyntax.SpecificationCompensatedSyntax.ImportSyntax.IncrementMappingSyntax.InteractionAlternativeSyntax.InteractionOtherwiseSyntax.InteractionArgumentSyntax.InteractionBindingSyntax.IntervalInteractionTriggerSyntax.IntervalTriggerSourceSyntax.InvokesSyntax.InvocationRefusalSyntax.JoinEventSyntax.JoinSyntax.KeyPartSyntax.LayoutSyntax.ListExpressionSyntax.LiteralExpressionSyntax.LogicalConditionSyntax.LogicalPolicyConditionSyntax.LogicalPolicyRequirementSyntax.ModuleSyntax.NamedTriggerSourceSyntax.NavigateActionSyntax.NavigateBackActionSyntax.NestedSyntax.NotPolicyConditionSyntax.NotifyActionSyntax.OpenDialogActionSyntax.ObjectExpressionSyntax.ObjectMemberSyntax.PathExpressionSyntax.PerformerSyntax.PersonaSyntax.PlaceSyntax.PolicyReferenceSyntax.PolicySyntax.PurposeSyntax.PurposeReferenceSyntax.PurposeTransferSyntax.ProducesSyntax.ProjectionEntersOnSyntax.ProjectionSyntax.ProjectionVariantSyntax.PresentationValueSyntax.PropertyMappingSyntax.PropertySyntax.PropertyResponseSourceSyntax.ResponseFieldSyntax.ScalarCommandResponseSyntax.RecordCommandResponseSyntax.ScalarSpecificationReturnSyntax.RecordSpecificationReturnSyntax.QueryParameterSyntax.QuerySyntax.RaiseTriggerActionSyntax.RawExpressionSyntax.ReactionIdentitySyntax.ReactionSyntax.ReactionTriggerSyntax.RefusalExpressionSyntax.ReadModelSyntax.ReadsSyntax.ReducerRuleSyntax.ReducerSyntax.RefreshQueryActionSyntax.RemoveViaJoinSyntax.RemoveWithSyntax.RequirementSyntax.RoleConditionSyntax.ScheduleTriggerSourceSyntax.ScreenActionSyntax.ScreenNavigationParameterSyntax.ScreenGuardedActionSyntax.ScreenActionAlternativeSyntax.ScreenActionOtherwiseSyntax.ScreenBehaviorSyntax.ScreenCodeSyntax.ScreenComponentSyntax.ScreenColumnSyntax.ScreenDataSyntax.ScreenFieldSyntax.ScreenNavigateSyntax.ScreenSectionSyntax.ScreenSlotSyntax.ScreenSummarySyntax.ScreenSyntax.ScreenTableSyntax.ScreenTemplateReferenceSyntax.ScreenTemplateSyntax.ScreenTitleSyntax.ScreenToolbarSyntax.ScreenUsesBehaviorSyntax.SeedEventSyntax.SeedGroupSyntax.SeedSyntax.SetMappingSyntax.TemplateAssignmentSyntax.TemplateExposedValueSyntax.TemplateOutletSyntax.SetStateActionSyntax.SliceSyntax.SlotSyntax.SourceItemExpressionSyntax.SpecificationAbsentReadModelSyntax.SpecificationCallerClaimSyntax.SpecificationCallerPersonaSyntax.SpecificationCallerSyntax.SpecificationCaptureSyntax.SpecificationClockSyntax.SpecificationCommandSyntax.SpecificationDeniedSyntax.SpecificationErrorSyntax.SpecificationEventSyntax.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarButtonSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.seeds.sourceOptions.numericMode.systems.templates.themes.triggers.types.uiProfiles.triggerName.children.columns.gap.grow.rows.span.syntaxKind.height.root.width.growFactor.name.mode.overrides.variants.alias.providers.requirement.icon.id.slot.target.title.image.items.logo.region.feature.module.type.bindings.description.file.order.parameters.event.tags.when.appends.identifiedBy.map.source.translations.settings.separator.targets.key.nested.from.to.expression.fromValue.properties.toValue.parameter.blocks.claim.matches.matchesSubject.code.details.by.query.arguments.onFailure.onResult.onSuccess.language.binding.directives.authorize.concurrency.documentation.handler.produces.reads.response.stream.streamCandidates.validations.eventSource.propertyCandidate.streamId.streamIdParts.left.operator.right.parts.criminal.reason.scope.specialCategory.attributes.generation.valueNumbers.values.alphabet.case.checksum.count.encoding.pattern.prefix.range.rule.size.strategy.eventSourceType.eventStreamId.eventStreamType.eventTypes.message.messageIsLiteral.path.contributionPoint.destination.group.label.navigate.presentation.requirements.rules.arrangement.category.content.displayName.exposes.outlets.restrictsScopes.scopes.sliceKinds.slots.templateType.usedBehaviors.eventName.identifier.streams.hasGenerationMarker.origin.visibility.includeChildren.command.contributions.dependsOn.features.isPlacement.slices.additionalRules.ignoreCasing.releasedBy.owner.component.editableFields.isCollection.operations.reExposes.restrictsFields.instance.field.columnGap.placements.rowGap.index.maxWidth.minWidth.column.columnSpan.row.rowSpan.unit.composeUsing.columnMode.fields.for.generationMode.layout.onSubmit.populate.events.parentKey.implementation.hints.text.compensate.execute.inputs.uses.generatedValues.noStream.operation.qualifiedName.actions.condition.alternatives.otherwise.trigger.amount.onRefused.acknowledge.constraint.selector.on.navigation.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.blueprint.version.fitsSlot.buttons.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.exactly.results.reaction.cases.given.givenCaller.givenCallerPersona.givenCaptures.givenClock.givenOperationFailures.givenReadModels.thenAbsentReadModels.thenCompensated.thenDenied.thenErrors.thenEvents.thenEventsInAnyOrder.thenNoEvents.thenNoResult.thenOperations.thenQueries.thenReadModels.thenResults.thenReturns.whenAppended.whenCapture.whenClock.whenQuery.whenRedelivered.whenTrigger.emphasis.slice.compatibleWith.isOptional.bindingKind.componentId.componentPropertyPath.expectedValueType.literal.nullBehavior.rawText.defaultSizeClass.icons.packages.platforms.theme.additionalProperties.places`.split(`.`),rules:[[`string`],[`ref`,30,31,58,59,67,68,70,127,128,140,142,167,171,214,235,240],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,40,62,64,114,207,236],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,18],[`array`,10],[`ref`,54],[`array`,12],[`ref`,66],[`union`,14,8],[`ref`,71],[`array`,16],[`ref`,107],[`array`,18],[`ref`,84],[`array`,20],[`ref`,81],[`array`,22],[`ref`,37],[`union`,24,8],[`ref`,113],[`array`,26],[`ref`,86],[`array`,28],[`ref`,126],[`array`,30],[`union`,31,8],[`ref`,132],[`array`,33],[`ref`,144],[`array`,35],[`union`,36,8],[`ref`,147],[`array`,38],[`ref`,148],[`array`,40],[`ref`,206],[`array`,42],[`union`,43,8],[`enum`,`legacy`,`exact`],[`object`,[[22,45,!0]]],[`ref`,104],[`array`,47],[`ref`,208],[`array`,49],[`ref`,243],[`array`,51],[`union`,52,8],[`ref`,245],[`array`,54],[`union`,55,8],[`ref`,247],[`array`,57],[`union`,58,8],[`ref`,249],[`array`,60],[`union`,61,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,32,!1],[16,34,!1],[17,37,!1],[18,39,!1],[19,41,!1],[20,44,!1],[21,46,!1],[23,48,!1],[24,50,!1],[25,53,!1],[26,56,!1],[27,59,!1],[28,62,!1]]],[`object`,[[29,0,!0]]],[`ref`,4,6],[`array`,65],[`integer`,-2147483648,2147483647],[`union`,67,8],[`number`],[`union`,69,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[30,66,!1],[31,68,!1],[32,68,!1],[33,70,!1],[34,68,!1],[35,68,!1],[36,71,!0]]],[`union`,0,8],[`object`,[[37,73,!1],[38,65,!0],[39,73,!1]]],[`boolean`],[`object`,[[33,75,!1],[40,70,!1],[37,68,!1],[41,0,!0],[35,68,!1],[39,68,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,78],[`union`,79,8],[`union`,65,8],[`ref`,255],[`array`,82],[`union`,83,8],[`object`,[[42,77,!0],[43,80,!1],[38,81,!1],[44,84,!1]]],[`object`,[]],[`object`,[[45,73,!1],[41,0,!0]]],[`ref`,9],[`array`,88],[`object`,[[46,89,!1]]],[`ref`,131,146],[`object`,[[47,91,!0]]],[`ref`,12],[`array`,93],[`ref`,15],[`union`,95,8],[`object`,[[30,94,!1],[48,73,!1],[49,0,!0],[50,73,!1],[51,96,!1],[52,0,!0]]],[`object`,[[53,0,!0],[52,0,!0]]],[`ref`,13],[`union`,99,8],[`enum`,`Unspecified`,`Inherit`,`Extend`,`Override`],[`enum`,`Topbar`,`Sidebar`],[`object`,[[54,94,!1],[55,100,!1],[42,101,!0],[56,102,!0]]],[`object`,[[57,73,!1],[58,0,!0]]],[`object`,[[41,0,!0],[1,0,!0]]],[`ref`,246],[`union`,106,8],[`object`,[[41,0,!0],[59,107,!1]]],[`ref`,118],[`array`,109],[`ref`,82],[`union`,111,8],[`ref`,17],[`array`,113],[`object`,[[60,110,!1],[61,73,!1],[62,112,!1],[41,73,!1],[63,68,!1],[64,114,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[36,116,!0]]],[`ref`,156],[`array`,118],[`ref`,237],[`array`,120],[`union`,121,8],[`ref`,29],[`union`,123,8],[`object`,[[65,0,!0],[3,119,!1],[66,122,!1],[67,124,!1]]],[`ref`,20],[`array`,126],[`ref`,22,26],[`array`,128],[`object`,[[68,127,!1],[69,0,!0],[70,129,!1],[0,0,!0]]],[`ref`,28],[`array`,131],[`object`,[[0,0,!0],[71,1,!0],[72,132,!1]]],[`object`,[[68,127,!1],[70,129,!1],[0,0,!0]]],[`ref`,24],[`array`,135],[`object`,[[73,136,!1],[36,0,!0]]],[`array`,0],[`object`,[[74,0,!0],[71,1,!0],[75,138,!1]]],[`ref`,21],[`array`,140],[`ref`,23],[`array`,142],[`ref`,25],[`union`,144,8],[`object`,[[68,127,!1],[30,141,!1],[76,73,!1],[70,129,!1],[41,0,!0],[77,143,!1],[71,145,!1],[21,46,!1]]],[`object`,[[78,0,!0],[79,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[80,73,!1],[81,73,!1],[82,138,!1],[36,148,!0],[83,73,!1]]],[`object`,[[0,73,!1]]],[`object`,[[84,0,!0]]],[`ref`,1,32,41,76,100,124,136,154,177,178],[`array`,152],[`object`,[[2,3,!0],[85,153,!1],[69,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[86,0,!0],[87,155,!1],[88,75,!0]]],[`object`,[[86,0,!0]]],[`ref`,43],[`object`,[[89,158,!0]]],[`object`,[[62,111,!0]]],[`ref`,38],[`array`,161],[`object`,[[61,73,!1],[90,162,!1]]],[`ref`,34,35,36,39],[`object`,[[41,0,!0],[71,164,!0],[59,106,!0]]],[`object`,[[91,1,!0],[92,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[65,0,!0]]],[`ref`,117],[`array`,169],[`ref`,42,57,77,134,135,138,139,166,176,211],[`array`,171],[`object`,[[93,170,!1],[94,172,!1],[95,172,!1],[96,172,!1]]],[`object`,[[89,0,!0],[97,0,!0]]],[`ref`,248],[`object`,[[98,175,!0],[41,0,!0]]],[`ref`,182,184,187,188,189,191,193,194,195,196,198,199,201,202,203],[`array`,177],[`object`,[[99,178,!1],[41,0,!0]]],[`union`,175,8],[`object`,[[98,180,!1],[0,0,!0],[1,155,!1]]],[`ref`,11],[`union`,182,8],[`ref`,56],[`union`,184,8],[`ref`,101],[`union`,186,8],[`ref`,151],[`array`,188],[`ref`,157],[`array`,190],[`ref`,173],[`array`,192],[`union`,193,8],[`ref`,160,161],[`union`,195,8],[`ref`,49],[`union`,197,8],[`array`,197],[`ref`,47,63],[`array`,200],[`object`,[[100,183,!1],[101,185,!1],[61,73,!1],[102,73,!1],[103,187,!1],[41,0,!0],[104,189,!1],[82,191,!1],[105,194,!1],[106,196,!1],[107,198,!1],[108,199,!1],[109,201,!1]]],[`union`,190,8],[`union`,118,8],[`object`,[[110,0,!0],[111,203,!1],[107,0,!0],[112,204,!1],[113,119,!1]]],[`object`,[[110,0,!0],[107,73,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[114,0,!0],[115,207,!0],[116,1,!0]]],[`ref`,125],[`array`,209],[`object`,[[117,210,!1],[59,0,!0]]],[`object`,[[118,75,!1],[41,0,!0],[119,73,!1],[120,73,!1],[121,73,!1]]],[`ref`,53],[`array`,213],[`ref`,55],[`union`,215,8],[`union`,201,8],[`array`,67],[`union`,218,8],[`object`,[[122,214,!1],[61,73,!1],[62,112,!1],[123,216,!1],[41,0,!0],[59,0,!0],[109,217,!1],[124,219,!1],[125,138,!1]]],[`union`,158,8],[`object`,[[126,73,!1],[127,73,!1],[128,73,!1],[89,221,!1],[129,68,!1],[130,73,!1],[62,112,!1],[131,73,!1],[132,73,!1],[133,73,!1],[134,73,!1],[135,68,!1],[136,0,!0]]],[`object`,[[110,75,!0],[137,73,!1],[138,73,!1],[139,73,!1],[140,138,!1]]],[`object`,[[93,170,!1],[141,0,!0],[142,75,!0],[94,172,!1],[95,172,!1],[96,172,!1]]],[`object`,[[143,0,!0]]],[`ref`,61],[`union`,226,8],[`ref`,193],[`union`,228,8],[`object`,[[144,0,!0],[145,227,!1],[146,73,!1],[48,73,!1],[49,73,!1],[147,73,!1],[148,229,!1],[63,68,!1],[149,73,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[36,231,!0],[51,0,!0]]],[`ref`,179],[`array`,233],[`union`,234,8],[`ref`,254],[`array`,236],[`object`,[[150,235,!1],[151,237,!1]]],[`ref`,7],[`union`,239,8],[`ref`,91],[`array`,241],[`ref`,209],[`array`,243],[`ref`,210],[`array`,245],[`ref`,213],[`array`,247],[`ref`,253],[`array`,249],[`object`,[[152,240,!1],[5,11,!1],[153,73,!1],[154,242,!1],[61,73,!1],[155,73,!1],[156,244,!1],[41,0,!0],[157,246,!1],[158,75,!1],[159,138,!1],[160,138,!1],[161,248,!1],[162,73,!1],[163,250,!1]]],[`object`,[[41,0,!0]]],[`object`,[[164,0,!0]]],[`ref`,73],[`array`,254],[`object`,[[61,73,!1],[49,73,!1],[165,107,!1],[41,0,!0],[166,255,!1]]],[`object`,[[41,0,!0],[59,106,!0]]],[`ref`,72],[`array`,258],[`object`,[[61,73,!1],[49,73,!1],[41,0,!0],[112,107,!1],[113,259,!1]]],[`object`,[[65,0,!0],[76,155,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[61,73,!1],[102,73,!1],[62,112,!1],[123,262,!1],[167,75,!1],[49,73,!1],[41,0,!0],[168,73,!1],[82,191,!1],[66,122,!1],[169,263,!1]]],[`object`,[[2,3,!0],[170,75,!0],[3,5,!1]]],[`object`,[[93,170,!1],[171,0,!0],[94,172,!1],[95,172,!1],[96,172,!1]]],[`object`,[[80,1,!0]]],[`ref`,60],[`array`,268],[`union`,269,8],[`ref`,252],[`array`,271],[`ref`,79],[`array`,273],[`ref`,149],[`array`,275],[`ref`,212],[`array`,277],[`object`,[[100,183,!1],[5,11,!1],[172,270,!1],[173,272,!1],[61,73,!1],[102,73,!1],[9,19,!1],[174,274,!1],[11,23,!1],[175,75,!0],[41,0,!0],[19,276,!1],[176,278,!1],[24,50,!1],[163,250,!1]]],[`ref`,80,250,251],[`array`,280],[`object`,[[177,281,!1],[61,73,!1],[62,111,!0],[178,75,!0],[141,73,!1],[41,0,!0],[179,138,!1]]],[`object`,[[131,0,!0]]],[`object`,[[147,73,!1],[0,0,!0]]],[`ref`,85],[`array`,285],[`object`,[[180,0,!0],[82,286,!1]]],[`object`,[[181,0,!0],[182,138,!1],[183,75,!0],[147,73,!1],[184,138,!1],[143,0,!0],[185,73,!1],[186,75,!0]]],[`ref`,87],[`array`,289],[`object`,[[172,290,!1],[187,0,!0]]],[`ref`,88],[`array`,292],[`object`,[[181,0,!0],[54,293,!1],[143,0,!0],[1,155,!1]]],[`ref`,89],[`array`,295],[`object`,[[49,0,!0],[125,296,!1]]],[`object`,[[188,0,!0],[1,1,!0]]],[`object`,[[144,0,!0],[99,178,!1],[63,68,!1]]],[`object`,[[99,178,!1],[50,0,!0]]],[`ref`,95],[`union`,301,8],[`ref`,93],[`array`,303],[`ref`,94],[`array`,305],[`object`,[[189,302,!1],[31,304,!1],[190,306,!1],[191,302,!1]]],[`object`,[[192,67,!0],[193,302,!1],[194,302,!1],[39,302,!1]]],[`object`,[[195,67,!0],[196,68,!1],[188,0,!0],[197,67,!0],[198,68,!1],[39,302,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[199,310,!0],[1,70,!1]]],[`object`,[[200,73,!1],[78,73,!1],[147,73,!1],[0,0,!0]]],[`object`,[[91,73,!1],[92,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,83],[`array`,315],[`ref`,96],[`array`,317],[`ref`,92],[`union`,319,8],[`ref`,97,98],[`union`,321,8],[`object`,[[5,11,!1],[201,314,!0],[31,316,!1],[61,73,!1],[202,318,!1],[203,0,!0],[204,314,!0],[205,320,!1],[41,0,!0],[206,229,!1],[207,322,!1],[163,250,!1]]],[`ref`,74],[`array`,324],[`ref`,52,78],[`union`,326,8],[`object`,[[208,325,!1],[76,327,!1],[3,5,!1],[209,155,!1]]],[`ref`,102],[`union`,329,8],[`object`,[[89,221,!1],[62,112,!1],[210,330,!1]]],[`ref`,103],[`array`,332],[`object`,[[211,333,!1]]],[`object`,[[212,0,!0]]],[`object`,[[61,73,!1],[41,0,!0]]],[`ref`,106],[`union`,337,8],[`object`,[[213,338,!1],[61,73,!1],[214,338,!1],[215,191,!1],[41,0,!0],[216,0,!0]]],[`object`,[[89,221,!1],[61,73,!1],[62,112,!1],[210,330,!1]]],[`ref`,227],[`union`,341,8],[`ref`,226],[`union`,343,8],[`object`,[[61,73,!1],[203,155,!1],[217,119,!1],[41,0,!0],[218,342,!1],[107,344,!1],[59,0,!0],[125,119,!1]]],[`object`,[[41,0,!0],[125,119,!1]]],[`object`,[[219,0,!0]]],[`object`,[[219,0,!0],[125,119,!1]]],[`object`,[[168,73,!1],[220,0,!0],[169,263,!1]]],[`ref`,51,129],[`object`,[[221,172,!1],[222,350,!0]]],[`object`,[[221,172,!1]]],[`object`,[[98,0,!0],[41,0,!0]]],[`ref`,115],[`array`,354],[`ref`,116],[`union`,356,8],[`ref`,3,19,69,119],[`object`,[[221,172,!1],[223,355,!1],[222,73,!1],[224,357,!1],[225,358,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[226,67,!0],[199,360,!0]]],[`ref`,122],[`array`,362],[`object`,[[171,0,!0],[3,119,!1],[227,363,!1]]],[`object`,[[228,75,!0],[229,73,!1],[104,189,!1],[230,0,!0]]],[`object`,[[2,3,!0],[65,0,!0],[3,5,!1]]],[`ref`,123],[`array`,367],[`object`,[[208,368,!1],[231,0,!0],[0,0,!0]]],[`object`,[[80,1,!0],[0,0,!0]]],[`ref`,14],[`array`,371],[`object`,[[152,240,!1],[5,11,!1],[153,73,!1],[156,244,!1],[41,0,!0],[232,372,!1],[157,246,!1],[158,75,!1],[159,138,!1],[160,138,!1],[161,248,!1],[162,73,!1],[163,250,!1]]],[`array`,1],[`object`,[[54,374,!1]]],[`union`,0,75,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[233,378,!0],[1,379,!0]]],[`const`,`ExactNumber`],[`string`,`^(?:0|-?(?:[1-9][0-9]{0,28}|(?:0|[1-9][0-9]{0,28})\\.[0-9]{0,27}[1-9]))$`],[`object`,[[233,381,!0],[1,382,!0]]],[`union`,376,377,380,383],[`object`,[[1,384,!1]]],[`enum`,`And`,`Or`],[`object`,[[114,350,!0],[115,386,!0],[116,350,!0]]],[`ref`,8,33,130,137,180],[`object`,[[114,388,!0],[115,386,!0],[116,388,!0]]],[`object`,[[114,91,!0],[115,386,!0],[116,91,!0]]],[`ref`,65],[`array`,391],[`union`,392,8],[`ref`,99],[`array`,394],[`union`,395,8],[`ref`,200],[`array`,397],[`object`,[[100,183,!1],[5,11,!1],[172,270,!1],[173,272,!1],[61,73,!1],[234,393,!1],[102,73,!1],[9,19,!1],[174,274,!1],[11,23,!1],[235,396,!1],[175,75,!0],[41,0,!0],[232,372,!1],[19,276,!1],[236,398,!1],[24,50,!1],[163,250,!1]]],[`object`,[[93,170,!1],[94,172,!1],[95,172,!1],[96,172,!1],[237,0,!0]]],[`object`,[[2,3,!0],[85,153,!1],[0,0,!0]]],[`object`,[[238,388,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[93,170,!1],[239,403,!0],[141,0,!0],[142,75,!0],[94,172,!1],[95,172,!1],[96,172,!1]]],[`object`,[[93,170,!1],[240,0,!0],[94,172,!1],[95,172,!1],[96,172,!1]]],[`ref`,141],[`array`,406],[`object`,[[241,407,!1]]],[`object`,[[41,0,!0],[1,1,!0]]],[`object`,[[89,221,!1],[62,112,!1]]],[`object`,[[61,73,!1],[41,0,!0],[18,138,!1]]],[`object`,[[242,75,!1],[243,73,!1],[244,73,!1],[245,0,!0],[246,68,!1],[247,68,!1]]],[`union`,388,8],[`object`,[[89,221,!1],[222,413,!1],[61,73,!1],[62,112,!1],[41,0,!0]]],[`ref`,150],[`array`,415],[`object`,[[248,73,!1],[249,73,!1],[250,73,!1],[222,73,!1],[251,73,!1],[61,73,!1],[252,73,!1],[253,73,!1],[41,0,!0],[254,138,!1],[255,73,!1],[256,138,!1],[257,416,!1]]],[`object`,[[145,0,!0],[258,0,!0]]],[`ref`,75],[`union`,419,8],[`ref`,105],[`union`,421,8],[`union`,350,8],[`object`,[[65,0,!0],[203,155,!1],[259,420,!1],[260,422,!1],[3,119,!1],[107,198,!1],[66,122,!1],[67,423,!1]]],[`object`,[[2,3,!0],[85,153,!1],[61,73,!1],[62,112,!1],[76,327,!1],[41,0,!0],[261,73,!1],[262,73,!1],[21,46,!1]]],[`ref`,152],[`array`,426],[`object`,[[85,153,!1],[263,427,!1],[41,0,!0]]],[`object`,[[0,0,!0],[71,1,!0]]],[`object`,[[264,75,!1],[265,75,!1],[266,75,!1],[267,75,!1],[41,0,!0],[59,106,!0]]],[`ref`,158],[`object`,[[41,0,!0],[71,431,!0],[59,107,!1]]],[`object`,[[71,431,!0]]],[`ref`,159],[`array`,434],[`object`,[[202,435,!1]]],[`object`,[[1,1,!0]]],[`object`,[[202,119,!1]]],[`object`,[[41,0,!0],[71,155,!1],[59,106,!0]]],[`ref`,164],[`union`,440,8],[`array`,440],[`ref`,143],[`union`,443,8],[`object`,[[100,183,!1],[91,441,!1],[268,442,!1],[61,73,!1],[269,442,!1],[270,75,!1],[41,0,!0],[271,444,!1],[272,106,!0],[120,73,!1]]],[`object`,[[93,170,!1],[94,172,!1],[95,172,!1],[96,172,!1],[225,0,!0]]],[`object`,[[273,138,!1],[36,0,!0]]],[`ref`,50],[`union`,448,8],[`ref`,168],[`union`,450,8],[`ref`,170],[`array`,452],[`object`,[[61,73,!1],[102,73,!1],[78,449,!1],[41,0,!0],[274,451,!1],[26,453,!1],[275,423,!1]]],[`ref`,244],[`array`,455],[`ref`,121],[`array`,457],[`union`,458,8],[`union`,189,8],[`ref`,120,133,181],[`object`,[[89,221,!1],[276,456,!1],[61,73,!1],[62,112,!1],[277,459,!1],[104,460,!1],[105,194,!1],[71,461,!0]]],[`object`,[[278,0,!0]]],[`object`,[[61,73,!1],[102,73,!1],[62,112,!1],[41,0,!0],[82,191,!1]]],[`object`,[[45,73,!1],[91,73,!1],[268,119,!1],[261,0,!0]]],[`object`,[[89,221,!1],[61,73,!1],[65,0,!0],[62,112,!1]]],[`ref`,174],[`array`,467],[`object`,[[61,73,!1],[78,449,!1],[41,0,!0],[261,0,!0],[151,468,!1]]],[`object`,[[93,170,!1],[94,172,!1],[95,172,!1],[96,172,!1],[92,0,!0]]],[`object`,[[65,0,!0],[76,155,!1],[209,155,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[222,350,!0],[141,73,!1],[279,472,!0]]],[`object`,[[280,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,475,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[281,68,!1],[282,476,!1],[283,477,!0]]],[`object`,[[171,0,!0],[147,73,!1],[148,229,!1]]],[`ref`,185],[`array`,480],[`ref`,186],[`union`,482,8],[`object`,[[223,481,!1],[147,0,!0],[148,229,!1],[224,483,!1]]],[`object`,[[93,170,!1],[171,0,!0],[222,350,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[93,170,!1],[171,73,!1],[284,486,!0]]],[`object`,[[285,10,!0]]],[`ref`,44],[`array`,489],[`ref`,45],[`array`,491],[`ref`,155],[`array`,493],[`ref`,46],[`array`,495],[`object`,[[5,11,!1],[181,0,!0],[286,180,!1],[156,490,!1],[48,73,!1],[41,0,!0],[157,492,!1],[149,494,!1],[82,496,!1],[287,73,!1],[163,250,!1]]],[`object`,[[91,73,!1],[92,0,!0],[59,106,!0]]],[`object`,[[147,0,!0],[0,0,!0]]],[`ref`,183],[`array`,500],[`object`,[[91,73,!1],[288,73,!1],[64,501,!1],[289,73,!1],[237,0,!0]]],[`ref`,192],[`array`,503],[`object`,[[202,504,!1],[51,0,!0]]],[`ref`,90],[`array`,506],[`object`,[[172,507,!1],[61,73,!1],[99,178,!1],[62,112,!1],[41,0,!0]]],[`ref`,190],[`array`,509],[`object`,[[5,11,!1],[31,510,!1],[290,229,!1],[51,0,!0],[163,250,!1]]],[`ref`,195],[`array`,512],[`object`,[[291,73,!1],[41,0,!0],[161,513,!1],[292,73,!1]]],[`object`,[[152,240,!1],[5,11,!1],[153,73,!1],[154,242,!1],[61,73,!1],[155,73,!1],[156,244,!1],[293,73,!1],[41,0,!0],[157,246,!1],[158,75,!1],[159,138,!1],[160,138,!1],[161,248,!1],[162,73,!1],[163,250,!1]]],[`ref`,238],[`array`,516],[`ref`,239],[`array`,518],[`object`,[[294,517,!1],[54,519,!1],[41,0,!0]]],[`object`,[[216,249,!0]]],[`object`,[[65,0,!0],[82,119,!1]]],[`ref`,204],[`array`,523],[`object`,[[295,0,!0],[208,524,!1]]],[`ref`,205],[`array`,526],[`object`,[[296,527,!1]]],[`object`,[[291,73,!1],[41,0,!0],[292,73,!1]]],[`object`,[[93,170,!1],[94,172,!1],[95,172,!1],[96,172,!1],[51,0,!0],[1,0,!0]]],[`ref`,27],[`array`,531],[`ref`,48],[`array`,533],[`enum`,`Inbound`,`Outbound`],[`union`,535,8],[`array`,419],[`array`,421],[`ref`,153],[`array`,539],[`ref`,165],[`array`,541],[`ref`,169],[`array`,543],[`ref`,172],[`array`,545],[`union`,546,8],[`ref`,175],[`array`,548],[`union`,549,8],[`ref`,197],[`array`,551],[`ref`,232],[`array`,553],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[297,532,!1],[298,534,!1],[299,281,!1],[61,73,!1],[300,536,!1],[102,73,!1],[208,537,!1],[9,19,!1],[62,112,!1],[41,0,!0],[184,538,!1],[301,540,!1],[19,276,!1],[302,542,!1],[303,544,!1],[304,547,!1],[305,550,!1],[306,552,!1],[307,554,!1],[24,50,!1],[59,555,!0]]],[`object`,[[308,73,!1],[41,0,!0]]],[`object`,[[76,1,!0],[41,0,!0]]],[`object`,[[59,0,!0],[1,0,!0]]],[`ref`,216],[`array`,560],[`object`,[[309,75,!0],[310,561,!1],[273,138,!1]]],[`object`,[[311,0,!0],[312,119,!1]]],[`object`,[[313,0,!0]]],[`object`,[[314,0,!0],[203,155,!1],[217,119,!1],[315,73,!1],[125,119,!1]]],[`ref`,31],[`union`,566,8],[`object`,[[316,567,!1],[41,73,!1]]],[`object`,[[317,0,!0],[203,155,!1],[315,73,!1],[218,342,!1],[107,344,!1],[125,119,!1]]],[`object`,[[110,0,!0],[107,0,!0],[112,204,!1],[113,119,!1]]],[`object`,[[318,75,!0],[82,119,!1]]],[`ref`,228],[`array`,572],[`object`,[[93,119,!1],[318,75,!0],[92,0,!0],[319,573,!1]]],[`object`,[[318,75,!0],[315,73,!1],[41,0,!0],[82,119,!1]]],[`object`,[[317,0,!0],[203,155,!1],[218,342,!1],[320,0,!0],[107,344,!1],[125,119,!1]]],[`ref`,109],[`array`,577],[`ref`,224],[`array`,579],[`ref`,218],[`union`,581,8],[`ref`,217],[`union`,583,8],[`ref`,219],[`array`,585],[`ref`,220],[`union`,587,8],[`ref`,110],[`array`,589],[`ref`,230],[`array`,591],[`union`,592,8],[`ref`,108],[`array`,594],[`ref`,215],[`array`,596],[`ref`,112],[`array`,598],[`ref`,222],[`union`,600,8],[`ref`,223],[`array`,602],[`ref`,225],[`union`,604,8],[`ref`,111],[`array`,606],[`ref`,229],[`array`,608],[`ref`,162,163],[`union`,610,8],[`ref`,221],[`union`,612,8],[`union`,579,8],[`union`,585,8],[`ref`,234],[`union`,616,8],[`ref`,231],[`union`,618,8],[`ref`,233],[`union`,620,8],[`object`,[[321,578,!1],[61,73,!1],[9,19,!1],[62,112,!1],[322,580,!1],[323,582,!1],[324,584,!1],[325,586,!1],[326,588,!1],[327,590,!1],[328,593,!1],[41,0,!0],[64,595,!1],[21,46,!1],[329,597,!1],[330,599,!1],[331,601,!1],[332,603,!1],[333,580,!1],[334,75,!0],[335,75,!1],[336,605,!1],[337,607,!1],[338,609,!1],[339,593,!1],[340,573,!1],[341,611,!1],[67,613,!1],[342,614,!1],[343,615,!1],[344,588,!1],[345,617,!1],[346,619,!1],[347,621,!1]]],[`object`,[[225,0,!0],[125,119,!1]]],[`object`,[[93,119,!1],[92,0,!0]]],[`object`,[[76,0,!0]]],[`enum`,`Primary`,`Secondary`,`Quiet`],[`union`,626,8],[`object`,[[348,627,!1],[48,73,!1],[49,0,!0],[349,73,!1],[52,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[48,73,!1],[147,73,!1],[41,0,!0],[64,501,!1],[149,494,!1],[36,629,!0],[51,0,!0]]],[`ref`,241,242],[`array`,631],[`object`,[[117,632,!1]]],[`object`,[[350,138,!1],[41,0,!0]]],[`object`,[[276,456,!1],[61,73,!1],[62,112,!1],[41,0,!0]]],[`object`,[[183,75,!0],[351,75,!0],[41,0,!0]]],[`object`,[[61,73,!1],[62,112,!1],[41,0,!0],[82,191,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,639,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,641,8],[`object`,[[352,638,!0],[353,73,!1],[354,73,!1],[355,73,!1],[356,155,!1],[42,640,!1],[357,642,!1],[143,0,!0],[92,73,!1],[358,73,!1]]],[`object`,[[359,73,!1],[360,138,!1],[205,73,!1],[41,0,!0],[361,138,!1],[362,138,!1],[363,73,!1]]],[`object`,[[177,281,!1],[61,73,!1],[65,0,!0],[178,75,!0],[141,73,!1],[41,0,!0],[179,138,!1]]],[`object`,[[364,138,!1],[177,281,!1],[61,73,!1],[65,0,!0],[178,75,!0],[141,73,!1],[41,0,!0],[0,0,!0],[179,138,!1]]],[`object`,[[51,0,!0]]],[`ref`,16],[`array`,648],[`object`,[[93,649,!1],[285,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`],[`object`,[[89,221,!1],[62,112,!1],[210,330,!1],[141,73,!1],[0,0,!0],[134,651,!0],[279,472,!0],[1,155,!1]]],[`ref`,145],[`array`,653],[`object`,[[37,0,!0],[365,654,!1],[39,0,!0]]]],contracts:[2,6,63,64,72,74,76,85,86,87,90,92,97,98,103,104,105,108,115,117,125,130,133,134,105,137,139,146,147,149,150,151,154,156,157,159,160,163,165,166,167,168,173,174,176,179,181,159,202,205,206,208,211,212,220,222,223,224,225,225,230,232,167,238,167,251,252,252,225,253,86,256,257,260,261,264,265,266,267,279,282,283,225,284,287,288,291,294,297,298,299,300,307,308,309,311,312,86,313,323,328,331,334,335,336,339,340,345,257,346,347,348,347,349,167,351,352,353,359,361,361,364,365,366,369,370,373,375,385,387,389,390,399,252,400,173,401,402,404,405,408,409,225,410,411,412,252,414,417,252,418,424,261,425,428,105,429,430,167,432,433,436,437,438,439,445,446,335,447,454,462,463,464,465,466,469,470,261,471,473,474,478,479,176,484,485,487,488,159,497,284,498,499,502,179,179,505,508,511,514,515,335,520,521,522,525,528,429,529,108,252,530,556,557,225,558,559,252,562,563,564,565,86,568,569,86,570,86,571,574,575,576,622,623,624,625,2,437,628,630,633,267,335,634,108,635,636,637,643,644,645,646,647,650,652,655]};export{e as syntaxCollections};
1
+ const e={kinds:/* @__PURE__ */ `AddMappingSyntax.AllSyntax.ApplicationSyntax.ApplicationTriggerInteractionTriggerSyntax.ArrangementContainerSyntax.ArrangementOverrideSyntax.ArrangementSlotSyntax.ArrangementSyntax.AuthenticatedConditionSyntax.AuthenticationProviderSyntax.AuthenticationSyntax.AuthorizeSyntax.NavigationItemSyntax.NavigationLogoSyntax.NavigationRegionSyntax.NavigationTargetSyntax.BehaviorArgumentSyntax.BehaviorParameterSyntax.BehaviorSyntax.BuiltInInteractionTriggerSyntax.CaptureAppendSyntax.CaptureChildrenSyntax.CaptureMapEntrySyntax.CaptureNestedSyntax.CaptureSourceSettingSyntax.CaptureSourceSyntax.CaptureSplitSyntax.CaptureSyntax.CaptureTranslationSyntax.CaptureWhenSyntax.CausedByExpressionSyntax.CaseValueExpressionSyntax.ChildrenSyntax.ClaimConditionSyntax.ClaimIdentitySourceSyntax.CodeIdentitySourceSyntax.FileIdentitySourceSyntax.IdentitySyntax.IdentityDetailSyntax.QueryIdentitySourceSyntax.ClearMappingSyntax.ClearWithSyntax.CloseDialogActionSyntax.CodeBlockSyntax.ComponentExposedValueSyntax.ComponentOutletSyntax.ComponentPropertySyntax.CodeValidateSyntax.CommandSyntax.CommandStreamSyntax.ObserverFilterSyntax.ComparisonConditionSyntax.CompositeKeySyntax.ConceptAttributeSyntax.ConceptSyntax.GenerationSyntax.ConcurrencySyntax.ConfirmActionSyntax.ContextExpressionSyntax.IdentityExpressionSyntax.ContributionSyntax.ContributionDestinationSyntax.CountMappingSyntax.DeclarativeValidateSyntax.DecrementMappingSyntax.DialogTemplateSyntax.DomainSyntax.EnvironmentExpressionSyntax.EventContextExpressionSyntax.EventInteractionTriggerSyntax.EventSourceIdExpressionSyntax.EventSourceSyntax.EventStreamIdPartSyntax.EventStreamSyntax.EventSpecSyntax.EventSyntax.EverySyntax.ExecuteCommandActionSyntax.ExpressionKeySyntax.FeatureSyntax.FileConstraintSyntax.FileImportSyntax.FileReferenceSyntax.FormColumnSyntax.ExposureSyntax.ExposedPropertySyntax.InstanceContributionsSyntax.InstanceContributionSyntax.ContributedItemSyntax.ContributedItemValueSyntax.ScreenContributionSyntax.TemplateSlotContentSyntax.CommandFormLayoutSyntax.FormLayoutColumnSyntax.FormFieldPlacementSyntax.FormWidthSyntax.FormFieldSyntax.FormPopulateFromItemSyntax.FormPopulateViaQuerySyntax.FormSyntax.FromSyntax.HandlerSyntax.ImplementationSyntax.ImplementationHintSyntax.SystemSyntax.OperationSyntax.OperationPhaseSyntax.SpecificationExampleSyntax.SpecificationParameterSyntax.SpecificationCaseSyntax.SpecificationOperationFailureSyntax.SpecificationOperationSyntax.SpecificationCompensatedSyntax.ImportSyntax.IncrementMappingSyntax.InteractionAlternativeSyntax.InteractionOtherwiseSyntax.InteractionArgumentSyntax.InteractionBindingSyntax.IntervalInteractionTriggerSyntax.IntervalTriggerSourceSyntax.InvokesSyntax.InvocationRefusalSyntax.JoinEventSyntax.JoinSyntax.KeyPartSyntax.LayoutSyntax.ListExpressionSyntax.LiteralExpressionSyntax.LogicalConditionSyntax.LogicalPolicyConditionSyntax.LogicalPolicyRequirementSyntax.ModuleSyntax.NamedTriggerSourceSyntax.NavigateActionSyntax.NavigateBackActionSyntax.NestedSyntax.NotPolicyConditionSyntax.NotifyActionSyntax.OpenDialogActionSyntax.ObjectExpressionSyntax.ObjectMemberSyntax.PathExpressionSyntax.PerformerSyntax.PersonaSyntax.PlaceSyntax.PolicyReferenceSyntax.PolicySyntax.PurposeSyntax.PurposeReferenceSyntax.PurposeTransferSyntax.ProducesSyntax.ProjectionEntersOnSyntax.ProjectionSyntax.ProjectionVariantSyntax.PresentationValueSyntax.PropertyMappingSyntax.PropertySyntax.PropertyResponseSourceSyntax.ResponseFieldSyntax.ScalarCommandResponseSyntax.RecordCommandResponseSyntax.ScalarSpecificationReturnSyntax.RecordSpecificationReturnSyntax.QueryParameterSyntax.QuerySyntax.RaiseTriggerActionSyntax.RawExpressionSyntax.ReactionIdentitySyntax.ReactionSyntax.ReactionTriggerSyntax.RefusalExpressionSyntax.ReadModelSyntax.ReadsSyntax.ReducerRuleSyntax.ReducerSyntax.RefreshQueryActionSyntax.RemoveViaJoinSyntax.RemoveWithSyntax.RequirementSyntax.RoleConditionSyntax.ScheduleTriggerSourceSyntax.ScreenActionSyntax.ScreenNavigationParameterSyntax.ScreenGuardedActionSyntax.ScreenActionAlternativeSyntax.ScreenActionOtherwiseSyntax.ScreenBehaviorSyntax.ScreenCodeSyntax.ScreenComponentSyntax.ScreenColumnSyntax.ScreenDataSyntax.ScreenFieldSyntax.ScreenNavigateSyntax.ScreenSectionSyntax.ScreenSlotSyntax.ScreenSummarySyntax.ScreenSyntax.ScreenTableSyntax.ScreenTemplateReferenceSyntax.ScreenTemplateSyntax.ScreenTitleSyntax.ScreenToolbarSyntax.ScreenUsesBehaviorSyntax.SeedEventSyntax.SeedGroupSyntax.SeedSyntax.SetMappingSyntax.TemplateAssignmentSyntax.TemplateExposedValueSyntax.TemplateOutletSyntax.SetStateActionSyntax.SliceSyntax.SlotSyntax.SourceItemExpressionSyntax.SpecificationAbsentReadModelSyntax.SpecificationCallerClaimSyntax.SpecificationCallerPersonaSyntax.SpecificationCallerSyntax.SpecificationCaptureSyntax.SpecificationClockSyntax.SpecificationCommandSyntax.SpecificationDeniedSyntax.SpecificationErrorSyntax.SpecificationEventSyntax.SampleDataBindingSyntax.SampleDataFieldSyntax.SampleDataMappingSyntax.SampleDataPackReferenceSyntax.SampleDataPackSyntax.SampleDataRowSyntax.SampleDataSelectionSyntax.SampleDataSetSyntax.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarButtonSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.sampleDataPacks.seeds.sourceOptions.numericMode.systems.templates.themes.triggers.types.uiProfiles.triggerName.children.columns.gap.grow.rows.span.syntaxKind.height.root.width.growFactor.name.mode.overrides.variants.alias.providers.requirement.icon.id.slot.target.title.image.items.logo.region.feature.module.type.bindings.description.file.order.parameters.event.tags.when.appends.identifiedBy.map.source.translations.settings.separator.targets.key.nested.from.to.expression.fromValue.properties.toValue.parameter.blocks.claim.matches.matchesSubject.code.details.by.query.arguments.onFailure.onResult.onSuccess.language.binding.directives.authorize.concurrency.documentation.handler.produces.reads.response.stream.streamCandidates.validations.eventSource.propertyCandidate.streamId.streamIdParts.left.operator.right.parts.criminal.reason.scope.specialCategory.attributes.generation.valueNumbers.values.alphabet.case.checksum.count.encoding.pattern.prefix.range.rule.size.strategy.eventSourceType.eventStreamId.eventStreamType.eventTypes.message.messageIsLiteral.path.contributionPoint.destination.group.label.navigate.presentation.requirements.rules.arrangement.category.content.displayName.exposes.outlets.restrictsScopes.scopes.sliceKinds.slots.templateType.usedBehaviors.eventName.identifier.streams.hasGenerationMarker.origin.visibility.includeChildren.command.contributions.dependsOn.features.isPlacement.slices.additionalRules.ignoreCasing.releasedBy.owner.component.editableFields.isCollection.operations.reExposes.restrictsFields.instance.field.columnGap.placements.rowGap.index.maxWidth.minWidth.column.columnSpan.row.rowSpan.unit.composeUsing.columnMode.fields.for.generationMode.layout.onSubmit.populate.events.parentKey.implementation.hints.text.compensate.execute.inputs.uses.generatedValues.noStream.operation.qualifiedName.actions.condition.alternatives.otherwise.trigger.amount.onRefused.acknowledge.constraint.selector.on.navigation.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.blueprint.version.fitsSlot.buttons.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.pack.shape.isBlueprint.locale.sets.active.exactly.results.reaction.cases.given.givenCaller.givenCallerPersona.givenCaptures.givenClock.givenOperationFailures.givenReadModels.thenAbsentReadModels.thenCompensated.thenDenied.thenErrors.thenEvents.thenEventsInAnyOrder.thenNoEvents.thenNoResult.thenOperations.thenQueries.thenReadModels.thenResults.thenReturns.whenAppended.whenCapture.whenClock.whenQuery.whenRedelivered.whenTrigger.emphasis.slice.compatibleWith.isOptional.bindingKind.componentId.componentPropertyPath.expectedValueType.literal.nullBehavior.rawText.defaultSizeClass.icons.packages.platforms.sampleData.theme.additionalProperties.places`.split(`.`),rules:[[`string`],[`ref`,30,31,58,59,67,68,70,127,128,140,142,167,171,214,243,248],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,40,62,64,114,207,244],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,18],[`array`,10],[`ref`,54],[`array`,12],[`ref`,66],[`union`,14,8],[`ref`,71],[`array`,16],[`ref`,107],[`array`,18],[`ref`,84],[`array`,20],[`ref`,81],[`array`,22],[`ref`,37],[`union`,24,8],[`ref`,113],[`array`,26],[`ref`,86],[`array`,28],[`ref`,126],[`array`,30],[`union`,31,8],[`ref`,132],[`array`,33],[`ref`,144],[`array`,35],[`union`,36,8],[`ref`,147],[`array`,38],[`ref`,148],[`array`,40],[`ref`,229],[`array`,42],[`ref`,206],[`array`,44],[`union`,45,8],[`enum`,`legacy`,`exact`],[`object`,[[23,47,!0]]],[`ref`,104],[`array`,49],[`ref`,208],[`array`,51],[`ref`,251],[`array`,53],[`union`,54,8],[`ref`,253],[`array`,56],[`union`,57,8],[`ref`,255],[`array`,59],[`union`,60,8],[`ref`,257],[`array`,62],[`union`,63,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,32,!1],[16,34,!1],[17,37,!1],[18,39,!1],[19,41,!1],[20,43,!1],[21,46,!1],[22,48,!1],[24,50,!1],[25,52,!1],[26,55,!1],[27,58,!1],[28,61,!1],[29,64,!1]]],[`object`,[[30,0,!0]]],[`ref`,4,6],[`array`,67],[`integer`,-2147483648,2147483647],[`union`,69,8],[`number`],[`union`,71,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[31,68,!1],[32,70,!1],[33,70,!1],[34,72,!1],[35,70,!1],[36,70,!1],[37,73,!0]]],[`union`,0,8],[`object`,[[38,75,!1],[39,67,!0],[40,75,!1]]],[`boolean`],[`object`,[[34,77,!1],[41,72,!1],[38,70,!1],[42,0,!0],[36,70,!1],[40,70,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,80],[`union`,81,8],[`union`,67,8],[`ref`,263],[`array`,84],[`union`,85,8],[`object`,[[43,79,!0],[44,82,!1],[39,83,!1],[45,86,!1]]],[`object`,[]],[`object`,[[46,75,!1],[42,0,!0]]],[`ref`,9],[`array`,90],[`object`,[[47,91,!1]]],[`ref`,131,146],[`object`,[[48,93,!0]]],[`ref`,12],[`array`,95],[`ref`,15],[`union`,97,8],[`object`,[[31,96,!1],[49,75,!1],[50,0,!0],[51,75,!1],[52,98,!1],[53,0,!0]]],[`object`,[[54,0,!0],[53,0,!0]]],[`ref`,13],[`union`,101,8],[`enum`,`Unspecified`,`Inherit`,`Extend`,`Override`],[`enum`,`Topbar`,`Sidebar`],[`object`,[[55,96,!1],[56,102,!1],[43,103,!0],[57,104,!0]]],[`object`,[[58,75,!1],[59,0,!0]]],[`object`,[[42,0,!0],[1,0,!0]]],[`ref`,254],[`union`,108,8],[`object`,[[42,0,!0],[60,109,!1]]],[`ref`,118],[`array`,111],[`ref`,82],[`union`,113,8],[`ref`,17],[`array`,115],[`object`,[[61,112,!1],[62,75,!1],[63,114,!1],[42,75,!1],[64,70,!1],[65,116,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[37,118,!0]]],[`ref`,156],[`array`,120],[`ref`,245],[`array`,122],[`union`,123,8],[`ref`,29],[`union`,125,8],[`object`,[[66,0,!0],[3,121,!1],[67,124,!1],[68,126,!1]]],[`ref`,20],[`array`,128],[`ref`,22,26],[`array`,130],[`object`,[[69,129,!1],[70,0,!0],[71,131,!1],[0,0,!0]]],[`ref`,28],[`array`,133],[`object`,[[0,0,!0],[72,1,!0],[73,134,!1]]],[`object`,[[69,129,!1],[71,131,!1],[0,0,!0]]],[`ref`,24],[`array`,137],[`object`,[[74,138,!1],[37,0,!0]]],[`array`,0],[`object`,[[75,0,!0],[72,1,!0],[76,140,!1]]],[`ref`,21],[`array`,142],[`ref`,23],[`array`,144],[`ref`,25],[`union`,146,8],[`object`,[[69,129,!1],[31,143,!1],[77,75,!1],[71,131,!1],[42,0,!0],[78,145,!1],[72,147,!1],[22,48,!1]]],[`object`,[[79,0,!0],[80,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[81,75,!1],[82,75,!1],[83,140,!1],[37,150,!0],[84,75,!1]]],[`object`,[[0,75,!1]]],[`object`,[[85,0,!0]]],[`ref`,1,32,41,76,100,124,136,154,177,178],[`array`,154],[`object`,[[2,3,!0],[86,155,!1],[70,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[87,0,!0],[88,157,!1],[89,77,!0]]],[`object`,[[87,0,!0]]],[`ref`,43],[`object`,[[90,160,!0]]],[`object`,[[63,113,!0]]],[`ref`,38],[`array`,163],[`object`,[[62,75,!1],[91,164,!1]]],[`ref`,34,35,36,39],[`object`,[[42,0,!0],[72,166,!0],[60,108,!0]]],[`object`,[[92,1,!0],[93,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[66,0,!0]]],[`ref`,117],[`array`,171],[`ref`,42,57,77,134,135,138,139,166,176,211],[`array`,173],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1]]],[`object`,[[90,0,!0],[98,0,!0]]],[`ref`,256],[`object`,[[99,177,!0],[42,0,!0]]],[`ref`,182,184,187,188,189,191,193,194,195,196,198,199,201,202,203],[`array`,179],[`object`,[[100,180,!1],[42,0,!0]]],[`union`,177,8],[`object`,[[99,182,!1],[0,0,!0],[1,157,!1]]],[`ref`,11],[`union`,184,8],[`ref`,56],[`union`,186,8],[`ref`,101],[`union`,188,8],[`ref`,151],[`array`,190],[`ref`,157],[`array`,192],[`ref`,173],[`array`,194],[`union`,195,8],[`ref`,160,161],[`union`,197,8],[`ref`,49],[`union`,199,8],[`array`,199],[`ref`,47,63],[`array`,202],[`object`,[[101,185,!1],[102,187,!1],[62,75,!1],[103,75,!1],[104,189,!1],[42,0,!0],[105,191,!1],[83,193,!1],[106,196,!1],[107,198,!1],[108,200,!1],[109,201,!1],[110,203,!1]]],[`union`,192,8],[`union`,120,8],[`object`,[[111,0,!0],[112,205,!1],[108,0,!0],[113,206,!1],[114,121,!1]]],[`object`,[[111,0,!0],[108,75,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[115,0,!0],[116,209,!0],[117,1,!0]]],[`ref`,125],[`array`,211],[`object`,[[118,212,!1],[60,0,!0]]],[`object`,[[119,77,!1],[42,0,!0],[120,75,!1],[121,75,!1],[122,75,!1]]],[`ref`,53],[`array`,215],[`ref`,55],[`union`,217,8],[`union`,203,8],[`array`,69],[`union`,220,8],[`object`,[[123,216,!1],[62,75,!1],[63,114,!1],[124,218,!1],[42,0,!0],[60,0,!0],[110,219,!1],[125,221,!1],[126,140,!1]]],[`union`,160,8],[`object`,[[127,75,!1],[128,75,!1],[129,75,!1],[90,223,!1],[130,70,!1],[131,75,!1],[63,114,!1],[132,75,!1],[133,75,!1],[134,75,!1],[135,75,!1],[136,70,!1],[137,0,!0]]],[`object`,[[111,77,!0],[138,75,!1],[139,75,!1],[140,75,!1],[141,140,!1]]],[`object`,[[94,172,!1],[142,0,!0],[143,77,!0],[95,174,!1],[96,174,!1],[97,174,!1]]],[`object`,[[144,0,!0]]],[`ref`,61],[`union`,228,8],[`ref`,193],[`union`,230,8],[`object`,[[145,0,!0],[146,229,!1],[147,75,!1],[49,75,!1],[50,75,!1],[148,75,!1],[149,231,!1],[64,70,!1],[150,75,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[37,233,!0],[52,0,!0]]],[`ref`,179],[`array`,235],[`union`,236,8],[`ref`,262],[`array`,238],[`object`,[[151,237,!1],[152,239,!1]]],[`ref`,7],[`union`,241,8],[`ref`,91],[`array`,243],[`ref`,209],[`array`,245],[`ref`,210],[`array`,247],[`ref`,213],[`array`,249],[`ref`,261],[`array`,251],[`object`,[[153,242,!1],[5,11,!1],[154,75,!1],[155,244,!1],[62,75,!1],[156,75,!1],[157,246,!1],[42,0,!0],[158,248,!1],[159,77,!1],[160,140,!1],[161,140,!1],[162,250,!1],[163,75,!1],[164,252,!1]]],[`object`,[[42,0,!0]]],[`object`,[[165,0,!0]]],[`ref`,73],[`array`,256],[`object`,[[62,75,!1],[50,75,!1],[166,109,!1],[42,0,!0],[167,257,!1]]],[`object`,[[42,0,!0],[60,108,!0]]],[`ref`,72],[`array`,260],[`object`,[[62,75,!1],[50,75,!1],[42,0,!0],[113,109,!1],[114,261,!1]]],[`object`,[[66,0,!0],[77,157,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[62,75,!1],[103,75,!1],[63,114,!1],[124,264,!1],[168,77,!1],[50,75,!1],[42,0,!0],[169,75,!1],[83,193,!1],[67,124,!1],[170,265,!1]]],[`object`,[[2,3,!0],[171,77,!0],[3,5,!1]]],[`object`,[[94,172,!1],[172,0,!0],[95,174,!1],[96,174,!1],[97,174,!1]]],[`object`,[[81,1,!0]]],[`ref`,60],[`array`,270],[`union`,271,8],[`ref`,260],[`array`,273],[`ref`,79],[`array`,275],[`ref`,149],[`array`,277],[`ref`,212],[`array`,279],[`object`,[[101,185,!1],[5,11,!1],[173,272,!1],[174,274,!1],[62,75,!1],[103,75,!1],[9,19,!1],[175,276,!1],[11,23,!1],[176,77,!0],[42,0,!0],[19,278,!1],[177,280,!1],[25,52,!1],[164,252,!1]]],[`ref`,80,258,259],[`array`,282],[`object`,[[178,283,!1],[62,75,!1],[63,113,!0],[179,77,!0],[142,75,!1],[42,0,!0],[180,140,!1]]],[`object`,[[132,0,!0]]],[`object`,[[148,75,!1],[0,0,!0]]],[`ref`,85],[`array`,287],[`object`,[[181,0,!0],[83,288,!1]]],[`object`,[[182,0,!0],[183,140,!1],[184,77,!0],[148,75,!1],[185,140,!1],[144,0,!0],[186,75,!1],[187,77,!0]]],[`ref`,87],[`array`,291],[`object`,[[173,292,!1],[188,0,!0]]],[`ref`,88],[`array`,294],[`object`,[[182,0,!0],[55,295,!1],[144,0,!0],[1,157,!1]]],[`ref`,89],[`array`,297],[`object`,[[50,0,!0],[126,298,!1]]],[`object`,[[189,0,!0],[1,1,!0]]],[`object`,[[145,0,!0],[100,180,!1],[64,70,!1]]],[`object`,[[100,180,!1],[51,0,!0]]],[`ref`,95],[`union`,303,8],[`ref`,93],[`array`,305],[`ref`,94],[`array`,307],[`object`,[[190,304,!1],[32,306,!1],[191,308,!1],[192,304,!1]]],[`object`,[[193,69,!0],[194,304,!1],[195,304,!1],[40,304,!1]]],[`object`,[[196,69,!0],[197,70,!1],[189,0,!0],[198,69,!0],[199,70,!1],[40,304,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[200,312,!0],[1,72,!1]]],[`object`,[[201,75,!1],[79,75,!1],[148,75,!1],[0,0,!0]]],[`object`,[[92,75,!1],[93,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,83],[`array`,317],[`ref`,96],[`array`,319],[`ref`,92],[`union`,321,8],[`ref`,97,98],[`union`,323,8],[`object`,[[5,11,!1],[202,316,!0],[32,318,!1],[62,75,!1],[203,320,!1],[204,0,!0],[205,316,!0],[206,322,!1],[42,0,!0],[207,231,!1],[208,324,!1],[164,252,!1]]],[`ref`,74],[`array`,326],[`ref`,52,78],[`union`,328,8],[`object`,[[209,327,!1],[77,329,!1],[3,5,!1],[210,157,!1]]],[`ref`,102],[`union`,331,8],[`object`,[[90,223,!1],[63,114,!1],[211,332,!1]]],[`ref`,103],[`array`,334],[`object`,[[212,335,!1]]],[`object`,[[213,0,!0]]],[`object`,[[62,75,!1],[42,0,!0]]],[`ref`,106],[`union`,339,8],[`object`,[[214,340,!1],[62,75,!1],[215,340,!1],[216,193,!1],[42,0,!0],[217,0,!0]]],[`object`,[[90,223,!1],[62,75,!1],[63,114,!1],[211,332,!1]]],[`ref`,235],[`union`,343,8],[`ref`,234],[`union`,345,8],[`object`,[[62,75,!1],[204,157,!1],[218,121,!1],[42,0,!0],[219,344,!1],[108,346,!1],[60,0,!0],[126,121,!1]]],[`object`,[[42,0,!0],[126,121,!1]]],[`object`,[[220,0,!0]]],[`object`,[[220,0,!0],[126,121,!1]]],[`object`,[[169,75,!1],[221,0,!0],[170,265,!1]]],[`ref`,51,129],[`object`,[[222,174,!1],[223,352,!0]]],[`object`,[[222,174,!1]]],[`object`,[[99,0,!0],[42,0,!0]]],[`ref`,115],[`array`,356],[`ref`,116],[`union`,358,8],[`ref`,3,19,69,119],[`object`,[[222,174,!1],[224,357,!1],[223,75,!1],[225,359,!1],[226,360,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[227,69,!0],[200,362,!0]]],[`ref`,122],[`array`,364],[`object`,[[172,0,!0],[3,121,!1],[228,365,!1]]],[`object`,[[229,77,!0],[230,75,!1],[105,191,!1],[231,0,!0]]],[`object`,[[2,3,!0],[66,0,!0],[3,5,!1]]],[`ref`,123],[`array`,369],[`object`,[[209,370,!1],[232,0,!0],[0,0,!0]]],[`object`,[[81,1,!0],[0,0,!0]]],[`ref`,14],[`array`,373],[`object`,[[153,242,!1],[5,11,!1],[154,75,!1],[157,246,!1],[42,0,!0],[233,374,!1],[158,248,!1],[159,77,!1],[160,140,!1],[161,140,!1],[162,250,!1],[163,75,!1],[164,252,!1]]],[`array`,1],[`object`,[[55,376,!1]]],[`union`,0,77,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[234,380,!0],[1,381,!0]]],[`const`,`ExactNumber`],[`string`,`^(?:0|-?(?:[1-9][0-9]{0,28}|(?:0|[1-9][0-9]{0,28})\\.[0-9]{0,27}[1-9]))$`],[`object`,[[234,383,!0],[1,384,!0]]],[`union`,378,379,382,385],[`object`,[[1,386,!1]]],[`enum`,`And`,`Or`],[`object`,[[115,352,!0],[116,388,!0],[117,352,!0]]],[`ref`,8,33,130,137,180],[`object`,[[115,390,!0],[116,388,!0],[117,390,!0]]],[`object`,[[115,93,!0],[116,388,!0],[117,93,!0]]],[`ref`,65],[`array`,393],[`union`,394,8],[`ref`,99],[`array`,396],[`union`,397,8],[`ref`,200],[`array`,399],[`object`,[[101,185,!1],[5,11,!1],[173,272,!1],[174,274,!1],[62,75,!1],[235,395,!1],[103,75,!1],[9,19,!1],[175,276,!1],[11,23,!1],[236,398,!1],[176,77,!0],[42,0,!0],[233,374,!1],[19,278,!1],[237,400,!1],[25,52,!1],[164,252,!1]]],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1],[238,0,!0]]],[`object`,[[2,3,!0],[86,155,!1],[0,0,!0]]],[`object`,[[239,390,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[94,172,!1],[240,405,!0],[142,0,!0],[143,77,!0],[95,174,!1],[96,174,!1],[97,174,!1]]],[`object`,[[94,172,!1],[241,0,!0],[95,174,!1],[96,174,!1],[97,174,!1]]],[`ref`,141],[`array`,408],[`object`,[[242,409,!1]]],[`object`,[[42,0,!0],[1,1,!0]]],[`object`,[[90,223,!1],[63,114,!1]]],[`object`,[[62,75,!1],[42,0,!0],[18,140,!1]]],[`object`,[[243,77,!1],[244,75,!1],[245,75,!1],[246,0,!0],[247,70,!1],[248,70,!1]]],[`union`,390,8],[`object`,[[90,223,!1],[223,415,!1],[62,75,!1],[63,114,!1],[42,0,!0]]],[`ref`,150],[`array`,417],[`object`,[[249,75,!1],[250,75,!1],[251,75,!1],[223,75,!1],[252,75,!1],[62,75,!1],[253,75,!1],[254,75,!1],[42,0,!0],[255,140,!1],[256,75,!1],[257,140,!1],[258,418,!1]]],[`object`,[[146,0,!0],[259,0,!0]]],[`ref`,75],[`union`,421,8],[`ref`,105],[`union`,423,8],[`union`,352,8],[`object`,[[66,0,!0],[204,157,!1],[260,422,!1],[261,424,!1],[3,121,!1],[108,200,!1],[67,124,!1],[68,425,!1]]],[`object`,[[2,3,!0],[86,155,!1],[62,75,!1],[63,114,!1],[77,329,!1],[42,0,!0],[262,75,!1],[263,75,!1],[22,48,!1]]],[`ref`,152],[`array`,428],[`object`,[[86,155,!1],[264,429,!1],[42,0,!0]]],[`object`,[[0,0,!0],[72,1,!0]]],[`object`,[[265,77,!1],[266,77,!1],[267,77,!1],[268,77,!1],[42,0,!0],[60,108,!0]]],[`ref`,158],[`object`,[[42,0,!0],[72,433,!0],[60,109,!1]]],[`object`,[[72,433,!0]]],[`ref`,159],[`array`,436],[`object`,[[203,437,!1]]],[`object`,[[1,1,!0]]],[`object`,[[203,121,!1]]],[`object`,[[42,0,!0],[72,157,!1],[60,108,!0]]],[`ref`,164],[`union`,442,8],[`array`,442],[`ref`,143],[`union`,445,8],[`object`,[[101,185,!1],[92,443,!1],[269,444,!1],[62,75,!1],[270,444,!1],[271,77,!1],[42,0,!0],[272,446,!1],[273,108,!0],[121,75,!1]]],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1],[226,0,!0]]],[`object`,[[274,140,!1],[37,0,!0]]],[`ref`,50],[`union`,450,8],[`ref`,168],[`union`,452,8],[`ref`,170],[`array`,454],[`object`,[[62,75,!1],[103,75,!1],[79,451,!1],[42,0,!0],[275,453,!1],[27,455,!1],[276,425,!1]]],[`ref`,252],[`array`,457],[`ref`,121],[`array`,459],[`union`,460,8],[`union`,191,8],[`ref`,120,133,181],[`object`,[[90,223,!1],[277,458,!1],[62,75,!1],[63,114,!1],[278,461,!1],[105,462,!1],[106,196,!1],[72,463,!0]]],[`object`,[[279,0,!0]]],[`object`,[[62,75,!1],[103,75,!1],[63,114,!1],[42,0,!0],[83,193,!1]]],[`object`,[[46,75,!1],[92,75,!1],[269,121,!1],[262,0,!0]]],[`object`,[[90,223,!1],[62,75,!1],[66,0,!0],[63,114,!1]]],[`ref`,174],[`array`,469],[`object`,[[62,75,!1],[79,451,!1],[42,0,!0],[262,0,!0],[152,470,!1]]],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1],[93,0,!0]]],[`object`,[[66,0,!0],[77,157,!1],[210,157,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[223,352,!0],[142,75,!1],[280,474,!0]]],[`object`,[[281,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,477,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[282,70,!1],[283,478,!1],[284,479,!0]]],[`object`,[[172,0,!0],[148,75,!1],[149,231,!1]]],[`ref`,185],[`array`,482],[`ref`,186],[`union`,484,8],[`object`,[[224,483,!1],[148,0,!0],[149,231,!1],[225,485,!1]]],[`object`,[[94,172,!1],[172,0,!0],[223,352,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[94,172,!1],[172,75,!1],[285,488,!0]]],[`object`,[[286,10,!0]]],[`ref`,44],[`array`,491],[`ref`,45],[`array`,493],[`ref`,155],[`array`,495],[`ref`,46],[`array`,497],[`object`,[[5,11,!1],[182,0,!0],[287,182,!1],[157,492,!1],[49,75,!1],[42,0,!0],[158,494,!1],[150,496,!1],[83,498,!1],[288,75,!1],[164,252,!1]]],[`object`,[[92,75,!1],[93,0,!0],[60,108,!0]]],[`object`,[[148,0,!0],[0,0,!0]]],[`ref`,183],[`array`,502],[`object`,[[92,75,!1],[289,75,!1],[65,503,!1],[290,75,!1],[238,0,!0]]],[`ref`,192],[`array`,505],[`object`,[[203,506,!1],[52,0,!0]]],[`ref`,90],[`array`,508],[`object`,[[173,509,!1],[62,75,!1],[100,180,!1],[63,114,!1],[42,0,!0]]],[`ref`,190],[`array`,511],[`object`,[[5,11,!1],[32,512,!1],[291,231,!1],[52,0,!0],[164,252,!1]]],[`ref`,195],[`array`,514],[`object`,[[292,75,!1],[42,0,!0],[162,515,!1],[293,75,!1]]],[`object`,[[153,242,!1],[5,11,!1],[154,75,!1],[155,244,!1],[62,75,!1],[156,75,!1],[157,246,!1],[294,75,!1],[42,0,!0],[158,248,!1],[159,77,!1],[160,140,!1],[161,140,!1],[162,250,!1],[163,75,!1],[164,252,!1]]],[`ref`,246],[`array`,518],[`ref`,247],[`array`,520],[`object`,[[295,519,!1],[55,521,!1],[42,0,!0]]],[`object`,[[217,251,!0]]],[`object`,[[66,0,!0],[83,121,!1]]],[`ref`,204],[`array`,525],[`object`,[[296,0,!0],[209,526,!1]]],[`ref`,205],[`array`,528],[`object`,[[297,529,!1]]],[`object`,[[292,75,!1],[42,0,!0],[293,75,!1]]],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1],[52,0,!0],[1,0,!0]]],[`ref`,27],[`array`,533],[`ref`,48],[`array`,535],[`enum`,`Inbound`,`Outbound`],[`union`,537,8],[`array`,421],[`array`,423],[`ref`,153],[`array`,541],[`ref`,165],[`array`,543],[`ref`,169],[`array`,545],[`ref`,172],[`array`,547],[`union`,548,8],[`ref`,175],[`array`,550],[`union`,551,8],[`ref`,197],[`array`,553],[`ref`,240],[`array`,555],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[298,534,!1],[299,536,!1],[300,283,!1],[62,75,!1],[301,538,!1],[103,75,!1],[209,539,!1],[9,19,!1],[63,114,!1],[42,0,!0],[185,540,!1],[302,542,!1],[19,278,!1],[303,544,!1],[304,546,!1],[305,549,!1],[306,552,!1],[307,554,!1],[308,556,!1],[25,52,!1],[60,557,!0]]],[`object`,[[309,75,!1],[42,0,!0]]],[`object`,[[77,1,!0],[42,0,!0]]],[`object`,[[60,0,!0],[1,0,!0]]],[`ref`,216],[`array`,562],[`object`,[[310,77,!0],[311,563,!1],[274,140,!1]]],[`object`,[[312,0,!0],[313,121,!1]]],[`object`,[[314,0,!0]]],[`object`,[[315,0,!0],[204,157,!1],[218,121,!1],[316,75,!1],[126,121,!1]]],[`ref`,31],[`union`,568,8],[`object`,[[317,569,!1],[42,75,!1]]],[`object`,[[318,0,!0],[204,157,!1],[316,75,!1],[219,344,!1],[108,346,!1],[126,121,!1]]],[`ref`,228],[`object`,[[319,572,!0],[262,0,!0]]],[`enum`,`Text`,`Number`,`Flag`,`Null`],[`object`,[[42,0,!0],[37,574,!0],[1,75,!1]]],[`object`,[[262,0,!0],[320,0,!0]]],[`object`,[[321,77,!0],[42,0,!0]]],[`ref`,232],[`array`,578],[`object`,[[322,75,!1],[42,0,!0],[323,579,!1],[53,75,!1]]],[`ref`,226],[`array`,581],[`object`,[[203,582,!1]]],[`union`,572,8],[`ref`,225],[`array`,585],[`ref`,227],[`array`,587],[`object`,[[324,584,!1],[61,586,!1],[3,588,!1]]],[`ref`,230],[`array`,590],[`object`,[[35,591,!1],[320,0,!0]]],[`object`,[[111,0,!0],[108,0,!0],[113,206,!1],[114,121,!1]]],[`object`,[[325,77,!0],[83,121,!1]]],[`ref`,236],[`array`,595],[`object`,[[94,121,!1],[325,77,!0],[93,0,!0],[326,596,!1]]],[`object`,[[325,77,!0],[316,75,!1],[42,0,!0],[83,121,!1]]],[`object`,[[318,0,!0],[204,157,!1],[219,344,!1],[327,0,!0],[108,346,!1],[126,121,!1]]],[`ref`,109],[`array`,600],[`ref`,224],[`array`,602],[`ref`,218],[`union`,604,8],[`ref`,217],[`union`,606,8],[`ref`,219],[`array`,608],[`ref`,220],[`union`,610,8],[`ref`,110],[`array`,612],[`ref`,238],[`array`,614],[`union`,615,8],[`ref`,108],[`array`,617],[`ref`,215],[`array`,619],[`ref`,112],[`array`,621],[`ref`,222],[`union`,623,8],[`ref`,223],[`array`,625],[`ref`,233],[`union`,627,8],[`ref`,111],[`array`,629],[`ref`,237],[`array`,631],[`ref`,162,163],[`union`,633,8],[`ref`,221],[`union`,635,8],[`union`,602,8],[`union`,608,8],[`ref`,242],[`union`,639,8],[`ref`,239],[`union`,641,8],[`ref`,241],[`union`,643,8],[`object`,[[328,601,!1],[62,75,!1],[9,19,!1],[63,114,!1],[329,603,!1],[330,605,!1],[331,607,!1],[332,609,!1],[333,611,!1],[334,613,!1],[335,616,!1],[42,0,!0],[65,618,!1],[22,48,!1],[336,620,!1],[337,622,!1],[338,624,!1],[339,626,!1],[340,603,!1],[341,77,!0],[342,77,!1],[343,628,!1],[344,630,!1],[345,632,!1],[346,616,!1],[347,596,!1],[348,634,!1],[68,636,!1],[349,637,!1],[350,638,!1],[351,611,!1],[352,640,!1],[353,642,!1],[354,644,!1]]],[`object`,[[226,0,!0],[126,121,!1]]],[`object`,[[94,121,!1],[93,0,!0]]],[`object`,[[77,0,!0]]],[`enum`,`Primary`,`Secondary`,`Quiet`],[`union`,649,8],[`object`,[[355,650,!1],[49,75,!1],[50,0,!0],[356,75,!1],[53,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[49,75,!1],[148,75,!1],[42,0,!0],[65,503,!1],[150,496,!1],[37,652,!0],[52,0,!0]]],[`ref`,249,250],[`array`,654],[`object`,[[118,655,!1]]],[`object`,[[357,140,!1],[42,0,!0]]],[`object`,[[277,458,!1],[62,75,!1],[63,114,!1],[42,0,!0]]],[`object`,[[184,77,!0],[358,77,!0],[42,0,!0]]],[`object`,[[62,75,!1],[63,114,!1],[42,0,!0],[83,193,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,662,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,664,8],[`object`,[[359,661,!0],[360,75,!1],[361,75,!1],[362,75,!1],[363,157,!1],[43,663,!1],[364,665,!1],[144,0,!0],[93,75,!1],[365,75,!1]]],[`ref`,231],[`union`,667,8],[`object`,[[366,75,!1],[367,140,!1],[206,75,!1],[42,0,!0],[368,140,!1],[369,140,!1],[370,668,!1],[371,75,!1]]],[`object`,[[178,283,!1],[62,75,!1],[66,0,!0],[179,77,!0],[142,75,!1],[42,0,!0],[180,140,!1]]],[`object`,[[372,140,!1],[178,283,!1],[62,75,!1],[66,0,!0],[179,77,!0],[142,75,!1],[42,0,!0],[0,0,!0],[180,140,!1]]],[`object`,[[52,0,!0]]],[`ref`,16],[`array`,673],[`object`,[[94,674,!1],[286,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`],[`object`,[[90,223,!1],[63,114,!1],[211,332,!1],[142,75,!1],[0,0,!0],[135,676,!0],[280,474,!0],[1,157,!1]]],[`ref`,145],[`array`,678],[`object`,[[38,0,!0],[373,679,!1],[40,0,!0]]]],contracts:[2,6,65,66,74,76,78,87,88,89,92,94,99,100,105,106,107,110,117,119,127,132,135,136,107,139,141,148,149,151,152,153,156,158,159,161,162,165,167,168,169,170,175,176,178,181,183,161,204,207,208,210,213,214,222,224,225,226,227,227,232,234,169,240,169,253,254,254,227,255,88,258,259,262,263,266,267,268,269,281,284,285,227,286,289,290,293,296,299,300,301,302,309,310,311,313,314,88,315,325,330,333,336,337,338,341,342,347,259,348,349,350,349,351,169,353,354,355,361,363,363,366,367,368,371,372,375,377,387,389,391,392,401,254,402,175,403,404,406,407,410,411,227,412,413,414,254,416,419,254,420,426,263,427,430,107,431,432,169,434,435,438,439,440,441,447,448,337,449,456,464,465,466,467,468,471,472,263,473,475,476,480,481,178,486,487,489,490,161,499,286,500,501,504,181,181,507,510,513,516,517,337,522,523,524,527,530,431,531,110,254,532,558,559,227,560,561,254,564,565,566,567,88,570,571,573,575,576,577,580,583,589,592,88,593,88,594,597,598,599,645,646,647,648,2,439,651,653,656,269,337,657,110,658,659,660,666,669,670,671,672,675,677,680]};export{e as syntaxCollections};
2
2
  //# sourceMappingURL=SyntaxCollections.js.map