@serverlessworkflow/sdk 1.0.1 → 1.0.3-alpha1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +410 -368
- package/chunk.mjs +13 -0
- package/index.cjs +13463 -0
- package/index.cjs.map +1 -0
- package/index.d.cts +9319 -0
- package/index.d.cts.map +1 -0
- package/index.d.mts +9318 -0
- package/index.d.mts.map +1 -0
- package/index.mjs +13242 -0
- package/index.mjs.map +1 -0
- package/index.umd.js +22149 -0
- package/index.umd.js.map +1 -0
- package/index.umd.min.js +54 -0
- package/index.umd.min.js.map +1 -0
- package/package.json +61 -93
- package/esm/index.esm.js +0 -31288
- package/esm/index.esm.js.map +0 -1
- package/esm/index.esm.min.js +0 -10
- package/esm/index.esm.min.js.map +0 -1
- package/index.d.ts +0 -2
- package/index.d.ts.map +0 -1
- package/lib/builder.d.ts +0 -49
- package/lib/builder.d.ts.map +0 -1
- package/lib/generated/builders/all-event-consumption-strategy-builder.d.ts +0 -14
- package/lib/generated/builders/all-event-consumption-strategy-builder.d.ts.map +0 -1
- package/lib/generated/builders/all-event-consumption-strategy-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/all-event-consumption-strategy-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/any-event-consumption-strategy-builder.d.ts +0 -14
- package/lib/generated/builders/any-event-consumption-strategy-builder.d.ts.map +0 -1
- package/lib/generated/builders/any-event-consumption-strategy-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/any-event-consumption-strategy-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/any-event-consumption-strategy-until-builder.d.ts +0 -14
- package/lib/generated/builders/any-event-consumption-strategy-until-builder.d.ts.map +0 -1
- package/lib/generated/builders/any-event-until-consumed-builder.d.ts +0 -14
- package/lib/generated/builders/any-event-until-consumed-builder.d.ts.map +0 -1
- package/lib/generated/builders/async-api-arguments-builder.d.ts +0 -14
- package/lib/generated/builders/async-api-arguments-builder.d.ts.map +0 -1
- package/lib/generated/builders/authentication-policy-builder.d.ts +0 -14
- package/lib/generated/builders/authentication-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/authentication-policy-reference-builder.d.ts +0 -14
- package/lib/generated/builders/authentication-policy-reference-builder.d.ts.map +0 -1
- package/lib/generated/builders/basic-authentication-policy-builder.d.ts +0 -14
- package/lib/generated/builders/basic-authentication-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/basic-authentication-policy-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/basic-authentication-policy-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/basic-authentication-properties-builder.d.ts +0 -14
- package/lib/generated/builders/basic-authentication-properties-builder.d.ts.map +0 -1
- package/lib/generated/builders/bearer-authentication-policy-builder.d.ts +0 -14
- package/lib/generated/builders/bearer-authentication-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/bearer-authentication-policy-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/bearer-authentication-policy-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/bearer-authentication-properties-builder.d.ts +0 -14
- package/lib/generated/builders/bearer-authentication-properties-builder.d.ts.map +0 -1
- package/lib/generated/builders/call-async-api-builder.d.ts +0 -14
- package/lib/generated/builders/call-async-api-builder.d.ts.map +0 -1
- package/lib/generated/builders/call-function-builder.d.ts +0 -14
- package/lib/generated/builders/call-function-builder.d.ts.map +0 -1
- package/lib/generated/builders/call-grpc-builder.d.ts +0 -14
- package/lib/generated/builders/call-grpc-builder.d.ts.map +0 -1
- package/lib/generated/builders/call-http-builder.d.ts +0 -14
- package/lib/generated/builders/call-http-builder.d.ts.map +0 -1
- package/lib/generated/builders/call-open-api-builder.d.ts +0 -14
- package/lib/generated/builders/call-open-api-builder.d.ts.map +0 -1
- package/lib/generated/builders/call-task-builder.d.ts +0 -14
- package/lib/generated/builders/call-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/catalog-builder.d.ts +0 -14
- package/lib/generated/builders/catalog-builder.d.ts.map +0 -1
- package/lib/generated/builders/catch-errors-builder.d.ts +0 -14
- package/lib/generated/builders/catch-errors-builder.d.ts.map +0 -1
- package/lib/generated/builders/constant-backoff-builder.d.ts +0 -14
- package/lib/generated/builders/constant-backoff-builder.d.ts.map +0 -1
- package/lib/generated/builders/container-builder.d.ts +0 -14
- package/lib/generated/builders/container-builder.d.ts.map +0 -1
- package/lib/generated/builders/container-environment-builder.d.ts +0 -14
- package/lib/generated/builders/container-environment-builder.d.ts.map +0 -1
- package/lib/generated/builders/container-lifetime-builder.d.ts +0 -14
- package/lib/generated/builders/container-lifetime-builder.d.ts.map +0 -1
- package/lib/generated/builders/container-ports-builder.d.ts +0 -14
- package/lib/generated/builders/container-ports-builder.d.ts.map +0 -1
- package/lib/generated/builders/container-volumes-builder.d.ts +0 -14
- package/lib/generated/builders/container-volumes-builder.d.ts.map +0 -1
- package/lib/generated/builders/digest-authentication-policy-builder.d.ts +0 -14
- package/lib/generated/builders/digest-authentication-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/digest-authentication-policy-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/digest-authentication-policy-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/digest-authentication-properties-builder.d.ts +0 -14
- package/lib/generated/builders/digest-authentication-properties-builder.d.ts.map +0 -1
- package/lib/generated/builders/do-task-builder.d.ts +0 -14
- package/lib/generated/builders/do-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/document-builder.d.ts +0 -14
- package/lib/generated/builders/document-builder.d.ts.map +0 -1
- package/lib/generated/builders/duration-builder.d.ts +0 -14
- package/lib/generated/builders/duration-builder.d.ts.map +0 -1
- package/lib/generated/builders/duration-inline-builder.d.ts +0 -14
- package/lib/generated/builders/duration-inline-builder.d.ts.map +0 -1
- package/lib/generated/builders/emit-event-definition-builder.d.ts +0 -14
- package/lib/generated/builders/emit-event-definition-builder.d.ts.map +0 -1
- package/lib/generated/builders/emit-event-with-builder.d.ts +0 -14
- package/lib/generated/builders/emit-event-with-builder.d.ts.map +0 -1
- package/lib/generated/builders/emit-task-builder.d.ts +0 -14
- package/lib/generated/builders/emit-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/emit-task-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/emit-task-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/endpoint-builder.d.ts +0 -14
- package/lib/generated/builders/endpoint-builder.d.ts.map +0 -1
- package/lib/generated/builders/endpoint-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/endpoint-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/endpoint-uri-builder.d.ts +0 -14
- package/lib/generated/builders/endpoint-uri-builder.d.ts.map +0 -1
- package/lib/generated/builders/error-builder.d.ts +0 -14
- package/lib/generated/builders/error-builder.d.ts.map +0 -1
- package/lib/generated/builders/error-filter-builder.d.ts +0 -14
- package/lib/generated/builders/error-filter-builder.d.ts.map +0 -1
- package/lib/generated/builders/error-instance-builder.d.ts +0 -14
- package/lib/generated/builders/error-instance-builder.d.ts.map +0 -1
- package/lib/generated/builders/error-type-builder.d.ts +0 -14
- package/lib/generated/builders/error-type-builder.d.ts.map +0 -1
- package/lib/generated/builders/event-consumption-strategy-builder.d.ts +0 -14
- package/lib/generated/builders/event-consumption-strategy-builder.d.ts.map +0 -1
- package/lib/generated/builders/event-data-builder.d.ts +0 -14
- package/lib/generated/builders/event-data-builder.d.ts.map +0 -1
- package/lib/generated/builders/event-dataschema-builder.d.ts +0 -14
- package/lib/generated/builders/event-dataschema-builder.d.ts.map +0 -1
- package/lib/generated/builders/event-filter-builder.d.ts +0 -14
- package/lib/generated/builders/event-filter-builder.d.ts.map +0 -1
- package/lib/generated/builders/event-filter-correlate-builder.d.ts +0 -14
- package/lib/generated/builders/event-filter-correlate-builder.d.ts.map +0 -1
- package/lib/generated/builders/event-source-builder.d.ts +0 -14
- package/lib/generated/builders/event-source-builder.d.ts.map +0 -1
- package/lib/generated/builders/event-time-builder.d.ts +0 -14
- package/lib/generated/builders/event-time-builder.d.ts.map +0 -1
- package/lib/generated/builders/exponential-back-off-builder.d.ts +0 -14
- package/lib/generated/builders/exponential-back-off-builder.d.ts.map +0 -1
- package/lib/generated/builders/export-as-builder.d.ts +0 -14
- package/lib/generated/builders/export-as-builder.d.ts.map +0 -1
- package/lib/generated/builders/export-builder.d.ts +0 -14
- package/lib/generated/builders/export-builder.d.ts.map +0 -1
- package/lib/generated/builders/extension-builder.d.ts +0 -14
- package/lib/generated/builders/extension-builder.d.ts.map +0 -1
- package/lib/generated/builders/extension-item-builder.d.ts +0 -14
- package/lib/generated/builders/extension-item-builder.d.ts.map +0 -1
- package/lib/generated/builders/external-resource-builder.d.ts +0 -14
- package/lib/generated/builders/external-resource-builder.d.ts.map +0 -1
- package/lib/generated/builders/external-script-builder.d.ts +0 -14
- package/lib/generated/builders/external-script-builder.d.ts.map +0 -1
- package/lib/generated/builders/flow-directive-builder.d.ts +0 -14
- package/lib/generated/builders/flow-directive-builder.d.ts.map +0 -1
- package/lib/generated/builders/for-task-builder.d.ts +0 -14
- package/lib/generated/builders/for-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/for-task-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/for-task-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/fork-task-builder.d.ts +0 -14
- package/lib/generated/builders/fork-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/fork-task-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/fork-task-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/function-arguments-builder.d.ts +0 -14
- package/lib/generated/builders/function-arguments-builder.d.ts.map +0 -1
- package/lib/generated/builders/grpc-arguments-builder.d.ts +0 -14
- package/lib/generated/builders/grpc-arguments-builder.d.ts.map +0 -1
- package/lib/generated/builders/http-arguments-builder.d.ts +0 -14
- package/lib/generated/builders/http-arguments-builder.d.ts.map +0 -1
- package/lib/generated/builders/http-body-builder.d.ts +0 -14
- package/lib/generated/builders/http-body-builder.d.ts.map +0 -1
- package/lib/generated/builders/http-headers-builder.d.ts +0 -14
- package/lib/generated/builders/http-headers-builder.d.ts.map +0 -1
- package/lib/generated/builders/http-query-builder.d.ts +0 -14
- package/lib/generated/builders/http-query-builder.d.ts.map +0 -1
- package/lib/generated/builders/index.d.ts +0 -161
- package/lib/generated/builders/index.d.ts.map +0 -1
- package/lib/generated/builders/inline-script-builder.d.ts +0 -14
- package/lib/generated/builders/inline-script-builder.d.ts.map +0 -1
- package/lib/generated/builders/input-builder.d.ts +0 -14
- package/lib/generated/builders/input-builder.d.ts.map +0 -1
- package/lib/generated/builders/input-from-builder.d.ts +0 -14
- package/lib/generated/builders/input-from-builder.d.ts.map +0 -1
- package/lib/generated/builders/linear-backoff-builder.d.ts +0 -14
- package/lib/generated/builders/linear-backoff-builder.d.ts.map +0 -1
- package/lib/generated/builders/listen-task-builder.d.ts +0 -14
- package/lib/generated/builders/listen-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/listen-task-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/listen-task-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-autenthication-data-audiences-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-autenthication-data-audiences-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-autenthication-data-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-autenthication-data-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-autenthication-data-client-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-autenthication-data-client-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-autenthication-data-scopes-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-autenthication-data-scopes-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-authentication-policy-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-authentication-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-authentication-policy-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-authentication-policy-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-authentication-properties-endpoints-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-authentication-properties-endpoints-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-connect-authentication-properties-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-connect-authentication-properties-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-issuers-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-issuers-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-token-definition-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-token-definition-builder.d.ts.map +0 -1
- package/lib/generated/builders/oauth2-token-request-builder.d.ts +0 -14
- package/lib/generated/builders/oauth2-token-request-builder.d.ts.map +0 -1
- package/lib/generated/builders/one-event-consumption-strategy-builder.d.ts +0 -14
- package/lib/generated/builders/one-event-consumption-strategy-builder.d.ts.map +0 -1
- package/lib/generated/builders/open-api-arguments-builder.d.ts +0 -14
- package/lib/generated/builders/open-api-arguments-builder.d.ts.map +0 -1
- package/lib/generated/builders/open-id-connect-authentication-policy-builder.d.ts +0 -14
- package/lib/generated/builders/open-id-connect-authentication-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/open-id-connect-authentication-policy-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/open-id-connect-authentication-policy-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/open-id-connect-authentication-properties-builder.d.ts +0 -14
- package/lib/generated/builders/open-id-connect-authentication-properties-builder.d.ts.map +0 -1
- package/lib/generated/builders/output-as-builder.d.ts +0 -14
- package/lib/generated/builders/output-as-builder.d.ts.map +0 -1
- package/lib/generated/builders/output-builder.d.ts +0 -14
- package/lib/generated/builders/output-builder.d.ts.map +0 -1
- package/lib/generated/builders/raise-task-builder.d.ts +0 -14
- package/lib/generated/builders/raise-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/raise-task-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/raise-task-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/raise-task-error-builder.d.ts +0 -14
- package/lib/generated/builders/raise-task-error-builder.d.ts.map +0 -1
- package/lib/generated/builders/referenceable-authentication-policy-builder.d.ts +0 -14
- package/lib/generated/builders/referenceable-authentication-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/retry-backoff-builder.d.ts +0 -14
- package/lib/generated/builders/retry-backoff-builder.d.ts.map +0 -1
- package/lib/generated/builders/retry-limit-attempt-builder.d.ts +0 -14
- package/lib/generated/builders/retry-limit-attempt-builder.d.ts.map +0 -1
- package/lib/generated/builders/retry-limit-builder.d.ts +0 -14
- package/lib/generated/builders/retry-limit-builder.d.ts.map +0 -1
- package/lib/generated/builders/retry-policy-builder.d.ts +0 -14
- package/lib/generated/builders/retry-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/retry-policy-jitter-builder.d.ts +0 -14
- package/lib/generated/builders/retry-policy-jitter-builder.d.ts.map +0 -1
- package/lib/generated/builders/run-container-builder.d.ts +0 -14
- package/lib/generated/builders/run-container-builder.d.ts.map +0 -1
- package/lib/generated/builders/run-script-builder.d.ts +0 -14
- package/lib/generated/builders/run-script-builder.d.ts.map +0 -1
- package/lib/generated/builders/run-shell-builder.d.ts +0 -14
- package/lib/generated/builders/run-shell-builder.d.ts.map +0 -1
- package/lib/generated/builders/run-task-builder.d.ts +0 -14
- package/lib/generated/builders/run-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/run-task-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/run-task-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/run-workflow-builder.d.ts +0 -14
- package/lib/generated/builders/run-workflow-builder.d.ts.map +0 -1
- package/lib/generated/builders/runtime-expression-builder.d.ts +0 -14
- package/lib/generated/builders/runtime-expression-builder.d.ts.map +0 -1
- package/lib/generated/builders/schedule-builder.d.ts +0 -14
- package/lib/generated/builders/schedule-builder.d.ts.map +0 -1
- package/lib/generated/builders/schema-builder.d.ts +0 -14
- package/lib/generated/builders/schema-builder.d.ts.map +0 -1
- package/lib/generated/builders/schema-external-builder.d.ts +0 -14
- package/lib/generated/builders/schema-external-builder.d.ts.map +0 -1
- package/lib/generated/builders/schema-inline-builder.d.ts +0 -14
- package/lib/generated/builders/schema-inline-builder.d.ts.map +0 -1
- package/lib/generated/builders/script-builder.d.ts +0 -14
- package/lib/generated/builders/script-builder.d.ts.map +0 -1
- package/lib/generated/builders/secret-based-authentication-policy-builder.d.ts +0 -14
- package/lib/generated/builders/secret-based-authentication-policy-builder.d.ts.map +0 -1
- package/lib/generated/builders/set-task-builder.d.ts +0 -14
- package/lib/generated/builders/set-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/set-task-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/set-task-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/shell-arguments-builder.d.ts +0 -14
- package/lib/generated/builders/shell-arguments-builder.d.ts.map +0 -1
- package/lib/generated/builders/shell-builder.d.ts +0 -14
- package/lib/generated/builders/shell-builder.d.ts.map +0 -1
- package/lib/generated/builders/shell-environment-builder.d.ts +0 -14
- package/lib/generated/builders/shell-environment-builder.d.ts.map +0 -1
- package/lib/generated/builders/subflow-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/subflow-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/subflow-input-builder.d.ts +0 -14
- package/lib/generated/builders/subflow-input-builder.d.ts.map +0 -1
- package/lib/generated/builders/subscription-iterator-builder.d.ts +0 -14
- package/lib/generated/builders/subscription-iterator-builder.d.ts.map +0 -1
- package/lib/generated/builders/switch-case-builder.d.ts +0 -14
- package/lib/generated/builders/switch-case-builder.d.ts.map +0 -1
- package/lib/generated/builders/switch-item-builder.d.ts +0 -14
- package/lib/generated/builders/switch-item-builder.d.ts.map +0 -1
- package/lib/generated/builders/switch-task-builder.d.ts +0 -14
- package/lib/generated/builders/switch-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/switch-task-configuration-builder.d.ts +0 -14
- package/lib/generated/builders/switch-task-configuration-builder.d.ts.map +0 -1
- package/lib/generated/builders/task-base-builder.d.ts +0 -14
- package/lib/generated/builders/task-base-builder.d.ts.map +0 -1
- package/lib/generated/builders/task-base-if-builder.d.ts +0 -14
- package/lib/generated/builders/task-base-if-builder.d.ts.map +0 -1
- package/lib/generated/builders/task-builder.d.ts +0 -14
- package/lib/generated/builders/task-builder.d.ts.map +0 -1
- package/lib/generated/builders/task-item-builder.d.ts +0 -14
- package/lib/generated/builders/task-item-builder.d.ts.map +0 -1
- package/lib/generated/builders/task-list-builder.d.ts +0 -14
- package/lib/generated/builders/task-list-builder.d.ts.map +0 -1
- package/lib/generated/builders/task-metadata-builder.d.ts +0 -14
- package/lib/generated/builders/task-metadata-builder.d.ts.map +0 -1
- package/lib/generated/builders/task-timeout-builder.d.ts +0 -14
- package/lib/generated/builders/task-timeout-builder.d.ts.map +0 -1
- package/lib/generated/builders/timeout-builder.d.ts +0 -14
- package/lib/generated/builders/timeout-builder.d.ts.map +0 -1
- package/lib/generated/builders/try-task-builder.d.ts +0 -14
- package/lib/generated/builders/try-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/try-task-catch-builder.d.ts +0 -14
- package/lib/generated/builders/try-task-catch-builder.d.ts.map +0 -1
- package/lib/generated/builders/try-task-catch-retry-builder.d.ts +0 -14
- package/lib/generated/builders/try-task-catch-retry-builder.d.ts.map +0 -1
- package/lib/generated/builders/uri-template-builder.d.ts +0 -14
- package/lib/generated/builders/uri-template-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-authentications-builder.d.ts +0 -14
- package/lib/generated/builders/use-authentications-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-builder.d.ts +0 -14
- package/lib/generated/builders/use-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-catalogs-builder.d.ts +0 -14
- package/lib/generated/builders/use-catalogs-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-errors-builder.d.ts +0 -14
- package/lib/generated/builders/use-errors-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-extensions-builder.d.ts +0 -14
- package/lib/generated/builders/use-extensions-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-functions-builder.d.ts +0 -14
- package/lib/generated/builders/use-functions-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-retries-builder.d.ts +0 -14
- package/lib/generated/builders/use-retries-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-secrets-builder.d.ts +0 -14
- package/lib/generated/builders/use-secrets-builder.d.ts.map +0 -1
- package/lib/generated/builders/use-timeouts-builder.d.ts +0 -14
- package/lib/generated/builders/use-timeouts-builder.d.ts.map +0 -1
- package/lib/generated/builders/wait-task-builder.d.ts +0 -14
- package/lib/generated/builders/wait-task-builder.d.ts.map +0 -1
- package/lib/generated/builders/with-event-builder.d.ts +0 -14
- package/lib/generated/builders/with-event-builder.d.ts.map +0 -1
- package/lib/generated/builders/with-grpc-arguments-builder.d.ts +0 -14
- package/lib/generated/builders/with-grpc-arguments-builder.d.ts.map +0 -1
- package/lib/generated/builders/with-grpc-service-builder.d.ts +0 -14
- package/lib/generated/builders/with-grpc-service-builder.d.ts.map +0 -1
- package/lib/generated/builders/with-open-api-parameters-builder.d.ts +0 -14
- package/lib/generated/builders/with-open-api-parameters-builder.d.ts.map +0 -1
- package/lib/generated/builders/workflow-builder.d.ts +0 -14
- package/lib/generated/builders/workflow-builder.d.ts.map +0 -1
- package/lib/generated/builders/workflow-metadata-builder.d.ts +0 -14
- package/lib/generated/builders/workflow-metadata-builder.d.ts.map +0 -1
- package/lib/generated/builders/workflow-tags-builder.d.ts +0 -14
- package/lib/generated/builders/workflow-tags-builder.d.ts.map +0 -1
- package/lib/generated/builders/workflow-timeout-builder.d.ts +0 -14
- package/lib/generated/builders/workflow-timeout-builder.d.ts.map +0 -1
- package/lib/generated/classes/all-event-consumption-strategy-configuration.d.ts +0 -38
- package/lib/generated/classes/all-event-consumption-strategy-configuration.d.ts.map +0 -1
- package/lib/generated/classes/all-event-consumption-strategy.d.ts +0 -39
- package/lib/generated/classes/all-event-consumption-strategy.d.ts.map +0 -1
- package/lib/generated/classes/any-event-consumption-strategy-configuration.d.ts +0 -38
- package/lib/generated/classes/any-event-consumption-strategy-configuration.d.ts.map +0 -1
- package/lib/generated/classes/any-event-consumption-strategy-until.d.ts +0 -39
- package/lib/generated/classes/any-event-consumption-strategy-until.d.ts.map +0 -1
- package/lib/generated/classes/any-event-consumption-strategy.d.ts +0 -39
- package/lib/generated/classes/any-event-consumption-strategy.d.ts.map +0 -1
- package/lib/generated/classes/any-event-until-consumed.d.ts +0 -39
- package/lib/generated/classes/any-event-until-consumed.d.ts.map +0 -1
- package/lib/generated/classes/async-api-arguments.d.ts +0 -44
- package/lib/generated/classes/async-api-arguments.d.ts.map +0 -1
- package/lib/generated/classes/authentication-policy-reference.d.ts +0 -44
- package/lib/generated/classes/authentication-policy-reference.d.ts.map +0 -1
- package/lib/generated/classes/authentication-policy.d.ts +0 -39
- package/lib/generated/classes/authentication-policy.d.ts.map +0 -1
- package/lib/generated/classes/basic-authentication-policy-configuration.d.ts +0 -44
- package/lib/generated/classes/basic-authentication-policy-configuration.d.ts.map +0 -1
- package/lib/generated/classes/basic-authentication-policy.d.ts +0 -39
- package/lib/generated/classes/basic-authentication-policy.d.ts.map +0 -1
- package/lib/generated/classes/basic-authentication-properties.d.ts +0 -44
- package/lib/generated/classes/basic-authentication-properties.d.ts.map +0 -1
- package/lib/generated/classes/bearer-authentication-policy-configuration.d.ts +0 -44
- package/lib/generated/classes/bearer-authentication-policy-configuration.d.ts.map +0 -1
- package/lib/generated/classes/bearer-authentication-policy.d.ts +0 -39
- package/lib/generated/classes/bearer-authentication-policy.d.ts.map +0 -1
- package/lib/generated/classes/bearer-authentication-properties.d.ts +0 -44
- package/lib/generated/classes/bearer-authentication-properties.d.ts.map +0 -1
- package/lib/generated/classes/call-async-api.d.ts +0 -39
- package/lib/generated/classes/call-async-api.d.ts.map +0 -1
- package/lib/generated/classes/call-function.d.ts +0 -39
- package/lib/generated/classes/call-function.d.ts.map +0 -1
- package/lib/generated/classes/call-grpc.d.ts +0 -39
- package/lib/generated/classes/call-grpc.d.ts.map +0 -1
- package/lib/generated/classes/call-http.d.ts +0 -39
- package/lib/generated/classes/call-http.d.ts.map +0 -1
- package/lib/generated/classes/call-open-api.d.ts +0 -39
- package/lib/generated/classes/call-open-api.d.ts.map +0 -1
- package/lib/generated/classes/call-task.d.ts +0 -39
- package/lib/generated/classes/call-task.d.ts.map +0 -1
- package/lib/generated/classes/catalog.d.ts +0 -39
- package/lib/generated/classes/catalog.d.ts.map +0 -1
- package/lib/generated/classes/catch-errors.d.ts +0 -39
- package/lib/generated/classes/catch-errors.d.ts.map +0 -1
- package/lib/generated/classes/constant-backoff.d.ts +0 -44
- package/lib/generated/classes/constant-backoff.d.ts.map +0 -1
- package/lib/generated/classes/container-environment.d.ts +0 -44
- package/lib/generated/classes/container-environment.d.ts.map +0 -1
- package/lib/generated/classes/container-lifetime.d.ts +0 -39
- package/lib/generated/classes/container-lifetime.d.ts.map +0 -1
- package/lib/generated/classes/container-ports.d.ts +0 -44
- package/lib/generated/classes/container-ports.d.ts.map +0 -1
- package/lib/generated/classes/container-volumes.d.ts +0 -44
- package/lib/generated/classes/container-volumes.d.ts.map +0 -1
- package/lib/generated/classes/container.d.ts +0 -39
- package/lib/generated/classes/container.d.ts.map +0 -1
- package/lib/generated/classes/digest-authentication-policy-configuration.d.ts +0 -44
- package/lib/generated/classes/digest-authentication-policy-configuration.d.ts.map +0 -1
- package/lib/generated/classes/digest-authentication-policy.d.ts +0 -39
- package/lib/generated/classes/digest-authentication-policy.d.ts.map +0 -1
- package/lib/generated/classes/digest-authentication-properties.d.ts +0 -44
- package/lib/generated/classes/digest-authentication-properties.d.ts.map +0 -1
- package/lib/generated/classes/do-task.d.ts +0 -39
- package/lib/generated/classes/do-task.d.ts.map +0 -1
- package/lib/generated/classes/document.d.ts +0 -39
- package/lib/generated/classes/document.d.ts.map +0 -1
- package/lib/generated/classes/duration-inline.d.ts +0 -44
- package/lib/generated/classes/duration-inline.d.ts.map +0 -1
- package/lib/generated/classes/duration.d.ts +0 -44
- package/lib/generated/classes/duration.d.ts.map +0 -1
- package/lib/generated/classes/emit-event-definition.d.ts +0 -39
- package/lib/generated/classes/emit-event-definition.d.ts.map +0 -1
- package/lib/generated/classes/emit-event-with.d.ts +0 -44
- package/lib/generated/classes/emit-event-with.d.ts.map +0 -1
- package/lib/generated/classes/emit-task-configuration.d.ts +0 -39
- package/lib/generated/classes/emit-task-configuration.d.ts.map +0 -1
- package/lib/generated/classes/emit-task.d.ts +0 -39
- package/lib/generated/classes/emit-task.d.ts.map +0 -1
- package/lib/generated/classes/endpoint-configuration.d.ts +0 -39
- package/lib/generated/classes/endpoint-configuration.d.ts.map +0 -1
- package/lib/generated/classes/endpoint-uri.d.ts +0 -44
- package/lib/generated/classes/endpoint-uri.d.ts.map +0 -1
- package/lib/generated/classes/endpoint.d.ts +0 -39
- package/lib/generated/classes/endpoint.d.ts.map +0 -1
- package/lib/generated/classes/error-filter.d.ts +0 -44
- package/lib/generated/classes/error-filter.d.ts.map +0 -1
- package/lib/generated/classes/error-instance.d.ts +0 -44
- package/lib/generated/classes/error-instance.d.ts.map +0 -1
- package/lib/generated/classes/error-type.d.ts +0 -44
- package/lib/generated/classes/error-type.d.ts.map +0 -1
- package/lib/generated/classes/error.d.ts +0 -44
- package/lib/generated/classes/error.d.ts.map +0 -1
- package/lib/generated/classes/event-consumption-strategy.d.ts +0 -39
- package/lib/generated/classes/event-consumption-strategy.d.ts.map +0 -1
- package/lib/generated/classes/event-data.d.ts +0 -44
- package/lib/generated/classes/event-data.d.ts.map +0 -1
- package/lib/generated/classes/event-dataschema.d.ts +0 -44
- package/lib/generated/classes/event-dataschema.d.ts.map +0 -1
- package/lib/generated/classes/event-filter-correlate.d.ts +0 -44
- package/lib/generated/classes/event-filter-correlate.d.ts.map +0 -1
- package/lib/generated/classes/event-filter.d.ts +0 -39
- package/lib/generated/classes/event-filter.d.ts.map +0 -1
- package/lib/generated/classes/event-source.d.ts +0 -44
- package/lib/generated/classes/event-source.d.ts.map +0 -1
- package/lib/generated/classes/event-time.d.ts +0 -44
- package/lib/generated/classes/event-time.d.ts.map +0 -1
- package/lib/generated/classes/exponential-back-off.d.ts +0 -44
- package/lib/generated/classes/exponential-back-off.d.ts.map +0 -1
- package/lib/generated/classes/export-as.d.ts +0 -44
- package/lib/generated/classes/export-as.d.ts.map +0 -1
- package/lib/generated/classes/export.d.ts +0 -39
- package/lib/generated/classes/export.d.ts.map +0 -1
- package/lib/generated/classes/extension-item.d.ts +0 -39
- package/lib/generated/classes/extension-item.d.ts.map +0 -1
- package/lib/generated/classes/extension.d.ts +0 -39
- package/lib/generated/classes/extension.d.ts.map +0 -1
- package/lib/generated/classes/external-resource.d.ts +0 -39
- package/lib/generated/classes/external-resource.d.ts.map +0 -1
- package/lib/generated/classes/external-script.d.ts +0 -39
- package/lib/generated/classes/external-script.d.ts.map +0 -1
- package/lib/generated/classes/flow-directive.d.ts +0 -44
- package/lib/generated/classes/flow-directive.d.ts.map +0 -1
- package/lib/generated/classes/for-task-configuration.d.ts +0 -44
- package/lib/generated/classes/for-task-configuration.d.ts.map +0 -1
- package/lib/generated/classes/for-task.d.ts +0 -39
- package/lib/generated/classes/for-task.d.ts.map +0 -1
- package/lib/generated/classes/fork-task-configuration.d.ts +0 -39
- package/lib/generated/classes/fork-task-configuration.d.ts.map +0 -1
- package/lib/generated/classes/fork-task.d.ts +0 -39
- package/lib/generated/classes/fork-task.d.ts.map +0 -1
- package/lib/generated/classes/function-arguments.d.ts +0 -44
- package/lib/generated/classes/function-arguments.d.ts.map +0 -1
- package/lib/generated/classes/grpc-arguments.d.ts +0 -39
- package/lib/generated/classes/grpc-arguments.d.ts.map +0 -1
- package/lib/generated/classes/http-arguments.d.ts +0 -39
- package/lib/generated/classes/http-arguments.d.ts.map +0 -1
- package/lib/generated/classes/http-body.d.ts +0 -44
- package/lib/generated/classes/http-body.d.ts.map +0 -1
- package/lib/generated/classes/http-headers.d.ts +0 -44
- package/lib/generated/classes/http-headers.d.ts.map +0 -1
- package/lib/generated/classes/http-query.d.ts +0 -44
- package/lib/generated/classes/http-query.d.ts.map +0 -1
- package/lib/generated/classes/index.d.ts +0 -168
- package/lib/generated/classes/index.d.ts.map +0 -1
- package/lib/generated/classes/inline-script.d.ts +0 -44
- package/lib/generated/classes/inline-script.d.ts.map +0 -1
- package/lib/generated/classes/input-from.d.ts +0 -44
- package/lib/generated/classes/input-from.d.ts.map +0 -1
- package/lib/generated/classes/input.d.ts +0 -39
- package/lib/generated/classes/input.d.ts.map +0 -1
- package/lib/generated/classes/linear-backoff.d.ts +0 -44
- package/lib/generated/classes/linear-backoff.d.ts.map +0 -1
- package/lib/generated/classes/listen-task-configuration.d.ts +0 -39
- package/lib/generated/classes/listen-task-configuration.d.ts.map +0 -1
- package/lib/generated/classes/listen-task.d.ts +0 -39
- package/lib/generated/classes/listen-task.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-autenthication-data-audiences.d.ts +0 -43
- package/lib/generated/classes/oauth2-autenthication-data-audiences.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-autenthication-data-client.d.ts +0 -44
- package/lib/generated/classes/oauth2-autenthication-data-client.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-autenthication-data-scopes.d.ts +0 -43
- package/lib/generated/classes/oauth2-autenthication-data-scopes.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-autenthication-data.d.ts +0 -39
- package/lib/generated/classes/oauth2-autenthication-data.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-authentication-policy-configuration.d.ts +0 -39
- package/lib/generated/classes/oauth2-authentication-policy-configuration.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-authentication-policy.d.ts +0 -39
- package/lib/generated/classes/oauth2-authentication-policy.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-authentication-properties-endpoints.d.ts +0 -44
- package/lib/generated/classes/oauth2-authentication-properties-endpoints.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-connect-authentication-properties.d.ts +0 -39
- package/lib/generated/classes/oauth2-connect-authentication-properties.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-issuers.d.ts +0 -43
- package/lib/generated/classes/oauth2-issuers.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-token-definition.d.ts +0 -44
- package/lib/generated/classes/oauth2-token-definition.d.ts.map +0 -1
- package/lib/generated/classes/oauth2-token-request.d.ts +0 -44
- package/lib/generated/classes/oauth2-token-request.d.ts.map +0 -1
- package/lib/generated/classes/one-event-consumption-strategy.d.ts +0 -39
- package/lib/generated/classes/one-event-consumption-strategy.d.ts.map +0 -1
- package/lib/generated/classes/open-api-arguments.d.ts +0 -39
- package/lib/generated/classes/open-api-arguments.d.ts.map +0 -1
- package/lib/generated/classes/open-id-connect-authentication-policy-configuration.d.ts +0 -39
- package/lib/generated/classes/open-id-connect-authentication-policy-configuration.d.ts.map +0 -1
- package/lib/generated/classes/open-id-connect-authentication-policy.d.ts +0 -39
- package/lib/generated/classes/open-id-connect-authentication-policy.d.ts.map +0 -1
- package/lib/generated/classes/open-id-connect-authentication-properties.d.ts +0 -39
- package/lib/generated/classes/open-id-connect-authentication-properties.d.ts.map +0 -1
- package/lib/generated/classes/output-as.d.ts +0 -44
- package/lib/generated/classes/output-as.d.ts.map +0 -1
- package/lib/generated/classes/output.d.ts +0 -39
- package/lib/generated/classes/output.d.ts.map +0 -1
- package/lib/generated/classes/raise-task-configuration.d.ts +0 -39
- package/lib/generated/classes/raise-task-configuration.d.ts.map +0 -1
- package/lib/generated/classes/raise-task-error.d.ts +0 -44
- package/lib/generated/classes/raise-task-error.d.ts.map +0 -1
- package/lib/generated/classes/raise-task.d.ts +0 -39
- package/lib/generated/classes/raise-task.d.ts.map +0 -1
- package/lib/generated/classes/referenceable-authentication-policy.d.ts +0 -39
- package/lib/generated/classes/referenceable-authentication-policy.d.ts.map +0 -1
- package/lib/generated/classes/retry-backoff.d.ts +0 -44
- package/lib/generated/classes/retry-backoff.d.ts.map +0 -1
- package/lib/generated/classes/retry-limit-attempt.d.ts +0 -39
- package/lib/generated/classes/retry-limit-attempt.d.ts.map +0 -1
- package/lib/generated/classes/retry-limit.d.ts +0 -39
- package/lib/generated/classes/retry-limit.d.ts.map +0 -1
- package/lib/generated/classes/retry-policy-jitter.d.ts +0 -39
- package/lib/generated/classes/retry-policy-jitter.d.ts.map +0 -1
- package/lib/generated/classes/retry-policy.d.ts +0 -39
- package/lib/generated/classes/retry-policy.d.ts.map +0 -1
- package/lib/generated/classes/run-container.d.ts +0 -39
- package/lib/generated/classes/run-container.d.ts.map +0 -1
- package/lib/generated/classes/run-script.d.ts +0 -39
- package/lib/generated/classes/run-script.d.ts.map +0 -1
- package/lib/generated/classes/run-shell.d.ts +0 -39
- package/lib/generated/classes/run-shell.d.ts.map +0 -1
- package/lib/generated/classes/run-task-configuration.d.ts +0 -39
- package/lib/generated/classes/run-task-configuration.d.ts.map +0 -1
- package/lib/generated/classes/run-task.d.ts +0 -39
- package/lib/generated/classes/run-task.d.ts.map +0 -1
- package/lib/generated/classes/run-workflow.d.ts +0 -39
- package/lib/generated/classes/run-workflow.d.ts.map +0 -1
- package/lib/generated/classes/runtime-expression.d.ts +0 -44
- package/lib/generated/classes/runtime-expression.d.ts.map +0 -1
- package/lib/generated/classes/schedule.d.ts +0 -39
- package/lib/generated/classes/schedule.d.ts.map +0 -1
- package/lib/generated/classes/schema-external.d.ts +0 -39
- package/lib/generated/classes/schema-external.d.ts.map +0 -1
- package/lib/generated/classes/schema-inline.d.ts +0 -44
- package/lib/generated/classes/schema-inline.d.ts.map +0 -1
- package/lib/generated/classes/schema.d.ts +0 -39
- package/lib/generated/classes/schema.d.ts.map +0 -1
- package/lib/generated/classes/script.d.ts +0 -39
- package/lib/generated/classes/script.d.ts.map +0 -1
- package/lib/generated/classes/secret-based-authentication-policy.d.ts +0 -44
- package/lib/generated/classes/secret-based-authentication-policy.d.ts.map +0 -1
- package/lib/generated/classes/set-task-configuration.d.ts +0 -44
- package/lib/generated/classes/set-task-configuration.d.ts.map +0 -1
- package/lib/generated/classes/set-task.d.ts +0 -39
- package/lib/generated/classes/set-task.d.ts.map +0 -1
- package/lib/generated/classes/shell-arguments.d.ts +0 -44
- package/lib/generated/classes/shell-arguments.d.ts.map +0 -1
- package/lib/generated/classes/shell-environment.d.ts +0 -44
- package/lib/generated/classes/shell-environment.d.ts.map +0 -1
- package/lib/generated/classes/shell.d.ts +0 -39
- package/lib/generated/classes/shell.d.ts.map +0 -1
- package/lib/generated/classes/subflow-configuration.d.ts +0 -39
- package/lib/generated/classes/subflow-configuration.d.ts.map +0 -1
- package/lib/generated/classes/subflow-input.d.ts +0 -44
- package/lib/generated/classes/subflow-input.d.ts.map +0 -1
- package/lib/generated/classes/subscription-iterator.d.ts +0 -39
- package/lib/generated/classes/subscription-iterator.d.ts.map +0 -1
- package/lib/generated/classes/switch-case.d.ts +0 -44
- package/lib/generated/classes/switch-case.d.ts.map +0 -1
- package/lib/generated/classes/switch-item.d.ts +0 -39
- package/lib/generated/classes/switch-item.d.ts.map +0 -1
- package/lib/generated/classes/switch-task-configuration.d.ts +0 -38
- package/lib/generated/classes/switch-task-configuration.d.ts.map +0 -1
- package/lib/generated/classes/switch-task.d.ts +0 -39
- package/lib/generated/classes/switch-task.d.ts.map +0 -1
- package/lib/generated/classes/task-base-if.d.ts +0 -44
- package/lib/generated/classes/task-base-if.d.ts.map +0 -1
- package/lib/generated/classes/task-base.d.ts +0 -39
- package/lib/generated/classes/task-base.d.ts.map +0 -1
- package/lib/generated/classes/task-item.d.ts +0 -39
- package/lib/generated/classes/task-item.d.ts.map +0 -1
- package/lib/generated/classes/task-list.d.ts +0 -38
- package/lib/generated/classes/task-list.d.ts.map +0 -1
- package/lib/generated/classes/task-metadata.d.ts +0 -44
- package/lib/generated/classes/task-metadata.d.ts.map +0 -1
- package/lib/generated/classes/task-timeout.d.ts +0 -39
- package/lib/generated/classes/task-timeout.d.ts.map +0 -1
- package/lib/generated/classes/task.d.ts +0 -39
- package/lib/generated/classes/task.d.ts.map +0 -1
- package/lib/generated/classes/timeout.d.ts +0 -39
- package/lib/generated/classes/timeout.d.ts.map +0 -1
- package/lib/generated/classes/try-task-catch-retry.d.ts +0 -39
- package/lib/generated/classes/try-task-catch-retry.d.ts.map +0 -1
- package/lib/generated/classes/try-task-catch.d.ts +0 -39
- package/lib/generated/classes/try-task-catch.d.ts.map +0 -1
- package/lib/generated/classes/try-task.d.ts +0 -39
- package/lib/generated/classes/try-task.d.ts.map +0 -1
- package/lib/generated/classes/uri-template.d.ts +0 -44
- package/lib/generated/classes/uri-template.d.ts.map +0 -1
- package/lib/generated/classes/use-authentications.d.ts +0 -39
- package/lib/generated/classes/use-authentications.d.ts.map +0 -1
- package/lib/generated/classes/use-catalogs.d.ts +0 -39
- package/lib/generated/classes/use-catalogs.d.ts.map +0 -1
- package/lib/generated/classes/use-errors.d.ts +0 -39
- package/lib/generated/classes/use-errors.d.ts.map +0 -1
- package/lib/generated/classes/use-extensions.d.ts +0 -38
- package/lib/generated/classes/use-extensions.d.ts.map +0 -1
- package/lib/generated/classes/use-functions.d.ts +0 -39
- package/lib/generated/classes/use-functions.d.ts.map +0 -1
- package/lib/generated/classes/use-retries.d.ts +0 -39
- package/lib/generated/classes/use-retries.d.ts.map +0 -1
- package/lib/generated/classes/use-secrets.d.ts +0 -43
- package/lib/generated/classes/use-secrets.d.ts.map +0 -1
- package/lib/generated/classes/use-timeouts.d.ts +0 -39
- package/lib/generated/classes/use-timeouts.d.ts.map +0 -1
- package/lib/generated/classes/use.d.ts +0 -39
- package/lib/generated/classes/use.d.ts.map +0 -1
- package/lib/generated/classes/wait-task.d.ts +0 -39
- package/lib/generated/classes/wait-task.d.ts.map +0 -1
- package/lib/generated/classes/with-event.d.ts +0 -44
- package/lib/generated/classes/with-event.d.ts.map +0 -1
- package/lib/generated/classes/with-grpc-arguments.d.ts +0 -44
- package/lib/generated/classes/with-grpc-arguments.d.ts.map +0 -1
- package/lib/generated/classes/with-grpc-service.d.ts +0 -39
- package/lib/generated/classes/with-grpc-service.d.ts.map +0 -1
- package/lib/generated/classes/with-open-api-parameters.d.ts +0 -44
- package/lib/generated/classes/with-open-api-parameters.d.ts.map +0 -1
- package/lib/generated/classes/workflow-metadata.d.ts +0 -44
- package/lib/generated/classes/workflow-metadata.d.ts.map +0 -1
- package/lib/generated/classes/workflow-tags.d.ts +0 -44
- package/lib/generated/classes/workflow-tags.d.ts.map +0 -1
- package/lib/generated/classes/workflow-timeout.d.ts +0 -39
- package/lib/generated/classes/workflow-timeout.d.ts.map +0 -1
- package/lib/generated/classes/workflow.d.ts +0 -88
- package/lib/generated/classes/workflow.d.ts.map +0 -1
- package/lib/generated/definitions/index.d.ts +0 -2
- package/lib/generated/definitions/index.d.ts.map +0 -1
- package/lib/generated/definitions/specification.d.ts +0 -1318
- package/lib/generated/definitions/specification.d.ts.map +0 -1
- package/lib/generated/validation/index.d.ts +0 -2
- package/lib/generated/validation/index.d.ts.map +0 -1
- package/lib/generated/validation/validation-pointers.d.ts +0 -171
- package/lib/generated/validation/validation-pointers.d.ts.map +0 -1
- package/lib/graph-builder.d.ts +0 -74
- package/lib/graph-builder.d.ts.map +0 -1
- package/lib/hooks/index.d.ts +0 -2
- package/lib/hooks/index.d.ts.map +0 -1
- package/lib/hooks/workflow-hooks.d.ts +0 -4
- package/lib/hooks/workflow-hooks.d.ts.map +0 -1
- package/lib/hydrator.d.ts +0 -13
- package/lib/hydrator.d.ts.map +0 -1
- package/lib/lifecycle-hooks.d.ts +0 -42
- package/lib/lifecycle-hooks.d.ts.map +0 -1
- package/lib/mermaid-converter.d.ts +0 -21
- package/lib/mermaid-converter.d.ts.map +0 -1
- package/lib/utils.d.ts +0 -19
- package/lib/utils.d.ts.map +0 -1
- package/lib/validation.d.ts +0 -10
- package/lib/validation.d.ts.map +0 -1
- package/serverless-workflow-sdk.d.ts +0 -7
- package/serverless-workflow-sdk.d.ts.map +0 -1
- package/systemjs/index.systemjs.js +0 -31301
- package/systemjs/index.systemjs.js.map +0 -1
- package/systemjs/index.systemjs.min.js +0 -10
- package/systemjs/index.systemjs.min.js.map +0 -1
- package/umd/index.umd.js +0 -31463
- package/umd/index.umd.js.map +0 -1
- package/umd/index.umd.min.js +0 -10
- package/umd/index.umd.min.js.map +0 -1
package/index.umd.min.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.serverWorkflowSdk={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},u=(e,r,i)=>(i=e==null?{}:t(a(e)),l(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e));function d(e,t){return t.validate??=!0,t.normalize??=!0,e}function f(e={},t=d){let n=new Proxy({},{get:(r,i)=>i===`build`?n=>(n||={},n.validate??=!0,n.normalize??=!0,t(e,n)):t=>(e[i.toString()]=t,n),set:()=>!1});return n}function p(e=[],t=d){if(e!=null&&!Array.isArray(e))throw Error(`The provided model should be an array`);let n=new Proxy({},{get:(r,i)=>{if(i===`build`)return n=>(n||={},n.validate??=!0,n.normalize??=!0,t(e,n));if(i===`push`)return t=>(e.push(t),n)},set:()=>!1});return n}let m=e=>e?typeof e==`object`&&!Array.isArray(e):!1,h=e=>JSON.parse(JSON.stringify(e));var g=class{constructor(e){m(e)&&Object.assign(this,h(e))}},_=class extends Array{constructor(e){if(!isNaN(e))super(e);else if(super(...e||[]),e||=[],!Array.isArray(e))throw Error(`The provided model should be an array`)}},v=`1.0.3`;let y={preValidation(e){if(e?.document?.dsl!==v)throw Error(`'Workflow' is invalid - The DSL version of the workflow '${e?.document?.dsl}' doesn't match the supported version of the SDK '${v}'.`)}},b=new Map,x=(e,t)=>{b.set(e,t)},S=e=>b.get(e);x(`Workflow`,y);var ee=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;var t=class{};e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var n=class extends t{constructor(t){if(super(),!e.IDENTIFIER.test(t))throw Error(`CodeGen: name must be a valid identifier`);this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};e.Name=n;var r=class extends t{constructor(e){super(),this._items=typeof e==`string`?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===``||e===`""`}get str(){return this._str??=this._items.reduce((e,t)=>`${e}${t}`,``)}get names(){return this._names??=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}};e._Code=r,e.nil=new r(``);function i(e,...t){let n=[e[0]],i=0;for(;i<t.length;)s(n,t[i]),n.push(e[++i]);return new r(n)}e._=i;let a=new r(`+`);function o(e,...t){let n=[p(e[0])],i=0;for(;i<t.length;)n.push(a),s(n,t[i]),n.push(a,p(e[++i]));return c(n),new r(n)}e.str=o;function s(e,t){t instanceof r?e.push(...t._items):t instanceof n?e.push(t):e.push(d(t))}e.addCodeArg=s;function c(e){let t=1;for(;t<e.length-1;){if(e[t]===a){let n=l(e[t-1],e[t+1]);if(n!==void 0){e.splice(t-1,3,n);continue}e[t++]=`+`}t++}}function l(e,t){if(t===`""`)return e;if(e===`""`)return t;if(typeof e==`string`)return t instanceof n||e[e.length-1]!==`"`?void 0:typeof t==`string`?t[0]===`"`?e.slice(0,-1)+t.slice(1):void 0:`${e.slice(0,-1)}${t}"`;if(typeof t==`string`&&t[0]===`"`&&!(e instanceof n))return`"${e}${t.slice(1)}`}function u(e,t){return t.emptyStr()?e:e.emptyStr()?t:o`${e}${t}`}e.strConcat=u;function d(e){return typeof e==`number`||typeof e==`boolean`||e===null?e:p(Array.isArray(e)?e.join(`,`):e)}function f(e){return new r(p(e))}e.stringify=f;function p(e){return JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}e.safeStringify=p;function m(t){return typeof t==`string`&&e.IDENTIFIER.test(t)?new r(`.${t}`):i`[${t}]`}e.getProperty=m;function h(t){if(typeof t==`string`&&e.IDENTIFIER.test(t))return new r(`${t}`);throw Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}e.getEsmExportName=h;function g(e){return new r(e.toString())}e.regexpCode=g})),te=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;let t=ee();var n=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},r;(function(e){e[e.Started=0]=`Started`,e[e.Completed=1]=`Completed`})(r||(e.UsedValueState=r={})),e.varKinds={const:new t.Name(`const`),let:new t.Name(`let`),var:new t.Name(`var`)};var i=class{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof t.Name?e:this.name(e)}name(e){return new t.Name(this._newName(e))}_newName(e){let t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){if((this._parent?._prefixes)?.has(e)||this._prefixes&&!this._prefixes.has(e))throw Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};e.Scope=i;var a=class extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:n,itemIndex:r}){this.value=e,this.scopePath=(0,t._)`.${new t.Name(n)}[${r}]`}};e.ValueScopeName=a;let o=(0,t._)`\n`;e.ValueScope=class extends i{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?o:t.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){if(t.ref===void 0)throw Error(`CodeGen: ref must be passed in value`);let n=this.toName(e),{prefix:r}=n,i=t.key??t.ref,a=this._values[r];if(a){let e=a.get(i);if(e)return e}else a=this._values[r]=new Map;a.set(i,n);let o=this._scope[r]||(this._scope[r]=[]),s=o.length;return o[s]=t.ref,n.setValue(t,{property:r,itemIndex:s}),n}getValue(e,t){let n=this._values[e];if(n)return n.get(t)}scopeRefs(e,n=this._values){return this._reduceValues(n,n=>{if(n.scopePath===void 0)throw Error(`CodeGen: name "${n}" has no value`);return(0,t._)`${e}${n.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,e=>{if(e.value===void 0)throw Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,n)}_reduceValues(i,a,o={},s){let c=t.nil;for(let l in i){let u=i[l];if(!u)continue;let d=o[l]=o[l]||new Map;u.forEach(i=>{if(d.has(i))return;d.set(i,r.Started);let o=a(i);if(o){let n=this.opts.es5?e.varKinds.var:e.varKinds.const;c=(0,t._)`${c}${n} ${i} = ${o};${this.opts._n}`}else if(o=s?.(i))c=(0,t._)`${c}${o}${this.opts._n}`;else throw new n(i);d.set(i,r.Completed)})}return c}}})),C=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;let t=ee(),n=te();var r=ee();Object.defineProperty(e,`_`,{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,`str`,{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,`strConcat`,{enumerable:!0,get:function(){return r.strConcat}}),Object.defineProperty(e,`nil`,{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,`getProperty`,{enumerable:!0,get:function(){return r.getProperty}}),Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,`regexpCode`,{enumerable:!0,get:function(){return r.regexpCode}}),Object.defineProperty(e,`Name`,{enumerable:!0,get:function(){return r.Name}});var i=te();Object.defineProperty(e,`Scope`,{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,`ValueScope`,{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,`ValueScopeName`,{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,`varKinds`,{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(`>`),GTE:new t._Code(`>=`),LT:new t._Code(`<`),LTE:new t._Code(`<=`),EQ:new t._Code(`===`),NEQ:new t._Code(`!==`),NOT:new t._Code(`!`),OR:new t._Code(`||`),AND:new t._Code(`&&`),ADD:new t._Code(`+`)};var a=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},o=class extends a{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let r=e?n.varKinds.var:this.varKind,i=this.rhs===void 0?``:` = ${this.rhs}`;return`${r} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&=D(this.rhs,e,t),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}},s=class extends a{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,n){if(!(this.lhs instanceof t.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=D(this.rhs,e,n),this}get names(){return re(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}},c=class extends s{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},l=class extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},u=class extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:``};`+e}},d=class extends a{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},f=class extends a{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=D(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}},p=class extends a{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),``)}optimizeNodes(){let{nodes:e}=this,t=e.length;for(;t--;){let n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){let{nodes:n}=this,r=n.length;for(;r--;){let i=n[r];i.optimizeNames(e,t)||(ie(e,i.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>E(e,t.names),{})}},m=class extends p{render(e){return`{`+e._n+super.render(e)+`}`+e._n}},h=class extends p{},g=class extends m{};g.kind=`else`;var _=class e extends m{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+=`else `+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let n=this.else;if(n){let e=n.optimizeNodes();n=this.else=Array.isArray(e)?new g(e):e}if(n)return t===!1?n instanceof e?n:n.nodes:this.nodes.length?this:new e(ae(t),n instanceof e?[n]:n.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(e,t){if(this.else=this.else?.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=D(this.condition,e,t),this}get names(){let e=super.names;return re(e,this.condition),this.else&&E(e,this.else.names),e}};_.kind=`if`;var v=class extends m{};v.kind=`for`;var y=class extends v{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=D(this.iteration,e,t),this}get names(){return E(super.names,this.iteration.names)}},b=class extends v{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){let t=e.es5?n.varKinds.var:this.varKind,{name:r,from:i,to:a}=this;return`for(${t} ${r}=${i}; ${r}<${a}; ${r}++)`+super.render(e)}get names(){return re(re(super.names,this.from),this.to)}},x=class extends v{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=D(this.iterable,e,t),this}get names(){return E(super.names,this.iterable.names)}},S=class extends m{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?`async `:``}function ${this.name}(${this.args})`+super.render(e)}};S.kind=`func`;var C=class extends p{render(e){return`return `+super.render(e)}};C.kind=`return`;var w=class extends m{render(e){let t=`try`+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),(e=this.catch)==null||e.optimizeNodes(),(t=this.finally)==null||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),(n=this.catch)==null||n.optimizeNames(e,t),(r=this.finally)==null||r.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&E(e,this.catch.names),this.finally&&E(e,this.finally.names),e}},T=class extends m{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};T.kind=`catch`;var ne=class extends m{render(e){return`finally`+super.render(e)}};ne.kind=`finally`,e.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?`
|
|
2
|
+
`:``},this._extScope=e,this._scope=new n.Scope({parent:e}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){let n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){let i=this._scope.toName(t);return n!==void 0&&r&&(this._constants[i.str]=n),this._leafNode(new o(e,i,n)),i}const(e,t,r){return this._def(n.varKinds.const,e,t,r)}let(e,t,r){return this._def(n.varKinds.let,e,t,r)}var(e,t,r){return this._def(n.varKinds.var,e,t,r)}assign(e,t,n){return this._leafNode(new s(e,t,n))}add(t,n){return this._leafNode(new c(t,e.operators.ADD,n))}code(e){return typeof e==`function`?e():e!==t.nil&&this._leafNode(new f(e)),this}object(...e){let n=[`{`];for(let[r,i]of e)n.length>1&&n.push(`,`),n.push(r),(r!==i||this.opts.es5)&&(n.push(`:`),(0,t.addCodeArg)(n,i));return n.push(`}`),new t._Code(n)}if(e,t,n){if(this._blockNode(new _(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw Error(`CodeGen: "else" body without "then" body`);return this}elseIf(e){return this._elseNode(new _(e))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(_,g)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new y(e),t)}forRange(e,t,r,i,a=this.opts.es5?n.varKinds.var:n.varKinds.let){let o=this._scope.toName(e);return this._for(new b(a,o,t,r),()=>i(o))}forOf(e,r,i,a=n.varKinds.const){let o=this._scope.toName(e);if(this.opts.es5){let e=r instanceof t.Name?r:this.var(`_arr`,r);return this.forRange(`_i`,0,(0,t._)`${e}.length`,n=>{this.var(o,(0,t._)`${e}[${n}]`),i(o)})}return this._for(new x(`of`,a,o,r),()=>i(o))}forIn(e,r,i,a=this.opts.es5?n.varKinds.var:n.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,t._)`Object.keys(${r})`,i);let o=this._scope.toName(e);return this._for(new x(`in`,a,o,r),()=>i(o))}endFor(){return this._endBlockNode(v)}label(e){return this._leafNode(new l(e))}break(e){return this._leafNode(new u(e))}return(e){let t=new C;if(this._blockNode(t),this.code(e),t.nodes.length!==1)throw Error(`CodeGen: "return" should have one node`);return this._endBlockNode(C)}try(e,t,n){if(!t&&!n)throw Error(`CodeGen: "try" without "catch" and "finally"`);let r=new w;if(this._blockNode(r),this.code(e),t){let e=this.name(`e`);this._currNode=r.catch=new T(e),t(e)}return n&&(this._currNode=r.finally=new ne,this.code(n)),this._endBlockNode(T,ne)}throw(e){return this._leafNode(new d(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){let t=this._blockStarts.pop();if(t===void 0)throw Error(`CodeGen: not in self-balancing block`);let n=this._nodes.length-t;if(n<0||e!==void 0&&n!==e)throw Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,n=t.nil,r,i){return this._blockNode(new S(e,n,r)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){let n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){let t=this._currNode;if(!(t instanceof _))throw Error(`CodeGen: "else" without "if"`);return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let t=this._nodes;t[t.length-1]=e}};function E(e,t){for(let n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function re(e,n){return n instanceof t._CodeOrName?E(e,n.names):e}function D(e,n,r){if(e instanceof t.Name)return i(e);if(!a(e))return e;return new t._Code(e._items.reduce((e,n)=>(n instanceof t.Name&&(n=i(n)),n instanceof t._Code?e.push(...n._items):e.push(n),e),[]));function i(e){let t=r[e.str];return t===void 0||n[e.str]!==1?e:(delete n[e.str],t)}function a(e){return e instanceof t._Code&&e._items.some(e=>e instanceof t.Name&&n[e.str]===1&&r[e.str]!==void 0)}}function ie(e,t){for(let n in t)e[n]=(e[n]||0)-(t[n]||0)}function ae(e){return typeof e==`boolean`||typeof e==`number`||e===null?!e:(0,t._)`!${ue(e)}`}e.not=ae;let O=le(e.operators.AND);function oe(...e){return e.reduce(O)}e.and=oe;let se=le(e.operators.OR);function ce(...e){return e.reduce(se)}e.or=ce;function le(e){return(n,r)=>n===t.nil?r:r===t.nil?n:(0,t._)`${ue(n)} ${e} ${ue(r)}`}function ue(e){return e instanceof t.Name?e:(0,t._)`(${e})`}})),w=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;let t=C(),n=ee();function r(e){let t={};for(let n of e)t[n]=!0;return t}e.toHash=r;function i(e,t){return typeof t==`boolean`?t:Object.keys(t).length===0?!0:(a(e,t),!o(t,e.self.RULES.all))}e.alwaysValidSchema=i;function a(e,t=e.schema){let{opts:n,self:r}=e;if(!n.strictSchema||typeof t==`boolean`)return;let i=r.RULES.keywords;for(let n in t)i[n]||x(e,`unknown keyword: "${n}"`)}e.checkUnknownRules=a;function o(e,t){if(typeof e==`boolean`)return!e;for(let n in e)if(t[n])return!0;return!1}e.schemaHasRules=o;function s(e,t){if(typeof e==`boolean`)return!e;for(let n in e)if(n!==`$ref`&&t.all[n])return!0;return!1}e.schemaHasRulesButRef=s;function c({topSchemaRef:e,schemaPath:n},r,i,a){if(!a){if(typeof r==`number`||typeof r==`boolean`)return r;if(typeof r==`string`)return(0,t._)`${r}`}return(0,t._)`${e}${n}${(0,t.getProperty)(i)}`}e.schemaRefOrVal=c;function l(e){return f(decodeURIComponent(e))}e.unescapeFragment=l;function u(e){return encodeURIComponent(d(e))}e.escapeFragment=u;function d(e){return typeof e==`number`?`${e}`:e.replace(/~/g,`~0`).replace(/\//g,`~1`)}e.escapeJsonPointer=d;function f(e){return e.replace(/~1/g,`/`).replace(/~0/g,`~`)}e.unescapeJsonPointer=f;function p(e,t){if(Array.isArray(e))for(let n of e)t(n);else t(e)}e.eachItem=p;function m({mergeNames:e,mergeToName:n,mergeValues:r,resultToName:i}){return(a,o,s,c)=>{let l=s===void 0?o:s instanceof t.Name?(o instanceof t.Name?e(a,o,s):n(a,o,s),s):o instanceof t.Name?(n(a,s,o),o):r(o,s);return c===t.Name&&!(l instanceof t.Name)?i(a,l):l}}e.mergeEvaluated={props:m({mergeNames:(e,n,r)=>e.if((0,t._)`${r} !== true && ${n} !== undefined`,()=>{e.if((0,t._)`${n} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,t._)`${r} || {}`).code((0,t._)`Object.assign(${r}, ${n})`))}),mergeToName:(e,n,r)=>e.if((0,t._)`${r} !== true`,()=>{n===!0?e.assign(r,!0):(e.assign(r,(0,t._)`${r} || {}`),g(e,r,n))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:h}),items:m({mergeNames:(e,n,r)=>e.if((0,t._)`${r} !== true && ${n} !== undefined`,()=>e.assign(r,(0,t._)`${n} === true ? true : ${r} > ${n} ? ${r} : ${n}`)),mergeToName:(e,n,r)=>e.if((0,t._)`${r} !== true`,()=>e.assign(r,n===!0?!0:(0,t._)`${r} > ${n} ? ${r} : ${n}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var(`items`,t)})};function h(e,n){if(n===!0)return e.var(`props`,!0);let r=e.var(`props`,(0,t._)`{}`);return n!==void 0&&g(e,r,n),r}e.evaluatedPropsToName=h;function g(e,n,r){Object.keys(r).forEach(r=>e.assign((0,t._)`${n}${(0,t.getProperty)(r)}`,!0))}e.setEvaluated=g;let _={};function v(e,t){return e.scopeValue(`func`,{ref:t,code:_[t.code]||(_[t.code]=new n._Code(t.code))})}e.useFunc=v;var y;(function(e){e[e.Num=0]=`Num`,e[e.Str=1]=`Str`})(y||(e.Type=y={}));function b(e,n,r){if(e instanceof t.Name){let i=n===y.Num;return r?i?(0,t._)`"[" + ${e} + "]"`:(0,t._)`"['" + ${e} + "']"`:i?(0,t._)`"/" + ${e}`:(0,t._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,t.getProperty)(e).toString():`/`+d(e)}e.getErrorPath=b;function x(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,n===!0)throw Error(t);e.self.logger.warn(t)}}e.checkStrictMode=x})),T=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C();e.default={data:new t.Name(`data`),valCxt:new t.Name(`valCxt`),instancePath:new t.Name(`instancePath`),parentData:new t.Name(`parentData`),parentDataProperty:new t.Name(`parentDataProperty`),rootData:new t.Name(`rootData`),dynamicAnchors:new t.Name(`dynamicAnchors`),vErrors:new t.Name(`vErrors`),errors:new t.Name(`errors`),this:new t.Name(`this`),self:new t.Name(`self`),scope:new t.Name(`scope`),json:new t.Name(`json`),jsonPos:new t.Name(`jsonPos`),jsonLen:new t.Name(`jsonLen`),jsonPart:new t.Name(`jsonPart`)}})),ne=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;let t=C(),n=w(),r=T();e.keywordError={message:({keyword:e})=>(0,t.str)`must pass "${e}" keyword validation`},e.keyword$DataError={message:({keyword:e,schemaType:n})=>n?(0,t.str)`"${e}" keyword must be ${n} ($data)`:(0,t.str)`"${e}" keyword is invalid ($data)`};function i(n,r=e.keywordError,i,a){let{it:o}=n,{gen:s,compositeRule:u,allErrors:f}=o,p=d(n,r,i);a??(u||f)?c(s,p):l(o,(0,t._)`[${p}]`)}e.reportError=i;function a(t,n=e.keywordError,i){let{it:a}=t,{gen:o,compositeRule:s,allErrors:u}=a;c(o,d(t,n,i)),s||u||l(a,r.default.vErrors)}e.reportExtraError=a;function o(e,n){e.assign(r.default.errors,n),e.if((0,t._)`${r.default.vErrors} !== null`,()=>e.if(n,()=>e.assign((0,t._)`${r.default.vErrors}.length`,n),()=>e.assign(r.default.vErrors,null)))}e.resetErrorsCount=o;function s({gen:e,keyword:n,schemaValue:i,data:a,errsCount:o,it:s}){if(o===void 0)throw Error(`ajv implementation error`);let c=e.name(`err`);e.forRange(`i`,o,r.default.errors,o=>{e.const(c,(0,t._)`${r.default.vErrors}[${o}]`),e.if((0,t._)`${c}.instancePath === undefined`,()=>e.assign((0,t._)`${c}.instancePath`,(0,t.strConcat)(r.default.instancePath,s.errorPath))),e.assign((0,t._)`${c}.schemaPath`,(0,t.str)`${s.errSchemaPath}/${n}`),s.opts.verbose&&(e.assign((0,t._)`${c}.schema`,i),e.assign((0,t._)`${c}.data`,a))})}e.extendErrors=s;function c(e,n){let i=e.const(`err`,n);e.if((0,t._)`${r.default.vErrors} === null`,()=>e.assign(r.default.vErrors,(0,t._)`[${i}]`),(0,t._)`${r.default.vErrors}.push(${i})`),e.code((0,t._)`${r.default.errors}++`)}function l(e,n){let{gen:r,validateName:i,schemaEnv:a}=e;a.$async?r.throw((0,t._)`new ${e.ValidationError}(${n})`):(r.assign((0,t._)`${i}.errors`,n),r.return(!1))}let u={keyword:new t.Name(`keyword`),schemaPath:new t.Name(`schemaPath`),params:new t.Name(`params`),propertyName:new t.Name(`propertyName`),message:new t.Name(`message`),schema:new t.Name(`schema`),parentSchema:new t.Name(`parentSchema`)};function d(e,n,r){let{createErrors:i}=e.it;return i===!1?(0,t._)`{}`:f(e,n,r)}function f(e,t,n={}){let{gen:r,it:i}=e,a=[p(i,n),m(e,n)];return h(e,t,a),r.object(...a)}function p({errorPath:e},{instancePath:i}){let a=i?(0,t.str)`${e}${(0,n.getErrorPath)(i,n.Type.Str)}`:e;return[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,a)]}function m({keyword:e,it:{errSchemaPath:r}},{schemaPath:i,parentSchema:a}){let o=a?r:(0,t.str)`${r}/${e}`;return i&&(o=(0,t.str)`${o}${(0,n.getErrorPath)(i,n.Type.Str)}`),[u.schemaPath,o]}function h(e,{params:n,message:i},a){let{keyword:o,data:s,schemaValue:c,it:l}=e,{opts:d,propertyName:f,topSchemaRef:p,schemaPath:m}=l;a.push([u.keyword,o],[u.params,typeof n==`function`?n(e):n||(0,t._)`{}`]),d.messages&&a.push([u.message,typeof i==`function`?i(e):i]),d.verbose&&a.push([u.schema,c],[u.parentSchema,(0,t._)`${p}${m}`],[r.default.data,s]),f&&a.push([u.propertyName,f])}})),E=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.boolOrEmptySchema=e.topBoolOrEmptySchema=void 0;let t=ne(),n=C(),r=T(),i={message:`boolean schema is false`};function a(e){let{gen:t,schema:i,validateName:a}=e;i===!1?s(e,!1):typeof i==`object`&&i.$async===!0?t.return(r.default.data):(t.assign((0,n._)`${a}.errors`,null),t.return(!0))}e.topBoolOrEmptySchema=a;function o(e,t){let{gen:n,schema:r}=e;r===!1?(n.var(t,!1),s(e)):n.var(t,!0)}e.boolOrEmptySchema=o;function s(e,n){let{gen:r,data:a}=e,o={gen:r,keyword:`false schema`,data:a,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,t.reportError)(o,i,void 0,n)}})),re=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getRules=e.isJSONType=void 0;let t=new Set([`string`,`number`,`integer`,`boolean`,`null`,`object`,`array`]);function n(e){return typeof e==`string`&&t.has(e)}e.isJSONType=n;function r(){let e={number:{type:`number`,rules:[]},string:{type:`string`,rules:[]},array:{type:`array`,rules:[]},object:{type:`object`,rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}e.getRules=r})),D=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.shouldUseRule=e.shouldUseGroup=e.schemaHasRulesForType=void 0;function t({schema:e,self:t},r){let i=t.RULES.types[r];return i&&i!==!0&&n(e,i)}e.schemaHasRulesForType=t;function n(e,t){return t.rules.some(t=>r(e,t))}e.shouldUseGroup=n;function r(e,t){return e[t.keyword]!==void 0||t.definition.implements?.some(t=>e[t]!==void 0)}e.shouldUseRule=r})),ie=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;let t=re(),n=D(),r=ne(),i=C(),a=w();var o;(function(e){e[e.Correct=0]=`Correct`,e[e.Wrong=1]=`Wrong`})(o||(e.DataType=o={}));function s(e){let t=c(e.type);if(t.includes(`null`)){if(e.nullable===!1)throw Error(`type: null contradicts nullable: false`)}else{if(!t.length&&e.nullable!==void 0)throw Error(`"nullable" cannot be used without "type"`);e.nullable===!0&&t.push(`null`)}return t}e.getSchemaTypes=s;function c(e){let n=Array.isArray(e)?e:e?[e]:[];if(n.every(t.isJSONType))return n;throw Error(`type must be JSONType or JSONType[]: `+n.join(`,`))}e.getJSONTypes=c;function l(e,t){let{gen:r,data:i,opts:a}=e,s=d(t,a.coerceTypes),c=t.length>0&&!(s.length===0&&t.length===1&&(0,n.schemaHasRulesForType)(e,t[0]));if(c){let n=h(t,i,a.strictNumbers,o.Wrong);r.if(n,()=>{s.length?f(e,t,s):_(e)})}return c}e.coerceAndCheckDataType=l;let u=new Set([`string`,`number`,`integer`,`boolean`,`null`]);function d(e,t){return t?e.filter(e=>u.has(e)||t===`array`&&e===`array`):[]}function f(e,t,n){let{gen:r,data:a,opts:o}=e,s=r.let(`dataType`,(0,i._)`typeof ${a}`),c=r.let(`coerced`,(0,i._)`undefined`);o.coerceTypes===`array`&&r.if((0,i._)`${s} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,()=>r.assign(a,(0,i._)`${a}[0]`).assign(s,(0,i._)`typeof ${a}`).if(h(t,a,o.strictNumbers),()=>r.assign(c,a))),r.if((0,i._)`${c} !== undefined`);for(let e of n)(u.has(e)||e===`array`&&o.coerceTypes===`array`)&&l(e);r.else(),_(e),r.endIf(),r.if((0,i._)`${c} !== undefined`,()=>{r.assign(a,c),p(e,c)});function l(e){switch(e){case`string`:r.elseIf((0,i._)`${s} == "number" || ${s} == "boolean"`).assign(c,(0,i._)`"" + ${a}`).elseIf((0,i._)`${a} === null`).assign(c,(0,i._)`""`);return;case`number`:r.elseIf((0,i._)`${s} == "boolean" || ${a} === null
|
|
3
|
+
|| (${s} == "string" && ${a} && ${a} == +${a})`).assign(c,(0,i._)`+${a}`);return;case`integer`:r.elseIf((0,i._)`${s} === "boolean" || ${a} === null
|
|
4
|
+
|| (${s} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(c,(0,i._)`+${a}`);return;case`boolean`:r.elseIf((0,i._)`${a} === "false" || ${a} === 0 || ${a} === null`).assign(c,!1).elseIf((0,i._)`${a} === "true" || ${a} === 1`).assign(c,!0);return;case`null`:r.elseIf((0,i._)`${a} === "" || ${a} === 0 || ${a} === false`),r.assign(c,null);return;case`array`:r.elseIf((0,i._)`${s} === "string" || ${s} === "number"
|
|
5
|
+
|| ${s} === "boolean" || ${a} === null`).assign(c,(0,i._)`[${a}]`)}}}function p({gen:e,parentData:t,parentDataProperty:n},r){e.if((0,i._)`${t} !== undefined`,()=>e.assign((0,i._)`${t}[${n}]`,r))}function m(e,t,n,r=o.Correct){let a=r===o.Correct?i.operators.EQ:i.operators.NEQ,s;switch(e){case`null`:return(0,i._)`${t} ${a} null`;case`array`:s=(0,i._)`Array.isArray(${t})`;break;case`object`:s=(0,i._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case`integer`:s=c((0,i._)`!(${t} % 1) && !isNaN(${t})`);break;case`number`:s=c();break;default:return(0,i._)`typeof ${t} ${a} ${e}`}return r===o.Correct?s:(0,i.not)(s);function c(e=i.nil){return(0,i.and)((0,i._)`typeof ${t} == "number"`,e,n?(0,i._)`isFinite(${t})`:i.nil)}}e.checkDataType=m;function h(e,t,n,r){if(e.length===1)return m(e[0],t,n,r);let o,s=(0,a.toHash)(e);if(s.array&&s.object){let e=(0,i._)`typeof ${t} != "object"`;o=s.null?e:(0,i._)`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else o=i.nil;s.number&&delete s.integer;for(let e in s)o=(0,i.and)(o,m(e,t,n,r));return o}e.checkDataTypes=h;let g={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e==`string`?(0,i._)`{type: ${e}}`:(0,i._)`{type: ${t}}`};function _(e){let t=v(e);(0,r.reportError)(t,g)}e.reportTypeError=_;function v(e){let{gen:t,data:n,schema:r}=e,i=(0,a.schemaRefOrVal)(e,r,`type`);return{gen:t,keyword:`type`,data:n,schema:r.type,schemaCode:i,schemaValue:i,parentSchema:r,params:{},it:e}}})),ae=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.assignDefaults=void 0;let t=C(),n=w();function r(e,t){let{properties:n,items:r}=e.schema;if(t===`object`&&n)for(let t in n)i(e,t,n[t].default);else t===`array`&&Array.isArray(r)&&r.forEach((t,n)=>i(e,n,t.default))}e.assignDefaults=r;function i(e,r,i){let{gen:a,compositeRule:o,data:s,opts:c}=e;if(i===void 0)return;let l=(0,t._)`${s}${(0,t.getProperty)(r)}`;if(o){(0,n.checkStrictMode)(e,`default is ignored for: ${l}`);return}let u=(0,t._)`${l} === undefined`;c.useDefaults===`empty`&&(u=(0,t._)`${u} || ${l} === null || ${l} === ""`),a.if(u,(0,t._)`${l} = ${(0,t.stringify)(i)}`)}})),O=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.validateUnion=e.validateArray=e.usePattern=e.callValidateCode=e.schemaProperties=e.allSchemaProperties=e.noPropertyInData=e.propertyInData=e.isOwnProperty=e.hasPropFunc=e.reportMissingProp=e.checkMissingProp=e.checkReportMissingProp=void 0;let t=C(),n=w(),r=T(),i=w();function a(e,n){let{gen:r,data:i,it:a}=e;r.if(d(r,i,n,a.opts.ownProperties),()=>{e.setParams({missingProperty:(0,t._)`${n}`},!0),e.error()})}e.checkReportMissingProp=a;function o({gen:e,data:n,it:{opts:r}},i,a){return(0,t.or)(...i.map(i=>(0,t.and)(d(e,n,i,r.ownProperties),(0,t._)`${a} = ${i}`)))}e.checkMissingProp=o;function s(e,t){e.setParams({missingProperty:t},!0),e.error()}e.reportMissingProp=s;function c(e){return e.scopeValue(`func`,{ref:Object.prototype.hasOwnProperty,code:(0,t._)`Object.prototype.hasOwnProperty`})}e.hasPropFunc=c;function l(e,n,r){return(0,t._)`${c(e)}.call(${n}, ${r})`}e.isOwnProperty=l;function u(e,n,r,i){let a=(0,t._)`${n}${(0,t.getProperty)(r)} !== undefined`;return i?(0,t._)`${a} && ${l(e,n,r)}`:a}e.propertyInData=u;function d(e,n,r,i){let a=(0,t._)`${n}${(0,t.getProperty)(r)} === undefined`;return i?(0,t.or)(a,(0,t.not)(l(e,n,r))):a}e.noPropertyInData=d;function f(e){return e?Object.keys(e).filter(e=>e!==`__proto__`):[]}e.allSchemaProperties=f;function p(e,t){return f(t).filter(r=>!(0,n.alwaysValidSchema)(e,t[r]))}e.schemaProperties=p;function m({schemaCode:e,data:n,it:{gen:i,topSchemaRef:a,schemaPath:o,errorPath:s},it:c},l,u,d){let f=d?(0,t._)`${e}, ${n}, ${a}${o}`:n,p=[[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,s)],[r.default.parentData,c.parentData],[r.default.parentDataProperty,c.parentDataProperty],[r.default.rootData,r.default.rootData]];c.opts.dynamicRef&&p.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);let m=(0,t._)`${f}, ${i.object(...p)}`;return u===t.nil?(0,t._)`${l}(${m})`:(0,t._)`${l}.call(${u}, ${m})`}e.callValidateCode=m;let h=(0,t._)`new RegExp`;function g({gen:e,it:{opts:n}},r){let a=n.unicodeRegExp?`u`:``,{regExp:o}=n.code,s=o(r,a);return e.scopeValue(`pattern`,{key:s.toString(),ref:s,code:(0,t._)`${o.code===`new RegExp`?h:(0,i.useFunc)(e,o)}(${r}, ${a})`})}e.usePattern=g;function _(e){let{gen:r,data:i,keyword:a,it:o}=e,s=r.name(`valid`);if(o.allErrors){let e=r.let(`valid`,!0);return c(()=>r.assign(e,!1)),e}return r.var(s,!0),c(()=>r.break()),s;function c(o){let c=r.const(`len`,(0,t._)`${i}.length`);r.forRange(`i`,0,c,i=>{e.subschema({keyword:a,dataProp:i,dataPropType:n.Type.Num},s),r.if((0,t.not)(s),o)})}}e.validateArray=_;function v(e){let{gen:r,schema:i,keyword:a,it:o}=e;if(!Array.isArray(i))throw Error(`ajv implementation error`);if(i.some(e=>(0,n.alwaysValidSchema)(o,e))&&!o.opts.unevaluated)return;let s=r.let(`valid`,!1),c=r.name(`_valid`);r.block(()=>i.forEach((n,i)=>{let o=e.subschema({keyword:a,schemaProp:i,compositeRule:!0},c);r.assign(s,(0,t._)`${s} || ${c}`),e.mergeValidEvaluated(o,c)||r.if((0,t.not)(s))})),e.result(s,()=>e.reset(),()=>e.error(!0))}e.validateUnion=v})),oe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.validateKeywordUsage=e.validSchemaType=e.funcKeywordCode=e.macroKeywordCode=void 0;let t=C(),n=T(),r=O(),i=ne();function a(e,n){let{gen:r,keyword:i,schema:a,parentSchema:o,it:s}=e,c=n.macro.call(s.self,a,o,s),l=u(r,i,c);s.opts.validateSchema!==!1&&s.self.validateSchema(c,!0);let d=r.name(`valid`);e.subschema({schema:c,schemaPath:t.nil,errSchemaPath:`${s.errSchemaPath}/${i}`,topSchemaRef:l,compositeRule:!0},d),e.pass(d,()=>e.error(!0))}e.macroKeywordCode=a;function o(e,i){let{gen:a,keyword:o,schema:d,parentSchema:f,$data:p,it:m}=e;l(m,i);let h=u(a,o,!p&&i.compile?i.compile.call(m.self,d,f,m):i.validate),g=a.let(`valid`);e.block$data(g,_),e.ok(i.valid??g);function _(){if(i.errors===!1)b(),i.modifying&&s(e),x(()=>e.error());else{let t=i.async?v():y();i.modifying&&s(e),x(()=>c(e,t))}}function v(){let e=a.let(`ruleErrs`,null);return a.try(()=>b((0,t._)`await `),n=>a.assign(g,!1).if((0,t._)`${n} instanceof ${m.ValidationError}`,()=>a.assign(e,(0,t._)`${n}.errors`),()=>a.throw(n))),e}function y(){let e=(0,t._)`${h}.errors`;return a.assign(e,null),b(t.nil),e}function b(o=i.async?(0,t._)`await `:t.nil){let s=m.opts.passContext?n.default.this:n.default.self,c=!(`compile`in i&&!p||i.schema===!1);a.assign(g,(0,t._)`${o}${(0,r.callValidateCode)(e,h,s,c)}`,i.modifying)}function x(e){a.if((0,t.not)(i.valid??g),e)}}e.funcKeywordCode=o;function s(e){let{gen:n,data:r,it:i}=e;n.if(i.parentData,()=>n.assign(r,(0,t._)`${i.parentData}[${i.parentDataProperty}]`))}function c(e,r){let{gen:a}=e;a.if((0,t._)`Array.isArray(${r})`,()=>{a.assign(n.default.vErrors,(0,t._)`${n.default.vErrors} === null ? ${r} : ${n.default.vErrors}.concat(${r})`).assign(n.default.errors,(0,t._)`${n.default.vErrors}.length`),(0,i.extendErrors)(e)},()=>e.error())}function l({schemaEnv:e},t){if(t.async&&!e.$async)throw Error(`async keyword in sync schema`)}function u(e,n,r){if(r===void 0)throw Error(`keyword "${n}" failed to compile`);return e.scopeValue(`keyword`,typeof r==`function`?{ref:r}:{ref:r,code:(0,t.stringify)(r)})}function d(e,t,n=!1){return!t.length||t.some(t=>t===`array`?Array.isArray(e):t===`object`?e&&typeof e==`object`&&!Array.isArray(e):typeof e==t||n&&e===void 0)}e.validSchemaType=d;function f({schema:e,opts:t,self:n,errSchemaPath:r},i,a){if(Array.isArray(i.keyword)?!i.keyword.includes(a):i.keyword!==a)throw Error(`ajv implementation error`);let o=i.dependencies;if(o?.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw Error(`parent schema must have dependencies of ${a}: ${o.join(`,`)}`);if(i.validateSchema&&!i.validateSchema(e[a])){let e=`keyword "${a}" value is invalid at path "${r}": `+n.errorsText(i.validateSchema.errors);if(t.validateSchema===`log`)n.logger.error(e);else throw Error(e)}}e.validateKeywordUsage=f})),se=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.extendSubschemaMode=e.extendSubschemaData=e.getSubschema=void 0;let t=C(),n=w();function r(e,{keyword:r,schemaProp:i,schema:a,schemaPath:o,errSchemaPath:s,topSchemaRef:c}){if(r!==void 0&&a!==void 0)throw Error(`both "keyword" and "schema" passed, only one allowed`);if(r!==void 0){let a=e.schema[r];return i===void 0?{schema:a,schemaPath:(0,t._)`${e.schemaPath}${(0,t.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${r}`}:{schema:a[i],schemaPath:(0,t._)`${e.schemaPath}${(0,t.getProperty)(r)}${(0,t.getProperty)(i)}`,errSchemaPath:`${e.errSchemaPath}/${r}/${(0,n.escapeFragment)(i)}`}}if(a!==void 0){if(o===void 0||s===void 0||c===void 0)throw Error(`"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"`);return{schema:a,schemaPath:o,topSchemaRef:c,errSchemaPath:s}}throw Error(`either "keyword" or "schema" must be passed`)}e.getSubschema=r;function i(e,r,{dataProp:i,dataPropType:a,data:o,dataTypes:s,propertyName:c}){if(o!==void 0&&i!==void 0)throw Error(`both "data" and "dataProp" passed, only one allowed`);let{gen:l}=r;if(i!==void 0){let{errorPath:o,dataPathArr:s,opts:c}=r;u(l.let(`data`,(0,t._)`${r.data}${(0,t.getProperty)(i)}`,!0)),e.errorPath=(0,t.str)`${o}${(0,n.getErrorPath)(i,a,c.jsPropertySyntax)}`,e.parentDataProperty=(0,t._)`${i}`,e.dataPathArr=[...s,e.parentDataProperty]}o!==void 0&&(u(o instanceof t.Name?o:l.let(`data`,o,!0)),c!==void 0&&(e.propertyName=c)),s&&(e.dataTypes=s);function u(t){e.data=t,e.dataLevel=r.dataLevel+1,e.dataTypes=[],r.definedProperties=new Set,e.parentData=r.data,e.dataNames=[...r.dataNames,t]}}e.extendSubschemaData=i;function a(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:i,allErrors:a}){r!==void 0&&(e.compositeRule=r),i!==void 0&&(e.createErrors=i),a!==void 0&&(e.allErrors=a),e.jtdDiscriminator=t,e.jtdMetadata=n}e.extendSubschemaMode=a})),ce=s(((e,t)=>{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}})),le=s(((e,t)=>{var n=t.exports=function(e,t,n){typeof t==`function`&&(n=t,t={}),n=t.cb||n;var i=typeof n==`function`?n:n.pre||function(){},a=n.post||function(){};r(t,i,a,e,``,e)};n.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},n.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},n.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},n.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function r(e,t,a,o,s,c,l,u,d,f){if(o&&typeof o==`object`&&!Array.isArray(o)){for(var p in t(o,s,c,l,u,d,f),o){var m=o[p];if(Array.isArray(m)){if(p in n.arrayKeywords)for(var h=0;h<m.length;h++)r(e,t,a,m[h],s+`/`+p+`/`+h,c,s,p,o,h)}else if(p in n.propsKeywords){if(m&&typeof m==`object`)for(var g in m)r(e,t,a,m[g],s+`/`+p+`/`+i(g),c,s,p,o,g)}else (p in n.keywords||e.allKeys&&!(p in n.skipKeywords))&&r(e,t,a,m,s+`/`+p,c,s,p,o)}a(o,s,c,l,u,d,f)}}function i(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}})),ue=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getSchemaRefs=e.resolveUrl=e.normalizeId=e._getFullPath=e.getFullPath=e.inlineRef=void 0;let t=w(),n=ce(),r=le(),i=new Set([`type`,`format`,`pattern`,`maxLength`,`minLength`,`maxProperties`,`minProperties`,`maxItems`,`minItems`,`maximum`,`minimum`,`uniqueItems`,`multipleOf`,`required`,`enum`,`const`]);function a(e,t=!0){return typeof e==`boolean`?!0:t===!0?!s(e):t?c(e)<=t:!1}e.inlineRef=a;let o=new Set([`$ref`,`$recursiveRef`,`$recursiveAnchor`,`$dynamicRef`,`$dynamicAnchor`]);function s(e){for(let t in e){if(o.has(t))return!0;let n=e[t];if(Array.isArray(n)&&n.some(s)||typeof n==`object`&&s(n))return!0}return!1}function c(e){let n=0;for(let r in e)if(r===`$ref`||(n++,!i.has(r)&&(typeof e[r]==`object`&&(0,t.eachItem)(e[r],e=>n+=c(e)),n===1/0)))return 1/0;return n}function l(e,t=``,n){return n!==!1&&(t=f(t)),u(e,e.parse(t))}e.getFullPath=l;function u(e,t){return e.serialize(t).split(`#`)[0]+`#`}e._getFullPath=u;let d=/#\/?$/;function f(e){return e?e.replace(d,``):``}e.normalizeId=f;function p(e,t,n){return n=f(n),e.resolve(t,n)}e.resolveUrl=p;let m=/^[a-z_][-a-z0-9._]*$/i;function h(e,t){if(typeof e==`boolean`)return{};let{schemaId:i,uriResolver:a}=this.opts,o=f(e[i]||t),s={"":o},c=l(a,o,!1),u={},d=new Set;return r(e,{allKeys:!0},(e,t,n,r)=>{if(r===void 0)return;let a=c+t,o=s[r];typeof e[i]==`string`&&(o=l.call(this,e[i])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),s[t]=o;function l(t){let n=this.opts.uriResolver.resolve;if(t=f(o?n(o,t):t),d.has(t))throw h(t);d.add(t);let r=this.refs[t];return typeof r==`string`&&(r=this.refs[r]),typeof r==`object`?p(e,r.schema,t):t!==f(a)&&(t[0]===`#`?(p(e,u[t],t),u[t]=e):this.refs[t]=a),t}function g(e){if(typeof e==`string`){if(!m.test(e))throw Error(`invalid anchor "${e}"`);l.call(this,`#${e}`)}}}),u;function p(e,t,r){if(t!==void 0&&!n(e,t))throw h(r)}function h(e){return Error(`reference "${e}" resolves to more than one schema`)}}e.getSchemaRefs=h})),de=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getData=e.KeywordCxt=e.validateFunctionCode=void 0;let t=E(),n=ie(),r=D(),i=ie(),a=ae(),o=oe(),s=se(),c=C(),l=T(),u=ue(),d=w(),f=ne();function p(e){if(S(e)&&(te(e),x(e))){_(e);return}m(e,()=>(0,t.topBoolOrEmptySchema)(e))}e.validateFunctionCode=p;function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:i},a){i.code.es5?e.func(t,(0,c._)`${l.default.data}, ${l.default.valCxt}`,r.$async,()=>{e.code((0,c._)`"use strict"; ${y(n,i)}`),g(e,i),e.code(a)}):e.func(t,(0,c._)`${l.default.data}, ${h(i)}`,r.$async,()=>e.code(y(n,i)).code(a))}function h(e){return(0,c._)`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${e.dynamicRef?(0,c._)`, ${l.default.dynamicAnchors}={}`:c.nil}}={}`}function g(e,t){e.if(l.default.valCxt,()=>{e.var(l.default.instancePath,(0,c._)`${l.default.valCxt}.${l.default.instancePath}`),e.var(l.default.parentData,(0,c._)`${l.default.valCxt}.${l.default.parentData}`),e.var(l.default.parentDataProperty,(0,c._)`${l.default.valCxt}.${l.default.parentDataProperty}`),e.var(l.default.rootData,(0,c._)`${l.default.valCxt}.${l.default.rootData}`),t.dynamicRef&&e.var(l.default.dynamicAnchors,(0,c._)`${l.default.valCxt}.${l.default.dynamicAnchors}`)},()=>{e.var(l.default.instancePath,(0,c._)`""`),e.var(l.default.parentData,(0,c._)`undefined`),e.var(l.default.parentDataProperty,(0,c._)`undefined`),e.var(l.default.rootData,l.default.data),t.dynamicRef&&e.var(l.default.dynamicAnchors,(0,c._)`{}`)})}function _(e){let{schema:t,opts:n,gen:r}=e;m(e,()=>{n.$comment&&t.$comment&&fe(e),ce(e),r.let(l.default.vErrors,null),r.let(l.default.errors,0),n.unevaluated&&v(e),re(e),pe(e)})}function v(e){let{gen:t,validateName:n}=e;e.evaluated=t.const(`evaluated`,(0,c._)`${n}.evaluated`),t.if((0,c._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,c._)`${e.evaluated}.props`,(0,c._)`undefined`)),t.if((0,c._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,c._)`${e.evaluated}.items`,(0,c._)`undefined`))}function y(e,t){let n=typeof e==`object`&&e[t.schemaId];return n&&(t.code.source||t.code.process)?(0,c._)`/*# sourceURL=${n} */`:c.nil}function b(e,n){if(S(e)&&(te(e),x(e))){ee(e,n);return}(0,t.boolOrEmptySchema)(e,n)}function x({schema:e,self:t}){if(typeof e==`boolean`)return!e;for(let n in e)if(t.RULES.all[n])return!0;return!1}function S(e){return typeof e.schema!=`boolean`}function ee(e,t){let{schema:n,gen:r,opts:i}=e;i.$comment&&n.$comment&&fe(e),le(e),de(e);let a=r.const(`_errs`,l.default.errors);re(e,a),r.var(t,(0,c._)`${a} === ${l.default.errors}`)}function te(e){(0,d.checkUnknownRules)(e),O(e)}function re(e,t){if(e.opts.jtd)return he(e,[],!1,t);let r=(0,n.getSchemaTypes)(e.schema);he(e,r,!(0,n.coerceAndCheckDataType)(e,r),t)}function O(e){let{schema:t,errSchemaPath:n,opts:r,self:i}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,d.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}function ce(e){let{schema:t,opts:n}=e;t.default!==void 0&&n.useDefaults&&n.strictSchema&&(0,d.checkStrictMode)(e,`default is ignored in the schema root`)}function le(e){let t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,u.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function de(e){if(e.schema.$async&&!e.schemaEnv.$async)throw Error(`async schema in sync schema`)}function fe({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:i}){let a=n.$comment;if(i.$comment===!0)e.code((0,c._)`${l.default.self}.logger.log(${a})`);else if(typeof i.$comment==`function`){let n=(0,c.str)`${r}/$comment`,i=e.scopeValue(`root`,{ref:t.root});e.code((0,c._)`${l.default.self}.opts.$comment(${a}, ${n}, ${i}.schema)`)}}function pe(e){let{gen:t,schemaEnv:n,validateName:r,ValidationError:i,opts:a}=e;n.$async?t.if((0,c._)`${l.default.errors} === 0`,()=>t.return(l.default.data),()=>t.throw((0,c._)`new ${i}(${l.default.vErrors})`)):(t.assign((0,c._)`${r}.errors`,l.default.vErrors),a.unevaluated&&me(e),t.return((0,c._)`${l.default.errors} === 0`))}function me({gen:e,evaluated:t,props:n,items:r}){n instanceof c.Name&&e.assign((0,c._)`${t}.props`,n),r instanceof c.Name&&e.assign((0,c._)`${t}.items`,r)}function he(e,t,n,a){let{gen:o,schema:s,data:u,allErrors:f,opts:p,self:m}=e,{RULES:h}=m;if(s.$ref&&(p.ignoreKeywordsWithRef||!(0,d.schemaHasRulesButRef)(s,h))){o.block(()=>Ee(e,`$ref`,h.all.$ref.definition));return}p.jtd||_e(e,t),o.block(()=>{for(let e of h.rules)g(e);g(h.post)});function g(d){(0,r.shouldUseGroup)(s,d)&&(d.type?(o.if((0,i.checkDataType)(d.type,u,p.strictNumbers)),ge(e,d),t.length===1&&t[0]===d.type&&n&&(o.else(),(0,i.reportTypeError)(e)),o.endIf()):ge(e,d),f||o.if((0,c._)`${l.default.errors} === ${a||0}`))}}function ge(e,t){let{gen:n,schema:i,opts:{useDefaults:o}}=e;o&&(0,a.assignDefaults)(e,t.type),n.block(()=>{for(let n of t.rules)(0,r.shouldUseRule)(i,n)&&Ee(e,n.keyword,n.definition,t.type)})}function _e(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(ve(e,t),e.opts.allowUnionTypes||ye(e,t),be(e,e.dataTypes))}function ve(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(t=>{Se(e.dataTypes,t)||we(e,`type "${t}" not allowed by context "${e.dataTypes.join(`,`)}"`)}),Ce(e,t)}}function ye(e,t){t.length>1&&!(t.length===2&&t.includes(`null`))&&we(e,`use allowUnionTypes to allow union type keyword`)}function be(e,t){let n=e.self.RULES.all;for(let i in n){let a=n[i];if(typeof a==`object`&&(0,r.shouldUseRule)(e.schema,a)){let{type:n}=a.definition;n.length&&!n.some(e=>xe(t,e))&&we(e,`missing type "${n.join(`,`)}" for keyword "${i}"`)}}}function xe(e,t){return e.includes(t)||t===`number`&&e.includes(`integer`)}function Se(e,t){return e.includes(t)||t===`integer`&&e.includes(`number`)}function Ce(e,t){let n=[];for(let r of e.dataTypes)Se(t,r)?n.push(r):t.includes(`integer`)&&r===`number`&&n.push(`integer`);e.dataTypes=n}function we(e,t){let n=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${n}" (strictTypes)`,(0,d.checkStrictMode)(e,t,e.opts.strictTypes)}var Te=class{constructor(e,t,n){if((0,o.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,d.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const(`vSchema`,ke(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,o.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);(`code`in t?t.trackErrors:t.errors!==!1)&&(this.errsCount=e.gen.const(`_errs`,l.default.errors))}result(e,t,n){this.failResult((0,c.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,c.not)(e),void 0,t)}fail(e){if(e===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:t}=this;this.fail((0,c._)`${t} !== undefined && (${(0,c.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t){this.setParams(t),this._error(e,n),this.setParams({});return}this._error(e,n)}_error(e,t){(e?f.reportExtraError:f.reportError)(this,this.def.error,t)}$dataError(){(0,f.reportError)(this,this.def.$dataError||f.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error(`add "trackErrors" to keyword definition`);(0,f.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=c.nil){this.gen.block(()=>{this.check$data(e,n),t()})}check$data(e=c.nil,t=c.nil){if(!this.$data)return;let{gen:n,schemaCode:r,schemaType:i,def:a}=this;n.if((0,c.or)((0,c._)`${r} === undefined`,t)),e!==c.nil&&n.assign(e,!0),(i.length||a.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==c.nil&&n.assign(e,!1)),n.else()}invalid$data(){let{gen:e,schemaCode:t,schemaType:n,def:r,it:a}=this;return(0,c.or)(o(),s());function o(){if(n.length){if(!(t instanceof c.Name))throw Error(`ajv implementation error`);let e=Array.isArray(n)?n:[n];return(0,c._)`${(0,i.checkDataTypes)(e,t,a.opts.strictNumbers,i.DataType.Wrong)}`}return c.nil}function s(){if(r.validateSchema){let n=e.scopeValue(`validate$data`,{ref:r.validateSchema});return(0,c._)`!${n}(${t})`}return c.nil}}subschema(e,t){let n=(0,s.getSubschema)(this.it,e);(0,s.extendSubschemaData)(n,this.it,e),(0,s.extendSubschemaMode)(n,e);let r={...this.it,...n,items:void 0,props:void 0};return b(r,t),r}mergeEvaluated(e,t){let{it:n,gen:r}=this;n.opts.unevaluated&&(n.props!==!0&&e.props!==void 0&&(n.props=d.mergeEvaluated.props(r,e.props,n.props,t)),n.items!==!0&&e.items!==void 0&&(n.items=d.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){let{it:n,gen:r}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return r.if(t,()=>this.mergeEvaluated(e,c.Name)),!0}};e.KeywordCxt=Te;function Ee(e,t,n,r){let i=new Te(e,n,t);`code`in n?n.code(i,r):i.$data&&n.validate?(0,o.funcKeywordCode)(i,n):`macro`in n?(0,o.macroKeywordCode)(i,n):(n.compile||n.validate)&&(0,o.funcKeywordCode)(i,n)}let De=/^\/(?:[^~]|~0|~1)*$/,Oe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ke(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let i,a;if(e===``)return l.default.rootData;if(e[0]===`/`){if(!De.test(e))throw Error(`Invalid JSON-pointer: ${e}`);i=e,a=l.default.rootData}else{let o=Oe.exec(e);if(!o)throw Error(`Invalid JSON-pointer: ${e}`);let s=+o[1];if(i=o[2],i===`#`){if(s>=t)throw Error(u(`property/index`,s));return r[t-s]}if(s>t)throw Error(u(`data`,s));if(a=n[t-s],!i)return a}let o=a,s=i.split(`/`);for(let e of s)e&&(a=(0,c._)`${a}${(0,c.getProperty)((0,d.unescapeJsonPointer)(e))}`,o=(0,c._)`${o} && ${a}`);return o;function u(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}e.getData=ke})),fe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=class extends Error{constructor(e){super(`validation failed`),this.errors=e,this.ajv=this.validation=!0}}})),pe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ue();e.default=class extends Error{constructor(e,n,r,i){super(i||`can't resolve reference ${r} from id ${n}`),this.missingRef=(0,t.resolveUrl)(e,n,r),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(e,this.missingRef))}}})),me=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.resolveSchema=e.getCompilingSchema=e.resolveRef=e.compileSchema=e.SchemaEnv=void 0;let t=C(),n=fe(),r=T(),i=ue(),a=w(),o=de();var s=class{constructor(e){this.refs={},this.dynamicAnchors={};let t;typeof e.schema==`object`&&(t=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=e.baseId??(0,i.normalizeId)(t?.[e.schemaId||`$id`]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=t?.$async,this.refs={}}};e.SchemaEnv=s;function c(e){let a=d.call(this,e);if(a)return a;let s=(0,i.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:c,lines:l}=this.opts.code,{ownProperties:u}=this.opts,f=new t.CodeGen(this.scope,{es5:c,lines:l,ownProperties:u}),p;e.$async&&(p=f.scopeValue(`Error`,{ref:n.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));let m=f.scopeName(`validate`);e.validateName=m;let h={gen:f,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue(`schema`,this.opts.code.source===!0?{ref:e.schema,code:(0,t.stringify)(e.schema)}:{ref:e.schema}),validateName:m,ValidationError:p,schema:e.schema,schemaEnv:e,rootId:s,baseId:e.baseId||s,schemaPath:t.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?``:`#`),errorPath:(0,t._)`""`,opts:this.opts,self:this},g;try{this._compilations.add(e),(0,o.validateFunctionCode)(h),f.optimize(this.opts.code.optimize);let n=f.toString();g=`${f.scopeRefs(r.default.scope)}return ${n}`,this.opts.code.process&&(g=this.opts.code.process(g,e));let i=Function(`${r.default.self}`,`${r.default.scope}`,g)(this,this.scope.get());if(this.scope.value(m,{ref:i}),i.errors=null,i.schema=e.schema,i.schemaEnv=e,e.$async&&(i.$async=!0),this.opts.code.source===!0&&(i.source={validateName:m,validateCode:n,scopeValues:f._values}),this.opts.unevaluated){let{props:e,items:n}=h;i.evaluated={props:e instanceof t.Name?void 0:e,items:n instanceof t.Name?void 0:n,dynamicProps:e instanceof t.Name,dynamicItems:n instanceof t.Name},i.source&&(i.source.evaluated=(0,t.stringify)(i.evaluated))}return e.validate=i,e}catch(t){throw delete e.validate,delete e.validateName,g&&this.logger.error(`Error compiling schema, function code:`,g),t}finally{this._compilations.delete(e)}}e.compileSchema=c;function l(e,t,n){n=(0,i.resolveUrl)(this.opts.uriResolver,t,n);let r=e.refs[n];if(r)return r;let a=p.call(this,e,n);if(a===void 0){let r=e.localRefs?.[n],{schemaId:i}=this.opts;r&&(a=new s({schema:r,schemaId:i,root:e,baseId:t}))}if(a!==void 0)return e.refs[n]=u.call(this,a)}e.resolveRef=l;function u(e){return(0,i.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:c.call(this,e)}function d(e){for(let t of this._compilations)if(f(t,e))return t}e.getCompilingSchema=d;function f(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function p(e,t){let n;for(;typeof(n=this.refs[t])==`string`;)t=n;return n||this.schemas[t]||m.call(this,e,t)}function m(e,t){let n=this.opts.uriResolver.parse(t),r=(0,i._getFullPath)(this.opts.uriResolver,n),a=(0,i.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===a)return g.call(this,n,e);let o=(0,i.normalizeId)(r),l=this.refs[o]||this.schemas[o];if(typeof l==`string`){let t=m.call(this,e,l);return typeof t?.schema==`object`?g.call(this,n,t):void 0}if(typeof l?.schema==`object`){if(l.validate||c.call(this,l),o===(0,i.normalizeId)(t)){let{schema:t}=l,{schemaId:n}=this.opts,r=t[n];return r&&(a=(0,i.resolveUrl)(this.opts.uriResolver,a,r)),new s({schema:t,schemaId:n,root:e,baseId:a})}return g.call(this,n,l)}}e.resolveSchema=m;let h=new Set([`properties`,`patternProperties`,`enum`,`dependencies`,`definitions`]);function g(e,{baseId:t,schema:n,root:r}){if(e.fragment?.[0]!==`/`)return;for(let r of e.fragment.slice(1).split(`/`)){if(typeof n==`boolean`)return;let e=n[(0,a.unescapeFragment)(r)];if(e===void 0)return;n=e;let o=typeof n==`object`&&n[this.opts.schemaId];!h.has(r)&&o&&(t=(0,i.resolveUrl)(this.opts.uriResolver,t,o))}let o;if(typeof n!=`boolean`&&n.$ref&&!(0,a.schemaHasRulesButRef)(n,this.RULES)){let e=(0,i.resolveUrl)(this.opts.uriResolver,t,n.$ref);o=m.call(this,r,e)}let{schemaId:c}=this.opts;if(o||=new s({schema:n,schemaId:c,root:r,baseId:t}),o.schema!==o.root.schema)return o}})),he=s(((e,t)=>{t.exports={$id:`https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#`,description:`Meta-schema for $data reference (JSON AnySchema extension proposal)`,type:`object`,required:[`$data`],properties:{$data:{type:`string`,anyOf:[{format:`relative-json-pointer`},{format:`json-pointer`}]}},additionalProperties:!1}})),ge=s(((e,t)=>{t.exports={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}})),_e=s(((e,t)=>{let{HEX:n}=ge();function r(e){if(c(e,`.`)<3)return{host:e,isIPV4:!1};let[t]=e.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[];return t?{host:s(t,`.`),isIPV4:!0}:{host:e,isIPV4:!1}}function i(e,t=!1){let r=``,i=!0;for(let t of e){if(n[t]===void 0)return;t!==`0`&&i===!0&&(i=!1),i||(r+=t)}return t&&r.length===0&&(r=`0`),r}function a(e){let t=0,n={error:!1,address:``,zone:``},r=[],a=[],o=!1,s=!1,c=!1;function l(){if(a.length){if(o===!1){let e=i(a);if(e!==void 0)r.push(e);else return n.error=!0,!1}a.length=0}return!0}for(let i=0;i<e.length;i++){let u=e[i];if(!(u===`[`||u===`]`))if(u===`:`){if(s===!0&&(c=!0),!l())break;if(t++,r.push(`:`),t>7){n.error=!0;break}i-1>=0&&e[i-1]===`:`&&(s=!0);continue}else if(u===`%`){if(!l())break;o=!0}else{a.push(u);continue}}return a.length&&(o?n.zone=a.join(``):c?r.push(a.join(``)):r.push(i(a))),n.address=r.join(``),n}function o(e,t={}){if(c(e,`:`)<2)return{host:e,isIPV6:!1};let n=a(e);if(n.error)return{host:e,isIPV6:!1};{let e=n.address,t=n.address;return n.zone&&(e+=`%`+n.zone,t+=`%25`+n.zone),{host:e,escapedHost:t,isIPV6:!0}}}function s(e,t){let n=``,r=!0,i=e.length;for(let a=0;a<i;a++){let o=e[a];o===`0`&&r?(a+1<=i&&e[a+1]===t||a+1===i)&&(n+=o,r=!1):(r=o===t,n+=o)}return n}function c(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}let l=/^\.\.?\//u,u=/^\/\.(?:\/|$)/u,d=/^\/\.\.(?:\/|$)/u,f=/^\/?(?:.|\n)*?(?=\/|$)/u;function p(e){let t=[];for(;e.length;)if(e.match(l))e=e.replace(l,``);else if(e.match(u))e=e.replace(u,`/`);else if(e.match(d))e=e.replace(d,`/`),t.pop();else if(e===`.`||e===`..`)e=``;else{let n=e.match(f);if(n){let r=n[0];e=e.slice(r.length),t.push(r)}else throw Error(`Unexpected dot segment condition`)}return t.join(``)}function m(e,t){let n=t===!0?unescape:escape;return e.scheme!==void 0&&(e.scheme=n(e.scheme)),e.userinfo!==void 0&&(e.userinfo=n(e.userinfo)),e.host!==void 0&&(e.host=n(e.host)),e.path!==void 0&&(e.path=n(e.path)),e.query!==void 0&&(e.query=n(e.query)),e.fragment!==void 0&&(e.fragment=n(e.fragment)),e}function h(e,t){let n=[];if(e.userinfo!==void 0&&(n.push(e.userinfo),n.push(`@`)),e.host!==void 0){let t=unescape(e.host),i=r(t);if(i.isIPV4)t=i.host;else{let n=o(i.host,{isIPV4:!1});t=n.isIPV6===!0?`[${n.escapedHost}]`:e.host}n.push(t)}return(typeof e.port==`number`||typeof e.port==`string`)&&(n.push(`:`),n.push(String(e.port))),n.length?n.join(``):void 0}t.exports={recomposeAuthority:h,normalizeComponentEncoding:m,removeDotSegments:p,normalizeIPv4:r,normalizeIPv6:o,stringArrayToHexStripped:i}})),ve=s(((e,t)=>{let n=/^[\da-f]{8}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{12}$/iu,r=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function i(e){return typeof e.secure==`boolean`?e.secure:String(e.scheme).toLowerCase()===`wss`}function a(e){return e.host||(e.error=e.error||`HTTP URIs must have a host.`),e}function o(e){let t=String(e.scheme).toLowerCase()===`https`;return(e.port===(t?443:80)||e.port===``)&&(e.port=void 0),e.path||=`/`,e}function s(e){return e.secure=i(e),e.resourceName=(e.path||`/`)+(e.query?`?`+e.query:``),e.path=void 0,e.query=void 0,e}function c(e){if((e.port===(i(e)?443:80)||e.port===``)&&(e.port=void 0),typeof e.secure==`boolean`&&(e.scheme=e.secure?`wss`:`ws`,e.secure=void 0),e.resourceName){let[t,n]=e.resourceName.split(`?`);e.path=t&&t!==`/`?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}function l(e,t){if(!e.path)return e.error=`URN can not be parsed`,e;let n=e.path.match(r);if(n){let r=t.scheme||e.scheme||`urn`;e.nid=n[1].toLowerCase(),e.nss=n[2];let i=g[`${r}:${t.nid||e.nid}`];e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||`URN can not be parsed.`;return e}function u(e,t){let n=t.scheme||e.scheme||`urn`,r=e.nid.toLowerCase(),i=g[`${n}:${t.nid||r}`];i&&(e=i.serialize(e,t));let a=e,o=e.nss;return a.path=`${r||t.nid}:${o}`,t.skipEscape=!0,a}function d(e,t){let r=e;return r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!n.test(r.uuid))&&(r.error=r.error||`UUID is not valid.`),r}function f(e){let t=e;return t.nss=(e.uuid||``).toLowerCase(),t}let p={scheme:`http`,domainHost:!0,parse:a,serialize:o},m={scheme:`https`,domainHost:p.domainHost,parse:a,serialize:o},h={scheme:`ws`,domainHost:!0,parse:s,serialize:c},g={http:p,https:m,ws:h,wss:{scheme:`wss`,domainHost:h.domainHost,parse:h.parse,serialize:h.serialize},urn:{scheme:`urn`,parse:l,serialize:u,skipNormalize:!0},"urn:uuid":{scheme:`urn:uuid`,parse:d,serialize:f,skipNormalize:!0}};t.exports=g})),ye=s(((e,t)=>{let{normalizeIPv6:n,normalizeIPv4:r,removeDotSegments:i,recomposeAuthority:a,normalizeComponentEncoding:o}=_e(),s=ve();function c(e,t){return typeof e==`string`?e=f(g(e,t),t):typeof e==`object`&&(e=g(f(e,t),t)),e}function l(e,t,n){let r=Object.assign({scheme:`null`},n);return f(u(g(e,r),g(t,r),r,!0),{...r,skipEscape:!0})}function u(e,t,n,r){let a={};return r||(e=g(f(e,n),n),t=g(f(t,n),n)),n||={},!n.tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=i(t.path||``),a.query=t.query):(t.userinfo!==void 0||t.host!==void 0||t.port!==void 0?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=i(t.path||``),a.query=t.query):(t.path?(t.path.charAt(0)===`/`?a.path=i(t.path):((e.userinfo!==void 0||e.host!==void 0||e.port!==void 0)&&!e.path?a.path=`/`+t.path:e.path?a.path=e.path.slice(0,e.path.lastIndexOf(`/`)+1)+t.path:a.path=t.path,a.path=i(a.path)),a.query=t.query):(a.path=e.path,t.query===void 0?a.query=e.query:a.query=t.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function d(e,t,n){return typeof e==`string`?(e=unescape(e),e=f(o(g(e,n),!0),{...n,skipEscape:!0})):typeof e==`object`&&(e=f(o(e,!0),{...n,skipEscape:!0})),typeof t==`string`?(t=unescape(t),t=f(o(g(t,n),!0),{...n,skipEscape:!0})):typeof t==`object`&&(t=f(o(t,!0),{...n,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()}function f(e,t){let n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:``},r=Object.assign({},t),o=[],c=s[(r.scheme||n.scheme||``).toLowerCase()];c&&c.serialize&&c.serialize(n,r),n.path!==void 0&&(r.skipEscape?n.path=unescape(n.path):(n.path=escape(n.path),n.scheme!==void 0&&(n.path=n.path.split(`%3A`).join(`:`)))),r.reference!==`suffix`&&n.scheme&&(o.push(n.scheme),o.push(`:`));let l=a(n,r);if(l!==void 0&&(r.reference!==`suffix`&&o.push(`//`),o.push(l),n.path&&n.path.charAt(0)!==`/`&&o.push(`/`)),n.path!==void 0){let e=n.path;!r.absolutePath&&(!c||!c.absolutePath)&&(e=i(e)),l===void 0&&(e=e.replace(/^\/\//u,`/%2F`)),o.push(e)}return n.query!==void 0&&(o.push(`?`),o.push(n.query)),n.fragment!==void 0&&(o.push(`#`),o.push(n.fragment)),o.join(``)}let p=Array.from({length:127},(e,t)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(t)));function m(e){let t=0;for(let n=0,r=e.length;n<r;++n)if(t=e.charCodeAt(n),t>126||p[t])return!0;return!1}let h=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function g(e,t){let i=Object.assign({},t),a={scheme:void 0,userinfo:void 0,host:``,port:void 0,path:``,query:void 0,fragment:void 0},o=e.indexOf(`%`)!==-1,c=!1;i.reference===`suffix`&&(e=(i.scheme?i.scheme+`:`:``)+`//`+e);let l=e.match(h);if(l){if(a.scheme=l[1],a.userinfo=l[3],a.host=l[4],a.port=parseInt(l[5],10),a.path=l[6]||``,a.query=l[7],a.fragment=l[8],isNaN(a.port)&&(a.port=l[5]),a.host){let e=r(a.host);if(e.isIPV4===!1){let t=n(e.host,{isIPV4:!1});a.host=t.host.toLowerCase(),c=t.isIPV6}else a.host=e.host,c=!0}a.scheme===void 0&&a.userinfo===void 0&&a.host===void 0&&a.port===void 0&&!a.path&&a.query===void 0?a.reference=`same-document`:a.scheme===void 0?a.reference=`relative`:a.fragment===void 0?a.reference=`absolute`:a.reference=`uri`,i.reference&&i.reference!==`suffix`&&i.reference!==a.reference&&(a.error=a.error||`URI is not a `+i.reference+` reference.`);let e=s[(i.scheme||a.scheme||``).toLowerCase()];if(!i.unicodeSupport&&(!e||!e.unicodeSupport)&&a.host&&(i.domainHost||e&&e.domainHost)&&c===!1&&m(a.host))try{a.host=URL.domainToASCII(a.host.toLowerCase())}catch(e){a.error=a.error||`Host's domain name can not be converted to ASCII: `+e}(!e||e&&!e.skipNormalize)&&(o&&a.scheme!==void 0&&(a.scheme=unescape(a.scheme)),o&&a.userinfo!==void 0&&(a.userinfo=unescape(a.userinfo)),o&&a.host!==void 0&&(a.host=unescape(a.host)),a.path!==void 0&&a.path.length&&(a.path=escape(unescape(a.path))),a.fragment!==void 0&&a.fragment.length&&(a.fragment=encodeURI(decodeURIComponent(a.fragment)))),e&&e.parse&&e.parse(a,i)}else a.error=a.error||`URI can not be parsed.`;return a}let _={SCHEMES:s,normalize:c,resolve:l,resolveComponents:u,equal:d,serialize:f,parse:g};t.exports=_,t.exports.default=_,t.exports.fastUri=_})),be=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ye();t.code=`require("ajv/dist/runtime/uri").default`,e.default=t})),xe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=de();Object.defineProperty(e,`KeywordCxt`,{enumerable:!0,get:function(){return t.KeywordCxt}});var n=C();Object.defineProperty(e,`_`,{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,`str`,{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,`nil`,{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,`Name`,{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(e,`CodeGen`,{enumerable:!0,get:function(){return n.CodeGen}});let r=fe(),i=pe(),a=re(),o=me(),s=C(),c=ue(),l=ie(),u=w(),d=he(),f=be(),p=(e,t)=>new RegExp(e,t);p.code=`new RegExp`;let m=[`removeAdditional`,`useDefaults`,`coerceTypes`],h=new Set([`validate`,`serialize`,`parse`,`wrapper`,`root`,`schema`,`keyword`,`pattern`,`formats`,`validate$data`,`func`,`obj`,`Error`]),g={errorDataPath:``,format:"`validateFormats: false` can be used instead.",nullable:`"nullable" keyword is supported by default.`,jsonPointers:`Deprecated jsPropertySyntax can be used instead.`,extendRefs:`Deprecated ignoreKeywordsWithRef can be used instead.`,missingRefs:`Pass empty schema with $id that should be ignored to ajv.addSchema.`,processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:`"uniqueItems" keyword is always validated.`,unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:`Map is used as cache, schema object as key.`,serialize:`Map is used as cache, schema object as key.`,ajvErrors:`It is default now.`},_={ignoreKeywordsWithRef:``,jsPropertySyntax:``,unicode:`"minLength"/"maxLength" account for unicode characters by default.`};function v(e){let t=e.strict,n=e.code?.optimize,r=n===!0||n===void 0?1:n||0,i=e.code?.regExp??p,a=e.uriResolver??f.default;return{strictSchema:e.strictSchema??t??!0,strictNumbers:e.strictNumbers??t??!0,strictTypes:e.strictTypes??t??`log`,strictTuples:e.strictTuples??t??`log`,strictRequired:e.strictRequired??t??!1,code:e.code?{...e.code,optimize:r,regExp:i}:{optimize:r,regExp:i},loopRequired:e.loopRequired??200,loopEnum:e.loopEnum??200,meta:e.meta??!0,messages:e.messages??!0,inlineRefs:e.inlineRefs??!0,schemaId:e.schemaId??`$id`,addUsedSchema:e.addUsedSchema??!0,validateSchema:e.validateSchema??!0,validateFormats:e.validateFormats??!0,unicodeRegExp:e.unicodeRegExp??!0,int32range:e.int32range??!0,uriResolver:a}}var y=class{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...v(e)};let{es5:t,lines:n}=this.opts.code;this.scope=new s.ValueScope({scope:{},prefixes:h,es5:t,lines:n}),this.logger=E(e.logger);let r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),b.call(this,g,e,`NOT SUPPORTED`),b.call(this,_,e,`DEPRECATED`,`warn`),this._metaOpts=T.call(this),e.formats&&ee.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&te.call(this,e.keywords),typeof e.meta==`object`&&this.addMetaSchema(e.meta),S.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword(`$async`)}_addDefaultMetaSchema(){let{$data:e,meta:t,schemaId:n}=this.opts,r=d;n===`id`&&(r={...d},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){let{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e==`object`?e[t]||e:void 0}validate(e,t){let n;if(typeof e==`string`){if(n=this.getSchema(e),!n)throw Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);let r=n(t);return`$async`in n||(this.errors=n.errors),r}compile(e,t){let n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if(typeof this.opts.loadSchema!=`function`)throw Error(`options.loadSchema should be a function`);let{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await a.call(this,e.$schema);let n=this._addSchema(e,t);return n.validate||o.call(this,n)}async function a(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function o(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof i.default))throw t;return s.call(this,t),await c.call(this,t.missingSchema),o.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){let n=await l.call(this,e);this.refs[e]||await a.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function l(e){let t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(let t of e)this.addSchema(t,void 0,n,r);return this}let i;if(typeof e==`object`){let{schemaId:t}=this.opts;if(i=e[t],i!==void 0&&typeof i!=`string`)throw Error(`schema ${t} must be string`)}return t=(0,c.normalizeId)(t||i),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if(typeof e==`boolean`)return!0;let n;if(n=e.$schema,n!==void 0&&typeof n!=`string`)throw Error(`$schema must be a string`);if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn(`meta-schema not available`),this.errors=null,!0;let r=this.validate(n,e);if(!r&&t){let e=`schema is invalid: `+this.errorsText();if(this.opts.validateSchema===`log`)this.logger.error(e);else throw Error(e)}return r}getSchema(e){let t;for(;typeof(t=x.call(this,e))==`string`;)e=t;if(t===void 0){let{schemaId:n}=this.opts,r=new o.SchemaEnv({schema:{},schemaId:n});if(t=o.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case`undefined`:return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case`string`:{let t=x.call(this,e);return typeof t==`object`&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case`object`:{let t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,c.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw Error(`ajv.removeSchema: invalid parameter`)}}addVocabulary(e){for(let t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if(typeof e==`string`)n=e,typeof t==`object`&&(this.logger.warn(`these parameters are deprecated, see docs for addKeyword`),t.keyword=n);else if(typeof e==`object`&&t===void 0){if(t=e,n=t.keyword,Array.isArray(n)&&!n.length)throw Error(`addKeywords: keyword must be string or non-empty array`)}else throw Error(`invalid addKeywords parameters`);if(ae.call(this,n,t),!t)return(0,u.eachItem)(n,e=>O.call(this,e)),this;se.call(this,t);let r={...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)};return(0,u.eachItem)(n,r.type.length===0?e=>O.call(this,e,r):e=>r.type.forEach(t=>O.call(this,e,r,t))),this}getKeyword(e){let t=this.RULES.all[e];return typeof t==`object`?t.definition:!!t}removeKeyword(e){let{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(let n of t.rules){let t=n.rules.findIndex(t=>t.keyword===e);t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return typeof t==`string`&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=`, `,dataVar:n=`data`}={}){return!e||e.length===0?`No errors`:e.map(e=>`${n}${e.instancePath} ${e.message}`).reduce((e,n)=>e+t+n)}$dataMetaSchema(e,t){let n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let r of t){let t=r.split(`/`).slice(1),i=e;for(let e of t)i=i[e];for(let e in n){let t=n[e];if(typeof t!=`object`)continue;let{$data:r}=t.definition,a=i[e];r&&a&&(i[e]=le(a))}}return e}_removeAllSchemas(e,t){for(let n in e){let r=e[n];(!t||t.test(n))&&(typeof r==`string`?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,i=this.opts.addUsedSchema){let a,{schemaId:s}=this.opts;if(typeof e==`object`)a=e[s];else if(this.opts.jtd)throw Error(`schema must be object`);else if(typeof e!=`boolean`)throw Error(`schema must be object or boolean`);let l=this._cache.get(e);if(l!==void 0)return l;n=(0,c.normalizeId)(a||n);let u=c.getSchemaRefs.call(this,e,n);return l=new o.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:u}),this._cache.set(l.schema,l),i&&!n.startsWith(`#`)&&(n&&this._checkUnique(n),this.refs[n]=l),r&&this.validateSchema(e,!0),l}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):o.compileSchema.call(this,e),!e.validate)throw Error(`ajv implementation error`);return e.validate}_compileMetaSchema(e){let t=this.opts;this.opts=this._metaOpts;try{o.compileSchema.call(this,e)}finally{this.opts=t}}};y.ValidationError=r.default,y.MissingRefError=i.default,e.default=y;function b(e,t,n,r=`error`){for(let i in e){let a=i;a in t&&this.logger[r](`${n}: option ${i}. ${e[a]}`)}}function x(e){return e=(0,c.normalizeId)(e),this.schemas[e]||this.refs[e]}function S(){let e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(let t in e)this.addSchema(e[t],t)}function ee(){for(let e in this.opts.formats){let t=this.opts.formats[e];t&&this.addFormat(e,t)}}function te(e){if(Array.isArray(e)){this.addVocabulary(e);return}this.logger.warn(`keywords option as map is deprecated, pass array`);for(let t in e){let n=e[t];n.keyword||=t,this.addKeyword(n)}}function T(){let e={...this.opts};for(let t of m)delete e[t];return e}let ne={log(){},warn(){},error(){}};function E(e){if(e===!1)return ne;if(e===void 0)return console;if(e.log&&e.warn&&e.error)return e;throw Error(`logger must implement log, warn and error methods`)}let D=/^[a-z_$][a-z0-9_$:-]*$/i;function ae(e,t){let{RULES:n}=this;if((0,u.eachItem)(e,e=>{if(n.keywords[e])throw Error(`Keyword ${e} is already defined`);if(!D.test(e))throw Error(`Keyword ${e} has invalid name`)}),t&&t.$data&&!(`code`in t||`validate`in t))throw Error(`$data keyword must have "code" or "validate" function`)}function O(e,t,n){var r;let i=t?.post;if(n&&i)throw Error(`keyword with "post" flag cannot have "type"`);let{RULES:a}=this,o=i?a.post:a.rules.find(({type:e})=>e===n);if(o||(o={type:n,rules:[]},a.rules.push(o)),a.keywords[e]=!0,!t)return;let s={keyword:e,definition:{...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)}};t.before?oe.call(this,o,s,t.before):o.rules.push(s),a.all[e]=s,(r=t.implements)==null||r.forEach(e=>this.addKeyword(e))}function oe(e,t,n){let r=e.rules.findIndex(e=>e.keyword===n);r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function se(e){let{metaSchema:t}=e;t!==void 0&&(e.$data&&this.opts.$data&&(t=le(t)),e.validateSchema=this.compile(t,!0))}let ce={$ref:`https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#`};function le(e){return{anyOf:[e,ce]}}})),Se=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={keyword:`id`,code(){throw Error(`NOT SUPPORTED: keyword "id", use "$id" for schema ID`)}}})),Ce=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.callRef=e.getValidate=void 0;let t=pe(),n=O(),r=C(),i=T(),a=me(),o=w(),s={keyword:`$ref`,schemaType:`string`,code(e){let{gen:n,schema:i,it:o}=e,{baseId:s,schemaEnv:u,validateName:d,opts:f,self:p}=o,{root:m}=u;if((i===`#`||i===`#/`)&&s===m.baseId)return g();let h=a.resolveRef.call(p,m,s,i);if(h===void 0)throw new t.default(o.opts.uriResolver,s,i);if(h instanceof a.SchemaEnv)return _(h);return v(h);function g(){if(u===m)return l(e,d,u,u.$async);let t=n.scopeValue(`root`,{ref:m});return l(e,(0,r._)`${t}.validate`,m,m.$async)}function _(t){l(e,c(e,t),t,t.$async)}function v(t){let a=n.scopeValue(`schema`,f.code.source===!0?{ref:t,code:(0,r.stringify)(t)}:{ref:t}),o=n.name(`valid`),s=e.subschema({schema:t,dataTypes:[],schemaPath:r.nil,topSchemaRef:a,errSchemaPath:i},o);e.mergeEvaluated(s),e.ok(o)}}};function c(e,t){let{gen:n}=e;return t.validate?n.scopeValue(`validate`,{ref:t.validate}):(0,r._)`${n.scopeValue(`wrapper`,{ref:t})}.validate`}e.getValidate=c;function l(e,t,a,s){let{gen:c,it:l}=e,{allErrors:u,schemaEnv:d,opts:f}=l,p=f.passContext?i.default.this:r.nil;s?m():h();function m(){if(!d.$async)throw Error(`async schema referenced by sync schema`);let i=c.let(`valid`);c.try(()=>{c.code((0,r._)`await ${(0,n.callValidateCode)(e,t,p)}`),_(t),u||c.assign(i,!0)},e=>{c.if((0,r._)`!(${e} instanceof ${l.ValidationError})`,()=>c.throw(e)),g(e),u||c.assign(i,!1)}),e.ok(i)}function h(){e.result((0,n.callValidateCode)(e,t,p),()=>_(t),()=>g(t))}function g(e){let t=(0,r._)`${e}.errors`;c.assign(i.default.vErrors,(0,r._)`${i.default.vErrors} === null ? ${t} : ${i.default.vErrors}.concat(${t})`),c.assign(i.default.errors,(0,r._)`${i.default.vErrors}.length`)}function _(e){if(!l.opts.unevaluated)return;let t=a?.validate?.evaluated;if(l.props!==!0)if(t&&!t.dynamicProps)t.props!==void 0&&(l.props=o.mergeEvaluated.props(c,t.props,l.props));else{let t=c.var(`props`,(0,r._)`${e}.evaluated.props`);l.props=o.mergeEvaluated.props(c,t,l.props,r.Name)}if(l.items!==!0)if(t&&!t.dynamicItems)t.items!==void 0&&(l.items=o.mergeEvaluated.items(c,t.items,l.items));else{let t=c.var(`items`,(0,r._)`${e}.evaluated.items`);l.items=o.mergeEvaluated.items(c,t,l.items,r.Name)}}}e.callRef=l,e.default=s})),we=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Se(),n=Ce();e.default=[`$schema`,`$id`,`$defs`,`$vocabulary`,{keyword:`$comment`},`definitions`,t.default,n.default]})),Te=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=t.operators,r={maximum:{okStr:`<=`,ok:n.LTE,fail:n.GT},minimum:{okStr:`>=`,ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:`<`,ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:`>`,ok:n.GT,fail:n.LTE}};e.default={keyword:Object.keys(r),type:`number`,schemaType:`number`,$data:!0,error:{message:({keyword:e,schemaCode:n})=>(0,t.str)`must be ${r[e].okStr} ${n}`,params:({keyword:e,schemaCode:n})=>(0,t._)`{comparison: ${r[e].okStr}, limit: ${n}}`},code(e){let{keyword:n,data:i,schemaCode:a}=e;e.fail$data((0,t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`)}}})),Ee=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C();e.default={keyword:`multipleOf`,type:`number`,schemaType:`number`,$data:!0,error:{message:({schemaCode:e})=>(0,t.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,t._)`{multipleOf: ${e}}`},code(e){let{gen:n,data:r,schemaCode:i,it:a}=e,o=a.opts.multipleOfPrecision,s=n.let(`res`),c=o?(0,t._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${o}`:(0,t._)`${s} !== parseInt(${s})`;e.fail$data((0,t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`)}}})),De=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});function t(e){let t=e.length,n=0,r=0,i;for(;r<t;)n++,i=e.charCodeAt(r++),i>=55296&&i<=56319&&r<t&&(i=e.charCodeAt(r),(i&64512)==56320&&r++);return n}e.default=t,t.code=`require("ajv/dist/runtime/ucs2length").default`})),Oe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w(),r=De();e.default={keyword:[`maxLength`,`minLength`],type:`string`,schemaType:`number`,$data:!0,error:{message({keyword:e,schemaCode:n}){let r=e===`maxLength`?`more`:`fewer`;return(0,t.str)`must NOT have ${r} than ${n} characters`},params:({schemaCode:e})=>(0,t._)`{limit: ${e}}`},code(e){let{keyword:i,data:a,schemaCode:o,it:s}=e,c=i===`maxLength`?t.operators.GT:t.operators.LT,l=s.opts.unicode===!1?(0,t._)`${a}.length`:(0,t._)`${(0,n.useFunc)(e.gen,r.default)}(${a})`;e.fail$data((0,t._)`${l} ${c} ${o}`)}}})),ke=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=O(),n=w(),r=C();e.default={keyword:`pattern`,type:`string`,schemaType:`string`,$data:!0,error:{message:({schemaCode:e})=>(0,r.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,r._)`{pattern: ${e}}`},code(e){let{gen:i,data:a,$data:o,schema:s,schemaCode:c,it:l}=e,u=l.opts.unicodeRegExp?`u`:``;if(o){let{regExp:t}=l.opts.code,o=t.code===`new RegExp`?(0,r._)`new RegExp`:(0,n.useFunc)(i,t),s=i.let(`valid`);i.try(()=>i.assign(s,(0,r._)`${o}(${c}, ${u}).test(${a})`),()=>i.assign(s,!1)),e.fail$data((0,r._)`!${s}`)}else{let n=(0,t.usePattern)(e,s);e.fail$data((0,r._)`!${n}.test(${a})`)}}}})),Ae=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C();e.default={keyword:[`maxProperties`,`minProperties`],type:`object`,schemaType:`number`,$data:!0,error:{message({keyword:e,schemaCode:n}){let r=e===`maxProperties`?`more`:`fewer`;return(0,t.str)`must NOT have ${r} than ${n} properties`},params:({schemaCode:e})=>(0,t._)`{limit: ${e}}`},code(e){let{keyword:n,data:r,schemaCode:i}=e,a=n===`maxProperties`?t.operators.GT:t.operators.LT;e.fail$data((0,t._)`Object.keys(${r}).length ${a} ${i}`)}}})),je=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=O(),n=C(),r=w();e.default={keyword:`required`,type:`object`,schemaType:`array`,$data:!0,error:{message:({params:{missingProperty:e}})=>(0,n.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,n._)`{missingProperty: ${e}}`},code(e){let{gen:i,schema:a,schemaCode:o,data:s,$data:c,it:l}=e,{opts:u}=l;if(!c&&a.length===0)return;let d=a.length>=u.loopRequired;if(l.allErrors?f():p(),u.strictRequired){let t=e.parentSchema.properties,{definedProperties:n}=e.it;for(let e of a)if(t?.[e]===void 0&&!n.has(e)){let t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,r.checkStrictMode)(l,t,l.opts.strictRequired)}}function f(){if(d||c)e.block$data(n.nil,m);else for(let n of a)(0,t.checkReportMissingProp)(e,n)}function p(){let n=i.let(`missing`);if(d||c){let t=i.let(`valid`,!0);e.block$data(t,()=>h(n,t)),e.ok(t)}else i.if((0,t.checkMissingProp)(e,a,n)),(0,t.reportMissingProp)(e,n),i.else()}function m(){i.forOf(`prop`,o,n=>{e.setParams({missingProperty:n}),i.if((0,t.noPropertyInData)(i,s,n,u.ownProperties),()=>e.error())})}function h(r,a){e.setParams({missingProperty:r}),i.forOf(r,o,()=>{i.assign(a,(0,t.propertyInData)(i,s,r,u.ownProperties)),i.if((0,n.not)(a),()=>{e.error(),i.break()})},n.nil)}}}})),Me=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C();e.default={keyword:[`maxItems`,`minItems`],type:`array`,schemaType:`number`,$data:!0,error:{message({keyword:e,schemaCode:n}){let r=e===`maxItems`?`more`:`fewer`;return(0,t.str)`must NOT have ${r} than ${n} items`},params:({schemaCode:e})=>(0,t._)`{limit: ${e}}`},code(e){let{keyword:n,data:r,schemaCode:i}=e,a=n===`maxItems`?t.operators.GT:t.operators.LT;e.fail$data((0,t._)`${r}.length ${a} ${i}`)}}})),Ne=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ce();t.code=`require("ajv/dist/runtime/equal").default`,e.default=t})),Pe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ie(),n=C(),r=w(),i=Ne();e.default={keyword:`uniqueItems`,type:`array`,schemaType:`boolean`,$data:!0,error:{message:({params:{i:e,j:t}})=>(0,n.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,n._)`{i: ${e}, j: ${t}}`},code(e){let{gen:a,data:o,$data:s,schema:c,parentSchema:l,schemaCode:u,it:d}=e;if(!s&&!c)return;let f=a.let(`valid`),p=l.items?(0,t.getSchemaTypes)(l.items):[];e.block$data(f,m,(0,n._)`${u} === false`),e.ok(f);function m(){let t=a.let(`i`,(0,n._)`${o}.length`),r=a.let(`j`);e.setParams({i:t,j:r}),a.assign(f,!0),a.if((0,n._)`${t} > 1`,()=>(h()?g:_)(t,r))}function h(){return p.length>0&&!p.some(e=>e===`object`||e===`array`)}function g(r,i){let s=a.name(`item`),c=(0,t.checkDataTypes)(p,s,d.opts.strictNumbers,t.DataType.Wrong),l=a.const(`indices`,(0,n._)`{}`);a.for((0,n._)`;${r}--;`,()=>{a.let(s,(0,n._)`${o}[${r}]`),a.if(c,(0,n._)`continue`),p.length>1&&a.if((0,n._)`typeof ${s} == "string"`,(0,n._)`${s} += "_"`),a.if((0,n._)`typeof ${l}[${s}] == "number"`,()=>{a.assign(i,(0,n._)`${l}[${s}]`),e.error(),a.assign(f,!1).break()}).code((0,n._)`${l}[${s}] = ${r}`)})}function _(t,s){let c=(0,r.useFunc)(a,i.default),l=a.name(`outer`);a.label(l).for((0,n._)`;${t}--;`,()=>a.for((0,n._)`${s} = ${t}; ${s}--;`,()=>a.if((0,n._)`${c}(${o}[${t}], ${o}[${s}])`,()=>{e.error(),a.assign(f,!1).break(l)})))}}}})),Fe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w(),r=Ne();e.default={keyword:`const`,$data:!0,error:{message:`must be equal to constant`,params:({schemaCode:e})=>(0,t._)`{allowedValue: ${e}}`},code(e){let{gen:i,data:a,$data:o,schemaCode:s,schema:c}=e;o||c&&typeof c==`object`?e.fail$data((0,t._)`!${(0,n.useFunc)(i,r.default)}(${a}, ${s})`):e.fail((0,t._)`${c} !== ${a}`)}}})),Ie=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w(),r=Ne();e.default={keyword:`enum`,schemaType:`array`,$data:!0,error:{message:`must be equal to one of the allowed values`,params:({schemaCode:e})=>(0,t._)`{allowedValues: ${e}}`},code(e){let{gen:i,data:a,$data:o,schema:s,schemaCode:c,it:l}=e;if(!o&&s.length===0)throw Error(`enum must have non-empty array`);let u=s.length>=l.opts.loopEnum,d,f=()=>d??=(0,n.useFunc)(i,r.default),p;if(u||o)p=i.let(`valid`),e.block$data(p,m);else{if(!Array.isArray(s))throw Error(`ajv implementation error`);let e=i.const(`vSchema`,c);p=(0,t.or)(...s.map((t,n)=>h(e,n)))}e.pass(p);function m(){i.assign(p,!1),i.forOf(`v`,c,e=>i.if((0,t._)`${f()}(${a}, ${e})`,()=>i.assign(p,!0).break()))}function h(e,n){let r=s[n];return typeof r==`object`&&r?(0,t._)`${f()}(${a}, ${e}[${n}])`:(0,t._)`${a} === ${r}`}}}})),Le=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Te(),n=Ee(),r=Oe(),i=ke(),a=Ae(),o=je(),s=Me(),c=Pe(),l=Fe(),u=Ie();e.default=[t.default,n.default,r.default,i.default,a.default,o.default,s.default,c.default,{keyword:`type`,schemaType:[`string`,`array`]},{keyword:`nullable`,schemaType:`boolean`},l.default,u.default]})),Re=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.validateAdditionalItems=void 0;let t=C(),n=w(),r={keyword:`additionalItems`,type:`array`,schemaType:[`boolean`,`object`],before:`uniqueItems`,error:{message:({params:{len:e}})=>(0,t.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,t._)`{limit: ${e}}`},code(e){let{parentSchema:t,it:r}=e,{items:a}=t;if(!Array.isArray(a)){(0,n.checkStrictMode)(r,`"additionalItems" is ignored when "items" is not an array of schemas`);return}i(e,a)}};function i(e,r){let{gen:i,schema:a,data:o,keyword:s,it:c}=e;c.items=!0;let l=i.const(`len`,(0,t._)`${o}.length`);if(a===!1)e.setParams({len:r.length}),e.pass((0,t._)`${l} <= ${r.length}`);else if(typeof a==`object`&&!(0,n.alwaysValidSchema)(c,a)){let n=i.var(`valid`,(0,t._)`${l} <= ${r.length}`);i.if((0,t.not)(n),()=>u(n)),e.ok(n)}function u(a){i.forRange(`i`,r.length,l,r=>{e.subschema({keyword:s,dataProp:r,dataPropType:n.Type.Num},a),c.allErrors||i.if((0,t.not)(a),()=>i.break())})}}e.validateAdditionalItems=i,e.default=r})),ze=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.validateTuple=void 0;let t=C(),n=w(),r=O(),i={keyword:`items`,type:`array`,schemaType:[`object`,`array`,`boolean`],before:`uniqueItems`,code(e){let{schema:t,it:i}=e;if(Array.isArray(t))return a(e,`additionalItems`,t);i.items=!0,!(0,n.alwaysValidSchema)(i,t)&&e.ok((0,r.validateArray)(e))}};function a(e,r,i=e.schema){let{gen:a,parentSchema:o,data:s,keyword:c,it:l}=e;f(o),l.opts.unevaluated&&i.length&&l.items!==!0&&(l.items=n.mergeEvaluated.items(a,i.length,l.items));let u=a.name(`valid`),d=a.const(`len`,(0,t._)`${s}.length`);i.forEach((r,i)=>{(0,n.alwaysValidSchema)(l,r)||(a.if((0,t._)`${d} > ${i}`,()=>e.subschema({keyword:c,schemaProp:i,dataProp:i},u)),e.ok(u))});function f(e){let{opts:t,errSchemaPath:a}=l,o=i.length,s=o===e.minItems&&(o===e.maxItems||e[r]===!1);if(t.strictTuples&&!s){let e=`"${c}" is ${o}-tuple, but minItems or maxItems/${r} are not specified or different at path "${a}"`;(0,n.checkStrictMode)(l,e,t.strictTuples)}}}e.validateTuple=a,e.default=i})),Be=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ze();e.default={keyword:`prefixItems`,type:`array`,schemaType:[`array`],before:`uniqueItems`,code:e=>(0,t.validateTuple)(e,`items`)}})),Ve=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w(),r=O(),i=Re();e.default={keyword:`items`,type:`array`,schemaType:[`object`,`boolean`],before:`uniqueItems`,error:{message:({params:{len:e}})=>(0,t.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,t._)`{limit: ${e}}`},code(e){let{schema:t,parentSchema:a,it:o}=e,{prefixItems:s}=a;o.items=!0,!(0,n.alwaysValidSchema)(o,t)&&(s?(0,i.validateAdditionalItems)(e,s):e.ok((0,r.validateArray)(e)))}}})),He=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w();e.default={keyword:`contains`,type:`array`,schemaType:[`object`,`boolean`],before:`uniqueItems`,trackErrors:!0,error:{message:({params:{min:e,max:n}})=>n===void 0?(0,t.str)`must contain at least ${e} valid item(s)`:(0,t.str)`must contain at least ${e} and no more than ${n} valid item(s)`,params:({params:{min:e,max:n}})=>n===void 0?(0,t._)`{minContains: ${e}}`:(0,t._)`{minContains: ${e}, maxContains: ${n}}`},code(e){let{gen:r,schema:i,parentSchema:a,data:o,it:s}=e,c,l,{minContains:u,maxContains:d}=a;s.opts.next?(c=u===void 0?1:u,l=d):c=1;let f=r.const(`len`,(0,t._)`${o}.length`);if(e.setParams({min:c,max:l}),l===void 0&&c===0){(0,n.checkStrictMode)(s,`"minContains" == 0 without "maxContains": "contains" keyword ignored`);return}if(l!==void 0&&c>l){(0,n.checkStrictMode)(s,`"minContains" > "maxContains" is always invalid`),e.fail();return}if((0,n.alwaysValidSchema)(s,i)){let n=(0,t._)`${f} >= ${c}`;l!==void 0&&(n=(0,t._)`${n} && ${f} <= ${l}`),e.pass(n);return}s.items=!0;let p=r.name(`valid`);l===void 0&&c===1?h(p,()=>r.if(p,()=>r.break())):c===0?(r.let(p,!0),l!==void 0&&r.if((0,t._)`${o}.length > 0`,m)):(r.let(p,!1),m()),e.result(p,()=>e.reset());function m(){let e=r.name(`_valid`),t=r.let(`count`,0);h(e,()=>r.if(e,()=>g(t)))}function h(t,i){r.forRange(`i`,0,f,r=>{e.subschema({keyword:`contains`,dataProp:r,dataPropType:n.Type.Num,compositeRule:!0},t),i()})}function g(e){r.code((0,t._)`${e}++`),l===void 0?r.if((0,t._)`${e} >= ${c}`,()=>r.assign(p,!0).break()):(r.if((0,t._)`${e} > ${l}`,()=>r.assign(p,!1).break()),c===1?r.assign(p,!0):r.if((0,t._)`${e} >= ${c}`,()=>r.assign(p,!0)))}}}})),Ue=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;let t=C(),n=w(),r=O();e.error={message:({params:{property:e,depsCount:n,deps:r}})=>{let i=n===1?`property`:`properties`;return(0,t.str)`must have ${i} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:n,deps:r,missingProperty:i}})=>(0,t._)`{property: ${e},
|
|
6
|
+
missingProperty: ${i},
|
|
7
|
+
depsCount: ${n},
|
|
8
|
+
deps: ${r}}`};let i={keyword:`dependencies`,type:`object`,schemaType:`object`,error:e.error,code(e){let[t,n]=a(e);o(e,t),s(e,n)}};function a({schema:e}){let t={},n={};for(let r in e){if(r===`__proto__`)continue;let i=Array.isArray(e[r])?t:n;i[r]=e[r]}return[t,n]}function o(e,n=e.schema){let{gen:i,data:a,it:o}=e;if(Object.keys(n).length===0)return;let s=i.let(`missing`);for(let c in n){let l=n[c];if(l.length===0)continue;let u=(0,r.propertyInData)(i,a,c,o.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(`, `)}),o.allErrors?i.if(u,()=>{for(let t of l)(0,r.checkReportMissingProp)(e,t)}):(i.if((0,t._)`${u} && (${(0,r.checkMissingProp)(e,l,s)})`),(0,r.reportMissingProp)(e,s),i.else())}}e.validatePropertyDeps=o;function s(e,t=e.schema){let{gen:i,data:a,keyword:o,it:s}=e,c=i.name(`valid`);for(let l in t)(0,n.alwaysValidSchema)(s,t[l])||(i.if((0,r.propertyInData)(i,a,l,s.opts.ownProperties),()=>{let t=e.subschema({keyword:o,schemaProp:l},c);e.mergeValidEvaluated(t,c)},()=>i.var(c,!0)),e.ok(c))}e.validateSchemaDeps=s,e.default=i})),We=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w();e.default={keyword:`propertyNames`,type:`object`,schemaType:[`object`,`boolean`],error:{message:`property name must be valid`,params:({params:e})=>(0,t._)`{propertyName: ${e.propertyName}}`},code(e){let{gen:r,schema:i,data:a,it:o}=e;if((0,n.alwaysValidSchema)(o,i))return;let s=r.name(`valid`);r.forIn(`key`,a,n=>{e.setParams({propertyName:n}),e.subschema({keyword:`propertyNames`,data:n,dataTypes:[`string`],propertyName:n,compositeRule:!0},s),r.if((0,t.not)(s),()=>{e.error(!0),o.allErrors||r.break()})}),e.ok(s)}}})),Ge=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=O(),n=C(),r=T(),i=w();e.default={keyword:`additionalProperties`,type:[`object`],schemaType:[`boolean`,`object`],allowUndefined:!0,trackErrors:!0,error:{message:`must NOT have additional properties`,params:({params:e})=>(0,n._)`{additionalProperty: ${e.additionalProperty}}`},code(e){let{gen:a,schema:o,parentSchema:s,data:c,errsCount:l,it:u}=e;if(!l)throw Error(`ajv implementation error`);let{allErrors:d,opts:f}=u;if(u.props=!0,f.removeAdditional!==`all`&&(0,i.alwaysValidSchema)(u,o))return;let p=(0,t.allSchemaProperties)(s.properties),m=(0,t.allSchemaProperties)(s.patternProperties);h(),e.ok((0,n._)`${l} === ${r.default.errors}`);function h(){a.forIn(`key`,c,e=>{!p.length&&!m.length?v(e):a.if(g(e),()=>v(e))})}function g(r){let o;if(p.length>8){let e=(0,i.schemaRefOrVal)(u,s.properties,`properties`);o=(0,t.isOwnProperty)(a,e,r)}else o=p.length?(0,n.or)(...p.map(e=>(0,n._)`${r} === ${e}`)):n.nil;return m.length&&(o=(0,n.or)(o,...m.map(i=>(0,n._)`${(0,t.usePattern)(e,i)}.test(${r})`))),(0,n.not)(o)}function _(e){a.code((0,n._)`delete ${c}[${e}]`)}function v(t){if(f.removeAdditional===`all`||f.removeAdditional&&o===!1){_(t);return}if(o===!1){e.setParams({additionalProperty:t}),e.error(),d||a.break();return}if(typeof o==`object`&&!(0,i.alwaysValidSchema)(u,o)){let r=a.name(`valid`);f.removeAdditional===`failing`?(y(t,r,!1),a.if((0,n.not)(r),()=>{e.reset(),_(t)})):(y(t,r),d||a.if((0,n.not)(r),()=>a.break()))}}function y(t,n,r){let a={keyword:`additionalProperties`,dataProp:t,dataPropType:i.Type.Str};r===!1&&Object.assign(a,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(a,n)}}}})),Ke=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=de(),n=O(),r=w(),i=Ge();e.default={keyword:`properties`,type:`object`,schemaType:`object`,code(e){let{gen:a,schema:o,parentSchema:s,data:c,it:l}=e;l.opts.removeAdditional===`all`&&s.additionalProperties===void 0&&i.default.code(new t.KeywordCxt(l,i.default,`additionalProperties`));let u=(0,n.allSchemaProperties)(o);for(let e of u)l.definedProperties.add(e);l.opts.unevaluated&&u.length&&l.props!==!0&&(l.props=r.mergeEvaluated.props(a,(0,r.toHash)(u),l.props));let d=u.filter(e=>!(0,r.alwaysValidSchema)(l,o[e]));if(d.length===0)return;let f=a.name(`valid`);for(let t of d)p(t)?m(t):(a.if((0,n.propertyInData)(a,c,t,l.opts.ownProperties)),m(t),l.allErrors||a.else().var(f,!0),a.endIf()),e.it.definedProperties.add(t),e.ok(f);function p(e){return l.opts.useDefaults&&!l.compositeRule&&o[e].default!==void 0}function m(t){e.subschema({keyword:`properties`,schemaProp:t,dataProp:t},f)}}}})),qe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=O(),n=C(),r=w(),i=w();e.default={keyword:`patternProperties`,type:`object`,schemaType:`object`,code(e){let{gen:a,schema:o,data:s,parentSchema:c,it:l}=e,{opts:u}=l,d=(0,t.allSchemaProperties)(o),f=d.filter(e=>(0,r.alwaysValidSchema)(l,o[e]));if(d.length===0||f.length===d.length&&(!l.opts.unevaluated||l.props===!0))return;let p=u.strictSchema&&!u.allowMatchingProperties&&c.properties,m=a.name(`valid`);l.props!==!0&&!(l.props instanceof n.Name)&&(l.props=(0,i.evaluatedPropsToName)(a,l.props));let{props:h}=l;g();function g(){for(let e of d)p&&_(e),l.allErrors?v(e):(a.var(m,!0),v(e),a.if(m))}function _(e){for(let t in p)new RegExp(e).test(t)&&(0,r.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function v(r){a.forIn(`key`,s,o=>{a.if((0,n._)`${(0,t.usePattern)(e,r)}.test(${o})`,()=>{let t=f.includes(r);t||e.subschema({keyword:`patternProperties`,schemaProp:r,dataProp:o,dataPropType:i.Type.Str},m),l.opts.unevaluated&&h!==!0?a.assign((0,n._)`${h}[${o}]`,!0):!t&&!l.allErrors&&a.if((0,n.not)(m),()=>a.break())})})}}}})),Je=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=w();e.default={keyword:`not`,schemaType:[`object`,`boolean`],trackErrors:!0,code(e){let{gen:n,schema:r,it:i}=e;if((0,t.alwaysValidSchema)(i,r)){e.fail();return}let a=n.name(`valid`);e.subschema({keyword:`not`,compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,()=>e.reset(),()=>e.error())},error:{message:`must NOT be valid`}}})),Ye=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={keyword:`anyOf`,schemaType:`array`,trackErrors:!0,code:O().validateUnion,error:{message:`must match a schema in anyOf`}}})),Xe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w();e.default={keyword:`oneOf`,schemaType:`array`,trackErrors:!0,error:{message:`must match exactly one schema in oneOf`,params:({params:e})=>(0,t._)`{passingSchemas: ${e.passing}}`},code(e){let{gen:r,schema:i,parentSchema:a,it:o}=e;if(!Array.isArray(i))throw Error(`ajv implementation error`);if(o.opts.discriminator&&a.discriminator)return;let s=i,c=r.let(`valid`,!1),l=r.let(`passing`,null),u=r.name(`_valid`);e.setParams({passing:l}),r.block(d),e.result(c,()=>e.reset(),()=>e.error(!0));function d(){s.forEach((i,a)=>{let s;(0,n.alwaysValidSchema)(o,i)?r.var(u,!0):s=e.subschema({keyword:`oneOf`,schemaProp:a,compositeRule:!0},u),a>0&&r.if((0,t._)`${u} && ${c}`).assign(c,!1).assign(l,(0,t._)`[${l}, ${a}]`).else(),r.if(u,()=>{r.assign(c,!0),r.assign(l,a),s&&e.mergeEvaluated(s,t.Name)})})}}}})),Ze=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=w();e.default={keyword:`allOf`,schemaType:`array`,code(e){let{gen:n,schema:r,it:i}=e;if(!Array.isArray(r))throw Error(`ajv implementation error`);let a=n.name(`valid`);r.forEach((n,r)=>{if((0,t.alwaysValidSchema)(i,n))return;let o=e.subschema({keyword:`allOf`,schemaProp:r},a);e.ok(a),e.mergeEvaluated(o)})}}})),Qe=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w(),r={keyword:`if`,schemaType:[`object`,`boolean`],trackErrors:!0,error:{message:({params:e})=>(0,t.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,t._)`{failingKeyword: ${e.ifClause}}`},code(e){let{gen:r,parentSchema:a,it:o}=e;a.then===void 0&&a.else===void 0&&(0,n.checkStrictMode)(o,`"if" without "then" and "else" is ignored`);let s=i(o,`then`),c=i(o,`else`);if(!s&&!c)return;let l=r.let(`valid`,!0),u=r.name(`_valid`);if(d(),e.reset(),s&&c){let t=r.let(`ifClause`);e.setParams({ifClause:t}),r.if(u,f(`then`,t),f(`else`,t))}else s?r.if(u,f(`then`)):r.if((0,t.not)(u),f(`else`));e.pass(l,()=>e.error(!0));function d(){let t=e.subschema({keyword:`if`,compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}function f(n,i){return()=>{let a=e.subschema({keyword:n},u);r.assign(l,u),e.mergeValidEvaluated(a,l),i?r.assign(i,(0,t._)`${n}`):e.setParams({ifClause:n})}}}};function i(e,t){let r=e.schema[t];return r!==void 0&&!(0,n.alwaysValidSchema)(e,r)}e.default=r})),$e=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=w();e.default={keyword:[`then`,`else`],schemaType:[`object`,`boolean`],code({keyword:e,parentSchema:n,it:r}){n.if===void 0&&(0,t.checkStrictMode)(r,`"${e}" without "if" is ignored`)}}})),et=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Re(),n=Be(),r=ze(),i=Ve(),a=He(),o=Ue(),s=We(),c=Ge(),l=Ke(),u=qe(),d=Je(),f=Ye(),p=Xe(),m=Ze(),h=Qe(),g=$e();function _(e=!1){let _=[d.default,f.default,p.default,m.default,h.default,g.default,s.default,c.default,o.default,l.default,u.default];return e?_.push(n.default,i.default):_.push(t.default,r.default),_.push(a.default),_}e.default=_})),tt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.dynamicAnchor=void 0;let t=C(),n=T(),r=me(),i=Ce(),a={keyword:`$dynamicAnchor`,schemaType:`string`,code:e=>o(e,e.schema)};function o(e,r){let{gen:i,it:a}=e;a.schemaEnv.root.dynamicAnchors[r]=!0;let o=(0,t._)`${n.default.dynamicAnchors}${(0,t.getProperty)(r)}`,c=a.errSchemaPath===`#`?a.validateName:s(e);i.if((0,t._)`!${o}`,()=>i.assign(o,c))}e.dynamicAnchor=o;function s(e){let{schemaEnv:t,schema:n,self:a}=e.it,{root:o,baseId:s,localRefs:c,meta:l}=t.root,{schemaId:u}=a.opts,d=new r.SchemaEnv({schema:n,schemaId:u,root:o,baseId:s,localRefs:c,meta:l});return r.compileSchema.call(a,d),(0,i.getValidate)(e,d)}e.default=a})),nt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.dynamicRef=void 0;let t=C(),n=T(),r=Ce(),i={keyword:`$dynamicRef`,schemaType:`string`,code:e=>a(e,e.schema)};function a(e,i){let{gen:a,keyword:o,it:s}=e;if(i[0]!==`#`)throw Error(`"${o}" only supports hash fragment reference`);let c=i.slice(1);if(s.allErrors)l();else{let t=a.let(`valid`,!1);l(t),e.ok(t)}function l(e){if(s.schemaEnv.root.dynamicAnchors[c]){let r=a.let(`_v`,(0,t._)`${n.default.dynamicAnchors}${(0,t.getProperty)(c)}`);a.if(r,u(r,e),u(s.validateName,e))}else u(s.validateName,e)()}function u(t,n){return n?()=>a.block(()=>{(0,r.callRef)(e,t),a.let(n,!0)}):()=>(0,r.callRef)(e,t)}}e.dynamicRef=a,e.default=i})),rt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=tt(),n=w();e.default={keyword:`$recursiveAnchor`,schemaType:`boolean`,code(e){e.schema?(0,t.dynamicAnchor)(e,``):(0,n.checkStrictMode)(e.it,`$recursiveAnchor: false is ignored`)}}})),it=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=nt();e.default={keyword:`$recursiveRef`,schemaType:`string`,code:e=>(0,t.dynamicRef)(e,e.schema)}})),at=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=tt(),n=nt(),r=rt(),i=it();e.default=[t.default,n.default,r.default,i.default]})),ot=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Ue();e.default={keyword:`dependentRequired`,type:`object`,schemaType:`object`,error:t.error,code:e=>(0,t.validatePropertyDeps)(e)}})),st=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Ue();e.default={keyword:`dependentSchemas`,type:`object`,schemaType:`object`,code:e=>(0,t.validateSchemaDeps)(e)}})),ct=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=w();e.default={keyword:[`maxContains`,`minContains`],type:`array`,schemaType:`number`,code({keyword:e,parentSchema:n,it:r}){n.contains===void 0&&(0,t.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}}})),lt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ot(),n=st(),r=ct();e.default=[t.default,n.default,r.default]})),ut=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w(),r=T();e.default={keyword:`unevaluatedProperties`,type:`object`,schemaType:[`boolean`,`object`],trackErrors:!0,error:{message:`must NOT have unevaluated properties`,params:({params:e})=>(0,t._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){let{gen:i,schema:a,data:o,errsCount:s,it:c}=e;if(!s)throw Error(`ajv implementation error`);let{allErrors:l,props:u}=c;u instanceof t.Name?i.if((0,t._)`${u} !== true`,()=>i.forIn(`key`,o,e=>i.if(f(u,e),()=>d(e)))):u!==!0&&i.forIn(`key`,o,e=>u===void 0?d(e):i.if(p(u,e),()=>d(e))),c.props=!0,e.ok((0,t._)`${s} === ${r.default.errors}`);function d(r){if(a===!1){e.setParams({unevaluatedProperty:r}),e.error(),l||i.break();return}if(!(0,n.alwaysValidSchema)(c,a)){let a=i.name(`valid`);e.subschema({keyword:`unevaluatedProperties`,dataProp:r,dataPropType:n.Type.Str},a),l||i.if((0,t.not)(a),()=>i.break())}}function f(e,n){return(0,t._)`!${e} || !${e}[${n}]`}function p(e,n){let r=[];for(let i in e)e[i]===!0&&r.push((0,t._)`${n} !== ${i}`);return(0,t.and)(...r)}}}})),dt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=w();e.default={keyword:`unevaluatedItems`,type:`array`,schemaType:[`boolean`,`object`],error:{message:({params:{len:e}})=>(0,t.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,t._)`{limit: ${e}}`},code(e){let{gen:r,schema:i,data:a,it:o}=e,s=o.items||0;if(s===!0)return;let c=r.const(`len`,(0,t._)`${a}.length`);if(i===!1)e.setParams({len:s}),e.fail((0,t._)`${c} > ${s}`);else if(typeof i==`object`&&!(0,n.alwaysValidSchema)(o,i)){let n=r.var(`valid`,(0,t._)`${c} <= ${s}`);r.if((0,t.not)(n),()=>l(n,s)),e.ok(n)}o.items=!0;function l(i,a){r.forRange(`i`,a,c,a=>{e.subschema({keyword:`unevaluatedItems`,dataProp:a,dataPropType:n.Type.Num},i),o.allErrors||r.if((0,t.not)(i),()=>r.break())})}}}})),ft=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ut(),n=dt();e.default=[t.default,n.default]})),pt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C();e.default={keyword:`format`,type:[`number`,`string`],schemaType:`string`,$data:!0,error:{message:({schemaCode:e})=>(0,t.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,t._)`{format: ${e}}`},code(e,n){let{gen:r,data:i,$data:a,schema:o,schemaCode:s,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:d,self:f}=c;if(!l.validateFormats)return;a?p():m();function p(){let a=r.scopeValue(`formats`,{ref:f.formats,code:l.code.formats}),o=r.const(`fDef`,(0,t._)`${a}[${s}]`),c=r.let(`fType`),u=r.let(`format`);r.if((0,t._)`typeof ${o} == "object" && !(${o} instanceof RegExp)`,()=>r.assign(c,(0,t._)`${o}.type || "string"`).assign(u,(0,t._)`${o}.validate`),()=>r.assign(c,(0,t._)`"string"`).assign(u,o)),e.fail$data((0,t.or)(p(),m()));function p(){return l.strictSchema===!1?t.nil:(0,t._)`${s} && !${u}`}function m(){let e=d.$async?(0,t._)`(${o}.async ? await ${u}(${i}) : ${u}(${i}))`:(0,t._)`${u}(${i})`,r=(0,t._)`(typeof ${u} == "function" ? ${e} : ${u}.test(${i}))`;return(0,t._)`${u} && ${u} !== true && ${c} === ${n} && !${r}`}}function m(){let a=f.formats[o];if(!a){m();return}if(a===!0)return;let[s,c,p]=h(a);s===n&&e.pass(g());function m(){if(l.strictSchema===!1){f.logger.warn(e());return}throw Error(e());function e(){return`unknown format "${o}" ignored in schema at path "${u}"`}}function h(e){let n=e instanceof RegExp?(0,t.regexpCode)(e):l.code.formats?(0,t._)`${l.code.formats}${(0,t.getProperty)(o)}`:void 0,i=r.scopeValue(`formats`,{key:o,ref:e,code:n});return typeof e==`object`&&!(e instanceof RegExp)?[e.type||`string`,e.validate,(0,t._)`${i}.validate`]:[`string`,e,i]}function g(){if(typeof a==`object`&&!(a instanceof RegExp)&&a.async){if(!d.$async)throw Error(`async format in sync schema`);return(0,t._)`await ${p}(${i})`}return typeof c==`function`?(0,t._)`${p}(${i})`:(0,t._)`${p}.test(${i})`}}}}})),mt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=[pt().default]})),ht=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.contentVocabulary=e.metadataVocabulary=void 0,e.metadataVocabulary=[`title`,`description`,`default`,`deprecated`,`readOnly`,`writeOnly`,`examples`],e.contentVocabulary=[`contentMediaType`,`contentEncoding`,`contentSchema`]})),gt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=we(),n=Le(),r=et(),i=at(),a=lt(),o=ft(),s=mt(),c=ht();e.default=[i.default,t.default,n.default,(0,r.default)(!0),s.default,c.metadataVocabulary,c.contentVocabulary,a.default,o.default]})),_t=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.DiscrError=void 0;var t;(function(e){e.Tag=`tag`,e.Mapping=`mapping`})(t||(e.DiscrError=t={}))})),vt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=C(),n=_t(),r=me(),i=pe(),a=w();e.default={keyword:`discriminator`,type:`object`,schemaType:`object`,error:{message:({params:{discrError:e,tagName:t}})=>e===n.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:n,tagName:r}})=>(0,t._)`{error: ${e}, tag: ${r}, tagValue: ${n}}`},code(e){let{gen:o,data:s,schema:c,parentSchema:l,it:u}=e,{oneOf:d}=l;if(!u.opts.discriminator)throw Error(`discriminator: requires discriminator option`);let f=c.propertyName;if(typeof f!=`string`)throw Error(`discriminator: requires propertyName`);if(c.mapping)throw Error(`discriminator: mapping is not supported`);if(!d)throw Error(`discriminator: requires oneOf keyword`);let p=o.let(`valid`,!1),m=o.const(`tag`,(0,t._)`${s}${(0,t.getProperty)(f)}`);o.if((0,t._)`typeof ${m} == "string"`,()=>h(),()=>e.error(!1,{discrError:n.DiscrError.Tag,tag:m,tagName:f})),e.ok(p);function h(){let r=_();o.if(!1);for(let e in r)o.elseIf((0,t._)`${m} === ${e}`),o.assign(p,g(r[e]));o.else(),e.error(!1,{discrError:n.DiscrError.Mapping,tag:m,tagName:f}),o.endIf()}function g(n){let r=o.name(`valid`),i=e.subschema({keyword:`oneOf`,schemaProp:n},r);return e.mergeEvaluated(i,t.Name),r}function _(){let e={},t=o(l),n=!0;for(let e=0;e<d.length;e++){let c=d[e];if(c?.$ref&&!(0,a.schemaHasRulesButRef)(c,u.self.RULES)){let e=c.$ref;if(c=r.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,e),c instanceof r.SchemaEnv&&(c=c.schema),c===void 0)throw new i.default(u.opts.uriResolver,u.baseId,e)}let l=c?.properties?.[f];if(typeof l!=`object`)throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);n&&=t||o(c),s(l,e)}if(!n)throw Error(`discriminator: "${f}" must be required`);return e;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function s(e,t){if(e.const)c(e.const,t);else if(e.enum)for(let n of e.enum)c(n,t);else throw Error(`discriminator: "properties/${f}" must have "const" or "enum"`)}function c(t,n){if(typeof t!=`string`||t in e)throw Error(`discriminator: "${f}" values must be unique strings`);e[t]=n}}}}})),yt=s(((e,t)=>{t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/schema`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:`meta`,title:`Core and Validation specifications meta-schema`,allOf:[{$ref:`meta/core`},{$ref:`meta/applicator`},{$ref:`meta/unevaluated`},{$ref:`meta/validation`},{$ref:`meta/meta-data`},{$ref:`meta/format-annotation`},{$ref:`meta/content`}],type:[`object`,`boolean`],$comment:`This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.`,properties:{definitions:{$comment:`"definitions" has been replaced by "$defs".`,type:`object`,additionalProperties:{$dynamicRef:`#meta`},deprecated:!0,default:{}},dependencies:{$comment:`"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.`,type:`object`,additionalProperties:{anyOf:[{$dynamicRef:`#meta`},{$ref:`meta/validation#/$defs/stringArray`}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:`"$recursiveAnchor" has been replaced by "$dynamicAnchor".`,$ref:`meta/core#/$defs/anchorString`,deprecated:!0},$recursiveRef:{$comment:`"$recursiveRef" has been replaced by "$dynamicRef".`,$ref:`meta/core#/$defs/uriReferenceString`,deprecated:!0}}}})),bt=s(((e,t)=>{t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/applicator`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:`meta`,title:`Applicator vocabulary meta-schema`,type:[`object`,`boolean`],properties:{prefixItems:{$ref:`#/$defs/schemaArray`},items:{$dynamicRef:`#meta`},contains:{$dynamicRef:`#meta`},additionalProperties:{$dynamicRef:`#meta`},properties:{type:`object`,additionalProperties:{$dynamicRef:`#meta`},default:{}},patternProperties:{type:`object`,additionalProperties:{$dynamicRef:`#meta`},propertyNames:{format:`regex`},default:{}},dependentSchemas:{type:`object`,additionalProperties:{$dynamicRef:`#meta`},default:{}},propertyNames:{$dynamicRef:`#meta`},if:{$dynamicRef:`#meta`},then:{$dynamicRef:`#meta`},else:{$dynamicRef:`#meta`},allOf:{$ref:`#/$defs/schemaArray`},anyOf:{$ref:`#/$defs/schemaArray`},oneOf:{$ref:`#/$defs/schemaArray`},not:{$dynamicRef:`#meta`}},$defs:{schemaArray:{type:`array`,minItems:1,items:{$dynamicRef:`#meta`}}}}})),xt=s(((e,t)=>{t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/unevaluated`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:`meta`,title:`Unevaluated applicator vocabulary meta-schema`,type:[`object`,`boolean`],properties:{unevaluatedItems:{$dynamicRef:`#meta`},unevaluatedProperties:{$dynamicRef:`#meta`}}}})),St=s(((e,t)=>{t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/content`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:`meta`,title:`Content vocabulary meta-schema`,type:[`object`,`boolean`],properties:{contentEncoding:{type:`string`},contentMediaType:{type:`string`},contentSchema:{$dynamicRef:`#meta`}}}})),Ct=s(((e,t)=>{t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/core`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:`meta`,title:`Core vocabulary meta-schema`,type:[`object`,`boolean`],properties:{$id:{$ref:`#/$defs/uriReferenceString`,$comment:`Non-empty fragments not allowed.`,pattern:`^[^#]*#?$`},$schema:{$ref:`#/$defs/uriString`},$ref:{$ref:`#/$defs/uriReferenceString`},$anchor:{$ref:`#/$defs/anchorString`},$dynamicRef:{$ref:`#/$defs/uriReferenceString`},$dynamicAnchor:{$ref:`#/$defs/anchorString`},$vocabulary:{type:`object`,propertyNames:{$ref:`#/$defs/uriString`},additionalProperties:{type:`boolean`}},$comment:{type:`string`},$defs:{type:`object`,additionalProperties:{$dynamicRef:`#meta`}}},$defs:{anchorString:{type:`string`,pattern:`^[A-Za-z_][-A-Za-z0-9._]*$`},uriString:{type:`string`,format:`uri`},uriReferenceString:{type:`string`,format:`uri-reference`}}}})),wt=s(((e,t)=>{t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/format-annotation`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:`meta`,title:`Format vocabulary meta-schema for annotation results`,type:[`object`,`boolean`],properties:{format:{type:`string`}}}})),Tt=s(((e,t)=>{t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/meta-data`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:`meta`,title:`Meta-data vocabulary meta-schema`,type:[`object`,`boolean`],properties:{title:{type:`string`},description:{type:`string`},default:!0,deprecated:{type:`boolean`,default:!1},readOnly:{type:`boolean`,default:!1},writeOnly:{type:`boolean`,default:!1},examples:{type:`array`,items:!0}}}})),Et=s(((e,t)=>{t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/validation`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:`meta`,title:`Validation vocabulary meta-schema`,type:[`object`,`boolean`],properties:{type:{anyOf:[{$ref:`#/$defs/simpleTypes`},{type:`array`,items:{$ref:`#/$defs/simpleTypes`},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:`array`,items:!0},multipleOf:{type:`number`,exclusiveMinimum:0},maximum:{type:`number`},exclusiveMaximum:{type:`number`},minimum:{type:`number`},exclusiveMinimum:{type:`number`},maxLength:{$ref:`#/$defs/nonNegativeInteger`},minLength:{$ref:`#/$defs/nonNegativeIntegerDefault0`},pattern:{type:`string`,format:`regex`},maxItems:{$ref:`#/$defs/nonNegativeInteger`},minItems:{$ref:`#/$defs/nonNegativeIntegerDefault0`},uniqueItems:{type:`boolean`,default:!1},maxContains:{$ref:`#/$defs/nonNegativeInteger`},minContains:{$ref:`#/$defs/nonNegativeInteger`,default:1},maxProperties:{$ref:`#/$defs/nonNegativeInteger`},minProperties:{$ref:`#/$defs/nonNegativeIntegerDefault0`},required:{$ref:`#/$defs/stringArray`},dependentRequired:{type:`object`,additionalProperties:{$ref:`#/$defs/stringArray`}}},$defs:{nonNegativeInteger:{type:`integer`,minimum:0},nonNegativeIntegerDefault0:{$ref:`#/$defs/nonNegativeInteger`,default:0},simpleTypes:{enum:[`array`,`boolean`,`integer`,`null`,`number`,`object`,`string`]},stringArray:{type:`array`,items:{type:`string`},uniqueItems:!0,default:[]}}}})),Dt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=yt(),n=bt(),r=xt(),i=St(),a=Ct(),o=wt(),s=Tt(),c=Et(),l=[`/properties`];function u(e){return[t,n,r,i,a,u(this,o),s,u(this,c)].forEach(e=>this.addMetaSchema(e,void 0,!1)),this;function u(t,n){return e?t.$dataMetaSchema(n,l):n}}e.default=u})),Ot=s(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv2020=void 0;let n=xe(),r=gt(),i=vt(),a=Dt(),o=`https://json-schema.org/draft/2020-12/schema`;var s=class extends n.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),r.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:e,meta:t}=this.opts;t&&(a.default.call(this,e),this.refs[`http://json-schema.org/schema`]=o)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(o)?o:void 0)}};e.Ajv2020=s,t.exports=e=s,t.exports.Ajv2020=s,Object.defineProperty(e,`__esModule`,{value:!0}),e.default=s;var c=de();Object.defineProperty(e,`KeywordCxt`,{enumerable:!0,get:function(){return c.KeywordCxt}});var l=C();Object.defineProperty(e,`_`,{enumerable:!0,get:function(){return l._}}),Object.defineProperty(e,`str`,{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(e,`nil`,{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(e,`Name`,{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(e,`CodeGen`,{enumerable:!0,get:function(){return l.CodeGen}});var u=fe();Object.defineProperty(e,`ValidationError`,{enumerable:!0,get:function(){return u.default}});var d=pe();Object.defineProperty(e,`MissingRefError`,{enumerable:!0,get:function(){return d.default}})})),kt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(e,t){return{validate:e,compare:t}}e.fullFormats={date:t(a,o),time:t(c(!0),l),"date-time":t(f(!0),p),"iso-time":t(c(),u),"iso-date-time":t(f(),m),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:_,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:w,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:y,int32:{type:`number`,validate:S},int64:{type:`number`,validate:ee},float:{type:`number`,validate:te},double:{type:`number`,validate:te},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,o),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,l),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,m),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function n(e){return e%4==0&&(e%100!=0||e%400==0)}let r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31];function a(e){let t=r.exec(e);if(!t)return!1;let a=+t[1],o=+t[2],s=+t[3];return o>=1&&o<=12&&s>=1&&s<=(o===2&&n(a)?29:i[o])}function o(e,t){if(e&&t)return e>t?1:e<t?-1:0}let s=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function c(e){return function(t){let n=s.exec(t);if(!n)return!1;let r=+n[1],i=+n[2],a=+n[3],o=n[4],c=n[5]===`-`?-1:1,l=+(n[6]||0),u=+(n[7]||0);if(l>23||u>59||e&&!o)return!1;if(r<=23&&i<=59&&a<60)return!0;let d=i-u*c,f=r-l*c-+(d<0);return(f===23||f===-1)&&(d===59||d===-1)&&a<61}}function l(e,t){if(!(e&&t))return;let n=new Date(`2020-01-01T`+e).valueOf(),r=new Date(`2020-01-01T`+t).valueOf();if(n&&r)return n-r}function u(e,t){if(!(e&&t))return;let n=s.exec(e),r=s.exec(t);if(n&&r)return e=n[1]+n[2]+n[3],t=r[1]+r[2]+r[3],e>t?1:e<t?-1:0}let d=/t|\s/i;function f(e){let t=c(e);return function(e){let n=e.split(d);return n.length===2&&a(n[0])&&t(n[1])}}function p(e,t){if(!(e&&t))return;let n=new Date(e).valueOf(),r=new Date(t).valueOf();if(n&&r)return n-r}function m(e,t){if(!(e&&t))return;let[n,r]=e.split(d),[i,a]=t.split(d),s=o(n,i);if(s!==void 0)return s||l(r,a)}let h=/\/|:/,g=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function _(e){return h.test(e)&&g.test(e)}let v=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function y(e){return v.lastIndex=0,v.test(e)}let b=-(2**31),x=2**31-1;function S(e){return Number.isInteger(e)&&e<=x&&e>=b}function ee(e){return Number.isInteger(e)}function te(){return!0}let C=/[^\\]\\Z/;function w(e){if(C.test(e))return!1;try{return new RegExp(e),!0}catch{return!1}}})),At=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=we(),n=Le(),r=et(),i=mt(),a=ht();e.default=[t.default,n.default,(0,r.default)(),i.default,a.metadataVocabulary,a.contentVocabulary]})),jt=s(((e,t)=>{t.exports={$schema:`http://json-schema.org/draft-07/schema#`,$id:`http://json-schema.org/draft-07/schema#`,title:`Core schema meta-schema`,definitions:{schemaArray:{type:`array`,minItems:1,items:{$ref:`#`}},nonNegativeInteger:{type:`integer`,minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:`#/definitions/nonNegativeInteger`},{default:0}]},simpleTypes:{enum:[`array`,`boolean`,`integer`,`null`,`number`,`object`,`string`]},stringArray:{type:`array`,items:{type:`string`},uniqueItems:!0,default:[]}},type:[`object`,`boolean`],properties:{$id:{type:`string`,format:`uri-reference`},$schema:{type:`string`,format:`uri`},$ref:{type:`string`,format:`uri-reference`},$comment:{type:`string`},title:{type:`string`},description:{type:`string`},default:!0,readOnly:{type:`boolean`,default:!1},examples:{type:`array`,items:!0},multipleOf:{type:`number`,exclusiveMinimum:0},maximum:{type:`number`},exclusiveMaximum:{type:`number`},minimum:{type:`number`},exclusiveMinimum:{type:`number`},maxLength:{$ref:`#/definitions/nonNegativeInteger`},minLength:{$ref:`#/definitions/nonNegativeIntegerDefault0`},pattern:{type:`string`,format:`regex`},additionalItems:{$ref:`#`},items:{anyOf:[{$ref:`#`},{$ref:`#/definitions/schemaArray`}],default:!0},maxItems:{$ref:`#/definitions/nonNegativeInteger`},minItems:{$ref:`#/definitions/nonNegativeIntegerDefault0`},uniqueItems:{type:`boolean`,default:!1},contains:{$ref:`#`},maxProperties:{$ref:`#/definitions/nonNegativeInteger`},minProperties:{$ref:`#/definitions/nonNegativeIntegerDefault0`},required:{$ref:`#/definitions/stringArray`},additionalProperties:{$ref:`#`},definitions:{type:`object`,additionalProperties:{$ref:`#`},default:{}},properties:{type:`object`,additionalProperties:{$ref:`#`},default:{}},patternProperties:{type:`object`,additionalProperties:{$ref:`#`},propertyNames:{format:`regex`},default:{}},dependencies:{type:`object`,additionalProperties:{anyOf:[{$ref:`#`},{$ref:`#/definitions/stringArray`}]}},propertyNames:{$ref:`#`},const:!0,enum:{type:`array`,items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:`#/definitions/simpleTypes`},{type:`array`,items:{$ref:`#/definitions/simpleTypes`},minItems:1,uniqueItems:!0}]},format:{type:`string`},contentMediaType:{type:`string`},contentEncoding:{type:`string`},if:{$ref:`#`},then:{$ref:`#`},else:{$ref:`#`},allOf:{$ref:`#/definitions/schemaArray`},anyOf:{$ref:`#/definitions/schemaArray`},oneOf:{$ref:`#/definitions/schemaArray`},not:{$ref:`#`}},default:!0}})),Mt=s(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv=void 0;let n=xe(),r=At(),i=vt(),a=jt(),o=[`/properties`],s=`http://json-schema.org/draft-07/schema`;var c=class extends n.default{_addVocabularies(){super._addVocabularies(),r.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(a,o):a;this.addMetaSchema(e,s,!1),this.refs[`http://json-schema.org/schema`]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}};e.Ajv=c,t.exports=e=c,t.exports.Ajv=c,Object.defineProperty(e,`__esModule`,{value:!0}),e.default=c;var l=de();Object.defineProperty(e,`KeywordCxt`,{enumerable:!0,get:function(){return l.KeywordCxt}});var u=C();Object.defineProperty(e,`_`,{enumerable:!0,get:function(){return u._}}),Object.defineProperty(e,`str`,{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(e,`nil`,{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(e,`Name`,{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(e,`CodeGen`,{enumerable:!0,get:function(){return u.CodeGen}});var d=fe();Object.defineProperty(e,`ValidationError`,{enumerable:!0,get:function(){return d.default}});var f=pe();Object.defineProperty(e,`MissingRefError`,{enumerable:!0,get:function(){return f.default}})})),Nt=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.formatLimitDefinition=void 0;let t=Mt(),n=C(),r=n.operators,i={formatMaximum:{okStr:`<=`,ok:r.LTE,fail:r.GT},formatMinimum:{okStr:`>=`,ok:r.GTE,fail:r.LT},formatExclusiveMaximum:{okStr:`<`,ok:r.LT,fail:r.GTE},formatExclusiveMinimum:{okStr:`>`,ok:r.GT,fail:r.LTE}};e.formatLimitDefinition={keyword:Object.keys(i),type:`string`,schemaType:`string`,$data:!0,error:{message:({keyword:e,schemaCode:t})=>(0,n.str)`should be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,n._)`{comparison: ${i[e].okStr}, limit: ${t}}`},code(e){let{gen:r,data:a,schemaCode:o,keyword:s,it:c}=e,{opts:l,self:u}=c;if(!l.validateFormats)return;let d=new t.KeywordCxt(c,u.RULES.all.format.definition,`format`);d.$data?f():p();function f(){let t=r.scopeValue(`formats`,{ref:u.formats,code:l.code.formats}),i=r.const(`fmt`,(0,n._)`${t}[${d.schemaCode}]`);e.fail$data((0,n.or)((0,n._)`typeof ${i} != "object"`,(0,n._)`${i} instanceof RegExp`,(0,n._)`typeof ${i}.compare != "function"`,m(i)))}function p(){let t=d.schema,i=u.formats[t];if(!i||i===!0)return;if(typeof i!=`object`||i instanceof RegExp||typeof i.compare!=`function`)throw Error(`"${s}": format "${t}" does not define "compare" function`);let a=r.scopeValue(`formats`,{key:t,ref:i,code:l.code.formats?(0,n._)`${l.code.formats}${(0,n.getProperty)(t)}`:void 0});e.fail$data(m(a))}function m(e){return(0,n._)`${e}.compare(${a}, ${o}) ${i[s].fail} 0`}},dependencies:[`format`]},e.default=t=>(t.addKeyword(e.formatLimitDefinition),t)})),Pt=s(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0});let n=kt(),r=Nt(),i=C(),a=new i.Name(`fullFormats`),o=new i.Name(`fastFormats`),s=(e,t={keywords:!0})=>{if(Array.isArray(t))return c(e,t,n.fullFormats,a),e;let[i,s]=t.mode===`fast`?[n.fastFormats,o]:[n.fullFormats,a];return c(e,t.formats||n.formatNames,i,s),t.keywords&&(0,r.default)(e),e};s.get=(e,t=`full`)=>{let r=(t===`fast`?n.fastFormats:n.fullFormats)[e];if(!r)throw Error(`Unknown format "${e}"`);return r};function c(e,t,n,r){var a;(a=e.opts.code).formats??(a.formats=(0,i._)`require("ajv-formats/dist/formats").${r}`);for(let r of t)e.addFormat(r,n[r])}t.exports=e=s,Object.defineProperty(e,`__esModule`,{value:!0}),e.default=s})),Ft={$id:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json`,$schema:`https://json-schema.org/draft/2020-12/schema`,description:`Serverless Workflow DSL - Workflow Schema.`,type:`object`,required:[`document`,`do`],properties:{document:{type:`object`,title:`Document`,description:`Documents the workflow.`,unevaluatedProperties:!1,properties:{dsl:{type:`string`,pattern:`^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$`,title:`WorkflowDSL`,description:`The version of the DSL used by the workflow.`},namespace:{type:`string`,pattern:`^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$`,title:`WorkflowNamespace`,description:`The workflow's namespace.`},name:{type:`string`,pattern:`^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$`,title:`WorkflowName`,description:`The workflow's name.`},version:{type:`string`,pattern:`^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$`,title:`WorkflowVersion`,description:`The workflow's semantic version.`},title:{type:`string`,title:`WorkflowTitle`,description:`The workflow's title.`},summary:{type:`string`,title:`WorkflowSummary`,description:`The workflow's Markdown summary.`},tags:{type:`object`,title:`WorkflowTags`,description:`A key/value mapping of the workflow's tags, if any.`,additionalProperties:!0},metadata:{type:`object`,title:`WorkflowMetadata`,description:`Holds additional information about the workflow.`,additionalProperties:!0}},required:[`dsl`,`namespace`,`name`,`version`]},input:{$ref:`#/$defs/input`,title:`Input`,description:`Configures the workflow's input.`},use:{type:`object`,title:`Use`,description:`Defines the workflow's reusable components.`,unevaluatedProperties:!1,properties:{authentications:{type:`object`,title:`UseAuthentications`,description:`The workflow's reusable authentication policies.`,additionalProperties:{$ref:`#/$defs/authenticationPolicy`}},errors:{type:`object`,title:`UseErrors`,description:`The workflow's reusable errors.`,additionalProperties:{$ref:`#/$defs/error`}},extensions:{type:`array`,title:`UseExtensions`,description:`The workflow's extensions.`,items:{type:`object`,title:`ExtensionItem`,minProperties:1,maxProperties:1,additionalProperties:{$ref:`#/$defs/extension`}}},functions:{type:`object`,title:`UseFunctions`,description:`The workflow's reusable functions.`,additionalProperties:{$ref:`#/$defs/task`}},retries:{type:`object`,title:`UseRetries`,description:`The workflow's reusable retry policies.`,additionalProperties:{$ref:`#/$defs/retryPolicy`}},secrets:{type:`array`,title:`UseSecrets`,description:`The workflow's reusable secrets.`,items:{type:`string`,description:`The workflow's secrets.`}},timeouts:{type:`object`,title:`UseTimeouts`,description:`The workflow's reusable timeouts.`,additionalProperties:{$ref:`#/$defs/timeout`}},catalogs:{type:`object`,title:`UseCatalogs`,description:`The workflow's reusable catalogs.`,additionalProperties:{$ref:`#/$defs/catalog`}}}},do:{$ref:`#/$defs/taskList`,title:`Do`,description:`Defines the task(s) the workflow must perform.`},timeout:{title:`DoTimeout`,oneOf:[{$ref:`#/$defs/timeout`,title:`TimeoutDefinition`,description:`The workflow's timeout configuration, if any.`},{type:`string`,title:`TimeoutReference`,description:`The name of the workflow's timeout, if any.`}]},output:{$ref:`#/$defs/output`,title:`Output`,description:`Configures the workflow's output.`},schedule:{type:`object`,title:`Schedule`,description:`Schedules the workflow.`,unevaluatedProperties:!1,properties:{every:{$ref:`#/$defs/duration`,title:`ScheduleEvery`,description:`Specifies the duration of the interval at which the workflow should be executed.`},cron:{type:`string`,title:`ScheduleCron`,description:`Specifies the schedule using a cron expression, e.g., '0 0 * * *' for daily at midnight.`},after:{$ref:`#/$defs/duration`,title:`ScheduleAfter`,description:`Specifies a delay duration that the workflow must wait before starting again after it completes.`},on:{$ref:`#/$defs/eventConsumptionStrategy`,title:`ScheduleOn`,description:`Specifies the events that trigger the workflow execution.`}}}},$defs:{taskList:{title:`TaskList`,description:`List of named tasks to perform.`,type:`array`,items:{type:`object`,title:`TaskItem`,minProperties:1,maxProperties:1,additionalProperties:{$ref:`#/$defs/task`}}},taskBase:{type:`object`,title:`TaskBase`,description:`An object inherited by all tasks.`,properties:{if:{type:`string`,title:`TaskBaseIf`,description:`A runtime expression, if any, used to determine whether or not the task should be run.`},input:{$ref:`#/$defs/input`,title:`TaskBaseInput`,description:`Configure the task's input.`},output:{$ref:`#/$defs/output`,title:`TaskBaseOutput`,description:`Configure the task's output.`},export:{$ref:`#/$defs/export`,title:`TaskBaseExport`,description:`Export task output to context.`},timeout:{title:`TaskTimeout`,oneOf:[{$ref:`#/$defs/timeout`,title:`TaskTimeoutDefinition`,description:`The task's timeout configuration, if any.`},{type:`string`,title:`TaskTimeoutReference`,description:`The name of the task's timeout, if any.`}]},then:{$ref:`#/$defs/flowDirective`,title:`TaskBaseThen`,description:`The flow directive to be performed upon completion of the task.`},metadata:{type:`object`,title:`TaskMetadata`,description:`Holds additional information about the task.`,additionalProperties:!0}}},task:{title:`Task`,description:`A discrete unit of work that contributes to achieving the overall objectives defined by the workflow.`,unevaluatedProperties:!1,oneOf:[{$ref:`#/$defs/callTask`},{$ref:`#/$defs/doTask`},{$ref:`#/$defs/forkTask`},{$ref:`#/$defs/emitTask`},{$ref:`#/$defs/forTask`},{$ref:`#/$defs/listenTask`},{$ref:`#/$defs/raiseTask`},{$ref:`#/$defs/runTask`},{$ref:`#/$defs/setTask`},{$ref:`#/$defs/switchTask`},{$ref:`#/$defs/tryTask`},{$ref:`#/$defs/waitTask`}]},callTask:{title:`CallTask`,description:`Defines the call to perform.`,oneOf:[{title:`CallAsyncAPI`,description:`Defines the AsyncAPI call to perform.`,type:`object`,required:[`call`,`with`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{call:{type:`string`,const:`asyncapi`},with:{type:`object`,title:`AsyncApiArguments`,description:`The Async API call arguments.`,properties:{document:{$ref:`#/$defs/externalResource`,title:`AsyncAPIDocument`,description:`The document that defines the AsyncAPI operation to call.`},channel:{type:`string`,title:`With`,description:`The name of the channel on which to perform the operation. Used only in case the referenced document uses AsyncAPI v2.6.0.`},operation:{type:`string`,title:`AsyncAPIOperation`,description:`A reference to the AsyncAPI operation to call.`},server:{$ref:`#/$defs/asyncApiServer`,title:`AsyncAPIServer`,description:`An object used to configure to the server to call the specified AsyncAPI operation on.`},protocol:{type:`string`,title:`AsyncApiProtocol`,description:`The protocol to use to select the target server.`,enum:[`amqp`,`amqp1`,`anypointmq`,`googlepubsub`,`http`,`ibmmq`,`jms`,`kafka`,`mercure`,`mqtt`,`mqtt5`,`nats`,`pulsar`,`redis`,`sns`,`solace`,`sqs`,`stomp`,`ws`]},message:{$ref:`#/$defs/asyncApiOutboundMessage`,title:`AsyncApiMessage`,description:`An object used to configure the message to publish using the target operation.`},subscription:{$ref:`#/$defs/asyncApiSubscription`,title:`AsyncApiSubscription`,description:`An object used to configure the subscription to messages consumed using the target operation.`},authentication:{$ref:`#/$defs/referenceableAuthenticationPolicy`,title:`AsyncAPIAuthentication`,description:`The authentication policy, if any, to use when calling the AsyncAPI operation.`}},oneOf:[{required:[`document`,`operation`,`message`]},{required:[`document`,`operation`,`subscription`]},{required:[`document`,`channel`,`message`]},{required:[`document`,`channel`,`subscription`]}],unevaluatedProperties:!1}}}]},{title:`CallGRPC`,description:`Defines the GRPC call to perform.`,type:`object`,unevaluatedProperties:!1,required:[`call`,`with`],allOf:[{$ref:`#/$defs/taskBase`},{properties:{call:{type:`string`,const:`grpc`},with:{type:`object`,title:`GRPCArguments`,description:`The GRPC call arguments.`,properties:{proto:{$ref:`#/$defs/externalResource`,title:`WithGRPCProto`,description:`The proto resource that describes the GRPC service to call.`},service:{type:`object`,title:`WithGRPCService`,unevaluatedProperties:!1,properties:{name:{type:`string`,title:`WithGRPCServiceName`,description:`The name of the GRPC service to call.`},host:{type:`string`,title:`WithGRPCServiceHost`,description:`The hostname of the GRPC service to call.`,pattern:`^[a-zA-Z0-9](?:[a-zA-Z0-9-.]{0,61}[a-zA-Z0-9])?$`},port:{type:`integer`,title:`WithGRPCServicePort`,description:`The port number of the GRPC service to call.`,minimum:0,maximum:65535},authentication:{$ref:`#/$defs/referenceableAuthenticationPolicy`,title:`WithGRPCServiceAuthentication`,description:`The endpoint's authentication policy, if any.`}},required:[`name`,`host`]},method:{type:`string`,title:`WithGRPCMethod`,description:`The name of the method to call on the defined GRPC service.`},arguments:{type:`object`,title:`WithGRPCArguments`,description:`The arguments, if any, to call the method with.`,additionalProperties:!0}},required:[`proto`,`service`,`method`],unevaluatedProperties:!1}}}]},{title:`CallHTTP`,description:`Defines the HTTP call to perform.`,type:`object`,unevaluatedProperties:!1,required:[`call`,`with`],allOf:[{$ref:`#/$defs/taskBase`},{properties:{call:{type:`string`,const:`http`},with:{type:`object`,title:`HTTPArguments`,description:`The HTTP call arguments.`,properties:{method:{type:`string`,title:`HTTPMethod`,description:`The HTTP method of the HTTP request to perform.`},endpoint:{title:`HTTPEndpoint`,description:`The HTTP endpoint to send the request to.`,$ref:`#/$defs/endpoint`},headers:{oneOf:[{type:`object`,additionalProperties:{type:`string`}},{$ref:`#/$defs/runtimeExpression`}],title:`HTTPHeaders`,description:`A name/value mapping of the headers, if any, of the HTTP request to perform.`},body:{title:`HTTPBody`,description:`The body, if any, of the HTTP request to perform.`},query:{oneOf:[{type:`object`,additionalProperties:{type:`string`}},{$ref:`#/$defs/runtimeExpression`}],title:`HTTPQuery`,description:`A name/value mapping of the query parameters, if any, of the HTTP request to perform.`,additionalProperties:!0},output:{type:`string`,title:`HTTPOutput`,description:`The http call output format. Defaults to 'content'.`,enum:[`raw`,`content`,`response`]},redirect:{type:`boolean`,title:`HttpRedirect`,description:"Specifies whether redirection status codes (`300–399`) should be treated as errors."}},required:[`method`,`endpoint`],unevaluatedProperties:!1}}}]},{title:`CallOpenAPI`,description:`Defines the OpenAPI call to perform.`,type:`object`,unevaluatedProperties:!1,required:[`call`,`with`],allOf:[{$ref:`#/$defs/taskBase`},{properties:{call:{type:`string`,const:`openapi`},with:{type:`object`,title:`OpenAPIArguments`,description:`The OpenAPI call arguments.`,properties:{document:{$ref:`#/$defs/externalResource`,title:`WithOpenAPIDocument`,description:`The document that defines the OpenAPI operation to call.`},operationId:{type:`string`,title:`WithOpenAPIOperation`,description:`The id of the OpenAPI operation to call.`},parameters:{type:`object`,title:`WithOpenAPIParameters`,description:`A name/value mapping of the parameters of the OpenAPI operation to call.`,additionalProperties:!0},authentication:{$ref:`#/$defs/referenceableAuthenticationPolicy`,title:`WithOpenAPIAuthentication`,description:`The authentication policy, if any, to use when calling the OpenAPI operation.`},output:{type:`string`,enum:[`raw`,`content`,`response`],title:`WithOpenAPIOutput`,description:`The http call output format. Defaults to 'content'.`},redirect:{type:`boolean`,title:`HttpRedirect`,description:"Specifies whether redirection status codes (`300–399`) should be treated as errors."}},required:[`document`,`operationId`],unevaluatedProperties:!1}}}]},{title:`CallA2A`,description:`Defines the A2A call to perform.`,type:`object`,unevaluatedProperties:!1,required:[`call`,`with`],allOf:[{$ref:`#/$defs/taskBase`},{properties:{call:{type:`string`,const:`a2a`},with:{type:`object`,title:`A2AArguments`,description:`The A2A call arguments.`,properties:{agentCard:{$ref:`#/$defs/externalResource`,title:`WithA2AAgentCard`,description:`The Agent Card that defines the agent to call.`},server:{title:`A2AServer`,description:`The server endpoint to send the request to.`,$ref:`#/$defs/endpoint`},method:{type:`string`,title:`WithA2AMethod`,description:`The A2A method to send.`,enum:[`message/send`,`message/stream`,`tasks/get`,`tasks/list`,`tasks/cancel`,`tasks/resubscribe`,`tasks/pushNotificationConfig/set`,`tasks/pushNotificationConfig/get`,`tasks/pushNotificationConfig/list`,`tasks/pushNotificationConfig/delete`,`agent/getAuthenticatedExtendedCard`]},parameters:{oneOf:[{type:`object`,minProperties:1,additionalProperties:!0},{type:`string`}],title:`WithA2AParameters`,description:`The parameters object to send with the A2A method.`}},required:[`method`],unevaluatedProperties:!1}}}]},{title:`CallMCP`,description:`Defines the MCP call to perform.`,type:`object`,unevaluatedProperties:!1,required:[`call`,`with`],allOf:[{$ref:`#/$defs/taskBase`},{properties:{call:{type:`string`,const:`mcp`},with:{type:`object`,title:`MCPArguments`,description:`The MCP call arguments.`,properties:{protocolVersion:{type:`string`,default:`2025-06-18`,title:`McpProtocolVersion`,description:`The version of the MCP protocol to use.`},method:{type:`string`,enum:[`tools/list`,`tools/call`,`prompts/list`,`prompts/get`,`resources/list`,`resources/read`,`resources/templates/list`],title:`McpMethod`,description:`The MCP method to call.`},parameters:{oneOf:[{type:`object`,additionalProperties:!0},{type:`string`}],title:`McpMethodParameters`,description:`The MCP method parameters.`},timeout:{$ref:`#/$defs/duration`,title:`McpCallTimeout`,description:`The duration after which the MCP call times out.`},transport:{type:`object`,title:`McpCallTransport`,description:`The transport to use to perform the MCP call.`,properties:{http:{type:`object`,title:`McpHttpTransport`,description:`The definition of the HTTP transport to use.`,properties:{endpoint:{$ref:`#/$defs/endpoint`,title:`McpHttpTransportEndpoint`,description:`The MCP server endpoint to connect to.`},headers:{type:`object`,additionalProperties:{type:`string`},title:`McpHttpTransportHeaders`,description:`A key/value mapping of the HTTP headers to send with requests, if any.`}},required:[`endpoint`]},stdio:{type:`object`,title:`McpStdioTransport`,description:`The definition of the STDIO transport to use.`,properties:{command:{type:`string`,title:`McpStdioTransportCommand`,description:`The command used to run the MCP server.`},arguments:{type:`array`,items:{type:`string`},title:`McpStdioTransportArguments`,description:`An optional list of arguments to pass to the command.`},environment:{type:`object`,additionalProperties:{type:`string`},title:`McpStdioTransportEnvironment`,description:`A key/value mapping, if any, of environment variables used to configure the MCP server.`}},required:[`command`]},options:{type:`object`,additionalProperties:{type:`string`}}},oneOf:[{required:[`http`]},{required:[`stdio`]}]},client:{type:`object`,title:`McpClient`,description:`Describes the client used to perform the MCP call.`,properties:{name:{type:`string`,title:`McpClientName`,description:`The name of the client used to connect to the MCP server.`},description:{type:`string`,title:`McpClientVersion`,description:`The version of the client used to connect to the MCP server.`}},required:[`name`,`version`]}},required:[`method`,`transport`]}}}]},{title:`CallFunction`,description:`Defines the function call to perform.`,type:`object`,unevaluatedProperties:!1,required:[`call`],allOf:[{$ref:`#/$defs/taskBase`},{properties:{call:{type:`string`,not:{enum:[`asyncapi`,`grpc`,`http`,`openapi`,`a2a`,`mcp`]},description:`The name of the function to call.`},with:{type:`object`,title:`FunctionArguments`,description:`A name/value mapping of the parameters, if any, to call the function with.`,additionalProperties:!0}}}]}]},forkTask:{type:`object`,title:`ForkTask`,description:`Allows workflows to execute multiple tasks concurrently and optionally race them against each other, with a single possible winner, which sets the task's output.`,unevaluatedProperties:!1,required:[`fork`],allOf:[{$ref:`#/$defs/taskBase`},{properties:{fork:{type:`object`,title:`ForkTaskConfiguration`,description:`The configuration of the branches to perform concurrently.`,unevaluatedProperties:!1,required:[`branches`],properties:{branches:{$ref:`#/$defs/taskList`,title:`ForkBranches`},compete:{type:`boolean`,title:`ForkCompete`,description:`Indicates whether or not the concurrent tasks are racing against each other, with a single possible winner, which sets the composite task's output.`,default:!1}}}}}]},doTask:{type:`object`,title:`DoTask`,description:`Allows to execute a list of tasks in sequence.`,unevaluatedProperties:!1,required:[`do`],allOf:[{$ref:`#/$defs/taskBase`},{properties:{do:{$ref:`#/$defs/taskList`,title:`DoTaskConfiguration`,description:`The configuration of the tasks to perform sequentially.`}}}]},emitTask:{type:`object`,title:`EmitTask`,description:`Allows workflows to publish events to event brokers or messaging systems, facilitating communication and coordination between different components and services.`,required:[`emit`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{emit:{type:`object`,title:`EmitTaskConfiguration`,description:`The configuration of an event's emission.`,unevaluatedProperties:!1,properties:{event:{type:`object`,title:`EmitEventDefinition`,description:`The definition of the event to emit.`,properties:{with:{$ref:`#/$defs/eventProperties`,title:`EmitEventWith`,description:`Defines the properties of event to emit.`,required:[`source`,`type`]}},additionalProperties:!0}},required:[`event`]}}}]},forTask:{type:`object`,title:`ForTask`,description:`Allows workflows to iterate over a collection of items, executing a defined set of subtasks for each item in the collection. This task type is instrumental in handling scenarios such as batch processing, data transformation, and repetitive operations across datasets.`,required:[`for`,`do`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{for:{type:`object`,title:`ForTaskConfiguration`,description:`The definition of the loop that iterates over a range of values.`,unevaluatedProperties:!1,properties:{each:{type:`string`,title:`ForEach`,description:`The name of the variable used to store the current item being enumerated.`,default:`item`},in:{type:`string`,title:`ForIn`,description:`A runtime expression used to get the collection to enumerate.`},at:{type:`string`,title:`ForAt`,description:`The name of the variable used to store the index of the current item being enumerated.`,default:`index`}},required:[`in`]},while:{type:`string`,title:`While`,description:`A runtime expression that represents the condition, if any, that must be met for the iteration to continue.`},do:{$ref:`#/$defs/taskList`,title:`ForTaskDo`}}}]},listenTask:{type:`object`,title:`ListenTask`,description:`Provides a mechanism for workflows to await and react to external events, enabling event-driven behavior within workflow systems.`,required:[`listen`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{listen:{type:`object`,title:`ListenTaskConfiguration`,description:`The configuration of the listener to use.`,unevaluatedProperties:!1,properties:{to:{$ref:`#/$defs/eventConsumptionStrategy`,title:`ListenTo`,description:`Defines the event(s) to listen to.`},read:{type:`string`,enum:[`data`,`envelope`,`raw`],default:`data`,title:`ListenAndReadAs`,description:`Specifies how events are read during the listen operation.`}},required:[`to`]},foreach:{$ref:`#/$defs/subscriptionIterator`,title:`ListenIterator`,description:`Configures the iterator, if any, for processing consumed event(s).`}}}]},raiseTask:{type:`object`,title:`RaiseTask`,description:`Intentionally triggers and propagates errors.`,required:[`raise`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{raise:{type:`object`,title:`RaiseTaskConfiguration`,description:`The definition of the error to raise.`,unevaluatedProperties:!1,properties:{error:{title:`RaiseTaskError`,oneOf:[{$ref:`#/$defs/error`,title:`RaiseErrorDefinition`,description:`Defines the error to raise.`},{type:`string`,title:`RaiseErrorReference`,description:`The name of the error to raise`}]}},required:[`error`]}}}]},runTask:{type:`object`,title:`RunTask`,description:`Provides the capability to execute external containers, shell commands, scripts, or workflows.`,required:[`run`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{run:{type:`object`,title:`RunTaskConfiguration`,description:`The configuration of the process to execute.`,unevaluatedProperties:!1,properties:{await:{type:`boolean`,default:!0,title:`AwaitProcessCompletion`,description:`Whether to await the process completion before continuing.`},return:{type:`string`,title:`ProcessReturnType`,description:`Configures the output of the process.`,enum:[`stdout`,`stderr`,`code`,`all`,`none`],default:`stdout`}},oneOf:[{title:`RunContainer`,description:`Enables the execution of external processes encapsulated within a containerized environment.`,properties:{container:{type:`object`,title:`Container`,description:`The configuration of the container to run.`,unevaluatedProperties:!1,properties:{image:{type:`string`,title:`ContainerImage`,description:`The name of the container image to run.`},name:{type:`string`,title:`ContainerName`,description:`A runtime expression, if any, used to give specific name to the container.`},command:{type:`string`,title:`ContainerCommand`,description:`The command, if any, to execute on the container.`},ports:{type:`object`,title:`ContainerPorts`,description:`The container's port mappings, if any.`},volumes:{type:`object`,title:`ContainerVolumes`,description:`The container's volume mappings, if any.`},environment:{type:`object`,title:`ContainerEnvironment`,description:`A key/value mapping of the environment variables, if any, to use when running the configured process.`},stdin:{type:`string`,title:`ContainerStdin`,description:`A runtime expression, if any, passed as standard input (stdin) to the command or default container CMD`},arguments:{type:`array`,title:`ContainerArguments`,description:`A list of the arguments, if any, passed as argv to the command or default container CMD`,items:{type:`string`}},lifetime:{$ref:`#/$defs/containerLifetime`,title:`ContainerLifetime`,description:`An object, if any, used to configure the container's lifetime`},pullPolicy:{type:`string`,title:`ContainerPullPolicy`,description:"Policy that controls how the container's image should be pulled from the registry. Defaults to `ifNotPresent`",enum:[`ifNotPresent`,`always`,`never`]}},required:[`image`]}},required:[`container`]},{title:`RunScript`,description:`Enables the execution of custom scripts or code within a workflow, empowering workflows to perform specialized logic, data processing, or integration tasks by executing user-defined scripts written in various programming languages.`,properties:{script:{type:`object`,title:`Script`,description:`The configuration of the script to run.`,unevaluatedProperties:!1,properties:{language:{type:`string`,title:`ScriptLanguage`,description:`The language of the script to run.`},stdin:{type:`string`,title:`ScriptStdin`,description:`A runtime expression, if any, to the script as standard input (stdin).`},arguments:{type:`array`,title:`ScriptArguments`,description:`A list of the arguments, if any, to the script as argv`,items:{type:`string`}},environment:{type:`object`,title:`ScriptEnvironment`,description:`A key/value mapping of the environment variables, if any, to use when running the configured script process.`,additionalProperties:!0}},oneOf:[{title:`InlineScript`,type:`object`,description:`The script's code.`,properties:{code:{type:`string`,title:`InlineScriptCode`}},required:[`code`]},{title:`ExternalScript`,type:`object`,description:`The script's resource.`,properties:{source:{$ref:`#/$defs/externalResource`,title:`ExternalScriptResource`}},required:[`source`]}],required:[`language`]}},required:[`script`]},{title:`RunShell`,description:`Enables the execution of shell commands within a workflow, enabling workflows to interact with the underlying operating system and perform system-level operations, such as file manipulation, environment configuration, or system administration tasks.`,properties:{shell:{type:`object`,title:`Shell`,description:`The configuration of the shell command to run.`,unevaluatedProperties:!1,properties:{command:{type:`string`,title:`ShellCommand`,description:`The shell command to run.`},stdin:{type:`string`,title:`ShellStdin`,description:`A runtime expression, if any, to the shell command as standard input (stdin).`},arguments:{type:`array`,title:`ShellArguments`,description:`A list of the arguments, if any, to the shell command as argv`,items:{type:`string`}},environment:{type:`object`,title:`ShellEnvironment`,description:`A key/value mapping of the environment variables, if any, to use when running the configured process.`,additionalProperties:!0}},required:[`command`]}},required:[`shell`]},{title:`RunWorkflow`,description:`Enables the invocation and execution of nested workflows within a parent workflow, facilitating modularization, reusability, and abstraction of complex logic or business processes by encapsulating them into standalone workflow units.`,properties:{workflow:{type:`object`,title:`SubflowConfiguration`,description:`The configuration of the workflow to run.`,unevaluatedProperties:!1,properties:{namespace:{type:`string`,title:`SubflowNamespace`,description:`The namespace the workflow to run belongs to.`},name:{type:`string`,title:`SubflowName`,description:`The name of the workflow to run.`},version:{type:`string`,default:`latest`,title:`SubflowVersion`,description:`The version of the workflow to run. Defaults to latest.`},input:{type:`object`,title:`SubflowInput`,description:`The data, if any, to pass as input to the workflow to execute. The value should be validated against the target workflow's input schema, if specified.`,additionalProperties:!0}},required:[`namespace`,`name`,`version`]}},required:[`workflow`]}]}}}]},setTask:{type:`object`,title:`SetTask`,description:`A task used to set data.`,required:[`set`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{set:{oneOf:[{type:`object`,minProperties:1,additionalProperties:!0},{type:`string`}],title:`SetTaskConfiguration`,description:`The data to set.`}}}]},switchTask:{type:`object`,title:`SwitchTask`,description:`Enables conditional branching within workflows, allowing them to dynamically select different paths based on specified conditions or criteria.`,required:[`switch`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{switch:{type:`array`,title:`SwitchTaskConfiguration`,description:`The definition of the switch to use.`,minItems:1,items:{type:`object`,title:`SwitchItem`,minProperties:1,maxProperties:1,additionalProperties:{type:`object`,title:`SwitchCase`,description:`The definition of a case within a switch task, defining a condition and corresponding tasks to execute if the condition is met.`,unevaluatedProperties:!1,required:[`then`],properties:{when:{type:`string`,title:`SwitchCaseCondition`,description:`A runtime expression used to determine whether or not the case matches.`},then:{$ref:`#/$defs/flowDirective`,title:`SwitchCaseOutcome`,description:`The flow directive to execute when the case matches.`}}}}}}}]},tryTask:{type:`object`,title:`TryTask`,description:`Serves as a mechanism within workflows to handle errors gracefully, potentially retrying failed tasks before proceeding with alternate ones.`,required:[`try`,`catch`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{try:{$ref:`#/$defs/taskList`,title:`TryTaskConfiguration`,description:`The task(s) to perform.`},catch:{type:`object`,title:`TryTaskCatch`,description:`The object used to define the errors to catch.`,unevaluatedProperties:!1,properties:{errors:{type:`object`,title:`CatchErrors`,properties:{with:{$ref:`#/$defs/errorFilter`}},description:`static error filter`},as:{type:`string`,title:`CatchAs`,description:`The name of the runtime expression variable to save the error as. Defaults to 'error'.`},when:{type:`string`,title:`CatchWhen`,description:`A runtime expression used to determine whether to catch the filtered error.`},exceptWhen:{type:`string`,title:`CatchExceptWhen`,description:`A runtime expression used to determine whether not to catch the filtered error.`},retry:{oneOf:[{$ref:`#/$defs/retryPolicy`,title:`RetryPolicyDefinition`,description:`The retry policy to use, if any, when catching errors.`},{type:`string`,title:`RetryPolicyReference`,description:`The name of the retry policy to use, if any, when catching errors.`}]},do:{$ref:`#/$defs/taskList`,title:`TryTaskCatchDo`,description:`The definition of the task(s) to run when catching an error.`}}}}}]},waitTask:{type:`object`,title:`WaitTask`,description:`Allows workflows to pause or delay their execution for a specified period of time.`,required:[`wait`],unevaluatedProperties:!1,allOf:[{$ref:`#/$defs/taskBase`},{properties:{wait:{$ref:`#/$defs/duration`,title:`WaitTaskConfiguration`,description:`The amount of time to wait.`}}}]},flowDirective:{title:`FlowDirective`,description:`Represents different transition options for a workflow.`,anyOf:[{title:`FlowDirectiveEnum`,type:`string`,enum:[`continue`,`exit`,`end`],default:`continue`},{type:`string`}]},referenceableAuthenticationPolicy:{type:`object`,title:`ReferenceableAuthenticationPolicy`,description:`Represents a referenceable authentication policy.`,unevaluatedProperties:!1,oneOf:[{title:`AuthenticationPolicyReference`,description:`The reference of the authentication policy to use.`,properties:{use:{type:`string`,minLength:1,title:`ReferenceableAuthenticationPolicyName`,description:`The name of the authentication policy to use.`}},required:[`use`]},{$ref:`#/$defs/authenticationPolicy`}]},secretBasedAuthenticationPolicy:{type:`object`,title:`SecretBasedAuthenticationPolicy`,description:`Represents an authentication policy based on secrets.`,unevaluatedProperties:!1,properties:{use:{type:`string`,minLength:1,title:`SecretBasedAuthenticationPolicyName`,description:`The name of the authentication policy to use.`}},required:[`use`]},authenticationPolicy:{type:`object`,title:`AuthenticationPolicy`,description:`Defines an authentication policy.`,oneOf:[{title:`BasicAuthenticationPolicy`,description:`Use basic authentication.`,properties:{basic:{type:`object`,title:`BasicAuthenticationPolicyConfiguration`,description:`The configuration of the basic authentication policy.`,unevaluatedProperties:!1,oneOf:[{title:`BasicAuthenticationProperties`,description:`Inline configuration of the basic authentication policy.`,properties:{username:{type:`string`,description:`The username to use.`},password:{type:`string`,description:`The password to use.`}},required:[`username`,`password`]},{$ref:`#/$defs/secretBasedAuthenticationPolicy`,title:`BasicAuthenticationPolicySecret`,description:`Secret based configuration of the basic authentication policy.`}]}},required:[`basic`]},{title:`BearerAuthenticationPolicy`,description:`Use bearer authentication.`,properties:{bearer:{type:`object`,title:`BearerAuthenticationPolicyConfiguration`,description:`The configuration of the bearer authentication policy.`,unevaluatedProperties:!1,oneOf:[{title:`BearerAuthenticationProperties`,description:`Inline configuration of the bearer authentication policy.`,properties:{token:{type:`string`,description:`The bearer token to use.`}},required:[`token`]},{$ref:`#/$defs/secretBasedAuthenticationPolicy`,title:`BearerAuthenticationPolicySecret`,description:`Secret based configuration of the bearer authentication policy.`}]}},required:[`bearer`]},{title:`DigestAuthenticationPolicy`,description:`Use digest authentication.`,properties:{digest:{type:`object`,title:`DigestAuthenticationPolicyConfiguration`,description:`The configuration of the digest authentication policy.`,unevaluatedProperties:!1,oneOf:[{title:`DigestAuthenticationProperties`,description:`Inline configuration of the digest authentication policy.`,properties:{username:{type:`string`,description:`The username to use.`},password:{type:`string`,description:`The password to use.`}},required:[`username`,`password`]},{$ref:`#/$defs/secretBasedAuthenticationPolicy`,title:`DigestAuthenticationPolicySecret`,description:`Secret based configuration of the digest authentication policy.`}]}},required:[`digest`]},{title:`OAuth2AuthenticationPolicy`,description:`Use OAuth2 authentication.`,properties:{oauth2:{type:`object`,title:`OAuth2AuthenticationPolicyConfiguration`,description:`The configuration of the OAuth2 authentication policy.`,unevaluatedProperties:!1,oneOf:[{$ref:`#/$defs/oauth2AuthenticationProperties`,type:`object`,title:`OAuth2ConnectAuthenticationProperties`,description:`The inline configuration of the OAuth2 authentication policy.`,unevaluatedProperties:!1,properties:{endpoints:{type:`object`,title:`OAuth2AuthenticationPropertiesEndpoints`,description:`The endpoint configurations for OAuth2.`,properties:{token:{type:`string`,format:`uri-template`,default:`/oauth2/token`,title:`OAuth2TokenEndpoint`,description:"The relative path to the token endpoint. Defaults to `/oauth2/token`."},revocation:{type:`string`,format:`uri-template`,default:`/oauth2/revoke`,title:`OAuth2RevocationEndpoint`,description:"The relative path to the revocation endpoint. Defaults to `/oauth2/revoke`."},introspection:{type:`string`,format:`uri-template`,default:`/oauth2/introspect`,title:`OAuth2IntrospectionEndpoint`,description:"The relative path to the introspection endpoint. Defaults to `/oauth2/introspect`."}}}}},{$ref:`#/$defs/secretBasedAuthenticationPolicy`,title:`OAuth2AuthenticationPolicySecret`,description:`Secret based configuration of the OAuth2 authentication policy.`}]}},required:[`oauth2`]},{title:`OpenIdConnectAuthenticationPolicy`,description:`Use OpenIdConnect authentication.`,properties:{oidc:{type:`object`,title:`OpenIdConnectAuthenticationPolicyConfiguration`,description:`The configuration of the OpenIdConnect authentication policy.`,unevaluatedProperties:!1,oneOf:[{$ref:`#/$defs/oauth2AuthenticationProperties`,title:`OpenIdConnectAuthenticationProperties`,description:`The inline configuration of the OpenIdConnect authentication policy.`,unevaluatedProperties:!1},{$ref:`#/$defs/secretBasedAuthenticationPolicy`,title:`OpenIdConnectAuthenticationPolicySecret`,description:`Secret based configuration of the OpenIdConnect authentication policy.`}]}},required:[`oidc`]}]},oauth2AuthenticationProperties:{type:`object`,title:`OAuth2AuthenticationData`,description:`Inline configuration of the OAuth2 authentication policy.`,properties:{authority:{$ref:`#/$defs/uriTemplate`,title:`OAuth2AuthenticationDataAuthority`,description:`The URI that references the OAuth2 authority to use.`},grant:{type:`string`,enum:[`authorization_code`,`client_credentials`,`password`,`refresh_token`,`urn:ietf:params:oauth:grant-type:token-exchange`],title:`OAuth2AuthenticationDataGrant`,description:`The grant type to use.`},client:{type:`object`,title:`OAuth2AuthenticationDataClient`,description:`The definition of an OAuth2 client.`,unevaluatedProperties:!1,properties:{id:{type:`string`,title:`ClientId`,description:`The client id to use.`},secret:{type:`string`,title:`ClientSecret`,description:`The client secret to use, if any.`},assertion:{type:`string`,title:`ClientAssertion`,description:`A JWT containing a signed assertion with your application credentials.`},authentication:{type:`string`,enum:[`client_secret_basic`,`client_secret_post`,`client_secret_jwt`,`private_key_jwt`,`none`],default:`client_secret_post`,title:`ClientAuthentication`,description:`The authentication method to use to authenticate the client.`}}},request:{type:`object`,title:`OAuth2TokenRequest`,description:`The configuration of an OAuth2 token request`,properties:{encoding:{type:`string`,enum:[`application/x-www-form-urlencoded`,`application/json`],default:`application/x-www-form-urlencoded`,title:`Oauth2TokenRequestEncoding`}}},issuers:{type:`array`,title:`OAuth2Issuers`,description:`A list that contains that contains valid issuers that will be used to check against the issuer of generated tokens.`,items:{type:`string`}},scopes:{type:`array`,title:`OAuth2AuthenticationDataScopes`,description:`The scopes, if any, to request the token for.`,items:{type:`string`}},audiences:{type:`array`,title:`OAuth2AuthenticationDataAudiences`,description:`The audiences, if any, to request the token for.`,items:{type:`string`}},username:{type:`string`,title:`OAuth2AuthenticationDataUsername`,description:`The username to use. Used only if the grant type is Password.`},password:{type:`string`,title:`OAuth2AuthenticationDataPassword`,description:`The password to use. Used only if the grant type is Password.`},subject:{$ref:`#/$defs/oauth2Token`,title:`OAuth2AuthenticationDataSubject`,description:`The security token that represents the identity of the party on behalf of whom the request is being made.`},actor:{$ref:`#/$defs/oauth2Token`,title:`OAuth2AuthenticationDataActor`,description:`The security token that represents the identity of the acting party.`}}},oauth2Token:{type:`object`,title:`OAuth2TokenDefinition`,description:`Represents an OAuth2 token.`,unevaluatedProperties:!1,properties:{token:{type:`string`,title:`OAuth2Token`,description:`The security token to use.`},type:{type:`string`,title:`OAuth2TokenType`,description:`The type of the security token to use.`}},required:[`token`,`type`]},duration:{oneOf:[{type:`object`,minProperties:1,unevaluatedProperties:!1,properties:{days:{type:`integer`,title:`DurationDays`,description:`Number of days, if any.`},hours:{type:`integer`,title:`DurationHours`,description:`Number of days, if any.`},minutes:{type:`integer`,title:`DurationMinutes`,description:`Number of minutes, if any.`},seconds:{type:`integer`,title:`DurationSeconds`,description:`Number of seconds, if any.`},milliseconds:{type:`integer`,title:`DurationMilliseconds`,description:`Number of milliseconds, if any.`}},title:`DurationInline`,description:`The inline definition of a duration.`},{$ref:`#/$defs/runtimeExpression`,title:`DurationExpression`,description:`Runtime expression that generates an ISO 8601`},{type:`string`,pattern:`^P(?!$)(\\d+(?:\\.\\d+)?Y)?(\\d+(?:\\.\\d+)?M)?(\\d+(?:\\.\\d+)?W)?(\\d+(?:\\.\\d+)?D)?(T(?=\\d)(\\d+(?:\\.\\d+)?H)?(\\d+(?:\\.\\d+)?M)?(\\d+(?:\\.\\d+)?S)?)?$`,title:`DurationLiteral`,description:`The Literal ISO 8601 representation of a duration.`}]},error:{type:`object`,title:`Error`,description:`Represents an error.`,unevaluatedProperties:!1,properties:{type:{title:`ErrorType`,description:`A URI reference that identifies the error type.`,oneOf:[{title:`LiteralErrorType`,$ref:`#/$defs/uriTemplate`,description:`The literal error type.`},{title:`ExpressionErrorType`,$ref:`#/$defs/runtimeExpression`,description:`An expression based error type.`}]},status:{type:`integer`,title:`ErrorStatus`,description:`The status code generated by the origin for this occurrence of the error.`},instance:{title:`ErrorInstance`,description:`A JSON Pointer used to reference the component the error originates from.`,oneOf:[{title:`LiteralErrorInstance`,description:`The literal error instance.`,type:`string`,format:`json-pointer`},{$ref:`#/$defs/runtimeExpression`,title:`ExpressionErrorInstance`,description:`An expression based error instance.`}]},title:{description:`A short, human-readable summary of the error.`,title:`ErrorTitle`,anyOf:[{$ref:`#/$defs/runtimeExpression`,title:`ExpressionErrorTitle`},{type:`string`,title:`LiteralErrorTitle`}]},detail:{title:`ErrorDetails`,description:`A human-readable explanation specific to this occurrence of the error.`,anyOf:[{$ref:`#/$defs/runtimeExpression`,title:`ExpressionErrorDetails`},{type:`string`,title:`LiteralErrorDetails`}]}},required:[`type`,`status`]},errorFilter:{type:`object`,title:`ErrorFilter`,description:`Error filtering base on static values. For error filtering on dynamic values, use catch.when property`,minProperties:1,properties:{type:{type:`string`,description:`if present, means this value should be used for filtering`},status:{type:`integer`,description:`if present, means this value should be used for filtering`},instance:{type:`string`,description:`if present, means this value should be used for filtering`},title:{type:`string`,description:`if present, means this value should be used for filtering`},details:{type:`string`,description:`if present, means this value should be used for filtering`}}},uriTemplate:{title:`UriTemplate`,anyOf:[{title:`LiteralUriTemplate`,type:`string`,format:`uri-template`,pattern:`^[A-Za-z][A-Za-z0-9+\\-.]*://.*`},{title:`LiteralUri`,type:`string`,format:`uri`,pattern:`^[A-Za-z][A-Za-z0-9+\\-.]*://.*`}]},endpoint:{title:`Endpoint`,description:`Represents an endpoint.`,oneOf:[{$ref:`#/$defs/runtimeExpression`},{$ref:`#/$defs/uriTemplate`},{title:`EndpointConfiguration`,type:`object`,unevaluatedProperties:!1,properties:{uri:{title:`EndpointUri`,description:`The endpoint's URI.`,oneOf:[{title:`LiteralEndpointURI`,description:`The literal endpoint's URI.`,$ref:`#/$defs/uriTemplate`},{title:`ExpressionEndpointURI`,$ref:`#/$defs/runtimeExpression`,description:`An expression based endpoint's URI.`}]},authentication:{$ref:`#/$defs/referenceableAuthenticationPolicy`,title:`EndpointAuthentication`,description:`The authentication policy to use.`}},required:[`uri`]}]},eventProperties:{type:`object`,title:`EventProperties`,description:`Describes the properties of an event.`,properties:{id:{type:`string`,title:`EventId`,description:`The event's unique identifier.`},source:{title:`EventSource`,description:`Identifies the context in which an event happened.`,oneOf:[{$ref:`#/$defs/uriTemplate`},{$ref:`#/$defs/runtimeExpression`}]},type:{type:`string`,title:`EventType`,description:`This attribute contains a value describing the type of event related to the originating occurrence.`},time:{title:`EventTime`,description:`When the event occured.`,oneOf:[{title:`LiteralTime`,type:`string`,format:`date-time`},{$ref:`#/$defs/runtimeExpression`}]},subject:{type:`string`,title:`EventSubject`,description:`The subject of the event.`},datacontenttype:{type:`string`,title:`EventDataContentType`,description:`Content type of data value. This attribute enables data to carry any type of content, whereby format and encoding might differ from that of the chosen event format.`},dataschema:{title:`EventDataschema`,description:`The schema describing the event format.`,oneOf:[{title:`LiteralDataSchema`,$ref:`#/$defs/uriTemplate`,description:`The literal event data schema.`},{title:`ExpressionDataSchema`,$ref:`#/$defs/runtimeExpression`,description:`An expression based event data schema.`}]},data:{title:`EventData`,description:`The event's payload data`,anyOf:[{$ref:`#/$defs/runtimeExpression`},{}]}},additionalProperties:!0},eventConsumptionStrategy:{type:`object`,title:`EventConsumptionStrategy`,description:`Describe the event consumption strategy to adopt.`,unevaluatedProperties:!1,oneOf:[{title:`AllEventConsumptionStrategy`,properties:{all:{type:`array`,title:`AllEventConsumptionStrategyConfiguration`,description:`A list containing all the events that must be consumed.`,items:{$ref:`#/$defs/eventFilter`}}},required:[`all`]},{title:`AnyEventConsumptionStrategy`,properties:{any:{type:`array`,title:`AnyEventConsumptionStrategyConfiguration`,description:`A list containing any of the events to consume.`,items:{$ref:`#/$defs/eventFilter`}},until:{oneOf:[{type:`string`,title:`AnyEventUntilCondition`,description:`A runtime expression condition evaluated after consuming an event and which determines whether or not to continue listening.`},{allOf:[{$ref:`#/$defs/eventConsumptionStrategy`,description:`The strategy that defines the event(s) to consume to stop listening.`},{properties:{until:!1}}],title:`AnyEventUntilConsumed`}]}},required:[`any`]},{title:`OneEventConsumptionStrategy`,properties:{one:{$ref:`#/$defs/eventFilter`,title:`OneEventConsumptionStrategyConfiguration`,description:`The single event to consume.`}},required:[`one`]}]},eventFilter:{type:`object`,title:`EventFilter`,description:`An event filter is a mechanism used to selectively process or handle events based on predefined criteria, such as event type, source, or specific attributes.`,unevaluatedProperties:!1,properties:{with:{$ref:`#/$defs/eventProperties`,minProperties:1,title:`WithEvent`,description:`An event filter is a mechanism used to selectively process or handle events based on predefined criteria, such as event type, source, or specific attributes.`},correlate:{type:`object`,title:`EventFilterCorrelate`,description:`A correlation is a link between events and data, established by mapping event attributes to specific data attributes, allowing for coordinated processing or handling based on event characteristics.`,additionalProperties:{type:`object`,properties:{from:{type:`string`,title:`CorrelateFrom`,description:`A runtime expression used to extract the correlation value from the filtered event.`},expect:{type:`string`,title:`CorrelateExpect`,description:`A constant or a runtime expression, if any, used to determine whether or not the extracted correlation value matches expectations. If not set, the first extracted value will be used as the correlation's expectation.`}},required:[`from`]}}},required:[`with`]},extension:{type:`object`,title:`Extension`,description:`The definition of an extension.`,unevaluatedProperties:!1,properties:{extend:{type:`string`,enum:[`call`,`composite`,`emit`,`for`,`listen`,`raise`,`run`,`set`,`switch`,`try`,`wait`,`all`],title:`ExtensionTarget`,description:`The type of task to extend.`},when:{type:`string`,title:`ExtensionCondition`,description:`A runtime expression, if any, used to determine whether or not the extension should apply in the specified context.`},before:{$ref:`#/$defs/taskList`,title:`ExtensionDoBefore`,description:`The task(s) to execute before the extended task, if any.`},after:{$ref:`#/$defs/taskList`,title:`ExtensionDoAfter`,description:`The task(s) to execute after the extended task, if any.`}},required:[`extend`]},externalResource:{type:`object`,title:`ExternalResource`,description:`Represents an external resource.`,unevaluatedProperties:!1,properties:{name:{type:`string`,title:`ExternalResourceName`,description:`The name of the external resource, if any.`},endpoint:{$ref:`#/$defs/endpoint`,title:`ExternalResourceEndpoint`,description:`The endpoint of the external resource.`}},required:[`endpoint`]},input:{type:`object`,title:`Input`,description:`Configures the input of a workflow or task.`,unevaluatedProperties:!1,properties:{schema:{$ref:`#/$defs/schema`,title:`InputSchema`,description:`The schema used to describe and validate the input of the workflow or task.`},from:{title:`InputFrom`,description:`A runtime expression, if any, used to mutate and/or filter the input of the workflow or task.`,oneOf:[{type:`string`},{type:`object`}]}}},output:{type:`object`,title:`Output`,description:`Configures the output of a workflow or task.`,unevaluatedProperties:!1,properties:{schema:{$ref:`#/$defs/schema`,title:`OutputSchema`,description:`The schema used to describe and validate the output of the workflow or task.`},as:{title:`OutputAs`,description:`A runtime expression, if any, used to mutate and/or filter the output of the workflow or task.`,oneOf:[{type:`string`},{type:`object`}]}}},export:{type:`object`,title:`Export`,description:`Set the content of the context. .`,unevaluatedProperties:!1,properties:{schema:{$ref:`#/$defs/schema`,title:`ExportSchema`,description:`The schema used to describe and validate the workflow context.`},as:{title:`ExportAs`,description:`A runtime expression, if any, used to export the output data to the context.`,oneOf:[{type:`string`},{type:`object`}]}}},retryPolicy:{type:`object`,title:`RetryPolicy`,description:`Defines a retry policy.`,unevaluatedProperties:!1,properties:{when:{type:`string`,title:`RetryWhen`,description:`A runtime expression, if any, used to determine whether or not to retry running the task, in a given context.`},exceptWhen:{type:`string`,title:`RetryExcepWhen`,description:`A runtime expression used to determine whether or not to retry running the task, in a given context.`},delay:{$ref:`#/$defs/duration`,title:`RetryDelay`,description:`The duration to wait between retry attempts.`},backoff:{type:`object`,title:`RetryBackoff`,description:`The retry duration backoff.`,unevaluatedProperties:!1,oneOf:[{title:`ConstantBackoff`,properties:{constant:{type:`object`,description:`The definition of the constant backoff to use, if any.`}},required:[`constant`]},{title:`ExponentialBackOff`,properties:{exponential:{type:`object`,description:`The definition of the exponential backoff to use, if any.`}},required:[`exponential`]},{title:`LinearBackoff`,properties:{linear:{type:`object`,description:`The definition of the linear backoff to use, if any.`}},required:[`linear`]}]},limit:{type:`object`,title:`RetryLimit`,unevaluatedProperties:!1,properties:{attempt:{type:`object`,title:`RetryLimitAttempt`,unevaluatedProperties:!1,properties:{count:{type:`integer`,title:`RetryLimitAttemptCount`,description:`The maximum amount of retry attempts, if any.`},duration:{$ref:`#/$defs/duration`,title:`RetryLimitAttemptDuration`,description:`The maximum duration for each retry attempt.`}}},duration:{$ref:`#/$defs/duration`,title:`RetryLimitDuration`,description:`The duration limit, if any, for all retry attempts.`}},description:`The retry limit, if any.`},jitter:{type:`object`,title:`RetryPolicyJitter`,description:`The parameters, if any, that control the randomness or variability of the delay between retry attempts.`,unevaluatedProperties:!1,properties:{from:{$ref:`#/$defs/duration`,title:`RetryPolicyJitterFrom`,description:`The minimum duration of the jitter range.`},to:{$ref:`#/$defs/duration`,title:`RetryPolicyJitterTo`,description:`The maximum duration of the jitter range.`}},required:[`from`,`to`]}}},schema:{type:`object`,title:`Schema`,description:`Represents the definition of a schema.`,unevaluatedProperties:!1,properties:{format:{type:`string`,default:`json`,title:`SchemaFormat`,description:"The schema's format. Defaults to 'json'. The (optional) version of the format can be set using `{format}:{version}`."}},oneOf:[{title:`SchemaInline`,properties:{document:{description:`The schema's inline definition.`}},required:[`document`]},{title:`SchemaExternal`,properties:{resource:{$ref:`#/$defs/externalResource`,title:`SchemaExternalResource`,description:`The schema's external resource.`}},required:[`resource`]}]},timeout:{type:`object`,title:`Timeout`,description:`The definition of a timeout.`,unevaluatedProperties:!1,properties:{after:{$ref:`#/$defs/duration`,title:`TimeoutAfter`,description:`The duration after which to timeout.`}},required:[`after`]},catalog:{type:`object`,title:`Catalog`,description:`The definition of a resource catalog.`,unevaluatedProperties:!1,properties:{endpoint:{$ref:`#/$defs/endpoint`,title:`CatalogEndpoint`,description:`The root URL where the catalog is hosted.`}},required:[`endpoint`]},runtimeExpression:{type:`string`,title:`RuntimeExpression`,description:`A runtime expression.`,pattern:`^\\s*\\$\\{.+\\}\\s*$`},containerLifetime:{type:`object`,title:`ContainerLifetime`,description:`The configuration of a container's lifetime`,unevaluatedProperties:!1,properties:{cleanup:{type:`string`,title:`ContainerCleanupPolicy`,description:`The container cleanup policy to use`,enum:[`always`,`never`,`eventually`],default:`never`},after:{$ref:`#/$defs/duration`,title:`ContainerLifetimeDuration`,description:`The duration after which to cleanup the container, in case the cleanup policy has been set to 'eventually'`}},required:[`cleanup`],if:{properties:{cleanup:{const:`eventually`}}},then:{required:[`after`]},else:{not:{required:[`after`]}}},processResult:{type:`object`,title:`ProcessResult`,description:`The object returned by a run task when its return type has been set 'all'.`,unevaluatedProperties:!1,properties:{code:{type:`integer`,title:`ProcessExitCode`,description:`The process's exit code.`},stdout:{type:`string`,title:`ProcessStandardOutput`,description:`The content of the process's STDOUT.`},stderr:{type:`string`,title:`ProcessStandardError`,description:`The content of the process's STDERR.`}},required:[`code`,`stdout`,`stderr`]},asyncApiServer:{type:`object`,title:`AsyncApiServer`,description:`Configures the target server of an AsyncAPI operation.`,unevaluatedProperties:!1,properties:{name:{type:`string`,title:`AsyncApiServerName`,description:`The target server's name.`},variables:{type:`object`,title:`AsyncApiServerVariables`,description:`The target server's variables, if any.`}},required:[`name`]},asyncApiOutboundMessage:{type:`object`,title:`AsyncApiOutboundMessage`,description:`An object used to configure the message to publish using the target operation.`,unevaluatedProperties:!1,properties:{payload:{type:`object`,title:`AsyncApiMessagePayload`,description:`The message's payload, if any.`},headers:{type:`object`,title:`AsyncApiMessageHeaders`,description:`The message's headers, if any.`}}},asyncApiInboundMessage:{title:`AsyncApiInboundMessage`,description:`Represents a message counsumed by an AsyncAPI subscription.`,allOf:[{$ref:`#/$defs/asyncApiOutboundMessage`},{properties:{correlationId:{type:`string`,title:`AsyncApiMessageCorrelationId`,description:`The message's correlation id, if any.`}}}]},asyncApiSubscription:{type:`object`,title:`AsyncApiSubscription`,description:`An object used to configure the subscription to messages consumed using the target operation.`,unevaluatedProperties:!1,properties:{filter:{$ref:`#/$defs/runtimeExpression`,title:`AsyncApiSubscriptionCorrelation`,description:`A runtime expression, if any, used to filter consumed messages.`},consume:{$ref:`#/$defs/asyncApiMessageConsumptionPolicy`,title:`AsyncApiMessageConsumptionPolicy`,description:`An object used to configure the subscription's message consumption policy.`},foreach:{$ref:`#/$defs/subscriptionIterator`,title:`AsyncApiSubscriptionIterator`,description:`Configures the iterator, if any, for processing consumed messages(s).`}},required:[`consume`]},asyncApiMessageConsumptionPolicy:{type:`object`,title:`AsyncApiMessageConsumptionPolicy`,description:`An object used to configure a subscription's message consumption policy.`,unevaluatedProperties:!1,properties:{for:{$ref:`#/$defs/duration`,title:`AsyncApiMessageConsumptionPolicyFor`,description:`Specifies the time period over which messages will be consumed.`}},oneOf:[{properties:{amount:{type:`integer`,description:`The amount of (filtered) messages to consume before disposing of the subscription.`}},title:`AsyncApiMessageConsumptionPolicyAmount`,required:[`amount`]},{properties:{while:{$ref:`#/$defs/runtimeExpression`,description:`A runtime expression evaluated after each consumed (filtered) message to decide if message consumption should continue.`}},title:`AsyncApiMessageConsumptionPolicyWhile`,required:[`while`]},{properties:{until:{$ref:`#/$defs/runtimeExpression`,description:`A runtime expression evaluated before each consumed (filtered) message to decide if message consumption should continue.`}},title:`AsyncApiMessageConsumptionPolicyUntil`,required:[`until`]}]},subscriptionIterator:{type:`object`,title:`SubscriptionIterator`,description:`Configures the iteration over each item (event or message) consumed by a subscription.`,unevaluatedProperties:!1,properties:{item:{type:`string`,title:`SubscriptionIteratorItem`,description:`The name of the variable used to store the current item being enumerated.`,default:`item`},at:{type:`string`,title:`SubscriptionIteratorIndex`,description:`The name of the variable used to store the index of the current item being enumerated.`,default:`index`},do:{$ref:`#/$defs/taskList`,title:`SubscriptionIteratorTasks`,description:`The tasks to perform for each consumed item.`},output:{$ref:`#/$defs/output`,title:`SubscriptionIteratorOutput`,description:`An object, if any, used to customize the item's output and to document its schema.`},export:{$ref:`#/$defs/export`,title:`SubscriptionIteratorExport`,description:`An object, if any, used to customize the content of the workflow context.`}}}}};let It={Workflow:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#`,A2AArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/4/allOf/1/properties/with`,AllEventConsumptionStrategy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventConsumptionStrategy/oneOf/0`,AllEventConsumptionStrategyConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventConsumptionStrategy/oneOf/0/properties/all`,AnyEventConsumptionStrategy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventConsumptionStrategy/oneOf/1`,AnyEventConsumptionStrategyConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventConsumptionStrategy/oneOf/1/properties/any`,AnyEventConsumptionStrategyUntil:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventConsumptionStrategy/oneOf/1/properties/until`,AnyEventUntilConsumed:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventConsumptionStrategy/oneOf/1/properties/until/oneOf/1`,AsyncApiArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/0/allOf/1/properties/with`,AuthenticationPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy`,AuthenticationPolicyReference:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/referenceableAuthenticationPolicy/oneOf/0`,BasicAuthenticationPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/0`,BasicAuthenticationPolicyConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/0/properties/basic`,BasicAuthenticationProperties:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/0/properties/basic/oneOf/0`,BearerAuthenticationPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/1`,BearerAuthenticationPolicyConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/1/properties/bearer`,BearerAuthenticationProperties:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/1/properties/bearer/oneOf/0`,CallA2A:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/4`,CallAsyncAPI:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/0`,CallFunction:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/6`,CallGRPC:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/1`,CallHTTP:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/2`,CallMCP:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/5`,CallOpenAPI:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/3`,CallTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask`,Catalog:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/catalog`,CatchErrors:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/tryTask/allOf/1/properties/catch/properties/errors`,ConstantBackoff:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/retryPolicy/properties/backoff/oneOf/0`,Container:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/0/properties/container`,ContainerArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/0/properties/container/properties/arguments`,ContainerEnvironment:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/0/properties/container/properties/environment`,ContainerLifetime:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/0/properties/container/properties/lifetime`,ContainerPorts:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/0/properties/container/properties/ports`,ContainerVolumes:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/0/properties/container/properties/volumes`,DigestAuthenticationPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/2`,DigestAuthenticationPolicyConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/2/properties/digest`,DigestAuthenticationProperties:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/2/properties/digest/oneOf/0`,Document:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/document`,DoTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/doTask`,Duration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/duration`,DurationInline:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/duration/oneOf/0`,EmitEventDefinition:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/emitTask/allOf/1/properties/emit/properties/event`,EmitEventWith:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/emitTask/allOf/1/properties/emit/properties/event/properties/with`,EmitTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/emitTask`,EmitTaskConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/emitTask/allOf/1/properties/emit`,Endpoint:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/endpoint`,EndpointConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/endpoint/oneOf/2`,EndpointUri:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/endpoint/oneOf/2/properties/uri`,Error:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/error`,ErrorDetails:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/error/properties/detail`,ErrorFilter:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/errorFilter`,ErrorInstance:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/error/properties/instance`,ErrorTitle:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/error/properties/title`,ErrorType:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/error/properties/type`,EventConsumptionStrategy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventConsumptionStrategy`,EventData:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventProperties/properties/data`,EventDataschema:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventProperties/properties/dataschema`,EventFilter:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventFilter`,EventFilterCorrelate:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventFilter/properties/correlate`,EventSource:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventProperties/properties/source`,EventTime:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventProperties/properties/time`,ExponentialBackOff:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/retryPolicy/properties/backoff/oneOf/1`,Export:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/export`,ExportAs:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/export/properties/as`,Extension:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/extension`,ExtensionItem:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/extensions/items`,ExternalResource:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/externalResource`,ExternalScript:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/1/properties/script/oneOf/1`,FlowDirective:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/flowDirective`,ForkTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/forkTask`,ForkTaskConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/forkTask/allOf/1/properties/fork`,ForTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/forTask`,ForTaskConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/forTask/allOf/1/properties/for`,FunctionArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/6/allOf/1/properties/with`,GRPCArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/1/allOf/1/properties/with`,HTTPArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/2/allOf/1/properties/with`,HTTPBody:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/2/allOf/1/properties/with/properties/body`,HTTPHeaders:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/2/allOf/1/properties/with/properties/headers`,HTTPQuery:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/2/allOf/1/properties/with/properties/query`,InlineScript:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/1/properties/script/oneOf/0`,Input:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/input`,InputFrom:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/input/properties/from`,LinearBackoff:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/retryPolicy/properties/backoff/oneOf/2`,ListenTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/listenTask`,ListenTaskConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/listenTask/allOf/1/properties/listen`,MCPArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/5/allOf/1/properties/with`,McpCallTransport:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/5/allOf/1/properties/with/properties/transport`,McpClient:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/5/allOf/1/properties/with/properties/client`,McpMethodParameters:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/5/allOf/1/properties/with/properties/parameters`,OAuth2AuthenticationData:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/oauth2AuthenticationProperties`,OAuth2AuthenticationDataAudiences:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/oauth2AuthenticationProperties/properties/audiences`,OAuth2AuthenticationDataClient:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/oauth2AuthenticationProperties/properties/client`,OAuth2AuthenticationDataScopes:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/oauth2AuthenticationProperties/properties/scopes`,OAuth2AuthenticationPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/3`,OAuth2AuthenticationPolicyConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/3/properties/oauth2`,OAuth2AuthenticationPropertiesEndpoints:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/3/properties/oauth2/oneOf/0/properties/endpoints`,OAuth2ConnectAuthenticationProperties:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/3/properties/oauth2/oneOf/0`,OAuth2Issuers:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/oauth2AuthenticationProperties/properties/issuers`,OAuth2TokenDefinition:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/oauth2Token`,OAuth2TokenRequest:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/oauth2AuthenticationProperties/properties/request`,OneEventConsumptionStrategy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventConsumptionStrategy/oneOf/2`,OpenAPIArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/3/allOf/1/properties/with`,OpenIdConnectAuthenticationPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/4`,OpenIdConnectAuthenticationPolicyConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/4/properties/oidc`,OpenIdConnectAuthenticationProperties:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/authenticationPolicy/oneOf/4/properties/oidc/oneOf/0`,Output:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/output`,OutputAs:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/output/properties/as`,RaiseTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/raiseTask`,RaiseTaskConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/raiseTask/allOf/1/properties/raise`,RaiseTaskError:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/raiseTask/allOf/1/properties/raise/properties/error`,ReferenceableAuthenticationPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/referenceableAuthenticationPolicy`,RetryBackoff:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/retryPolicy/properties/backoff`,RetryLimit:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/retryPolicy/properties/limit`,RetryLimitAttempt:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/retryPolicy/properties/limit/properties/attempt`,RetryPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/retryPolicy`,RetryPolicyJitter:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/retryPolicy/properties/jitter`,RunContainer:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/0`,RunScript:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/1`,RunShell:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/2`,RunTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask`,RunTaskConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run`,RuntimeExpression:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runtimeExpression`,RunWorkflow:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/3`,Schedule:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/schedule`,Schema:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/schema`,SchemaExternal:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/schema/oneOf/1`,SchemaInline:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/schema/oneOf/0`,Script:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/1/properties/script`,SecretBasedAuthenticationPolicy:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/secretBasedAuthenticationPolicy`,SetTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/setTask`,SetTaskConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/setTask/allOf/1/properties/set`,Shell:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/2/properties/shell`,ShellArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/2/properties/shell/properties/arguments`,ShellEnvironment:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/2/properties/shell/properties/environment`,SubflowConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/3/properties/workflow`,SubflowInput:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/runTask/allOf/1/properties/run/oneOf/3/properties/workflow/properties/input`,SubscriptionIterator:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/subscriptionIterator`,SwitchCase:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/switchTask/allOf/1/properties/switch/items/additionalProperties`,SwitchItem:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/switchTask/allOf/1/properties/switch/items`,SwitchTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/switchTask`,SwitchTaskConfiguration:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/switchTask/allOf/1/properties/switch`,Task:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/task`,TaskBase:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/taskBase`,TaskBaseIf:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/taskBase/properties/if`,TaskItem:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/taskList/items`,TaskList:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/taskList`,TaskMetadata:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/taskBase/properties/metadata`,TaskTimeout:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/taskBase/properties/timeout`,Timeout:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/timeout`,TryTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/tryTask`,TryTaskCatch:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/tryTask/allOf/1/properties/catch`,TryTaskCatchRetry:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/tryTask/allOf/1/properties/catch/properties/retry`,UriTemplate:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/uriTemplate`,Use:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use`,UseAuthentications:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/authentications`,UseCatalogs:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/catalogs`,UseErrors:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/errors`,UseExtensions:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/extensions`,UseFunctions:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/functions`,UseRetries:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/retries`,UseSecrets:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/secrets`,UseTimeouts:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/use/properties/timeouts`,WaitTask:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/waitTask`,WithA2AParameters:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/4/allOf/1/properties/with/properties/parameters`,WithEvent:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/eventFilter/properties/with`,WithGRPCArguments:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/1/allOf/1/properties/with/properties/arguments`,WithGRPCService:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/1/allOf/1/properties/with/properties/service`,WithOpenAPIParameters:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/$defs/callTask/oneOf/3/allOf/1/properties/with/properties/parameters`,WorkflowMetadata:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/document/properties/metadata`,WorkflowTags:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/document/properties/tags`,WorkflowTimeout:`https://serverlessworkflow.io/schemas/1.0.3/workflow.json#/properties/timeout`};var Lt=u(Ot()),Rt=u(Pt());let zt=new Lt.default({schemas:[Ft],strict:!1});(0,Rt.default)(zt);let Bt=new Map(Object.entries(It).map(([e,t])=>{if(!t)throw Error(`No JSON pointer provided for type '${e}'`);let n=zt.getSchema(t);if(!n)throw Error(`Unable to find schema '${t}' for type '${e}'`);return[e,n]})),k=(e,t,n)=>{S(e)?.preValidation?.(t,n);let r=Bt.get(e);if(!r)throw Error(`Unable to find a validation function for '${e}'`);if(!r(h(t)))throw Error(`'${e}' is invalid:
|
|
9
|
+
${r.errors?.reduce((e,t)=>e+`- ${t.instancePath} | ${t.schemaPath} | ${t.message} | ${JSON.stringify(t.params)}\n`,``)??``}
|
|
10
|
+
|
|
11
|
+
data: ${JSON.stringify(t,null,4)}`);S(e)?.postValidation?.(t,n)},Vt=class e extends g{constructor(e){super(e),S(`BasicAuthenticationPolicyConfiguration`)?.constructor?.(this)}validate(t){k(`BasicAuthenticationPolicyConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`BasicAuthenticationPolicyConfiguration`)?.normalize?.(t)||t}},Ht=class e extends g{constructor(e){super(e),S(`BearerAuthenticationPolicyConfiguration`)?.constructor?.(this)}validate(t){k(`BearerAuthenticationPolicyConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`BearerAuthenticationPolicyConfiguration`)?.normalize?.(t)||t}},Ut=class e extends g{constructor(e){super(e),S(`DigestAuthenticationPolicyConfiguration`)?.constructor?.(this)}validate(t){k(`DigestAuthenticationPolicyConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`DigestAuthenticationPolicyConfiguration`)?.normalize?.(t)||t}},Wt=class e extends g{constructor(e){super(e),S(`OAuth2AuthenticationDataClient`)?.constructor?.(this)}validate(t){k(`OAuth2AuthenticationDataClient`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2AuthenticationDataClient`)?.normalize?.(t)||t}},Gt=class e extends g{constructor(e){super(e),S(`OAuth2TokenRequest`)?.constructor?.(this)}validate(t){k(`OAuth2TokenRequest`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2TokenRequest`)?.normalize?.(t)||t}},A=class e extends g{constructor(e){super(e),S(`OAuth2TokenDefinition`)?.constructor?.(this)}validate(t){k(`OAuth2TokenDefinition`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2TokenDefinition`)?.normalize?.(t)||t}},Kt=class e extends g{constructor(e){super(e),S(`OAuth2AuthenticationPropertiesEndpoints`)?.constructor?.(this)}validate(t){k(`OAuth2AuthenticationPropertiesEndpoints`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2AuthenticationPropertiesEndpoints`)?.normalize?.(t)||t}},qt=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.client==`object`&&(t.client=new Wt(e.client)),typeof e.request==`object`&&(t.request=new Gt(e.request)),typeof e.subject==`object`&&(t.subject=new A(e.subject)),typeof e.actor==`object`&&(t.actor=new A(e.actor)),typeof e.endpoints==`object`&&(t.endpoints=new Kt(e.endpoints))),S(`OAuth2AuthenticationPolicyConfiguration`)?.constructor?.(this)}validate(t){k(`OAuth2AuthenticationPolicyConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2AuthenticationPolicyConfiguration`)?.normalize?.(t)||t}},Jt=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.client==`object`&&(t.client=new Wt(e.client)),typeof e.request==`object`&&(t.request=new Gt(e.request)),typeof e.subject==`object`&&(t.subject=new A(e.subject)),typeof e.actor==`object`&&(t.actor=new A(e.actor))),S(`OpenIdConnectAuthenticationPolicyConfiguration`)?.constructor?.(this)}validate(t){k(`OpenIdConnectAuthenticationPolicyConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`OpenIdConnectAuthenticationPolicyConfiguration`)?.normalize?.(t)||t}},Yt=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.basic==`object`&&(t.basic=new Vt(e.basic)),typeof e.bearer==`object`&&(t.bearer=new Ht(e.bearer)),typeof e.digest==`object`&&(t.digest=new Ut(e.digest)),typeof e.oauth2==`object`&&(t.oauth2=new qt(e.oauth2)),typeof e.oidc==`object`&&(t.oidc=new Jt(e.oidc))),S(`ReferenceableAuthenticationPolicy`)?.constructor?.(this)}validate(t){k(`ReferenceableAuthenticationPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`ReferenceableAuthenticationPolicy`)?.normalize?.(t)||t}},Xt=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.authentication==`object`&&(t.authentication=new Yt(e.authentication)),S(`Endpoint`)?.constructor?.(this)}validate(t){k(`Endpoint`,new e(this),t)}normalize(){let t=new e(this);return S(`Endpoint`)?.normalize?.(t)||t}},j=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.endpoint==`object`&&(t.endpoint=new Xt(e.endpoint)),S(`ExternalResource`)?.constructor?.(this)}validate(t){k(`ExternalResource`,new e(this),t)}normalize(){let t=new e(this);return S(`ExternalResource`)?.normalize?.(t)||t}},Zt=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.agentCard==`object`&&(t.agentCard=new j(e.agentCard)),typeof e.server==`object`&&(t.server=new Xt(e.server))),S(`A2AArguments`)?.constructor?.(this)}validate(t){k(`A2AArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`A2AArguments`)?.normalize?.(t)||t}},Qt=class e extends g{constructor(e){super(e),S(`WithEvent`)?.constructor?.(this)}validate(t){k(`WithEvent`,new e(this),t)}normalize(){let t=new e(this);return S(`WithEvent`)?.normalize?.(t)||t}},$t=class e extends g{constructor(e){super(e),S(`EventFilterCorrelate`)?.constructor?.(this)}validate(t){k(`EventFilterCorrelate`,new e(this),t)}normalize(){let t=new e(this);return S(`EventFilterCorrelate`)?.normalize?.(t)||t}},en=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.with==`object`&&(t.with=new Qt(e.with)),typeof e.correlate==`object`&&(t.correlate=new $t(e.correlate))),S(`EventFilter`)?.constructor?.(this)}validate(t){k(`EventFilter`,new e(this),t)}normalize(){let t=new e(this);return S(`EventFilter`)?.normalize?.(t)||t}},tn=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(new en(e)))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`AllEventConsumptionStrategyConfiguration`)?.constructor?.(this)}validate(t){k(`AllEventConsumptionStrategyConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`AllEventConsumptionStrategyConfiguration`)?.normalize?.(t)||t}},nn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.all==`object`&&(t.all=new tn(e.all)),S(`AllEventConsumptionStrategy`)?.constructor?.(this)}validate(t){k(`AllEventConsumptionStrategy`,new e(this),t)}normalize(){let t=new e(this);return S(`AllEventConsumptionStrategy`)?.normalize?.(t)||t}},rn=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(new en(e)))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`AnyEventConsumptionStrategyConfiguration`)?.constructor?.(this)}validate(t){k(`AnyEventConsumptionStrategyConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`AnyEventConsumptionStrategyConfiguration`)?.normalize?.(t)||t}},an=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.all==`object`&&(t.all=new tn(e.all)),typeof e.any==`object`&&(t.any=new rn(e.any)),typeof e.one==`object`&&(t.one=new en(e.one))),S(`AnyEventConsumptionStrategyUntil`)?.constructor?.(this)}validate(t){k(`AnyEventConsumptionStrategyUntil`,new e(this),t)}normalize(){let t=new e(this);return S(`AnyEventConsumptionStrategyUntil`)?.normalize?.(t)||t}},on=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.any==`object`&&(t.any=new rn(e.any)),typeof e.until==`object`&&(t.until=new an(e.until))),S(`AnyEventConsumptionStrategy`)?.constructor?.(this)}validate(t){k(`AnyEventConsumptionStrategy`,new e(this),t)}normalize(){let t=new e(this);return S(`AnyEventConsumptionStrategy`)?.normalize?.(t)||t}},sn=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.all==`object`&&(t.all=new tn(e.all)),typeof e.any==`object`&&(t.any=new rn(e.any)),typeof e.one==`object`&&(t.one=new en(e.one))),S(`AnyEventUntilConsumed`)?.constructor?.(this)}validate(t){k(`AnyEventUntilConsumed`,new e(this),t)}normalize(){let t=new e(this);return S(`AnyEventUntilConsumed`)?.normalize?.(t)||t}},cn=class e extends g{constructor(e){super(e),S(`AsyncApiArguments`)?.constructor?.(this)}validate(t){k(`AsyncApiArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`AsyncApiArguments`)?.normalize?.(t)||t}},ln=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.basic==`object`&&(t.basic=new Vt(e.basic)),typeof e.bearer==`object`&&(t.bearer=new Ht(e.bearer)),typeof e.digest==`object`&&(t.digest=new Ut(e.digest)),typeof e.oauth2==`object`&&(t.oauth2=new qt(e.oauth2)),typeof e.oidc==`object`&&(t.oidc=new Jt(e.oidc))),S(`AuthenticationPolicy`)?.constructor?.(this)}validate(t){k(`AuthenticationPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`AuthenticationPolicy`)?.normalize?.(t)||t}},un=class e extends g{constructor(e){super(e),S(`AuthenticationPolicyReference`)?.constructor?.(this)}validate(t){k(`AuthenticationPolicyReference`,new e(this),t)}normalize(){let t=new e(this);return S(`AuthenticationPolicyReference`)?.normalize?.(t)||t}},dn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.basic==`object`&&(t.basic=new Vt(e.basic)),S(`BasicAuthenticationPolicy`)?.constructor?.(this)}validate(t){k(`BasicAuthenticationPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`BasicAuthenticationPolicy`)?.normalize?.(t)||t}},fn=class e extends g{constructor(e){super(e),S(`BasicAuthenticationProperties`)?.constructor?.(this)}validate(t){k(`BasicAuthenticationProperties`,new e(this),t)}normalize(){let t=new e(this);return S(`BasicAuthenticationProperties`)?.normalize?.(t)||t}},pn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.bearer==`object`&&(t.bearer=new Ht(e.bearer)),S(`BearerAuthenticationPolicy`)?.constructor?.(this)}validate(t){k(`BearerAuthenticationPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`BearerAuthenticationPolicy`)?.normalize?.(t)||t}},mn=class e extends g{constructor(e){super(e),S(`BearerAuthenticationProperties`)?.constructor?.(this)}validate(t){k(`BearerAuthenticationProperties`,new e(this),t)}normalize(){let t=new e(this);return S(`BearerAuthenticationProperties`)?.normalize?.(t)||t}},hn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.resource==`object`&&(t.resource=new j(e.resource)),S(`Schema`)?.constructor?.(this)}validate(t){k(`Schema`,new e(this),t)}normalize(){let t=new e(this);return S(`Schema`)?.normalize?.(t)||t}},M=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.schema==`object`&&(t.schema=new hn(e.schema)),S(`Input`)?.constructor?.(this)}validate(t){k(`Input`,new e(this),t)}normalize(){let t=new e(this);return S(`Input`)?.normalize?.(t)||t}},N=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.schema==`object`&&(t.schema=new hn(e.schema)),S(`Output`)?.constructor?.(this)}validate(t){k(`Output`,new e(this),t)}normalize(){let t=new e(this);return S(`Output`)?.normalize?.(t)||t}},P=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.schema==`object`&&(t.schema=new hn(e.schema)),S(`Export`)?.constructor?.(this)}validate(t){k(`Export`,new e(this),t)}normalize(){let t=new e(this);return S(`Export`)?.normalize?.(t)||t}},F=class e extends g{constructor(e){super(e),S(`Duration`)?.constructor?.(this)}validate(t){k(`Duration`,new e(this),t)}normalize(){let t=new e(this);return S(`Duration`)?.normalize?.(t)||t}},I=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.after==`object`&&(t.after=new F(e.after)),S(`TaskTimeout`)?.constructor?.(this)}validate(t){k(`TaskTimeout`,new e(this),t)}normalize(){let t=new e(this);return S(`TaskTimeout`)?.normalize?.(t)||t}},L=class e extends g{constructor(e){super(e),S(`TaskMetadata`)?.constructor?.(this)}validate(t){k(`TaskMetadata`,new e(this),t)}normalize(){let t=new e(this);return S(`TaskMetadata`)?.normalize?.(t)||t}},R=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata))),S(`TaskBase`)?.constructor?.(this)}validate(t){k(`TaskBase`,new e(this),t)}normalize(){let t=new e(this);return S(`TaskBase`)?.normalize?.(t)||t}},gn=class e extends R{constructor(e){super(e);let t=this;m(e)&&(t.call=`a2a`,typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.with==`object`&&(t.with=new Zt(e.with))),S(`CallA2A`)?.constructor?.(this)}validate(t){k(`CallA2A`,new e(this),t)}normalize(){let t=new e(this);return S(`CallA2A`)?.normalize?.(t)||t}},_n=class e extends R{constructor(e){super(e);let t=this;m(e)&&(t.call=`asyncapi`,typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata))),S(`CallAsyncAPI`)?.constructor?.(this)}validate(t){k(`CallAsyncAPI`,new e(this),t)}normalize(){let t=new e(this);return S(`CallAsyncAPI`)?.normalize?.(t)||t}},vn=class e extends g{constructor(e){super(e),S(`FunctionArguments`)?.constructor?.(this)}validate(t){k(`FunctionArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`FunctionArguments`)?.normalize?.(t)||t}},yn=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.with==`object`&&(t.with=new vn(e.with))),S(`CallFunction`)?.constructor?.(this)}validate(t){k(`CallFunction`,new e(this),t)}normalize(){let t=new e(this);return S(`CallFunction`)?.normalize?.(t)||t}},bn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.authentication==`object`&&(t.authentication=new Yt(e.authentication)),S(`WithGRPCService`)?.constructor?.(this)}validate(t){k(`WithGRPCService`,new e(this),t)}normalize(){let t=new e(this);return S(`WithGRPCService`)?.normalize?.(t)||t}},xn=class e extends g{constructor(e){super(e),S(`WithGRPCArguments`)?.constructor?.(this)}validate(t){k(`WithGRPCArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`WithGRPCArguments`)?.normalize?.(t)||t}},Sn=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.proto==`object`&&(t.proto=new j(e.proto)),typeof e.service==`object`&&(t.service=new bn(e.service)),typeof e.arguments==`object`&&(t.arguments=new xn(e.arguments))),S(`GRPCArguments`)?.constructor?.(this)}validate(t){k(`GRPCArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`GRPCArguments`)?.normalize?.(t)||t}},Cn=class e extends R{constructor(e){super(e);let t=this;m(e)&&(t.call=`grpc`,typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.with==`object`&&(t.with=new Sn(e.with))),S(`CallGRPC`)?.constructor?.(this)}validate(t){k(`CallGRPC`,new e(this),t)}normalize(){let t=new e(this);return S(`CallGRPC`)?.normalize?.(t)||t}},wn=class e extends g{constructor(e){super(e),S(`HTTPBody`)?.constructor?.(this)}validate(t){k(`HTTPBody`,new e(this),t)}normalize(){let t=new e(this);return S(`HTTPBody`)?.normalize?.(t)||t}},Tn=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.endpoint==`object`&&(t.endpoint=new Xt(e.endpoint)),typeof e.body==`object`&&(t.body=new wn(e.body))),S(`HTTPArguments`)?.constructor?.(this)}validate(t){k(`HTTPArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`HTTPArguments`)?.normalize?.(t)||t}},En=class e extends R{constructor(e){super(e);let t=this;m(e)&&(t.call=`http`,typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.with==`object`&&(t.with=new Tn(e.with))),S(`CallHTTP`)?.constructor?.(this)}validate(t){k(`CallHTTP`,new e(this),t)}normalize(){let t=new e(this);return S(`CallHTTP`)?.normalize?.(t)||t}},Dn=class e extends g{constructor(e){super(e),S(`McpClient`)?.constructor?.(this)}validate(t){k(`McpClient`,new e(this),t)}normalize(){let t=new e(this);return S(`McpClient`)?.normalize?.(t)||t}},On=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.timeout==`object`&&(t.timeout=new F(e.timeout)),typeof e.client==`object`&&(t.client=new Dn(e.client))),S(`MCPArguments`)?.constructor?.(this)}validate(t){k(`MCPArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`MCPArguments`)?.normalize?.(t)||t}},kn=class e extends R{constructor(e){super(e);let t=this;m(e)&&(t.call=`mcp`,typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.with==`object`&&(t.with=new On(e.with))),S(`CallMCP`)?.constructor?.(this)}validate(t){k(`CallMCP`,new e(this),t)}normalize(){let t=new e(this);return S(`CallMCP`)?.normalize?.(t)||t}},An=class e extends g{constructor(e){super(e),S(`WithOpenAPIParameters`)?.constructor?.(this)}validate(t){k(`WithOpenAPIParameters`,new e(this),t)}normalize(){let t=new e(this);return S(`WithOpenAPIParameters`)?.normalize?.(t)||t}},jn=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.document==`object`&&(t.document=new j(e.document)),typeof e.parameters==`object`&&(t.parameters=new An(e.parameters)),typeof e.authentication==`object`&&(t.authentication=new Yt(e.authentication))),S(`OpenAPIArguments`)?.constructor?.(this)}validate(t){k(`OpenAPIArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`OpenAPIArguments`)?.normalize?.(t)||t}},Mn=class e extends R{constructor(e){super(e);let t=this;m(e)&&(t.call=`openapi`,typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.with==`object`&&(t.with=new jn(e.with))),S(`CallOpenAPI`)?.constructor?.(this)}validate(t){k(`CallOpenAPI`,new e(this),t)}normalize(){let t=new e(this);return S(`CallOpenAPI`)?.normalize?.(t)||t}},Nn=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata))),S(`CallTask`)?.constructor?.(this)}validate(t){k(`CallTask`,new e(this),t)}normalize(){let t=new e(this);return S(`CallTask`)?.normalize?.(t)||t}},Pn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.endpoint==`object`&&(t.endpoint=new Xt(e.endpoint)),S(`Catalog`)?.constructor?.(this)}validate(t){k(`Catalog`,new e(this),t)}normalize(){let t=new e(this);return S(`Catalog`)?.normalize?.(t)||t}},Fn=class e extends g{constructor(e){super(e),S(`ErrorFilter`)?.constructor?.(this)}validate(t){k(`ErrorFilter`,new e(this),t)}normalize(){let t=new e(this);return S(`ErrorFilter`)?.normalize?.(t)||t}},In=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.with==`object`&&(t.with=new Fn(e.with)),S(`CatchErrors`)?.constructor?.(this)}validate(t){k(`CatchErrors`,new e(this),t)}normalize(){let t=new e(this);return S(`CatchErrors`)?.normalize?.(t)||t}},Ln=class e extends g{constructor(e){super(e),S(`ConstantBackoff`)?.constructor?.(this)}validate(t){k(`ConstantBackoff`,new e(this),t)}normalize(){let t=new e(this);return S(`ConstantBackoff`)?.normalize?.(t)||t}},Rn=class e extends g{constructor(e){super(e),S(`ContainerPorts`)?.constructor?.(this)}validate(t){k(`ContainerPorts`,new e(this),t)}normalize(){let t=new e(this);return S(`ContainerPorts`)?.normalize?.(t)||t}},zn=class e extends g{constructor(e){super(e),S(`ContainerVolumes`)?.constructor?.(this)}validate(t){k(`ContainerVolumes`,new e(this),t)}normalize(){let t=new e(this);return S(`ContainerVolumes`)?.normalize?.(t)||t}},Bn=class e extends g{constructor(e){super(e),S(`ContainerEnvironment`)?.constructor?.(this)}validate(t){k(`ContainerEnvironment`,new e(this),t)}normalize(){let t=new e(this);return S(`ContainerEnvironment`)?.normalize?.(t)||t}},Vn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.after==`object`&&(t.after=new F(e.after)),S(`ContainerLifetime`)?.constructor?.(this)}validate(t){k(`ContainerLifetime`,new e(this),t)}normalize(){let t=new e(this);return S(`ContainerLifetime`)?.normalize?.(t)||t}},Hn=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.ports==`object`&&(t.ports=new Rn(e.ports)),typeof e.volumes==`object`&&(t.volumes=new zn(e.volumes)),typeof e.environment==`object`&&(t.environment=new Bn(e.environment)),typeof e.lifetime==`object`&&(t.lifetime=new Vn(e.lifetime))),S(`Container`)?.constructor?.(this)}validate(t){k(`Container`,new e(this),t)}normalize(){let t=new e(this);return S(`Container`)?.normalize?.(t)||t}},Un=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(e))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`ContainerArguments`)?.constructor?.(this)}validate(t){k(`ContainerArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`ContainerArguments`)?.normalize?.(t)||t}},Wn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.digest==`object`&&(t.digest=new Ut(e.digest)),S(`DigestAuthenticationPolicy`)?.constructor?.(this)}validate(t){k(`DigestAuthenticationPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`DigestAuthenticationPolicy`)?.normalize?.(t)||t}},Gn=class e extends g{constructor(e){super(e),S(`DigestAuthenticationProperties`)?.constructor?.(this)}validate(t){k(`DigestAuthenticationProperties`,new e(this),t)}normalize(){let t=new e(this);return S(`DigestAuthenticationProperties`)?.normalize?.(t)||t}},Kn=class e extends g{constructor(e){super(e),S(`WorkflowTags`)?.constructor?.(this)}validate(t){k(`WorkflowTags`,new e(this),t)}normalize(){let t=new e(this);return S(`WorkflowTags`)?.normalize?.(t)||t}},qn=class e extends g{constructor(e){super(e),S(`WorkflowMetadata`)?.constructor?.(this)}validate(t){k(`WorkflowMetadata`,new e(this),t)}normalize(){let t=new e(this);return S(`WorkflowMetadata`)?.normalize?.(t)||t}},Jn=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.tags==`object`&&(t.tags=new Kn(e.tags)),typeof e.metadata==`object`&&(t.metadata=new qn(e.metadata))),S(`Document`)?.constructor?.(this)}validate(t){k(`Document`,new e(this),t)}normalize(){let t=new e(this);return S(`Document`)?.normalize?.(t)||t}},Yn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.branches==`object`&&(t.branches=new z(e.branches)),S(`ForkTaskConfiguration`)?.constructor?.(this)}validate(t){k(`ForkTaskConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`ForkTaskConfiguration`)?.normalize?.(t)||t}},Xn=class e extends g{constructor(e){super(e),S(`EmitEventWith`)?.constructor?.(this)}validate(t){k(`EmitEventWith`,new e(this),t)}normalize(){let t=new e(this);return S(`EmitEventWith`)?.normalize?.(t)||t}},Zn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.with==`object`&&(t.with=new Xn(e.with)),S(`EmitEventDefinition`)?.constructor?.(this)}validate(t){k(`EmitEventDefinition`,new e(this),t)}normalize(){let t=new e(this);return S(`EmitEventDefinition`)?.normalize?.(t)||t}},Qn=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.event==`object`&&(t.event=new Zn(e.event)),S(`EmitTaskConfiguration`)?.constructor?.(this)}validate(t){k(`EmitTaskConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`EmitTaskConfiguration`)?.normalize?.(t)||t}},$n=class e extends g{constructor(e){super(e),S(`ForTaskConfiguration`)?.constructor?.(this)}validate(t){k(`ForTaskConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`ForTaskConfiguration`)?.normalize?.(t)||t}},er=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.all==`object`&&(t.all=new tn(e.all)),typeof e.any==`object`&&(t.any=new rn(e.any)),typeof e.until==`object`&&(t.until=new an(e.until)),typeof e.one==`object`&&(t.one=new en(e.one))),S(`EventConsumptionStrategy`)?.constructor?.(this)}validate(t){k(`EventConsumptionStrategy`,new e(this),t)}normalize(){let t=new e(this);return S(`EventConsumptionStrategy`)?.normalize?.(t)||t}},tr=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.to==`object`&&(t.to=new er(e.to)),S(`ListenTaskConfiguration`)?.constructor?.(this)}validate(t){k(`ListenTaskConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`ListenTaskConfiguration`)?.normalize?.(t)||t}},nr=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.do==`object`&&(t.do=new z(e.do)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export))),S(`SubscriptionIterator`)?.constructor?.(this)}validate(t){k(`SubscriptionIterator`,new e(this),t)}normalize(){let t=new e(this);return S(`SubscriptionIterator`)?.normalize?.(t)||t}},rr=class e extends g{constructor(e){super(e),S(`RaiseTaskError`)?.constructor?.(this)}validate(t){k(`RaiseTaskError`,new e(this),t)}normalize(){let t=new e(this);return S(`RaiseTaskError`)?.normalize?.(t)||t}},ir=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.error==`object`&&(t.error=new rr(e.error)),S(`RaiseTaskConfiguration`)?.constructor?.(this)}validate(t){k(`RaiseTaskConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`RaiseTaskConfiguration`)?.normalize?.(t)||t}},ar=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.source==`object`&&(t.source=new j(e.source)),S(`Script`)?.constructor?.(this)}validate(t){k(`Script`,new e(this),t)}normalize(){let t=new e(this);return S(`Script`)?.normalize?.(t)||t}},or=class e extends g{constructor(e){super(e),S(`ShellEnvironment`)?.constructor?.(this)}validate(t){k(`ShellEnvironment`,new e(this),t)}normalize(){let t=new e(this);return S(`ShellEnvironment`)?.normalize?.(t)||t}},sr=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.environment==`object`&&(t.environment=new or(e.environment)),S(`Shell`)?.constructor?.(this)}validate(t){k(`Shell`,new e(this),t)}normalize(){let t=new e(this);return S(`Shell`)?.normalize?.(t)||t}},cr=class e extends g{constructor(e){super(e),S(`SubflowInput`)?.constructor?.(this)}validate(t){k(`SubflowInput`,new e(this),t)}normalize(){let t=new e(this);return S(`SubflowInput`)?.normalize?.(t)||t}},lr=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.input==`object`&&(t.input=new cr(e.input)),S(`SubflowConfiguration`)?.constructor?.(this)}validate(t){k(`SubflowConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`SubflowConfiguration`)?.normalize?.(t)||t}},ur=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.container==`object`&&(t.container=new Hn(e.container)),typeof e.script==`object`&&(t.script=new ar(e.script)),typeof e.shell==`object`&&(t.shell=new sr(e.shell)),typeof e.workflow==`object`&&(t.workflow=new lr(e.workflow))),S(`RunTaskConfiguration`)?.constructor?.(this)}validate(t){k(`RunTaskConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`RunTaskConfiguration`)?.normalize?.(t)||t}},dr=class e extends g{constructor(e){super(e),S(`SwitchCase`)?.constructor?.(this)}validate(t){k(`SwitchCase`,new e(this),t)}normalize(){let t=new e(this);return S(`SwitchCase`)?.normalize?.(t)||t}},fr=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new dr(n)})}S(`SwitchItem`)?.constructor?.(this)}validate(t){k(`SwitchItem`,new e(this),t)}normalize(){let t=new e(this);return S(`SwitchItem`)?.normalize?.(t)||t}},pr=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(new fr(e)))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`SwitchTaskConfiguration`)?.constructor?.(this)}validate(t){k(`SwitchTaskConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`SwitchTaskConfiguration`)?.normalize?.(t)||t}},mr=class e extends g{constructor(e){super(e),S(`RetryBackoff`)?.constructor?.(this)}validate(t){k(`RetryBackoff`,new e(this),t)}normalize(){let t=new e(this);return S(`RetryBackoff`)?.normalize?.(t)||t}},hr=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.duration==`object`&&(t.duration=new F(e.duration)),S(`RetryLimitAttempt`)?.constructor?.(this)}validate(t){k(`RetryLimitAttempt`,new e(this),t)}normalize(){let t=new e(this);return S(`RetryLimitAttempt`)?.normalize?.(t)||t}},gr=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.attempt==`object`&&(t.attempt=new hr(e.attempt)),typeof e.duration==`object`&&(t.duration=new F(e.duration))),S(`RetryLimit`)?.constructor?.(this)}validate(t){k(`RetryLimit`,new e(this),t)}normalize(){let t=new e(this);return S(`RetryLimit`)?.normalize?.(t)||t}},_r=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.from==`object`&&(t.from=new F(e.from)),typeof e.to==`object`&&(t.to=new F(e.to))),S(`RetryPolicyJitter`)?.constructor?.(this)}validate(t){k(`RetryPolicyJitter`,new e(this),t)}normalize(){let t=new e(this);return S(`RetryPolicyJitter`)?.normalize?.(t)||t}},vr=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.delay==`object`&&(t.delay=new F(e.delay)),typeof e.backoff==`object`&&(t.backoff=new mr(e.backoff)),typeof e.limit==`object`&&(t.limit=new gr(e.limit)),typeof e.jitter==`object`&&(t.jitter=new _r(e.jitter))),S(`TryTaskCatchRetry`)?.constructor?.(this)}validate(t){k(`TryTaskCatchRetry`,new e(this),t)}normalize(){let t=new e(this);return S(`TryTaskCatchRetry`)?.normalize?.(t)||t}},yr=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.errors==`object`&&(t.errors=new In(e.errors)),typeof e.retry==`object`&&(t.retry=new vr(e.retry)),typeof e.do==`object`&&(t.do=new z(e.do))),S(`TryTaskCatch`)?.constructor?.(this)}validate(t){k(`TryTaskCatch`,new e(this),t)}normalize(){let t=new e(this);return S(`TryTaskCatch`)?.normalize?.(t)||t}},br=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.fork==`object`&&(t.fork=new Yn(e.fork)),typeof e.emit==`object`&&(t.emit=new Qn(e.emit)),typeof e.for==`object`&&(t.for=new $n(e.for)),typeof e.listen==`object`&&(t.listen=new tr(e.listen)),typeof e.foreach==`object`&&(t.foreach=new nr(e.foreach)),typeof e.raise==`object`&&(t.raise=new ir(e.raise)),typeof e.run==`object`&&(t.run=new ur(e.run)),typeof e.switch==`object`&&(t.switch=new pr(e.switch)),typeof e.try==`object`&&(t.try=new z(e.try)),typeof e.catch==`object`&&(t.catch=new yr(e.catch)),typeof e.wait==`object`&&(t.wait=new F(e.wait))),S(`Task`)?.constructor?.(this)}validate(t){k(`Task`,new e(this),t)}normalize(){let t=new e(this);return S(`Task`)?.normalize?.(t)||t}},xr=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new br(n)})}S(`TaskItem`)?.constructor?.(this)}validate(t){k(`TaskItem`,new e(this),t)}normalize(){let t=new e(this);return S(`TaskItem`)?.normalize?.(t)||t}},z=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(new xr(e)))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`TaskList`)?.constructor?.(this)}validate(t){k(`TaskList`,new e(this),t)}normalize(){let t=new e(this);return S(`TaskList`)?.normalize?.(t)||t}},Sr=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.do==`object`&&(t.do=new z(e.do))),S(`DoTask`)?.constructor?.(this)}validate(t){k(`DoTask`,new e(this),t)}normalize(){let t=new e(this);return S(`DoTask`)?.normalize?.(t)||t}},Cr=class e extends g{constructor(e){super(e),S(`DurationInline`)?.constructor?.(this)}validate(t){k(`DurationInline`,new e(this),t)}normalize(){let t=new e(this);return S(`DurationInline`)?.normalize?.(t)||t}},wr=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.emit==`object`&&(t.emit=new Qn(e.emit))),S(`EmitTask`)?.constructor?.(this)}validate(t){k(`EmitTask`,new e(this),t)}normalize(){let t=new e(this);return S(`EmitTask`)?.normalize?.(t)||t}},Tr=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.authentication==`object`&&(t.authentication=new Yt(e.authentication)),S(`EndpointConfiguration`)?.constructor?.(this)}validate(t){k(`EndpointConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`EndpointConfiguration`)?.normalize?.(t)||t}},Er=class e extends g{constructor(e){super(e),S(`EndpointUri`)?.constructor?.(this)}validate(t){k(`EndpointUri`,new e(this),t)}normalize(){let t=new e(this);return S(`EndpointUri`)?.normalize?.(t)||t}},Dr=class e extends g{constructor(e){super(e),S(`Error`)?.constructor?.(this)}validate(t){k(`Error`,new e(this),t)}normalize(){let t=new e(this);return S(`Error`)?.normalize?.(t)||t}},Or=class e extends g{constructor(e){super(e),S(`ErrorDetails`)?.constructor?.(this)}validate(t){k(`ErrorDetails`,new e(this),t)}normalize(){let t=new e(this);return S(`ErrorDetails`)?.normalize?.(t)||t}},kr=class e extends g{constructor(e){super(e),S(`ErrorInstance`)?.constructor?.(this)}validate(t){k(`ErrorInstance`,new e(this),t)}normalize(){let t=new e(this);return S(`ErrorInstance`)?.normalize?.(t)||t}},Ar=class e extends g{constructor(e){super(e),S(`ErrorTitle`)?.constructor?.(this)}validate(t){k(`ErrorTitle`,new e(this),t)}normalize(){let t=new e(this);return S(`ErrorTitle`)?.normalize?.(t)||t}},jr=class e extends g{constructor(e){super(e),S(`ErrorType`)?.constructor?.(this)}validate(t){k(`ErrorType`,new e(this),t)}normalize(){let t=new e(this);return S(`ErrorType`)?.normalize?.(t)||t}},Mr=class e extends g{constructor(e){super(e),S(`EventData`)?.constructor?.(this)}validate(t){k(`EventData`,new e(this),t)}normalize(){let t=new e(this);return S(`EventData`)?.normalize?.(t)||t}},Nr=class e extends g{constructor(e){super(e),S(`EventDataschema`)?.constructor?.(this)}validate(t){k(`EventDataschema`,new e(this),t)}normalize(){let t=new e(this);return S(`EventDataschema`)?.normalize?.(t)||t}},Pr=class e extends g{constructor(e){super(e),S(`EventSource`)?.constructor?.(this)}validate(t){k(`EventSource`,new e(this),t)}normalize(){let t=new e(this);return S(`EventSource`)?.normalize?.(t)||t}},Fr=class e extends g{constructor(e){super(e),S(`EventTime`)?.constructor?.(this)}validate(t){k(`EventTime`,new e(this),t)}normalize(){let t=new e(this);return S(`EventTime`)?.normalize?.(t)||t}},Ir=class e extends g{constructor(e){super(e),S(`ExponentialBackOff`)?.constructor?.(this)}validate(t){k(`ExponentialBackOff`,new e(this),t)}normalize(){let t=new e(this);return S(`ExponentialBackOff`)?.normalize?.(t)||t}},Lr=class e extends g{constructor(e){super(e),S(`ExportAs`)?.constructor?.(this)}validate(t){k(`ExportAs`,new e(this),t)}normalize(){let t=new e(this);return S(`ExportAs`)?.normalize?.(t)||t}},Rr=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.before==`object`&&(t.before=new z(e.before)),typeof e.after==`object`&&(t.after=new z(e.after))),S(`Extension`)?.constructor?.(this)}validate(t){k(`Extension`,new e(this),t)}normalize(){let t=new e(this);return S(`Extension`)?.normalize?.(t)||t}},zr=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new Rr(n)})}S(`ExtensionItem`)?.constructor?.(this)}validate(t){k(`ExtensionItem`,new e(this),t)}normalize(){let t=new e(this);return S(`ExtensionItem`)?.normalize?.(t)||t}},Br=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.source==`object`&&(t.source=new j(e.source)),S(`ExternalScript`)?.constructor?.(this)}validate(t){k(`ExternalScript`,new e(this),t)}normalize(){let t=new e(this);return S(`ExternalScript`)?.normalize?.(t)||t}},Vr=class e extends g{constructor(e){super(e),S(`FlowDirective`)?.constructor?.(this)}validate(t){k(`FlowDirective`,new e(this),t)}normalize(){let t=new e(this);return S(`FlowDirective`)?.normalize?.(t)||t}},Hr=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.fork==`object`&&(t.fork=new Yn(e.fork))),S(`ForkTask`)?.constructor?.(this)}validate(t){k(`ForkTask`,new e(this),t)}normalize(){let t=new e(this);return S(`ForkTask`)?.normalize?.(t)||t}},Ur=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.for==`object`&&(t.for=new $n(e.for)),typeof e.do==`object`&&(t.do=new z(e.do))),S(`ForTask`)?.constructor?.(this)}validate(t){k(`ForTask`,new e(this),t)}normalize(){let t=new e(this);return S(`ForTask`)?.normalize?.(t)||t}},Wr=class e extends g{constructor(e){super(e),S(`HTTPHeaders`)?.constructor?.(this)}validate(t){k(`HTTPHeaders`,new e(this),t)}normalize(){let t=new e(this);return S(`HTTPHeaders`)?.normalize?.(t)||t}},Gr=class e extends g{constructor(e){super(e),S(`HTTPQuery`)?.constructor?.(this)}validate(t){k(`HTTPQuery`,new e(this),t)}normalize(){let t=new e(this);return S(`HTTPQuery`)?.normalize?.(t)||t}},Kr=class e extends g{constructor(e){super(e),S(`InlineScript`)?.constructor?.(this)}validate(t){k(`InlineScript`,new e(this),t)}normalize(){let t=new e(this);return S(`InlineScript`)?.normalize?.(t)||t}},qr=class e extends g{constructor(e){super(e),S(`InputFrom`)?.constructor?.(this)}validate(t){k(`InputFrom`,new e(this),t)}normalize(){let t=new e(this);return S(`InputFrom`)?.normalize?.(t)||t}},Jr=class e extends g{constructor(e){super(e),S(`LinearBackoff`)?.constructor?.(this)}validate(t){k(`LinearBackoff`,new e(this),t)}normalize(){let t=new e(this);return S(`LinearBackoff`)?.normalize?.(t)||t}},Yr=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.listen==`object`&&(t.listen=new tr(e.listen)),typeof e.foreach==`object`&&(t.foreach=new nr(e.foreach))),S(`ListenTask`)?.constructor?.(this)}validate(t){k(`ListenTask`,new e(this),t)}normalize(){let t=new e(this);return S(`ListenTask`)?.normalize?.(t)||t}},Xr=class e extends g{constructor(e){super(e),S(`McpCallTransport`)?.constructor?.(this)}validate(t){k(`McpCallTransport`,new e(this),t)}normalize(){let t=new e(this);return S(`McpCallTransport`)?.normalize?.(t)||t}},Zr=class e extends g{constructor(e){super(e),S(`McpMethodParameters`)?.constructor?.(this)}validate(t){k(`McpMethodParameters`,new e(this),t)}normalize(){let t=new e(this);return S(`McpMethodParameters`)?.normalize?.(t)||t}},Qr=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.client==`object`&&(t.client=new Wt(e.client)),typeof e.request==`object`&&(t.request=new Gt(e.request)),typeof e.subject==`object`&&(t.subject=new A(e.subject)),typeof e.actor==`object`&&(t.actor=new A(e.actor))),S(`OAuth2AuthenticationData`)?.constructor?.(this)}validate(t){k(`OAuth2AuthenticationData`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2AuthenticationData`)?.normalize?.(t)||t}},$r=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(e))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`OAuth2AuthenticationDataAudiences`)?.constructor?.(this)}validate(t){k(`OAuth2AuthenticationDataAudiences`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2AuthenticationDataAudiences`)?.normalize?.(t)||t}},ei=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(e))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`OAuth2AuthenticationDataScopes`)?.constructor?.(this)}validate(t){k(`OAuth2AuthenticationDataScopes`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2AuthenticationDataScopes`)?.normalize?.(t)||t}},ti=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.oauth2==`object`&&(t.oauth2=new qt(e.oauth2)),S(`OAuth2AuthenticationPolicy`)?.constructor?.(this)}validate(t){k(`OAuth2AuthenticationPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2AuthenticationPolicy`)?.normalize?.(t)||t}},ni=class e extends Qr{constructor(e){super(e);let t=this;m(e)&&(typeof e.client==`object`&&(t.client=new Wt(e.client)),typeof e.request==`object`&&(t.request=new Gt(e.request)),typeof e.subject==`object`&&(t.subject=new A(e.subject)),typeof e.actor==`object`&&(t.actor=new A(e.actor)),typeof e.endpoints==`object`&&(t.endpoints=new Kt(e.endpoints))),S(`OAuth2ConnectAuthenticationProperties`)?.constructor?.(this)}validate(t){k(`OAuth2ConnectAuthenticationProperties`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2ConnectAuthenticationProperties`)?.normalize?.(t)||t}},ri=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(e))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`OAuth2Issuers`)?.constructor?.(this)}validate(t){k(`OAuth2Issuers`,new e(this),t)}normalize(){let t=new e(this);return S(`OAuth2Issuers`)?.normalize?.(t)||t}},ii=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.one==`object`&&(t.one=new en(e.one)),S(`OneEventConsumptionStrategy`)?.constructor?.(this)}validate(t){k(`OneEventConsumptionStrategy`,new e(this),t)}normalize(){let t=new e(this);return S(`OneEventConsumptionStrategy`)?.normalize?.(t)||t}},ai=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.oidc==`object`&&(t.oidc=new Jt(e.oidc)),S(`OpenIdConnectAuthenticationPolicy`)?.constructor?.(this)}validate(t){k(`OpenIdConnectAuthenticationPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`OpenIdConnectAuthenticationPolicy`)?.normalize?.(t)||t}},oi=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.client==`object`&&(t.client=new Wt(e.client)),typeof e.request==`object`&&(t.request=new Gt(e.request)),typeof e.subject==`object`&&(t.subject=new A(e.subject)),typeof e.actor==`object`&&(t.actor=new A(e.actor))),S(`OpenIdConnectAuthenticationProperties`)?.constructor?.(this)}validate(t){k(`OpenIdConnectAuthenticationProperties`,new e(this),t)}normalize(){let t=new e(this);return S(`OpenIdConnectAuthenticationProperties`)?.normalize?.(t)||t}},si=class e extends g{constructor(e){super(e),S(`OutputAs`)?.constructor?.(this)}validate(t){k(`OutputAs`,new e(this),t)}normalize(){let t=new e(this);return S(`OutputAs`)?.normalize?.(t)||t}},ci=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.raise==`object`&&(t.raise=new ir(e.raise))),S(`RaiseTask`)?.constructor?.(this)}validate(t){k(`RaiseTask`,new e(this),t)}normalize(){let t=new e(this);return S(`RaiseTask`)?.normalize?.(t)||t}},li=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.delay==`object`&&(t.delay=new F(e.delay)),typeof e.backoff==`object`&&(t.backoff=new mr(e.backoff)),typeof e.limit==`object`&&(t.limit=new gr(e.limit)),typeof e.jitter==`object`&&(t.jitter=new _r(e.jitter))),S(`RetryPolicy`)?.constructor?.(this)}validate(t){k(`RetryPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`RetryPolicy`)?.normalize?.(t)||t}},ui=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.container==`object`&&(t.container=new Hn(e.container)),S(`RunContainer`)?.constructor?.(this)}validate(t){k(`RunContainer`,new e(this),t)}normalize(){let t=new e(this);return S(`RunContainer`)?.normalize?.(t)||t}},di=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.script==`object`&&(t.script=new ar(e.script)),S(`RunScript`)?.constructor?.(this)}validate(t){k(`RunScript`,new e(this),t)}normalize(){let t=new e(this);return S(`RunScript`)?.normalize?.(t)||t}},fi=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.shell==`object`&&(t.shell=new sr(e.shell)),S(`RunShell`)?.constructor?.(this)}validate(t){k(`RunShell`,new e(this),t)}normalize(){let t=new e(this);return S(`RunShell`)?.normalize?.(t)||t}},pi=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.run==`object`&&(t.run=new ur(e.run))),S(`RunTask`)?.constructor?.(this)}validate(t){k(`RunTask`,new e(this),t)}normalize(){let t=new e(this);return S(`RunTask`)?.normalize?.(t)||t}},mi=class e extends g{constructor(e){super(e),S(`RuntimeExpression`)?.constructor?.(this)}validate(t){k(`RuntimeExpression`,new e(this),t)}normalize(){let t=new e(this);return S(`RuntimeExpression`)?.normalize?.(t)||t}},hi=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.workflow==`object`&&(t.workflow=new lr(e.workflow)),S(`RunWorkflow`)?.constructor?.(this)}validate(t){k(`RunWorkflow`,new e(this),t)}normalize(){let t=new e(this);return S(`RunWorkflow`)?.normalize?.(t)||t}},gi=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.every==`object`&&(t.every=new F(e.every)),typeof e.after==`object`&&(t.after=new F(e.after)),typeof e.on==`object`&&(t.on=new er(e.on))),S(`Schedule`)?.constructor?.(this)}validate(t){k(`Schedule`,new e(this),t)}normalize(){let t=new e(this);return S(`Schedule`)?.normalize?.(t)||t}},_i=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.resource==`object`&&(t.resource=new j(e.resource)),S(`SchemaExternal`)?.constructor?.(this)}validate(t){k(`SchemaExternal`,new e(this),t)}normalize(){let t=new e(this);return S(`SchemaExternal`)?.normalize?.(t)||t}},vi=class e extends g{constructor(e){super(e),S(`SchemaInline`)?.constructor?.(this)}validate(t){k(`SchemaInline`,new e(this),t)}normalize(){let t=new e(this);return S(`SchemaInline`)?.normalize?.(t)||t}},yi=class e extends g{constructor(e){super(e),S(`SecretBasedAuthenticationPolicy`)?.constructor?.(this)}validate(t){k(`SecretBasedAuthenticationPolicy`,new e(this),t)}normalize(){let t=new e(this);return S(`SecretBasedAuthenticationPolicy`)?.normalize?.(t)||t}},bi=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata))),S(`SetTask`)?.constructor?.(this)}validate(t){k(`SetTask`,new e(this),t)}normalize(){let t=new e(this);return S(`SetTask`)?.normalize?.(t)||t}},xi=class e extends g{constructor(e){super(e),S(`SetTaskConfiguration`)?.constructor?.(this)}validate(t){k(`SetTaskConfiguration`,new e(this),t)}normalize(){let t=new e(this);return S(`SetTaskConfiguration`)?.normalize?.(t)||t}},Si=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(e))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`ShellArguments`)?.constructor?.(this)}validate(t){k(`ShellArguments`,new e(this),t)}normalize(){let t=new e(this);return S(`ShellArguments`)?.normalize?.(t)||t}},Ci=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.switch==`object`&&(t.switch=new pr(e.switch))),S(`SwitchTask`)?.constructor?.(this)}validate(t){k(`SwitchTask`,new e(this),t)}normalize(){let t=new e(this);return S(`SwitchTask`)?.normalize?.(t)||t}},wi=class e extends g{constructor(e){super(e),S(`TaskBaseIf`)?.constructor?.(this)}validate(t){k(`TaskBaseIf`,new e(this),t)}normalize(){let t=new e(this);return S(`TaskBaseIf`)?.normalize?.(t)||t}},Ti=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.after==`object`&&(t.after=new F(e.after)),S(`Timeout`)?.constructor?.(this)}validate(t){k(`Timeout`,new e(this),t)}normalize(){let t=new e(this);return S(`Timeout`)?.normalize?.(t)||t}},Ei=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.try==`object`&&(t.try=new z(e.try)),typeof e.catch==`object`&&(t.catch=new yr(e.catch))),S(`TryTask`)?.constructor?.(this)}validate(t){k(`TryTask`,new e(this),t)}normalize(){let t=new e(this);return S(`TryTask`)?.normalize?.(t)||t}},Di=class e extends g{constructor(e){super(e),S(`UriTemplate`)?.constructor?.(this)}validate(t){k(`UriTemplate`,new e(this),t)}normalize(){let t=new e(this);return S(`UriTemplate`)?.normalize?.(t)||t}},Oi=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new ln(n)})}S(`UseAuthentications`)?.constructor?.(this)}validate(t){k(`UseAuthentications`,new e(this),t)}normalize(){let t=new e(this);return S(`UseAuthentications`)?.normalize?.(t)||t}},ki=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new Dr(n)})}S(`UseErrors`)?.constructor?.(this)}validate(t){k(`UseErrors`,new e(this),t)}normalize(){let t=new e(this);return S(`UseErrors`)?.normalize?.(t)||t}},Ai=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(new zr(e)))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`UseExtensions`)?.constructor?.(this)}validate(t){k(`UseExtensions`,new e(this),t)}normalize(){let t=new e(this);return S(`UseExtensions`)?.normalize?.(t)||t}},ji=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new br(n)})}S(`UseFunctions`)?.constructor?.(this)}validate(t){k(`UseFunctions`,new e(this),t)}normalize(){let t=new e(this);return S(`UseFunctions`)?.normalize?.(t)||t}},Mi=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new li(n)})}S(`UseRetries`)?.constructor?.(this)}validate(t){k(`UseRetries`,new e(this),t)}normalize(){let t=new e(this);return S(`UseRetries`)?.normalize?.(t)||t}},Ni=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new Ti(n)})}S(`UseTimeouts`)?.constructor?.(this)}validate(t){k(`UseTimeouts`,new e(this),t)}normalize(){let t=new e(this);return S(`UseTimeouts`)?.normalize?.(t)||t}},Pi=class e extends g{constructor(e){super(e);let t=this;if(m(e)){let n=[];Object.entries(e).filter(([e])=>!n.includes(e)).forEach(([e,n])=>{t[e]=new Pn(n)})}S(`UseCatalogs`)?.constructor?.(this)}validate(t){k(`UseCatalogs`,new e(this),t)}normalize(){let t=new e(this);return S(`UseCatalogs`)?.normalize?.(t)||t}},Fi=class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.authentications==`object`&&(t.authentications=new Oi(e.authentications)),typeof e.errors==`object`&&(t.errors=new ki(e.errors)),typeof e.extensions==`object`&&(t.extensions=new Ai(e.extensions)),typeof e.functions==`object`&&(t.functions=new ji(e.functions)),typeof e.retries==`object`&&(t.retries=new Mi(e.retries)),typeof e.timeouts==`object`&&(t.timeouts=new Ni(e.timeouts)),typeof e.catalogs==`object`&&(t.catalogs=new Pi(e.catalogs))),S(`Use`)?.constructor?.(this)}validate(t){k(`Use`,new e(this),t)}normalize(){let t=new e(this);return S(`Use`)?.normalize?.(t)||t}},Ii=class e extends _{constructor(t){super(t),Array.isArray(t)&&t?.length&&(this.splice(0,this.length),t.forEach(e=>this.push(e))),Object.setPrototypeOf(this,Object.create(e.prototype)),S(`UseSecrets`)?.constructor?.(this)}validate(t){k(`UseSecrets`,new e(this),t)}normalize(){let t=new e(this);return S(`UseSecrets`)?.normalize?.(t)||t}},Li=class e extends R{constructor(e){super(e);let t=this;m(e)&&(typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.export==`object`&&(t.export=new P(e.export)),typeof e.timeout==`object`&&(t.timeout=new I(e.timeout)),typeof e.metadata==`object`&&(t.metadata=new L(e.metadata)),typeof e.wait==`object`&&(t.wait=new F(e.wait))),S(`WaitTask`)?.constructor?.(this)}validate(t){k(`WaitTask`,new e(this),t)}normalize(){let t=new e(this);return S(`WaitTask`)?.normalize?.(t)||t}},Ri=class e extends g{constructor(e){super(e),S(`WithA2AParameters`)?.constructor?.(this)}validate(t){k(`WithA2AParameters`,new e(this),t)}normalize(){let t=new e(this);return S(`WithA2AParameters`)?.normalize?.(t)||t}},zi=class e extends g{constructor(e){super(e);let t=this;m(e)&&typeof e.after==`object`&&(t.after=new F(e.after)),S(`WorkflowTimeout`)?.constructor?.(this)}validate(t){k(`WorkflowTimeout`,new e(this),t)}normalize(){let t=new e(this);return S(`WorkflowTimeout`)?.normalize?.(t)||t}};
|
|
12
|
+
/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
|
|
13
|
+
function Bi(e){return e==null}function Vi(e){return typeof e==`object`&&!!e}function Hi(e){return Array.isArray(e)?e:Bi(e)?[]:[e]}function Ui(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;n<r;n+=1)i=a[n],e[i]=t[i];return e}function Wi(e,t){var n=``,r;for(r=0;r<t;r+=1)n+=e;return n}function Gi(e){return e===0&&1/e==-1/0}var B={isNothing:Bi,isObject:Vi,toArray:Hi,repeat:Wi,isNegativeZero:Gi,extend:Ui};function Ki(e,t){var n=``,r=e.reason||`(unknown reason)`;return e.mark?(e.mark.name&&(n+=`in "`+e.mark.name+`" `),n+=`(`+(e.mark.line+1)+`:`+(e.mark.column+1)+`)`,!t&&e.mark.snippet&&(n+=`
|
|
14
|
+
|
|
15
|
+
`+e.mark.snippet),r+` `+n):r}function qi(e,t){Error.call(this),this.name=`YAMLException`,this.reason=e,this.mark=t,this.message=Ki(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}qi.prototype=Object.create(Error.prototype),qi.prototype.constructor=qi,qi.prototype.toString=function(e){return this.name+`: `+Ki(this,e)};var V=qi;function Ji(e,t,n,r,i){var a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}function Yi(e,t){return B.repeat(` `,t-e.length)+e}function Xi(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||=79,typeof t.indent!=`number`&&(t.indent=1),typeof t.linesBefore!=`number`&&(t.linesBefore=3),typeof t.linesAfter!=`number`&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],a,o=-1;a=n.exec(e.buffer);)i.push(a.index),r.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s=``,c,l,u=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+u+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)l=Ji(e.buffer,r[o-c],i[o-c],e.position-(r[o]-r[o-c]),d),s=B.repeat(` `,t.indent)+Yi((e.line-c+1).toString(),u)+` | `+l.str+`
|
|
16
|
+
`+s;for(l=Ji(e.buffer,r[o],i[o],e.position,d),s+=B.repeat(` `,t.indent)+Yi((e.line+1).toString(),u)+` | `+l.str+`
|
|
17
|
+
`,s+=B.repeat(`-`,t.indent+u+3+l.pos)+`^
|
|
18
|
+
`,c=1;c<=t.linesAfter&&!(o+c>=i.length);c++)l=Ji(e.buffer,r[o+c],i[o+c],e.position-(r[o]-r[o+c]),d),s+=B.repeat(` `,t.indent)+Yi((e.line+c+1).toString(),u)+` | `+l.str+`
|
|
19
|
+
`;return s.replace(/\n$/,``)}var Zi=Xi,Qi=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],$i=[`scalar`,`sequence`,`mapping`];function ea(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function ta(e,t){if(t||={},Object.keys(t).forEach(function(t){if(Qi.indexOf(t)===-1)throw new V(`Unknown option "`+t+`" is met in definition of "`+e+`" YAML type.`)}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=ea(t.styleAliases||null),$i.indexOf(this.kind)===-1)throw new V(`Unknown kind "`+this.kind+`" is specified for "`+e+`" YAML type.`)}var H=ta;function na(e,t){var n=[];return e[t].forEach(function(e){var t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function ra(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(r);return e}function ia(e){return this.extend(e)}ia.prototype.extend=function(e){var t=[],n=[];if(e instanceof H)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new V(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);t.forEach(function(e){if(!(e instanceof H))throw new V(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(e.loadKind&&e.loadKind!==`scalar`)throw new V(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(e.multi)throw new V(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),n.forEach(function(e){if(!(e instanceof H))throw new V(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});var r=Object.create(ia.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=na(r,`implicit`),r.compiledExplicit=na(r,`explicit`),r.compiledTypeMap=ra(r.compiledImplicit,r.compiledExplicit),r};var aa=new ia({explicit:[new H(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:function(e){return e===null?``:e}}),new H(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:function(e){return e===null?[]:e}}),new H(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:function(e){return e===null?{}:e}})]});function oa(e){if(e===null)return!0;var t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}function sa(){return null}function ca(e){return e===null}var la=new H(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:oa,construct:sa,predicate:ca,represent:{canonical:function(){return`~`},lowercase:function(){return`null`},uppercase:function(){return`NULL`},camelcase:function(){return`Null`},empty:function(){return``}},defaultStyle:`lowercase`});function ua(e){if(e===null)return!1;var t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}function da(e){return e===`true`||e===`True`||e===`TRUE`}function fa(e){return Object.prototype.toString.call(e)===`[object Boolean]`}var pa=new H(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:ua,construct:da,predicate:fa,represent:{lowercase:function(e){return e?`true`:`false`},uppercase:function(e){return e?`TRUE`:`FALSE`},camelcase:function(e){return e?`True`:`False`}},defaultStyle:`lowercase`});function ma(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function ha(e){return 48<=e&&e<=55}function ga(e){return 48<=e&&e<=57}function _a(e){if(e===null)return!1;var t=e.length,n=0,r=!1,i;if(!t)return!1;if(i=e[n],(i===`-`||i===`+`)&&(i=e[++n]),i===`0`){if(n+1===t)return!0;if(i=e[++n],i===`b`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(i!==`0`&&i!==`1`)return!1;r=!0}return r&&i!==`_`}if(i===`x`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!ma(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}if(i===`o`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!ha(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}}if(i===`_`)return!1;for(;n<t;n++)if(i=e[n],i!==`_`){if(!ga(e.charCodeAt(n)))return!1;r=!0}return!(!r||i===`_`)}function va(e){var t=e,n=1,r;if(t.indexOf(`_`)!==-1&&(t=t.replace(/_/g,``)),r=t[0],(r===`-`||r===`+`)&&(r===`-`&&(n=-1),t=t.slice(1),r=t[0]),t===`0`)return 0;if(r===`0`){if(t[1]===`b`)return n*parseInt(t.slice(2),2);if(t[1]===`x`)return n*parseInt(t.slice(2),16);if(t[1]===`o`)return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function ya(e){return Object.prototype.toString.call(e)===`[object Number]`&&e%1==0&&!B.isNegativeZero(e)}var ba=new H(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:_a,construct:va,predicate:ya,represent:{binary:function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},octal:function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)}},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),xa=RegExp(`^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function Sa(e){return!(e===null||!xa.test(e)||e[e.length-1]===`_`)}function Ca(e){var t=e.replace(/_/g,``).toLowerCase(),n=t[0]===`-`?-1:1;return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:n*parseFloat(t,10)}var wa=/^[-+]?[0-9]+e/;function Ta(e,t){var n;if(isNaN(e))switch(t){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(e===1/0)switch(t){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(e===-1/0)switch(t){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(B.isNegativeZero(e))return`-0.0`;return n=e.toString(10),wa.test(n)?n.replace(`e`,`.e`):n}function Ea(e){return Object.prototype.toString.call(e)===`[object Number]`&&(e%1!=0||B.isNegativeZero(e))}var Da=new H(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:Sa,construct:Ca,predicate:Ea,represent:Ta,defaultStyle:`lowercase`}),Oa=aa.extend({implicit:[la,pa,ba,Da]}),ka=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),Aa=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function ja(e){return e===null?!1:ka.exec(e)!==null||Aa.exec(e)!==null}function Ma(e){var t,n,r,i,a,o,s,c=0,l=null,u,d,f;if(t=ka.exec(e),t===null&&(t=Aa.exec(e)),t===null)throw Error(`Date resolve error`);if(n=+t[1],r=t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+=`0`;c=+c}return t[9]&&(u=+t[10],d=+(t[11]||0),l=(u*60+d)*6e4,t[9]===`-`&&(l=-l)),f=new Date(Date.UTC(n,r,i,a,o,s,c)),l&&f.setTime(f.getTime()-l),f}function Na(e){return e.toISOString()}var Pa=new H(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:ja,construct:Ma,instanceOf:Date,represent:Na});function Fa(e){return e===`<<`||e===null}var Ia=new H(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:Fa}),La=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
20
|
+
\r`;function Ra(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=La;for(n=0;n<i;n++)if(t=a.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;r+=6}return r%8==0}function za(e){var t,n,r=e.replace(/[\r\n=]/g,``),i=r.length,a=La,o=0,s=[];for(t=0;t<i;t++)t%4==0&&t&&(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,n===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):n===18?(s.push(o>>10&255),s.push(o>>2&255)):n===12&&s.push(o>>4&255),new Uint8Array(s)}function Ba(e){var t=``,n=0,r,i,a=e.length,o=La;for(r=0;r<a;r++)r%3==0&&r&&(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return i=a%3,i===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):i===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):i===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}function Va(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}var Ha=new H(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:Ra,construct:za,predicate:Va,represent:Ba}),Ua=Object.prototype.hasOwnProperty,Wa=Object.prototype.toString;function Ga(e){if(e===null)return!0;var t=[],n,r,i,a,o,s=e;for(n=0,r=s.length;n<r;n+=1){if(i=s[n],o=!1,Wa.call(i)!==`[object Object]`)return!1;for(a in i)if(Ua.call(i,a))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(a)===-1)t.push(a);else return!1}return!0}function Ka(e){return e===null?[]:e}var qa=new H(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:Ga,construct:Ka}),Ja=Object.prototype.toString;function Ya(e){if(e===null)return!0;var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1){if(r=o[t],Ja.call(r)!==`[object Object]`||(i=Object.keys(r),i.length!==1))return!1;a[t]=[i[0],r[i[0]]]}return!0}function Xa(e){if(e===null)return[];var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}var Za=new H(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:Ya,construct:Xa}),Qa=Object.prototype.hasOwnProperty;function $a(e){if(e===null)return!0;var t,n=e;for(t in n)if(Qa.call(n,t)&&n[t]!==null)return!1;return!0}function eo(e){return e===null?{}:e}var to=new H(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:$a,construct:eo}),no=Oa.extend({implicit:[Pa,Ia],explicit:[Ha,qa,Za,to]}),ro=Object.prototype.hasOwnProperty,io=1,ao=2,oo=3,so=4,co=1,lo=2,uo=3,fo=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,po=/[\x85\u2028\u2029]/,mo=/[,\[\]\{\}]/,ho=/^(?:!|!!|![a-z\-]+!)$/i,go=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _o(e){return Object.prototype.toString.call(e)}function U(e){return e===10||e===13}function vo(e){return e===9||e===32}function W(e){return e===9||e===32||e===10||e===13}function yo(e){return e===44||e===91||e===93||e===123||e===125}function bo(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function xo(e){return e===120?2:e===117?4:e===85?8:0}function So(e){return 48<=e&&e<=57?e-48:-1}function Co(e){return e===48?`\0`:e===97?`\x07`:e===98?`\b`:e===116||e===9?` `:e===110?`
|
|
21
|
+
`:e===118?`\v`:e===102?`\f`:e===114?`\r`:e===101?`\x1B`:e===32?` `:e===34?`"`:e===47?`/`:e===92?`\\`:e===78?`
`:e===95?`\xA0`:e===76?`\u2028`:e===80?`\u2029`:``}function wo(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function To(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}for(var Eo=Array(256),Do=Array(256),Oo=0;Oo<256;Oo++)Eo[Oo]=+!!Co(Oo),Do[Oo]=Co(Oo);function ko(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||no,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Ao(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=Zi(n),new V(t,n)}function G(e,t){throw Ao(e,t)}function jo(e,t){e.onWarning&&e.onWarning.call(null,Ao(e,t))}var Mo={YAML:function(e,t,n){var r,i,a;e.version!==null&&G(e,`duplication of %YAML directive`),n.length!==1&&G(e,`YAML directive accepts exactly one argument`),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),r===null&&G(e,`ill-formed argument of the YAML directive`),i=parseInt(r[1],10),a=parseInt(r[2],10),i!==1&&G(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&jo(e,`unsupported YAML version of the document`)},TAG:function(e,t,n){var r,i;n.length!==2&&G(e,`TAG directive accepts exactly two arguments`),r=n[0],i=n[1],ho.test(r)||G(e,`ill-formed tag handle (first argument) of the TAG directive`),ro.call(e.tagMap,r)&&G(e,`there is a previously declared suffix for "`+r+`" tag handle`),go.test(i)||G(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{i=decodeURIComponent(i)}catch{G(e,`tag prefix is malformed: `+i)}e.tagMap[r]=i}};function No(e,t,n,r){var i,a,o,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,a=s.length;i<a;i+=1)o=s.charCodeAt(i),o===9||32<=o&&o<=1114111||G(e,`expected valid JSON character`);else fo.test(s)&&G(e,`the stream contains non-printable characters`);e.result+=s}}function Po(e,t,n,r){var i,a,o,s;for(B.isObject(n)||G(e,`cannot merge mappings; the provided source object is unacceptable`),i=Object.keys(n),o=0,s=i.length;o<s;o+=1)a=i[o],ro.call(t,a)||(To(t,a,n[a]),r[a]=!0)}function Fo(e,t,n,r,i,a,o,s,c){var l,u;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,u=i.length;l<u;l+=1)Array.isArray(i[l])&&G(e,`nested arrays are not supported inside keys`),typeof i==`object`&&_o(i[l])===`[object Object]`&&(i[l]=`[object Object]`);if(typeof i==`object`&&_o(i)===`[object Object]`&&(i=`[object Object]`),i=String(i),t===null&&(t={}),r===`tag:yaml.org,2002:merge`)if(Array.isArray(a))for(l=0,u=a.length;l<u;l+=1)Po(e,t,a[l],n);else Po(e,t,a,n);else !e.json&&!ro.call(n,i)&&ro.call(t,i)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=c||e.position,G(e,`duplicated mapping key`)),To(t,i,a),delete n[i];return t}function Io(e){var t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):G(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function K(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;vo(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(U(i))for(Io(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&jo(e,`deficient indentation`),r}function Lo(e){var t=e.position,n=e.input.charCodeAt(t);return!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||W(n)))}function Ro(e,t){t===1?e.result+=` `:t>1&&(e.result+=B.repeat(`
|
|
22
|
+
`,t-1))}function zo(e,t,n){var r,i,a,o,s,c,l,u,d=e.kind,f=e.result,p=e.input.charCodeAt(e.position);if(W(p)||yo(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),W(i)||n&&yo(i)))return!1;for(e.kind=`scalar`,e.result=``,a=o=e.position,s=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),W(i)||n&&yo(i))break}else if(p===35){if(r=e.input.charCodeAt(e.position-1),W(r))break}else if(e.position===e.lineStart&&Lo(e)||n&&yo(p))break;else if(U(p))if(c=e.line,l=e.lineStart,u=e.lineIndent,K(e,!1,-1),e.lineIndent>=t){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=l,e.lineIndent=u;break}s&&=(No(e,a,o,!1),Ro(e,e.line-c),a=o=e.position,!1),vo(p)||(o=e.position+1),p=e.input.charCodeAt(++e.position)}return No(e,a,o,!1),e.result?!0:(e.kind=d,e.result=f,!1)}function Bo(e,t){var n=e.input.charCodeAt(e.position),r,i;if(n!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(No(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else U(n)?(No(e,r,i,!0),Ro(e,K(e,!1,t)),r=i=e.position):e.position===e.lineStart&&Lo(e)?G(e,`unexpected end of the document within a single quoted scalar`):(e.position++,i=e.position);G(e,`unexpected end of the stream within a single quoted scalar`)}function Vo(e,t){var n,r,i,a,o,s=e.input.charCodeAt(e.position);if(s!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;)if(s===34)return No(e,n,e.position,!0),e.position++,!0;else if(s===92){if(No(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),U(s))K(e,!1,t);else if(s<256&&Eo[s])e.result+=Do[s],e.position++;else if((o=xo(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=bo(s))>=0?a=(a<<4)+o:G(e,`expected hexadecimal character`);e.result+=wo(a),e.position++}else G(e,`unknown escape sequence`);n=r=e.position}else U(s)?(No(e,n,r,!0),Ro(e,K(e,!1,t)),n=r=e.position):e.position===e.lineStart&&Lo(e)?G(e,`unexpected end of the document within a double quoted scalar`):(e.position++,r=e.position);G(e,`unexpected end of the stream within a double quoted scalar`)}function Ho(e,t){var n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,p,m=Object.create(null),h,g,_,v=e.input.charCodeAt(e.position);if(v===91)u=93,p=!1,s=[];else if(v===123)u=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(K(e,!0,t),v=e.input.charCodeAt(e.position),v===u)return e.position++,e.tag=o,e.anchor=c,e.kind=p?`mapping`:`sequence`,e.result=s,!0;n?v===44&&G(e,`expected the node content, but found ','`):G(e,`missed comma between flow collection entries`),g=h=_=null,d=f=!1,v===63&&(l=e.input.charCodeAt(e.position+1),W(l)&&(d=f=!0,e.position++,K(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,Yo(e,t,io,!1,!0),g=e.tag,h=e.result,K(e,!0,t),v=e.input.charCodeAt(e.position),(f||e.line===r)&&v===58&&(d=!0,v=e.input.charCodeAt(++e.position),K(e,!0,t),Yo(e,t,io,!1,!0),_=e.result),p?Fo(e,s,m,g,h,_,r,i,a):d?s.push(Fo(e,null,m,g,h,_,r,i,a)):s.push(h),K(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}G(e,`unexpected end of the stream within a flow collection`)}function Uo(e,t){var n,r,i=co,a=!1,o=!1,s=t,c=0,l=!1,u,d=e.input.charCodeAt(e.position);if(d===124)r=!1;else if(d===62)r=!0;else return!1;for(e.kind=`scalar`,e.result=``;d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)co===i?i=d===43?uo:lo:G(e,`repeat of a chomping mode identifier`);else if((u=So(d))>=0)u===0?G(e,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?G(e,`repeat of an indentation width identifier`):(s=t+u-1,o=!0);else break;if(vo(d)){do d=e.input.charCodeAt(++e.position);while(vo(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!U(d)&&d!==0)}for(;d!==0;){for(Io(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!o||e.lineIndent<s)&&d===32;)e.lineIndent++,d=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>s&&(s=e.lineIndent),U(d)){c++;continue}if(e.lineIndent<s){i===uo?e.result+=B.repeat(`
|
|
23
|
+
`,a?1+c:c):i===co&&a&&(e.result+=`
|
|
24
|
+
`);break}for(r?vo(d)?(l=!0,e.result+=B.repeat(`
|
|
25
|
+
`,a?1+c:c)):l?(l=!1,e.result+=B.repeat(`
|
|
26
|
+
`,c+1)):c===0?a&&(e.result+=` `):e.result+=B.repeat(`
|
|
27
|
+
`,c):e.result+=B.repeat(`
|
|
28
|
+
`,a?1+c:c),a=!0,o=!0,c=0,n=e.position;!U(d)&&d!==0;)d=e.input.charCodeAt(++e.position);No(e,n,e.position,!1)}return!0}function Wo(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,G(e,`tab characters must not be used in indentation`)),!(c!==45||(o=e.input.charCodeAt(e.position+1),!W(o))));){if(s=!0,e.position++,K(e,!0,-1)&&e.lineIndent<=t){a.push(null),c=e.input.charCodeAt(e.position);continue}if(n=e.line,Yo(e,t,oo,!1,!0),a.push(e.result),K(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&c!==0)G(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return s?(e.tag=r,e.anchor=i,e.kind=`sequence`,e.result=a,!0):!1}function Go(e,t,n){var r,i,a,o,s,c,l=e.tag,u=e.anchor,d={},f=Object.create(null),p=null,m=null,h=null,g=!1,_=!1,v;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=d),v=e.input.charCodeAt(e.position);v!==0;){if(!g&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,G(e,`tab characters must not be used in indentation`)),r=e.input.charCodeAt(e.position+1),a=e.line,(v===63||v===58)&&W(r))v===63?(g&&(Fo(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!0,i=!0):g?(g=!1,i=!0):G(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=r;else{if(o=e.line,s=e.lineStart,c=e.position,!Yo(e,n,ao,!1,!0))break;if(e.line===a){for(v=e.input.charCodeAt(e.position);vo(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),W(v)||G(e,`a whitespace character is expected after the key-value separator within a block mapping`),g&&(Fo(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!1,i=!1,p=e.tag,m=e.result;else if(_)G(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=l,e.anchor=u,!0}else if(_)G(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=l,e.anchor=u,!0}if((e.line===a||e.lineIndent>t)&&(g&&(o=e.line,s=e.lineStart,c=e.position),Yo(e,t,so,!0,i)&&(g?m=e.result:h=e.result),g||(Fo(e,d,f,p,m,h,o,s,c),p=m=h=null),K(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&v!==0)G(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return g&&Fo(e,d,f,p,m,null,o,s,c),_&&(e.tag=l,e.anchor=u,e.kind=`mapping`,e.result=d),_}function Ko(e){var t,n=!1,r=!1,i,a,o=e.input.charCodeAt(e.position);if(o!==33)return!1;if(e.tag!==null&&G(e,`duplication of a tag property`),o=e.input.charCodeAt(++e.position),o===60?(n=!0,o=e.input.charCodeAt(++e.position)):o===33?(r=!0,i=`!!`,o=e.input.charCodeAt(++e.position)):i=`!`,t=e.position,n){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):G(e,`unexpected end of the stream within a verbatim tag`)}else{for(;o!==0&&!W(o);)o===33&&(r?G(e,`tag suffix cannot contain exclamation marks`):(i=e.input.slice(t-1,e.position+1),ho.test(i)||G(e,`named tag handle cannot contain such characters`),r=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),mo.test(a)&&G(e,`tag suffix cannot contain flow indicator characters`)}a&&!go.test(a)&&G(e,`tag name cannot contain such characters: `+a);try{a=decodeURIComponent(a)}catch{G(e,`tag name is malformed: `+a)}return n?e.tag=a:ro.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i===`!`?e.tag=`!`+a:i===`!!`?e.tag=`tag:yaml.org,2002:`+a:G(e,`undeclared tag handle "`+i+`"`),!0}function qo(e){var t,n=e.input.charCodeAt(e.position);if(n!==38)return!1;for(e.anchor!==null&&G(e,`duplication of an anchor property`),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!W(n)&&!yo(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&G(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(t,e.position),!0}function Jo(e){var t,n,r=e.input.charCodeAt(e.position);if(r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!W(r)&&!yo(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&G(e,`name of an alias node must contain at least one character`),n=e.input.slice(t,e.position),ro.call(e.anchorMap,n)||G(e,`unidentified alias "`+n+`"`),e.result=e.anchorMap[n],K(e,!0,-1),!0}function Yo(e,t,n,r,i){var a,o,s,c=1,l=!1,u=!1,d,f,p,m,h,g;if(e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=s=so===n||oo===n,r&&K(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;Ko(e)||qo(e);)K(e,!0,-1)?(l=!0,s=a,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):s=!1;if(s&&=l||i,(c===1||so===n)&&(h=io===n||ao===n?t:t+1,g=e.position-e.lineStart,c===1?s&&(Wo(e,g)||Go(e,g,h))||Ho(e,h)?u=!0:(o&&Uo(e,h)||Bo(e,h)||Vo(e,h)?u=!0:Jo(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&G(e,`alias node should not have any properties`)):zo(e,h,io===n)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(u=s&&Wo(e,g))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag===`?`){for(e.result!==null&&e.kind!==`scalar`&&G(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`),d=0,f=e.implicitTypes.length;d<f;d+=1)if(m=e.implicitTypes[d],m.resolve(e.result)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!==`!`){if(ro.call(e.typeMap[e.kind||`fallback`],e.tag))m=e.typeMap[e.kind||`fallback`][e.tag];else for(m=null,p=e.typeMap.multi[e.kind||`fallback`],d=0,f=p.length;d<f;d+=1)if(e.tag.slice(0,p[d].tag.length)===p[d].tag){m=p[d];break}m||G(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&m.kind!==e.kind&&G(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+m.kind+`", not "`+e.kind+`"`),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):G(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),e.tag!==null||e.anchor!==null||u}function Xo(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(K(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!W(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&G(e,`directive name must not be less than one character in length`);o!==0;){for(;vo(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!U(o));break}if(U(o))break;for(n=e.position;o!==0&&!W(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&Io(e),ro.call(Mo,r)?Mo[r](e,r,i):jo(e,`unknown document directive "`+r+`"`)}if(K(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,K(e,!0,-1)):a&&G(e,`directives end mark is expected`),Yo(e,e.lineIndent-1,so,!1,!0),K(e,!0,-1),e.checkLineBreaks&&po.test(e.input.slice(t,e.position))&&jo(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&Lo(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,K(e,!0,-1));return}if(e.position<e.length-1)G(e,`end of the stream or a document separator is expected`);else return}function Zo(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
|
|
29
|
+
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new ko(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,G(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)Xo(n);return n.documents}function Qo(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);var r=Zo(e,n);if(typeof t!=`function`)return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}function $o(e,t){var n=Zo(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new V(`expected a single document in the stream, but found more`)}}var es={loadAll:Qo,load:$o},ts=Object.prototype.toString,ns=Object.prototype.hasOwnProperty,rs=65279,is=9,as=10,os=13,ss=32,cs=33,ls=34,us=35,ds=37,fs=38,ps=39,ms=42,hs=44,gs=45,_s=58,vs=61,ys=62,bs=63,xs=64,Ss=91,Cs=93,ws=96,Ts=123,Es=124,Ds=125,q={};q[0]=`\\0`,q[7]=`\\a`,q[8]=`\\b`,q[9]=`\\t`,q[10]=`\\n`,q[11]=`\\v`,q[12]=`\\f`,q[13]=`\\r`,q[27]=`\\e`,q[34]=`\\"`,q[92]=`\\\\`,q[133]=`\\N`,q[160]=`\\_`,q[8232]=`\\L`,q[8233]=`\\P`;var Os=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],ks=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function As(e,t){var n,r,i,a,o,s,c;if(t===null)return{};for(n={},r=Object.keys(t),i=0,a=r.length;i<a;i+=1)o=r[i],s=String(t[o]),o.slice(0,2)===`!!`&&(o=`tag:yaml.org,2002:`+o.slice(2)),c=e.compiledTypeMap.fallback[o],c&&ns.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[o]=s;return n}function js(e){var t=e.toString(16).toUpperCase(),n,r;if(e<=255)n=`x`,r=2;else if(e<=65535)n=`u`,r=4;else if(e<=4294967295)n=`U`,r=8;else throw new V(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+n+B.repeat(`0`,r-t.length)+t}var Ms=1,Ns=2;function Ps(e){this.schema=e.schema||no,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=B.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=As(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType===`"`?Ns:Ms,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer==`function`?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=``,this.duplicates=[],this.usedDuplicates=null}function Fs(e,t){for(var n=B.repeat(` `,t),r=0,i=-1,a=``,o,s=e.length;r<s;)i=e.indexOf(`
|
|
30
|
+
`,r),i===-1?(o=e.slice(r),r=s):(o=e.slice(r,i+1),r=i+1),o.length&&o!==`
|
|
31
|
+
`&&(a+=n),a+=o;return a}function Is(e,t){return`
|
|
32
|
+
`+B.repeat(` `,e.indent*t)}function Ls(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(i=e.implicitTypes[n],i.resolve(t))return!0;return!1}function Rs(e){return e===ss||e===is}function zs(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==rs||65536<=e&&e<=1114111}function Bs(e){return zs(e)&&e!==rs&&e!==os&&e!==as}function Vs(e,t,n){var r=Bs(e),i=r&&!Rs(e);return(n?r:r&&e!==hs&&e!==Ss&&e!==Cs&&e!==Ts&&e!==Ds)&&e!==us&&!(t===_s&&!i)||Bs(t)&&!Rs(t)&&e===us||t===_s&&i}function Hs(e){return zs(e)&&e!==rs&&!Rs(e)&&e!==gs&&e!==bs&&e!==_s&&e!==hs&&e!==Ss&&e!==Cs&&e!==Ts&&e!==Ds&&e!==us&&e!==fs&&e!==ms&&e!==cs&&e!==Es&&e!==vs&&e!==ys&&e!==ps&&e!==ls&&e!==ds&&e!==xs&&e!==ws}function Us(e){return!Rs(e)&&e!==_s}function Ws(e,t){var n=e.charCodeAt(t),r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function Gs(e){return/^\n* /.test(e)}var Ks=1,qs=2,Js=3,Ys=4,Xs=5;function Zs(e,t,n,r,i,a,o,s){var c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=Hs(Ws(e,0))&&Us(Ws(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=Ws(e,c),!zs(l))return Xs;h&&=Vs(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=Ws(e,c),l===as)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!zs(l))return Xs;h&&=Vs(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?Ks:a===Ns?Xs:qs:n>9&&Gs(e)?Xs:o?a===Ns?Xs:qs:f?Ys:Js}function Qs(e,t,n,r,i){e.dump=function(){if(t.length===0)return e.quotingType===Ns?`""`:`''`;if(!e.noCompatMode&&(Os.indexOf(t)!==-1||ks.test(t)))return e.quotingType===Ns?`"`+t+`"`:`'`+t+`'`;var a=e.indent*Math.max(1,n),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=r||e.flowLevel>-1&&n>=e.flowLevel;function c(t){return Ls(e,t)}switch(Zs(t,s,e.indent,o,c,e.quotingType,e.forceQuotes&&!r,i)){case Ks:return t;case qs:return`'`+t.replace(/'/g,`''`)+`'`;case Js:return`|`+$s(t,e.indent)+ec(Fs(t,a));case Ys:return`>`+$s(t,e.indent)+ec(Fs(tc(t,o),a));case Xs:return`"`+rc(t)+`"`;default:throw new V(`impossible error: invalid scalar style`)}}()}function $s(e,t){var n=Gs(e)?String(t):``,r=e[e.length-1]===`
|
|
33
|
+
`;return n+(r&&(e[e.length-2]===`
|
|
34
|
+
`||e===`
|
|
35
|
+
`)?`+`:r?``:`-`)+`
|
|
36
|
+
`}function ec(e){return e[e.length-1]===`
|
|
37
|
+
`?e.slice(0,-1):e}function tc(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var r=e.indexOf(`
|
|
38
|
+
`);return r=r===-1?e.length:r,n.lastIndex=r,nc(e.slice(0,r),t)}(),i=e[0]===`
|
|
39
|
+
`||e[0]===` `,a,o;o=n.exec(e);){var s=o[1],c=o[2];a=c[0]===` `,r+=s+(!i&&!a&&c!==``?`
|
|
40
|
+
`:``)+nc(c,t),i=a}return r}function nc(e,t){if(e===``||e[0]===` `)return e;for(var n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
|
|
41
|
+
`+e.slice(i,a),i=a+1),o=s;return c+=`
|
|
42
|
+
`,e.length-i>t&&o>i?c+=e.slice(i,o)+`
|
|
43
|
+
`+e.slice(o+1):c+=e.slice(i),c.slice(1)}function rc(e){for(var t=``,n=0,r,i=0;i<e.length;n>=65536?i+=2:i++)n=Ws(e,i),r=q[n],!r&&zs(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||js(n);return t}function ic(e,t,n){var r=``,i=e.tag,a,o,s;for(a=0,o=n.length;a<o;a+=1)s=n[a],e.replacer&&(s=e.replacer.call(n,String(a),s)),(J(e,t,s,!1,!1)||s===void 0&&J(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump);e.tag=i,e.dump=`[`+r+`]`}function ac(e,t,n,r){var i=``,a=e.tag,o,s,c;for(o=0,s=n.length;o<s;o+=1)c=n[o],e.replacer&&(c=e.replacer.call(n,String(o),c)),(J(e,t+1,c,!0,!0,!1,!0)||c===void 0&&J(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=Is(e,t)),e.dump&&as===e.dump.charCodeAt(0)?i+=`-`:i+=`- `,i+=e.dump);e.tag=a,e.dump=i||`[]`}function oc(e,t,n){var r=``,i=e.tag,a=Object.keys(n),o,s,c,l,u;for(o=0,s=a.length;o<s;o+=1)u=``,r!==``&&(u+=`, `),e.condenseFlow&&(u+=`"`),c=a[o],l=n[c],e.replacer&&(l=e.replacer.call(n,c,l)),J(e,t,c,!1,!1)&&(e.dump.length>1024&&(u+=`? `),u+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),J(e,t,l,!1,!1)&&(u+=e.dump,r+=u));e.tag=i,e.dump=`{`+r+`}`}function sc(e,t,n,r){var i=``,a=e.tag,o=Object.keys(n),s,c,l,u,d,f;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys==`function`)o.sort(e.sortKeys);else if(e.sortKeys)throw new V(`sortKeys must be a boolean or a function`);for(s=0,c=o.length;s<c;s+=1)f=``,(!r||i!==``)&&(f+=Is(e,t)),l=o[s],u=n[l],e.replacer&&(u=e.replacer.call(n,l,u)),J(e,t+1,l,!0,!0,!0)&&(d=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024,d&&(e.dump&&as===e.dump.charCodeAt(0)?f+=`?`:f+=`? `),f+=e.dump,d&&(f+=Is(e,t)),J(e,t+1,u,!0,d)&&(e.dump&&as===e.dump.charCodeAt(0)?f+=`:`:f+=`: `,f+=e.dump,i+=f));e.tag=a,e.dump=i||`{}`}function cc(e,t,n){var r,i=n?e.explicitTypes:e.implicitTypes,a,o,s,c;for(a=0,o=i.length;a<o;a+=1)if(s=i[a],(s.instanceOf||s.predicate)&&(!s.instanceOf||typeof t==`object`&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(n?s.multi&&s.representName?e.tag=s.representName(t):e.tag=s.tag:e.tag=`?`,s.represent){if(c=e.styleMap[s.tag]||s.defaultStyle,ts.call(s.represent)===`[object Function]`)r=s.represent(t,c);else if(ns.call(s.represent,c))r=s.represent[c](t,c);else throw new V(`!<`+s.tag+`> tag resolver accepts not "`+c+`" style`);e.dump=r}return!0}return!1}function J(e,t,n,r,i,a,o){e.tag=null,e.dump=n,cc(e,n,!1)||cc(e,n,!0);var s=ts.call(e.dump),c=r,l;r&&=e.flowLevel<0||e.flowLevel>t;var u=s===`[object Object]`||s===`[object Array]`,d,f;if(u&&(d=e.duplicates.indexOf(n),f=d!==-1),(e.tag!==null&&e.tag!==`?`||f||e.indent!==2&&t>0)&&(i=!1),f&&e.usedDuplicates[d])e.dump=`*ref_`+d;else{if(u&&f&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),s===`[object Object]`)r&&Object.keys(e.dump).length!==0?(sc(e,t,e.dump,i),f&&(e.dump=`&ref_`+d+e.dump)):(oc(e,t,e.dump),f&&(e.dump=`&ref_`+d+` `+e.dump));else if(s===`[object Array]`)r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?ac(e,t-1,e.dump,i):ac(e,t,e.dump,i),f&&(e.dump=`&ref_`+d+e.dump)):(ic(e,t,e.dump),f&&(e.dump=`&ref_`+d+` `+e.dump));else if(s===`[object String]`)e.tag!==`?`&&Qs(e,e.dump,t,a,c);else if(s===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new V(`unacceptable kind of an object to dump `+s)}e.tag!==null&&e.tag!==`?`&&(l=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`),l=e.tag[0]===`!`?`!`+l:l.slice(0,18)===`tag:yaml.org,2002:`?`!!`+l.slice(18):`!<`+l+`>`,e.dump=l+` `+e.dump)}return!0}function lc(e,t){var n=[],r=[],i,a;for(uc(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=Array(a)}function uc(e,t,n){var r,i,a;if(typeof e==`object`&&e)if(i=t.indexOf(e),i!==-1)n.indexOf(i)===-1&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)uc(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)uc(e[r[i]],t,n)}function dc(e,t){t||={};var n=new Ps(t);n.noRefs||lc(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),J(n,0,r,!0,!0)?n.dump+`
|
|
44
|
+
`:``}var fc={dump:dc},pc=es.load;es.loadAll;var mc=fc.dump;let hc=`root`,gc=`/catch`,_c=`/fork/branches`,Y=function(e){return e.Root=`root`,e.Start=`start`,e.End=`end`,e.Entry=`entry`,e.Exit=`exit`,e.Call=`call`,e.Catch=`catch`,e.Do=`do`,e.Emit=`emit`,e.For=`for`,e.Fork=`fork`,e.Listen=`listen`,e.Raise=`raise`,e.Run=`run`,e.Set=`set`,e.Switch=`switch`,e.Try=`try`,e.TryCatch=`try-catch`,e.Wait=`wait`,e}({});var X=function(e){return e.Exit=`exit`,e.End=`end`,e.Continue=`continue`,e}(X||{});function vc(e){return(e||[]).reduce((e,t)=>{let[n,r]=Object.entries(t)[0];return e.set(n,r),e},new Map)}function yc(e,t=hc,n=void 0,r=void 0,i=void 0){let a={id:t,label:r,type:e,parent:i,task:n,nodes:[],edges:[]},o={type:t===hc?Y.Start:Y.Entry,id:`${t}-entry-node`,parent:a},s={type:t===hc?Y.End:Y.Exit,id:`${t}-exit-node`,parent:a};return a.entryNode=o,a.exitNode=s,a.nodes=[o,s],i&&i.nodes.push(a),a}function bc(e,t=void 0,n=void 0){if(!e?.size)return{name:X.Exit,index:-1};let r=e.get(t||``);if(n=n||r?.then||``,n==X.End||n==X.Exit)return{name:n,index:-1};let i=0;if(n&&n!=X.Continue){if(i=Array.from(e.keys()).indexOf(n),i===-1)throw Error(`Unable to find task to transition to '${n}' from '${t}'`)}else if(r&&(i=Array.from(e.values()).indexOf(r)+1,i>=e.size))return{name:X.Exit,index:-1};let a=Array.from(e.entries())[i];return{index:i,name:a[0],task:a[1]}}function xc(e){let t=e;for(;t.id!==hc;){if(!t.parent)throw Error(`Unable to reach root graph from graph id '${e.id}'`);t=t.parent}if(!t.exitNode)throw Error(`The root graph should have an exit node.`);return t.exitNode}function Sc(e,t,n){let r=e.exitNode||e;if(t.index!=-1){let e=Cc({...n,taskReference:`${n.taskListReference}/${t.index}/${t.name}`,taskName:t.name});Q(n.graph,n.knownEdges,r,e.entryNode||e,t.label)}else if(t.name===X.Exit){if(!n.graph.exitNode)throw Error(`Missing exit node on graph id '${n.graph.id}'`);Q(n.graph,n.knownEdges,r,n.graph.exitNode,t.label)}else if(t.name===X.End)Q(n.graph,n.knownEdges,r,xc(n.graph),t.label);else throw Error(`Invalid transition`)}function Z(e,t){let n=[],r=bc(t.taskList,t.taskName);for(n.push(r);r?.task?.if;)r.label=r?.task?.if,r=bc(t.taskList,r.name,X.Continue),n.push(r);n.filter((e,t)=>n.findIndex(t=>t.index===e.index&&t.name===e.name&&t.task===e.task)===t).forEach(n=>Sc(e,n,t))}function Cc(e){let t=e.graph.nodes.find(t=>t.id===e.taskReference);if(t)return t;let n=e.taskList.get(e.taskName);if(!n)throw Error(`Unabled to find the task '${e.taskName}' in the current context`);if(n.call)return Tc(n,e);if(n.catch)return Fc(n,e);if(n.emit)return Dc(n,e);if(n.for)return Oc(n,e);if(n.fork)return kc(n,e);if(n.listen)return Ac(n,e);if(n.raise)return jc(n,e);if(n.run)return Mc(n,e);if(n.set)return Nc(n,e);if(n.switch)return Pc(n,e);if(n.wait)return Ic(n,e);if(n.do)return Ec(n,e);throw Error(`Unable to defined task type of task named '${e.taskName}'`)}function wc(e,t,n){let r={task:e,type:t,parent:n.graph,id:n.taskReference,label:n.taskName};return n.graph.nodes.push(r),Z(r,n),r}function Tc(e,t){return wc(e,Y.Call,t)}function Ec(e,t){let n=yc(Y.Do,t.taskReference,e,t.taskName,t.graph),r={...t,graph:n,taskListReference:t.taskReference+`/do`,taskList:vc(e.do),taskName:void 0};if(!n.entryNode)throw Error(`Missing 'entryNode' on graph id '${n.id}'`);return Z(n.entryNode,r),Z(n,t),n}function Dc(e,t){return wc(e,Y.Emit,t)}function Oc(e,t){let n=yc(Y.For,t.taskReference,e,t.taskName,t.graph),r={...t,graph:n,taskListReference:n.id+`/for/do`,taskList:vc(e.do),taskName:void 0};if(!n.entryNode)throw Error(`Missing 'entryNode' on graph id '${n.id}'`);return Z(n.entryNode,r),Z(n,t),n}function kc(e,t){let n=yc(Y.Fork,t.taskReference,e,t.taskName,t.graph);for(let r=0,i=e.fork?.branches.length||0;r<i;r++){let i=e.fork?.branches[r];if(!i)continue;let[a]=Object.entries(i)[0],o=Cc({...t,graph:n,taskListReference:`${t.taskReference}${_c}`,taskList:vc([i]),taskReference:`${t.taskReference}${_c}/${r}/${a}`,taskName:a});if(!n.entryNode)throw Error(`Missing 'entryNode' on graph id '${n.id}'`);if(!n.exitNode)throw Error(`Missing 'exitNode' on graph id '${n.id}'`);Q(n,t.knownEdges,n.entryNode,o.entryNode||o),Q(n,t.knownEdges,o.exitNode||o,n.exitNode)}return Z(n,t),n}function Ac(e,t){return wc(e,Y.Listen,t)}function jc(e,t){return wc(e,Y.Raise,t)}function Mc(e,t){return wc(e,Y.Run,t)}function Nc(e,t){return wc(e,Y.Set,t)}function Pc(e,t){let n=wc(e,Y.Switch,t),r=!1;return e.switch?.forEach(e=>{let[i,a]=Object.entries(e)[0];a.when||(r=!0);let o=bc(t.taskList,t.taskName,a.then);o.label=i,Sc(n,o,t)}),r||Z(n,t),n}function Fc(e,t){let n=yc(Y.TryCatch,t.taskReference,e,t.taskName,t.graph),r=yc(Y.Try,t.taskReference+`/try`,e,t.taskName+` (try)`,n);if(!n.entryNode)throw Error(`Missing 'entryNode' on graph id '${n.id}'`);if(!r.entryNode)throw Error(`Missing 'entryNode' on graph id '${r.id}'`);Q(n,t.knownEdges,n.entryNode,r.entryNode);let i={...t,graph:r,taskListReference:r.id,taskList:vc(e.try),taskName:void 0};if(!r.entryNode)throw Error(`Missing 'entryNode' on graph id '${r.id}'`);if(Z(r.entryNode,i),e.catch?.do?.length){let i=yc(Y.Catch,t.taskReference+gc+`/do`,e,t.taskName+` (catch)`,n);if(!r.exitNode)throw Error(`Missing 'exitNode' on graph id '${r.id}'`);if(!i.entryNode)throw Error(`Missing 'entryNode' on graph id '${i.entryNode}'`);Q(n,t.knownEdges,r.exitNode,i.entryNode);let a={...t,graph:i,taskListReference:i.id,taskList:vc(e.catch.do),taskName:void 0};if(Z(i.entryNode,a),!i.exitNode)throw Error(`Missing 'exitNode' on graph id '${i.exitNode}'`);if(!n.exitNode)throw Error(`Missing 'exitNode' on graph id '${n.exitNode}'`);Q(n,t.knownEdges,i.exitNode,n.exitNode)}else{let i={task:e,type:Y.Catch,parent:n,id:t.taskReference+gc,label:t.taskName+` (catch)`};if(n.nodes.push(i),!r.exitNode)throw Error(`Missing 'exitNode' on graph id '${r.id}'`);if(!n.exitNode)throw Error(`Missing 'exitNode' on graph id '${n.id}'`);Q(n,t.knownEdges,r.exitNode,i),Q(n,t.knownEdges,i,n.exitNode)}return Z(n,t),n}function Ic(e,t){return wc(e,Y.Wait,t)}function Q(e,t,n,r,i=``){let a=t.find(e=>e.sourceId===n.id&&e.targetId===r.id);if(a)return i&&!a.label?.includes(i)&&(a.label=a.label+(a.label?` / `:``)+i,a.id=`${n.id}-${r.id}-${a.label}`),a;let o={label:i,id:`${n.id}-${r.id}${i?`-${i}`:``}`,sourceId:n.id,targetId:r.id};return e.edges.push(o),t.push(o),o}let Lc=e=>{let t=[...e.map(e=>({...e}))],n=e=>e.targetId!==`root-exit-node`&&(e.targetId.endsWith(`-entry-node`)||e.targetId.endsWith(`-exit-node`)),r=e=>e.sourceId!==`root-entry-node`&&e.targetId!==`root-exit-node`&&(e.sourceId.endsWith(`-entry-node`)||e.sourceId.endsWith(`-exit-node`)),i=e.filter(e=>n(e)&&!r(e)),a=(r,i)=>{i.forEach(i=>{if(t=t.filter(e=>e.id!==i.id),n(i))a(r,e.filter(e=>e.sourceId===i.targetId));else{let e=r.sourceId,n=i.targetId,a=`${r.label}${r.label&&i.label?` / `:``}${i.label}`,o={id:`${e}-${n}${a?`-${a}`:``}`,sourceId:e,targetId:n,label:a};t.push(o)}})};return i.forEach(n=>{t=t.filter(e=>e.id!==n.id),a(n,e.filter(e=>e.sourceId===n.targetId))}),t},Rc=e=>[...e.edges||[],...(e.nodes||[]).filter(e=>e.edges?.length).flatMap(Rc)],zc=e=>[{id:e.id,label:e.label,type:e.type,task:e.task,parentId:e.parent?.id},...(e.nodes||[]).flatMap(zc)];function Bc(e,t=!1){let n={...e,edges:Rc(e),nodes:e.nodes.flatMap(e=>zc(e))};return t?{...n,edges:Lc(n.edges),nodes:n.nodes.filter(e=>e.type!==Y.Entry&&e.type!==Y.Exit)}:n}function Vc(e){let t=yc(Y.Root);if(!t.entryNode)throw Error(`The root graph should have an entry node.`);return Z(t.entryNode,{graph:t,taskListReference:`/do`,taskList:vc(e.do),taskReference:`/do`,knownEdges:[]}),t}function Hc(e,t=!1){return Bc(Vc(e),t)}let Uc=e=>e.split(`
|
|
45
|
+
`).map(e=>` ${e}`).join(`
|
|
46
|
+
`);function Wc(e,t){let n=t?e.nodes.filter(e=>e.parentId===t.id):e.nodes,r=t?[]:e.edges;return`${t?`subgraph ${t.id} ["${t.label||t.id}"]`:`flowchart TD`}
|
|
47
|
+
${Uc(n.map(t=>Gc(e,t)).join(`
|
|
48
|
+
`))}
|
|
49
|
+
${Uc(r.map(e=>Kc(e)).join(`
|
|
50
|
+
`))}
|
|
51
|
+
${t?`end`:``}`}function Gc(e,t){let n=``;if(e.nodes.filter(e=>e.parentId===t.id).length)n=Wc(e,t);else switch(n=t.id,t.type){case Y.Entry:case Y.Exit:n+=`[ ]:::hidden`;break;case Y.Start:n+=`(( ))`;break;case Y.End:n+=`((( )))`;break;default:n+=`["${t.label||` `}"]`}return n}function Kc(e){let t=!e.targetId.startsWith(`root`)&&(e.targetId.endsWith(`-entry-node`)||e.targetId.endsWith(`-exit-node`));return`${e.sourceId} ${e.label?`--"${e.label}"`:``}--${t?`-`:`>`} ${e.targetId}`}function qc(e){return Wc(Hc(e,!0))+`
|
|
52
|
+
|
|
53
|
+
classDef hidden width: 1px, height: 1px;`}var Jc=class{constructor(e){this.workflow=e}sourceCode(){return qc(this.workflow)}};let $={A2AArguments:Zt,AllEventConsumptionStrategy:nn,AllEventConsumptionStrategyConfiguration:tn,AnyEventConsumptionStrategy:on,AnyEventConsumptionStrategyConfiguration:rn,AnyEventConsumptionStrategyUntil:an,AnyEventUntilConsumed:sn,AsyncApiArguments:cn,AuthenticationPolicy:ln,AuthenticationPolicyReference:un,BasicAuthenticationPolicy:dn,BasicAuthenticationPolicyConfiguration:Vt,BasicAuthenticationProperties:fn,BearerAuthenticationPolicy:pn,BearerAuthenticationPolicyConfiguration:Ht,BearerAuthenticationProperties:mn,CallA2A:gn,CallAsyncAPI:_n,CallFunction:yn,CallGRPC:Cn,CallHTTP:En,CallMCP:kn,CallOpenAPI:Mn,CallTask:Nn,Catalog:Pn,CatchErrors:In,ConstantBackoff:Ln,Container:Hn,ContainerArguments:Un,ContainerEnvironment:Bn,ContainerLifetime:Vn,ContainerPorts:Rn,ContainerVolumes:zn,DigestAuthenticationPolicy:Wn,DigestAuthenticationPolicyConfiguration:Ut,DigestAuthenticationProperties:Gn,Document:Jn,DoTask:Sr,Duration:F,DurationInline:Cr,EmitEventDefinition:Zn,EmitEventWith:Xn,EmitTask:wr,EmitTaskConfiguration:Qn,Endpoint:Xt,EndpointConfiguration:Tr,EndpointUri:Er,Error:Dr,ErrorDetails:Or,ErrorFilter:Fn,ErrorInstance:kr,ErrorTitle:Ar,ErrorType:jr,EventConsumptionStrategy:er,EventData:Mr,EventDataschema:Nr,EventFilter:en,EventFilterCorrelate:$t,EventSource:Pr,EventTime:Fr,ExponentialBackOff:Ir,Export:P,ExportAs:Lr,Extension:Rr,ExtensionItem:zr,ExternalResource:j,ExternalScript:Br,FlowDirective:Vr,ForkTask:Hr,ForkTaskConfiguration:Yn,ForTask:Ur,ForTaskConfiguration:$n,FunctionArguments:vn,GRPCArguments:Sn,HTTPArguments:Tn,HTTPBody:wn,HTTPHeaders:Wr,HTTPQuery:Gr,InlineScript:Kr,Input:M,InputFrom:qr,LinearBackoff:Jr,ListenTask:Yr,ListenTaskConfiguration:tr,MCPArguments:On,McpCallTransport:Xr,McpClient:Dn,McpMethodParameters:Zr,OAuth2AuthenticationData:Qr,OAuth2AuthenticationDataAudiences:$r,OAuth2AuthenticationDataClient:Wt,OAuth2AuthenticationDataScopes:ei,OAuth2AuthenticationPolicy:ti,OAuth2AuthenticationPolicyConfiguration:qt,OAuth2AuthenticationPropertiesEndpoints:Kt,OAuth2ConnectAuthenticationProperties:ni,OAuth2Issuers:ri,OAuth2TokenDefinition:A,OAuth2TokenRequest:Gt,OneEventConsumptionStrategy:ii,OpenAPIArguments:jn,OpenIdConnectAuthenticationPolicy:ai,OpenIdConnectAuthenticationPolicyConfiguration:Jt,OpenIdConnectAuthenticationProperties:oi,Output:N,OutputAs:si,RaiseTask:ci,RaiseTaskConfiguration:ir,RaiseTaskError:rr,ReferenceableAuthenticationPolicy:Yt,RetryBackoff:mr,RetryLimit:gr,RetryLimitAttempt:hr,RetryPolicy:li,RetryPolicyJitter:_r,RunContainer:ui,RunScript:di,RunShell:fi,RunTask:pi,RunTaskConfiguration:ur,RuntimeExpression:mi,RunWorkflow:hi,Schedule:gi,Schema:hn,SchemaExternal:_i,SchemaInline:vi,Script:ar,SecretBasedAuthenticationPolicy:yi,SetTask:bi,SetTaskConfiguration:xi,Shell:sr,ShellArguments:Si,ShellEnvironment:or,SubflowConfiguration:lr,SubflowInput:cr,SubscriptionIterator:nr,SwitchCase:dr,SwitchItem:fr,SwitchTask:Ci,SwitchTaskConfiguration:pr,Task:br,TaskBase:R,TaskBaseIf:wi,TaskItem:xr,TaskList:z,TaskMetadata:L,TaskTimeout:I,Timeout:Ti,TryTask:Ei,TryTaskCatch:yr,TryTaskCatchRetry:vr,UriTemplate:Di,Use:Fi,UseAuthentications:Oi,UseCatalogs:Pi,UseErrors:ki,UseExtensions:Ai,UseFunctions:ji,UseRetries:Mi,UseSecrets:Ii,UseTimeouts:Ni,WaitTask:Li,WithA2AParameters:Ri,WithEvent:Qt,WithGRPCArguments:xn,WithGRPCService:bn,WithOpenAPIParameters:An,Workflow:class e extends g{constructor(e){super(e);let t=this;m(e)&&(typeof e.document==`object`&&(t.document=new Jn(e.document)),typeof e.input==`object`&&(t.input=new M(e.input)),typeof e.use==`object`&&(t.use=new Fi(e.use)),typeof e.do==`object`&&(t.do=new z(e.do)),typeof e.timeout==`object`&&(t.timeout=new zi(e.timeout)),typeof e.output==`object`&&(t.output=new N(e.output)),typeof e.schedule==`object`&&(t.schedule=new gi(e.schedule))),S(`Workflow`)?.constructor?.(this)}validate(t){k(`Workflow`,new e(this),t)}normalize(){let t=new e(this);return S(`Workflow`)?.normalize?.(t)||t}static deserialize(t){let n=pc(t);return k(`Workflow`,n),new e(n)}static serialize(t,n=`yaml`,r=!0){let i=new e(t);i.validate();let a=r?i.normalize():i;return n===`json`?JSON.stringify(a):mc(a)}static toGraph(e){return Vc(e)}static toMermaidCode(e){return qc(e)}serialize(t=`yaml`,n=!0){return e.serialize(this,t,n)}toGraph(){return e.toGraph(this)}toMermaidCode(){return e.toMermaidCode(this)}},WorkflowMetadata:qn,WorkflowTags:Kn,WorkflowTimeout:zi};function Yc(e,t){let n=new $.A2AArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Xc=e=>f(e,Yc);function Zc(e,t){let n=new $.AllEventConsumptionStrategy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Qc=e=>f(e,Zc);function $c(e,t){let n=new $.AllEventConsumptionStrategyConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let el=e=>p(e,$c);function tl(e,t){let n=new $.AnyEventConsumptionStrategy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let nl=e=>f(e,tl);function rl(e,t){let n=new $.AnyEventConsumptionStrategyConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let il=e=>p(e,rl);function al(e,t){let n=new $.AnyEventConsumptionStrategyUntil(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ol=e=>f(e,al);function sl(e,t){let n=new $.AnyEventUntilConsumed(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let cl=e=>f(e,sl);function ll(e,t){let n=new $.AsyncApiArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ul=e=>f(e,ll);function dl(e,t){let n=new $.AuthenticationPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let fl=e=>f(e,dl);function pl(e,t){let n=new $.AuthenticationPolicyReference(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ml=e=>f(e,pl);function hl(e,t){let n=new $.BasicAuthenticationPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let gl=e=>f(e,hl);function _l(e,t){let n=new $.BasicAuthenticationPolicyConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let vl=e=>f(e,_l);function yl(e,t){let n=new $.BasicAuthenticationProperties(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let bl=e=>f(e,yl);function xl(e,t){let n=new $.BearerAuthenticationPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Sl=e=>f(e,xl);function Cl(e,t){let n=new $.BearerAuthenticationPolicyConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let wl=e=>f(e,Cl);function Tl(e,t){let n=new $.BearerAuthenticationProperties(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let El=e=>f(e,Tl);function Dl(e,t){let n=new $.CallA2A(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ol=e=>f(e,Dl);function kl(e,t){let n=new $.CallAsyncAPI(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Al=e=>f(e,kl);function jl(e,t){let n=new $.CallFunction(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ml=e=>f(e,jl);function Nl(e,t){let n=new $.CallGRPC(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Pl=e=>f(e,Nl);function Fl(e,t){let n=new $.CallHTTP(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Il=e=>f(e,Fl);function Ll(e,t){let n=new $.CallMCP(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Rl=e=>f(e,Ll);function zl(e,t){let n=new $.CallOpenAPI(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Bl=e=>f(e,zl);function Vl(e,t){let n=new $.CallTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Hl=e=>f(e,Vl);function Ul(e,t){let n=new $.Catalog(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Wl=e=>f(e,Ul);function Gl(e,t){let n=new $.CatchErrors(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Kl=e=>f(e,Gl);function ql(e,t){let n=new $.ConstantBackoff(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Jl=e=>f(e,ql);function Yl(e,t){let n=new $.Container(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Xl=e=>f(e,Yl);function Zl(e,t){let n=new $.ContainerArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ql=e=>p(e,Zl);function $l(e,t){let n=new $.ContainerEnvironment(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let eu=e=>f(e,$l);function tu(e,t){let n=new $.ContainerLifetime(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let nu=e=>f(e,tu);function ru(e,t){let n=new $.ContainerPorts(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let iu=e=>f(e,ru);function au(e,t){let n=new $.ContainerVolumes(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ou=e=>f(e,au);function su(e,t){let n=new $.DigestAuthenticationPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let cu=e=>f(e,su);function lu(e,t){let n=new $.DigestAuthenticationPolicyConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let uu=e=>f(e,lu);function du(e,t){let n=new $.DigestAuthenticationProperties(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let fu=e=>f(e,du);function pu(e,t){let n=new $.Document(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let mu=e=>f(e,pu);function hu(e,t){let n=new $.DoTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let gu=e=>f(e,hu);function _u(e,t){let n=new $.Duration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let vu=e=>f(e,_u);function yu(e,t){let n=new $.DurationInline(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let bu=e=>f(e,yu);function xu(e,t){let n=new $.EmitEventDefinition(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Su=e=>f(e,xu);function Cu(e,t){let n=new $.EmitEventWith(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let wu=e=>f(e,Cu);function Tu(e,t){let n=new $.EmitTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Eu=e=>f(e,Tu);function Du(e,t){let n=new $.EmitTaskConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ou=e=>f(e,Du);function ku(e,t){let n=new $.Endpoint(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Au=e=>f(e,ku);function ju(e,t){let n=new $.EndpointConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Mu=e=>f(e,ju);function Nu(e,t){let n=new $.EndpointUri(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Pu=e=>f(e,Nu);function Fu(e,t){let n=new $.Error(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Iu=e=>f(e,Fu);function Lu(e,t){let n=new $.ErrorDetails(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ru=e=>f(e,Lu);function zu(e,t){let n=new $.ErrorFilter(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Bu=e=>f(e,zu);function Vu(e,t){let n=new $.ErrorInstance(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Hu=e=>f(e,Vu);function Uu(e,t){let n=new $.ErrorTitle(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Wu=e=>f(e,Uu);function Gu(e,t){let n=new $.ErrorType(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ku=e=>f(e,Gu);function qu(e,t){let n=new $.EventConsumptionStrategy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ju=e=>f(e,qu);function Yu(e,t){let n=new $.EventData(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Xu=e=>f(e,Yu);function Zu(e,t){let n=new $.EventDataschema(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Qu=e=>f(e,Zu);function $u(e,t){let n=new $.EventFilter(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ed=e=>f(e,$u);function td(e,t){let n=new $.EventFilterCorrelate(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let nd=e=>f(e,td);function rd(e,t){let n=new $.EventSource(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let id=e=>f(e,rd);function ad(e,t){let n=new $.EventTime(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let od=e=>f(e,ad);function sd(e,t){let n=new $.ExponentialBackOff(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let cd=e=>f(e,sd);function ld(e,t){let n=new $.Export(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ud=e=>f(e,ld);function dd(e,t){let n=new $.ExportAs(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let fd=e=>f(e,dd);function pd(e,t){let n=new $.Extension(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let md=e=>f(e,pd);function hd(e,t){let n=new $.ExtensionItem(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let gd=e=>f(e,hd);function _d(e,t){let n=new $.ExternalResource(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let vd=e=>f(e,_d);function yd(e,t){let n=new $.ExternalScript(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let bd=e=>f(e,yd);function xd(e,t){let n=new $.FlowDirective(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Sd=e=>f(e,xd);function Cd(e,t){let n=new $.ForkTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let wd=e=>f(e,Cd);function Td(e,t){let n=new $.ForkTaskConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ed=e=>f(e,Td);function Dd(e,t){let n=new $.ForTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Od=e=>f(e,Dd);function kd(e,t){let n=new $.ForTaskConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ad=e=>f(e,kd);function jd(e,t){let n=new $.FunctionArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Md=e=>f(e,jd);function Nd(e,t){let n=new $.GRPCArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Pd=e=>f(e,Nd);function Fd(e,t){let n=new $.HTTPArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Id=e=>f(e,Fd);function Ld(e,t){let n=new $.HTTPBody(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Rd=e=>f(e,Ld);function zd(e,t){let n=new $.HTTPHeaders(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Bd=e=>f(e,zd);function Vd(e,t){let n=new $.HTTPQuery(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Hd=e=>f(e,Vd);function Ud(e,t){let n=new $.InlineScript(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Wd=e=>f(e,Ud);function Gd(e,t){let n=new $.Input(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Kd=e=>f(e,Gd);function qd(e,t){let n=new $.InputFrom(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Jd=e=>f(e,qd);function Yd(e,t){let n=new $.LinearBackoff(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Xd=e=>f(e,Yd);function Zd(e,t){let n=new $.ListenTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Qd=e=>f(e,Zd);function $d(e,t){let n=new $.ListenTaskConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ef=e=>f(e,$d);function tf(e,t){let n=new $.MCPArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let nf=e=>f(e,tf);function rf(e,t){let n=new $.McpCallTransport(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let af=e=>f(e,rf);function of(e,t){let n=new $.McpClient(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let sf=e=>f(e,of);function cf(e,t){let n=new $.McpMethodParameters(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let lf=e=>f(e,cf);function uf(e,t){let n=new $.OAuth2AuthenticationData(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let df=e=>f(e,uf);function ff(e,t){let n=new $.OAuth2AuthenticationDataAudiences(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let pf=e=>p(e,ff);function mf(e,t){let n=new $.OAuth2AuthenticationDataClient(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let hf=e=>f(e,mf);function gf(e,t){let n=new $.OAuth2AuthenticationDataScopes(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let _f=e=>p(e,gf);function vf(e,t){let n=new $.OAuth2AuthenticationPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let yf=e=>f(e,vf);function bf(e,t){let n=new $.OAuth2AuthenticationPolicyConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let xf=e=>f(e,bf);function Sf(e,t){let n=new $.OAuth2AuthenticationPropertiesEndpoints(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Cf=e=>f(e,Sf);function wf(e,t){let n=new $.OAuth2ConnectAuthenticationProperties(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Tf=e=>f(e,wf);function Ef(e,t){let n=new $.OAuth2Issuers(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Df=e=>p(e,Ef);function Of(e,t){let n=new $.OAuth2TokenDefinition(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let kf=e=>f(e,Of);function Af(e,t){let n=new $.OAuth2TokenRequest(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let jf=e=>f(e,Af);function Mf(e,t){let n=new $.OneEventConsumptionStrategy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Nf=e=>f(e,Mf);function Pf(e,t){let n=new $.OpenAPIArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ff=e=>f(e,Pf);function If(e,t){let n=new $.OpenIdConnectAuthenticationPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Lf=e=>f(e,If);function Rf(e,t){let n=new $.OpenIdConnectAuthenticationPolicyConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let zf=e=>f(e,Rf);function Bf(e,t){let n=new $.OpenIdConnectAuthenticationProperties(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Vf=e=>f(e,Bf);function Hf(e,t){let n=new $.Output(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Uf=e=>f(e,Hf);function Wf(e,t){let n=new $.OutputAs(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Gf=e=>f(e,Wf);function Kf(e,t){let n=new $.RaiseTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let qf=e=>f(e,Kf);function Jf(e,t){let n=new $.RaiseTaskConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Yf=e=>f(e,Jf);function Xf(e,t){let n=new $.RaiseTaskError(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Zf=e=>f(e,Xf);function Qf(e,t){let n=new $.ReferenceableAuthenticationPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let $f=e=>f(e,Qf);function ep(e,t){let n=new $.RetryBackoff(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let tp=e=>f(e,ep);function np(e,t){let n=new $.RetryLimit(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let rp=e=>f(e,np);function ip(e,t){let n=new $.RetryLimitAttempt(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ap=e=>f(e,ip);function op(e,t){let n=new $.RetryPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let sp=e=>f(e,op);function cp(e,t){let n=new $.RetryPolicyJitter(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let lp=e=>f(e,cp);function up(e,t){let n=new $.RunContainer(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let dp=e=>f(e,up);function fp(e,t){let n=new $.RunScript(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let pp=e=>f(e,fp);function mp(e,t){let n=new $.RunShell(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let hp=e=>f(e,mp);function gp(e,t){let n=new $.RunTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let _p=e=>f(e,gp);function vp(e,t){let n=new $.RunTaskConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let yp=e=>f(e,vp);function bp(e,t){let n=new $.RuntimeExpression(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let xp=e=>f(e,bp);function Sp(e,t){let n=new $.RunWorkflow(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Cp=e=>f(e,Sp);function wp(e,t){let n=new $.Schedule(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Tp=e=>f(e,wp);function Ep(e,t){let n=new $.Schema(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Dp=e=>f(e,Ep);function Op(e,t){let n=new $.SchemaExternal(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let kp=e=>f(e,Op);function Ap(e,t){let n=new $.SchemaInline(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let jp=e=>f(e,Ap);function Mp(e,t){let n=new $.Script(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Np=e=>f(e,Mp);function Pp(e,t){let n=new $.SecretBasedAuthenticationPolicy(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Fp=e=>f(e,Pp);function Ip(e,t){let n=new $.SetTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Lp=e=>f(e,Ip);function Rp(e,t){let n=new $.SetTaskConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let zp=e=>f(e,Rp);function Bp(e,t){let n=new $.Shell(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Vp=e=>f(e,Bp);function Hp(e,t){let n=new $.ShellArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Up=e=>p(e,Hp);function Wp(e,t){let n=new $.ShellEnvironment(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Gp=e=>f(e,Wp);function Kp(e,t){let n=new $.SubflowConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let qp=e=>f(e,Kp);function Jp(e,t){let n=new $.SubflowInput(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Yp=e=>f(e,Jp);function Xp(e,t){let n=new $.SubscriptionIterator(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Zp=e=>f(e,Xp);function Qp(e,t){let n=new $.SwitchCase(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let $p=e=>f(e,Qp);function em(e,t){let n=new $.SwitchItem(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let tm=e=>f(e,em);function nm(e,t){let n=new $.SwitchTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let rm=e=>f(e,nm);function im(e,t){let n=new $.SwitchTaskConfiguration(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let am=e=>f(e,im);function om(e,t){let n=new $.Task(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let sm=e=>f(e,om);function cm(e,t){let n=new $.TaskBase(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let lm=e=>f(e,cm);function um(e,t){let n=new $.TaskBaseIf(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let dm=e=>f(e,um);function fm(e,t){let n=new $.TaskItem(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let pm=e=>f(e,fm);function mm(e,t){let n=new $.TaskList(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let hm=e=>p(e,mm);function gm(e,t){let n=new $.TaskMetadata(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let _m=e=>f(e,gm);function vm(e,t){let n=new $.TaskTimeout(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ym=e=>f(e,vm);function bm(e,t){let n=new $.Timeout(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let xm=e=>f(e,bm);function Sm(e,t){let n=new $.TryTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Cm=e=>f(e,Sm);function wm(e,t){let n=new $.TryTaskCatch(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Tm=e=>f(e,wm);function Em(e,t){let n=new $.TryTaskCatchRetry(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Dm=e=>f(e,Em);function Om(e,t){let n=new $.UriTemplate(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let km=e=>f(e,Om);function Am(e,t){let n=new $.Use(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let jm=e=>f(e,Am);function Mm(e,t){let n=new $.UseAuthentications(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Nm=e=>f(e,Mm);function Pm(e,t){let n=new $.UseCatalogs(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Fm=e=>f(e,Pm);function Im(e,t){let n=new $.UseErrors(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Lm=e=>f(e,Im);function Rm(e,t){let n=new $.UseExtensions(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let zm=e=>p(e,Rm);function Bm(e,t){let n=new $.UseFunctions(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Vm=e=>f(e,Bm);function Hm(e,t){let n=new $.UseRetries(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Um=e=>f(e,Hm);function Wm(e,t){let n=new $.UseSecrets(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Gm=e=>p(e,Wm);function Km(e,t){let n=new $.UseTimeouts(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let qm=e=>f(e,Km);function Jm(e,t){let n=new $.WaitTask(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Ym=e=>f(e,Jm);function Xm(e,t){let n=new $.WithA2AParameters(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let Zm=e=>f(e,Xm);function Qm(e,t){let n=new $.WithEvent(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let $m=e=>f(e,Qm);function eh(e,t){let n=new $.WithGRPCArguments(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let th=e=>f(e,eh);function nh(e,t){let n=new $.WithGRPCService(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let rh=e=>f(e,nh);function ih(e,t){let n=new $.WithOpenAPIParameters(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ah=e=>f(e,ih);function oh(e,t){let n=new $.Workflow(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let sh=e=>f(e,oh);function ch(e,t){let n=new $.WorkflowMetadata(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let lh=e=>f(e,ch);function uh(e,t){let n=new $.WorkflowTags(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let dh=e=>f(e,uh);function fh(e,t){let n=new $.WorkflowTimeout(e);return t.validate&&n.validate(),t.normalize?n.normalize():n}let ph=e=>f(e,fh);var mh=c({});e.Classes=$,e.GraphNodeType=Y,e.MermaidDiagram=Jc,Object.defineProperty(e,`Specification`,{enumerable:!0,get:function(){return mh}}),e.a2AArgumentsBuilder=Xc,e.allEventConsumptionStrategyBuilder=Qc,e.allEventConsumptionStrategyConfigurationBuilder=el,e.anyEventConsumptionStrategyBuilder=nl,e.anyEventConsumptionStrategyConfigurationBuilder=il,e.anyEventConsumptionStrategyUntilBuilder=ol,e.anyEventUntilConsumedBuilder=cl,e.asyncApiArgumentsBuilder=ul,e.authenticationPolicyBuilder=fl,e.authenticationPolicyReferenceBuilder=ml,e.basicAuthenticationPolicyBuilder=gl,e.basicAuthenticationPolicyConfigurationBuilder=vl,e.basicAuthenticationPropertiesBuilder=bl,e.bearerAuthenticationPolicyBuilder=Sl,e.bearerAuthenticationPolicyConfigurationBuilder=wl,e.bearerAuthenticationPropertiesBuilder=El,e.buildFlatGraph=Hc,e.buildGraph=Vc,e.callA2ABuilder=Ol,e.callAsyncAPIBuilder=Al,e.callFunctionBuilder=Ml,e.callGRPCBuilder=Pl,e.callHTTPBuilder=Il,e.callMCPBuilder=Rl,e.callOpenAPIBuilder=Bl,e.callTaskBuilder=Hl,e.catalogBuilder=Wl,e.catchErrorsBuilder=Kl,e.constantBackoffBuilder=Jl,e.containerArgumentsBuilder=Ql,e.containerBuilder=Xl,e.containerEnvironmentBuilder=eu,e.containerLifetimeBuilder=nu,e.containerPortsBuilder=iu,e.containerVolumesBuilder=ou,e.convertToMermaidCode=qc,e.digestAuthenticationPolicyBuilder=cu,e.digestAuthenticationPolicyConfigurationBuilder=uu,e.digestAuthenticationPropertiesBuilder=fu,e.doTaskBuilder=gu,e.documentBuilder=mu,e.durationBuilder=vu,e.durationInlineBuilder=bu,e.emitEventDefinitionBuilder=Su,e.emitEventWithBuilder=wu,e.emitTaskBuilder=Eu,e.emitTaskConfigurationBuilder=Ou,e.endpointBuilder=Au,e.endpointConfigurationBuilder=Mu,e.endpointUriBuilder=Pu,e.errorBuilder=Iu,e.errorDetailsBuilder=Ru,e.errorFilterBuilder=Bu,e.errorInstanceBuilder=Hu,e.errorTitleBuilder=Wu,e.errorTypeBuilder=Ku,e.eventConsumptionStrategyBuilder=Ju,e.eventDataBuilder=Xu,e.eventDataschemaBuilder=Qu,e.eventFilterBuilder=ed,e.eventFilterCorrelateBuilder=nd,e.eventSourceBuilder=id,e.eventTimeBuilder=od,e.exponentialBackOffBuilder=cd,e.exportAsBuilder=fd,e.exportBuilder=ud,e.extensionBuilder=md,e.extensionItemBuilder=gd,e.externalResourceBuilder=vd,e.externalScriptBuilder=bd,e.flattenEdges=Rc,e.flattenGraph=Bc,e.flattenNodes=zc,e.flowDirectiveBuilder=Sd,e.forTaskBuilder=Od,e.forTaskConfigurationBuilder=Ad,e.forkTaskBuilder=wd,e.forkTaskConfigurationBuilder=Ed,e.functionArgumentsBuilder=Md,e.gRPCArgumentsBuilder=Pd,e.hTTPArgumentsBuilder=Id,e.hTTPBodyBuilder=Rd,e.hTTPHeadersBuilder=Bd,e.hTTPQueryBuilder=Hd,e.inlineScriptBuilder=Wd,e.inputBuilder=Kd,e.inputFromBuilder=Jd,e.linearBackoffBuilder=Xd,e.listenTaskBuilder=Qd,e.listenTaskConfigurationBuilder=ef,e.mCPArgumentsBuilder=nf,e.mcpCallTransportBuilder=af,e.mcpClientBuilder=sf,e.mcpMethodParametersBuilder=lf,e.oAuth2AuthenticationDataAudiencesBuilder=pf,e.oAuth2AuthenticationDataBuilder=df,e.oAuth2AuthenticationDataClientBuilder=hf,e.oAuth2AuthenticationDataScopesBuilder=_f,e.oAuth2AuthenticationPolicyBuilder=yf,e.oAuth2AuthenticationPolicyConfigurationBuilder=xf,e.oAuth2AuthenticationPropertiesEndpointsBuilder=Cf,e.oAuth2ConnectAuthenticationPropertiesBuilder=Tf,e.oAuth2IssuersBuilder=Df,e.oAuth2TokenDefinitionBuilder=kf,e.oAuth2TokenRequestBuilder=jf,e.oneEventConsumptionStrategyBuilder=Nf,e.openAPIArgumentsBuilder=Ff,e.openIdConnectAuthenticationPolicyBuilder=Lf,e.openIdConnectAuthenticationPolicyConfigurationBuilder=zf,e.openIdConnectAuthenticationPropertiesBuilder=Vf,e.outputAsBuilder=Gf,e.outputBuilder=Uf,e.raiseTaskBuilder=qf,e.raiseTaskConfigurationBuilder=Yf,e.raiseTaskErrorBuilder=Zf,e.referenceableAuthenticationPolicyBuilder=$f,e.remapEdges=Lc,e.retryBackoffBuilder=tp,e.retryLimitAttemptBuilder=ap,e.retryLimitBuilder=rp,e.retryPolicyBuilder=sp,e.retryPolicyJitterBuilder=lp,e.runContainerBuilder=dp,e.runScriptBuilder=pp,e.runShellBuilder=hp,e.runTaskBuilder=_p,e.runTaskConfigurationBuilder=yp,e.runWorkflowBuilder=Cp,e.runtimeExpressionBuilder=xp,e.scheduleBuilder=Tp,e.schemaBuilder=Dp,e.schemaExternalBuilder=kp,e.schemaInlineBuilder=jp,e.scriptBuilder=Np,e.secretBasedAuthenticationPolicyBuilder=Fp,e.setTaskBuilder=Lp,e.setTaskConfigurationBuilder=zp,e.shellArgumentsBuilder=Up,e.shellBuilder=Vp,e.shellEnvironmentBuilder=Gp,e.subflowConfigurationBuilder=qp,e.subflowInputBuilder=Yp,e.subscriptionIteratorBuilder=Zp,e.switchCaseBuilder=$p,e.switchItemBuilder=tm,e.switchTaskBuilder=rm,e.switchTaskConfigurationBuilder=am,e.taskBaseBuilder=lm,e.taskBaseIfBuilder=dm,e.taskBuilder=sm,e.taskItemBuilder=pm,e.taskListBuilder=hm,e.taskMetadataBuilder=_m,e.taskTimeoutBuilder=ym,e.timeoutBuilder=xm,e.tryTaskBuilder=Cm,e.tryTaskCatchBuilder=Tm,e.tryTaskCatchRetryBuilder=Dm,e.uriTemplateBuilder=km,e.useAuthenticationsBuilder=Nm,e.useBuilder=jm,e.useCatalogsBuilder=Fm,e.useErrorsBuilder=Lm,e.useExtensionsBuilder=zm,e.useFunctionsBuilder=Vm,e.useRetriesBuilder=Um,e.useSecretsBuilder=Gm,e.useTimeoutsBuilder=qm,e.validate=k,e.waitTaskBuilder=Ym,e.withA2AParametersBuilder=Zm,e.withEventBuilder=$m,e.withGRPCArgumentsBuilder=th,e.withGRPCServiceBuilder=rh,e.withOpenAPIParametersBuilder=ah,e.workflowBuilder=sh,e.workflowMetadataBuilder=lh,e.workflowTagsBuilder=dh,e.workflowTimeoutBuilder=ph});
|
|
54
|
+
//# sourceMappingURL=index.umd.min.js.map
|