@redocly/openapi-docs 3.24.1 → 3.25.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{redocly-openapi-docs.min.AiChatProvider-j-VDfFJ9.js → redocly-openapi-docs.min.AiChatProvider-CDMc3dS6.js} +1 -1
- package/dist/{redocly-openapi-docs.min.AiChatSqliteDBStorage-BBRBmffc.js → redocly-openapi-docs.min.AiChatSqliteDBStorage-BopXqcPv.js} +1 -1
- package/dist/{redocly-openapi-docs.min.AiPanel-DTzHqAiI.js → redocly-openapi-docs.min.AiPanel-DkXOeLs5.js} +1 -1
- package/dist/redocly-openapi-docs.min.FileWatcher-DMjNW66W.js +1 -0
- package/dist/{redocly-openapi-docs.min.SemanticSearchService-DNFOPBZK.js → redocly-openapi-docs.min.SemanticSearchService-DbpnWseN.js} +1 -1
- package/dist/{redocly-openapi-docs.min.SqliteDBStorage-Dy40Vq04.js → redocly-openapi-docs.min.SqliteDBStorage-ak3Zqgtw.js} +1 -1
- package/dist/{redocly-openapi-docs.min.TauriFileSystemAdapter-CpViFqJQ.js → redocly-openapi-docs.min.TauriFileSystemAdapter-Dl2fY3am.js} +1 -1
- package/dist/{redocly-openapi-docs.min.TauriRootStorage-TCUrp2uB.js → redocly-openapi-docs.min.TauriRootStorage-m4plsfqx.js} +1 -1
- package/dist/{redocly-openapi-docs.min.ai-chat-mappers-CmX-8902.js → redocly-openapi-docs.min.ai-chat-mappers-Dg8U8w8r.js} +1 -1
- package/dist/{redocly-openapi-docs.min.external-resolver-BkceRyB4.js → redocly-openapi-docs.min.external-resolver-Db7hewsm.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-BCcol5vU.js → redocly-openapi-docs.min.index-B5-R6EGY.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-CmXZfuiZ.js → redocly-openapi-docs.min.index-D9U4Tk7n.js} +1320 -1213
- package/dist/{redocly-openapi-docs.min.index-DVWw0ICA.js → redocly-openapi-docs.min.index-DeHk4n2z.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-C6uU_v-b.js → redocly-openapi-docs.min.index-EVRmC_IQ.js} +1 -1
- package/dist/redocly-openapi-docs.min.js +1 -1
- package/dist/{redocly-openapi-docs.min.lint-2YpbCz3r.js → redocly-openapi-docs.min.lint-PvmGrAK3.js} +2 -2
- package/dist/{redocly-openapi-docs.min.lint-graphql-Bgfcu2tP.js → redocly-openapi-docs.min.lint-graphql-CMMhYVr_.js} +1 -1
- package/dist/{redocly-openapi-docs.min.respect-run-Ct8taisL.js → redocly-openapi-docs.min.respect-run-DgsYdmxw.js} +1 -1
- package/dist/{redocly-openapi-docs.min.standalone-BPCdJgtH.js → redocly-openapi-docs.min.standalone-D9becCWS.js} +708 -673
- package/dist/redocly-openapi-docs.min.tauri-path-Bv9A5DVf.js +1 -0
- package/dist/{redocly-openapi-docs.min.useAiChatQueries-t8oy8jik.js → redocly-openapi-docs.min.useAiChatQueries-Cb-1pa0w.js} +2 -2
- package/lib/telemetry/RedocTelemetry.js +1 -31
- package/package.json +5 -5
- package/dist/redocly-openapi-docs.min.FileWatcher-DDoyaS7A.js +0 -1
- package/dist/redocly-openapi-docs.min.tauri-path-CmqBCxGb.js +0 -1
- package/lib/components/ApiInfo/__tests__/ApiInfo.test.d.ts +0 -1
- package/lib/components/ApiInfo/__tests__/ApiInfo.test.js +0 -46
- package/lib/components/Callbacks/__tests__/Callbacks.test.d.ts +0 -1
- package/lib/components/Callbacks/__tests__/Callbacks.test.js +0 -46
- package/lib/components/Content/__tests__/useAutoScroll.test.d.ts +0 -1
- package/lib/components/Content/__tests__/useAutoScroll.test.js +0 -88
- package/lib/components/ContentItem/__tests__/useIsExpanded.test.d.ts +0 -1
- package/lib/components/ContentItem/__tests__/useIsExpanded.test.js +0 -123
- package/lib/components/ContentItems/__tests__/Items.test.d.ts +0 -1
- package/lib/components/ContentItems/__tests__/Items.test.js +0 -66
- package/lib/components/ContentItems/__tests__/VirtualList.test.d.ts +0 -1
- package/lib/components/ContentItems/__tests__/VirtualList.test.js +0 -135
- package/lib/components/Discriminator/__tests__/DiscriminatorDropdown.test.d.ts +0 -1
- package/lib/components/Discriminator/__tests__/DiscriminatorDropdown.test.js +0 -63
- package/lib/components/Download/__tests__/DownloadSpecification.test.d.ts +0 -1
- package/lib/components/Download/__tests__/DownloadSpecification.test.js +0 -52
- package/lib/components/ExpandAllButton/__tests__/ExpandAllButton.test.d.ts +0 -1
- package/lib/components/ExpandAllButton/__tests__/ExpandAllButton.test.js +0 -60
- package/lib/components/ExpandAllButton/__tests__/helpers.test.d.ts +0 -1
- package/lib/components/ExpandAllButton/__tests__/helpers.test.js +0 -133
- package/lib/components/Language/__tests__/LanguageDropdown.test.d.ts +0 -1
- package/lib/components/Language/__tests__/LanguageDropdown.test.js +0 -23
- package/lib/components/Markdown/__tests__/Markdown.test.d.ts +0 -1
- package/lib/components/Markdown/__tests__/Markdown.test.js +0 -34
- package/lib/components/McpOverview/__tests__/McpOverview.test.d.ts +0 -1
- package/lib/components/McpOverview/__tests__/McpOverview.test.js +0 -66
- package/lib/components/McpTool/__tests__/McpPrompt.test.d.ts +0 -1
- package/lib/components/McpTool/__tests__/McpPrompt.test.js +0 -57
- package/lib/components/McpTool/__tests__/McpResource.test.d.ts +0 -1
- package/lib/components/McpTool/__tests__/McpResource.test.js +0 -81
- package/lib/components/McpTool/__tests__/McpTool.test.d.ts +0 -1
- package/lib/components/McpTool/__tests__/McpTool.test.js +0 -82
- package/lib/components/MediaTypeSwitch/__tests__/MediaTypesSwitch.test.d.ts +0 -1
- package/lib/components/MediaTypeSwitch/__tests__/MediaTypesSwitch.test.js +0 -79
- package/lib/components/OperationItem/__tests__/OperationItem.test.d.ts +0 -1
- package/lib/components/OperationItem/__tests__/OperationItem.test.js +0 -70
- package/lib/components/OperationItem/__tests__/__mocks__/mock-intersection-observer.d.ts +0 -16
- package/lib/components/OperationItem/__tests__/__mocks__/mock-intersection-observer.js +0 -42
- package/lib/components/Overview/__tests__/Overview.test.d.ts +0 -1
- package/lib/components/Overview/__tests__/Overview.test.js +0 -59
- package/lib/components/PayloadSamples/__tests__/Example.test.d.ts +0 -1
- package/lib/components/PayloadSamples/__tests__/Example.test.js +0 -36
- package/lib/components/PayloadSamples/__tests__/ExampleValue.test.d.ts +0 -1
- package/lib/components/PayloadSamples/__tests__/ExampleValue.test.js +0 -197
- package/lib/components/PayloadSamples/__tests__/PayloadSamples.test.d.ts +0 -1
- package/lib/components/PayloadSamples/__tests__/PayloadSamples.test.js +0 -38
- package/lib/components/PropertyDetails/__tests__/Extensions.test.d.ts +0 -1
- package/lib/components/PropertyDetails/__tests__/Extensions.test.js +0 -21
- package/lib/components/PropertyDetails/__tests__/FieldDetail.test.d.ts +0 -1
- package/lib/components/PropertyDetails/__tests__/FieldDetail.test.js +0 -52
- package/lib/components/PropertyDetails/__tests__/FieldDetails.test.d.ts +0 -1
- package/lib/components/PropertyDetails/__tests__/FieldDetails.test.js +0 -191
- package/lib/components/PropertyDetails/__tests__/PropertyDetails.test.d.ts +0 -1
- package/lib/components/PropertyDetails/__tests__/PropertyDetails.test.js +0 -365
- package/lib/components/PropertyDetails/__tests__/cycleColorsByLevel.test.d.ts +0 -1
- package/lib/components/PropertyDetails/__tests__/cycleColorsByLevel.test.js +0 -23
- package/lib/components/RedoclyOpenAPIDocs/__tests__/AppProvider.test.d.ts +0 -1
- package/lib/components/RedoclyOpenAPIDocs/__tests__/AppProvider.test.js +0 -16
- package/lib/components/RedoclyOpenAPIDocs/__tests__/RedoclyOpenAPIDocs.test.d.ts +0 -1
- package/lib/components/RedoclyOpenAPIDocs/__tests__/RedoclyOpenAPIDocs.test.js +0 -104
- package/lib/components/RenderHook/__tests__/RenderHook.test.d.ts +0 -1
- package/lib/components/RenderHook/__tests__/RenderHook.test.js +0 -15
- package/lib/components/Replay/__tests__/utils.test.d.ts +0 -1
- package/lib/components/Replay/__tests__/utils.test.js +0 -526
- package/lib/components/Request/__tests__/RequestDetails.test.d.ts +0 -1
- package/lib/components/Request/__tests__/RequestDetails.test.js +0 -98
- package/lib/components/RequestSamples/__tests__/Example.test.d.ts +0 -1
- package/lib/components/RequestSamples/__tests__/Example.test.js +0 -384
- package/lib/components/RequestSamples/__tests__/RequestSamples.test.d.ts +0 -1
- package/lib/components/RequestSamples/__tests__/RequestSamples.test.js +0 -226
- package/lib/components/RequestSamples/__tests__/useCodeSamples.test.d.ts +0 -1
- package/lib/components/RequestSamples/__tests__/useCodeSamples.test.js +0 -64
- package/lib/components/ResponseSamples/__tests__/ResponseSamples.test.d.ts +0 -1
- package/lib/components/ResponseSamples/__tests__/ResponseSamples.test.js +0 -29
- package/lib/components/Responses/__tests__/OperationResponseList.test.d.ts +0 -1
- package/lib/components/Responses/__tests__/OperationResponseList.test.js +0 -89
- package/lib/components/Responses/__tests__/ResponseDetails.test.d.ts +0 -1
- package/lib/components/Responses/__tests__/ResponseDetails.test.js +0 -111
- package/lib/components/Responses/__tests__/ResponsesHeaders.test.d.ts +0 -1
- package/lib/components/Responses/__tests__/ResponsesHeaders.test.js +0 -26
- package/lib/components/Schema/__tests__/ArraySchema.test.d.ts +0 -1
- package/lib/components/Schema/__tests__/ArraySchema.test.js +0 -93
- package/lib/components/Schema/__tests__/ObjectSchema.test.d.ts +0 -1
- package/lib/components/Schema/__tests__/ObjectSchema.test.js +0 -115
- package/lib/components/Schema/__tests__/OneOfSchema.test.d.ts +0 -1
- package/lib/components/Schema/__tests__/OneOfSchema.test.js +0 -33
- package/lib/components/Schema/__tests__/Schema.test.d.ts +0 -1
- package/lib/components/Schema/__tests__/Schema.test.js +0 -67
- package/lib/components/Schema/__tests__/useOneOfLocationIdx.test.d.ts +0 -1
- package/lib/components/Schema/__tests__/useOneOfLocationIdx.test.js +0 -22
- package/lib/components/SchemaCatalogLink/__tests__/SchemaCatalogLink.test.d.ts +0 -1
- package/lib/components/SchemaCatalogLink/__tests__/SchemaCatalogLink.test.js +0 -95
- package/lib/components/Security/__tests__/Security.test.d.ts +0 -1
- package/lib/components/Security/__tests__/Security.test.js +0 -38
- package/lib/components/Security/__tests__/SecurityButton.test.d.ts +0 -1
- package/lib/components/Security/__tests__/SecurityButton.test.js +0 -92
- package/lib/components/Security/__tests__/SecurityModal.test.d.ts +0 -1
- package/lib/components/Security/__tests__/SecurityModal.test.js +0 -172
- package/lib/components/ServerList/__tests__/ServerList.test.d.ts +0 -1
- package/lib/components/ServerList/__tests__/ServerList.test.js +0 -83
- package/lib/components/Tabs/__tests__/Tabs.test.d.ts +0 -1
- package/lib/components/Tabs/__tests__/Tabs.test.js +0 -27
- package/lib/components/ViewNested/__tests__/ViewNested.test.d.ts +0 -1
- package/lib/components/ViewNested/__tests__/ViewNested.test.js +0 -42
- package/lib/components/__tests__/Samples/ExampleSwitch.test.d.ts +0 -1
- package/lib/components/__tests__/Samples/ExampleSwitch.test.js +0 -45
- package/lib/components/__tests__/Samples/use-example-key.test.d.ts +0 -1
- package/lib/components/__tests__/Samples/use-example-key.test.js +0 -28
- package/lib/components/__tests__/common/ClearButton.test.d.ts +0 -1
- package/lib/components/__tests__/common/ClearButton.test.js +0 -18
- package/lib/components/__tests__/common/Dropdown.test.d.ts +0 -1
- package/lib/components/__tests__/common/Dropdown.test.js +0 -52
- package/lib/components/__tests__/mocks/examples.d.ts +0 -4
- package/lib/components/__tests__/mocks/examples.js +0 -115
- package/lib/components/common/__tests__/Dropdown.test.d.ts +0 -1
- package/lib/components/common/__tests__/Dropdown.test.js +0 -129
- package/lib/components/common/__tests__/LinkToField.test.d.ts +0 -1
- package/lib/components/common/__tests__/LinkToField.test.js +0 -39
- package/lib/jotai/__tests__/app.test.d.ts +0 -1
- package/lib/jotai/__tests__/app.test.js +0 -53
- package/lib/models/__tests__/Callback.test.d.ts +0 -1
- package/lib/models/__tests__/Callback.test.js +0 -15
- package/lib/models/__tests__/FieldModel.test.d.ts +0 -1
- package/lib/models/__tests__/FieldModel.test.js +0 -117
- package/lib/models/__tests__/MediaContent.test.d.ts +0 -1
- package/lib/models/__tests__/MediaContent.test.js +0 -105
- package/lib/models/__tests__/Operation.test.d.ts +0 -1
- package/lib/models/__tests__/Operation.test.js +0 -459
- package/lib/models/__tests__/Response.test.d.ts +0 -1
- package/lib/models/__tests__/Response.test.js +0 -221
- package/lib/models/__tests__/Schema.circular.test.d.ts +0 -1
- package/lib/models/__tests__/Schema.circular.test.js +0 -694
- package/lib/models/__tests__/Schema.test.d.ts +0 -1
- package/lib/models/__tests__/Schema.test.js +0 -1395
- package/lib/models/__tests__/example.test.d.ts +0 -1
- package/lib/models/__tests__/example.test.js +0 -90
- package/lib/models/__tests__/group.test.d.ts +0 -1
- package/lib/models/__tests__/group.test.js +0 -52
- package/lib/models/__tests__/helpers.d.ts +0 -5
- package/lib/models/__tests__/helpers.js +0 -62
- package/lib/models/__tests__/request.test.d.ts +0 -1
- package/lib/models/__tests__/request.test.js +0 -119
- package/lib/services/__tests__/OpenAPIParser.test.d.ts +0 -1
- package/lib/services/__tests__/OpenAPIParser.test.js +0 -80
- package/lib/services/__tests__/check.test.d.ts +0 -1
- package/lib/services/__tests__/check.test.js +0 -22
- package/lib/services/__tests__/utils.test.d.ts +0 -1
- package/lib/services/__tests__/utils.test.js +0 -42
- package/lib/services/code-samples/__tests__/apply-environments.test.d.ts +0 -1
- package/lib/services/code-samples/__tests__/apply-environments.test.js +0 -64
- package/lib/services/code-samples/__tests__/build-code-samples.test.d.ts +0 -1
- package/lib/services/code-samples/__tests__/build-code-samples.test.js +0 -70
- package/lib/services/code-samples/__tests__/convertSampleToString.test.d.ts +0 -1
- package/lib/services/code-samples/__tests__/convertSampleToString.test.js +0 -116
- package/lib/services/code-samples/__tests__/generator-data-value.test.d.ts +0 -1
- package/lib/services/code-samples/__tests__/generator-data-value.test.js +0 -277
- package/lib/services/code-samples/__tests__/generator-serialized-value.test.d.ts +0 -1
- package/lib/services/code-samples/__tests__/generator-serialized-value.test.js +0 -258
- package/lib/services/code-samples/__tests__/generator-value.test.d.ts +0 -1
- package/lib/services/code-samples/__tests__/generator-value.test.js +0 -273
- package/lib/services/code-samples/__tests__/generator.test.d.ts +0 -249
- package/lib/services/code-samples/__tests__/generator.test.js +0 -1201
- package/lib/services/code-samples/__tests__/get-example-value-by-mime-type.test.d.ts +0 -1
- package/lib/services/code-samples/__tests__/get-example-value-by-mime-type.test.js +0 -31
- package/lib/services/code-samples/httpsnippet/__tests__/device-authorization.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/__tests__/device-authorization.test.js +0 -222
- package/lib/services/code-samples/httpsnippet/helpers/__tests__/code-helpers.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/helpers/__tests__/code-helpers.test.js +0 -129
- package/lib/services/code-samples/httpsnippet/helpers/__tests__/string-utility.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/helpers/__tests__/string-utility.test.js +0 -49
- package/lib/services/code-samples/httpsnippet/targets/csharp/__tests__/httpclient.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/csharp/__tests__/httpclient.test.js +0 -172
- package/lib/services/code-samples/httpsnippet/targets/csharpNewtonsoft/__tests__/httpclient.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/csharpNewtonsoft/__tests__/httpclient.test.js +0 -172
- package/lib/services/code-samples/httpsnippet/targets/go/__tests__/native.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/go/__tests__/native.test.js +0 -130
- package/lib/services/code-samples/httpsnippet/targets/java/__tests__/httpclient.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/java/__tests__/httpclient.test.js +0 -191
- package/lib/services/code-samples/httpsnippet/targets/java8/__tests__/apachehttp.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/java8/__tests__/apachehttp.test.js +0 -172
- package/lib/services/code-samples/httpsnippet/targets/javascript/__tests__/fetch.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/javascript/__tests__/fetch.test.js +0 -85
- package/lib/services/code-samples/httpsnippet/targets/node/__tests__/fetch.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/node/__tests__/fetch.test.js +0 -85
- package/lib/services/code-samples/httpsnippet/targets/php/__tests__/curl.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/php/__tests__/curl.test.js +0 -126
- package/lib/services/code-samples/httpsnippet/targets/python/__tests__/requests.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/python/__tests__/requests.test.js +0 -105
- package/lib/services/code-samples/httpsnippet/targets/r/__tests__/httr.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/r/__tests__/httr.test.js +0 -126
- package/lib/services/code-samples/httpsnippet/targets/ruby/__tests__/native.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/ruby/__tests__/native.test.js +0 -129
- package/lib/services/code-samples/httpsnippet/targets/shell/__tests__/curl.test.d.ts +0 -1
- package/lib/services/code-samples/httpsnippet/targets/shell/__tests__/curl.test.js +0 -129
- package/lib/services/config-options/__tests__/helpers.test.d.ts +0 -1
- package/lib/services/config-options/__tests__/helpers.test.js +0 -234
- package/lib/services/history/__tests__/helpers.test.d.ts +0 -1
- package/lib/services/history/__tests__/helpers.test.js +0 -19
- package/lib/services/menu/__tests__/buildNestedTagsItems.test.d.ts +0 -1
- package/lib/services/menu/__tests__/buildNestedTagsItems.test.js +0 -109
- package/lib/services/menu/__tests__/builder.test.d.ts +0 -1
- package/lib/services/menu/__tests__/builder.test.js +0 -307
- package/lib/services/menu/__tests__/operation.test.d.ts +0 -1
- package/lib/services/menu/__tests__/operation.test.js +0 -240
- package/lib/services/menu/__tests__/tags.test.d.ts +0 -1
- package/lib/services/menu/__tests__/tags.test.js +0 -71
- package/lib/telemetry/__tests__/RedocTelemetry.test.d.ts +0 -1
- package/lib/telemetry/__tests__/RedocTelemetry.test.js +0 -107
- package/lib/testProviders.d.ts +0 -6
- package/lib/testProviders.js +0 -14
- package/lib/utils/__tests__/areArraysEqual.test.d.ts +0 -1
- package/lib/utils/__tests__/areArraysEqual.test.js +0 -33
- package/lib/utils/__tests__/argValuesHelpers.d.ts +0 -1
- package/lib/utils/__tests__/argValuesHelpers.js +0 -56
- package/lib/utils/__tests__/calculateMaxLength.test.d.ts +0 -1
- package/lib/utils/__tests__/calculateMaxLength.test.js +0 -119
- package/lib/utils/__tests__/configure-helpers.test.d.ts +0 -1
- package/lib/utils/__tests__/configure-helpers.test.js +0 -356
- package/lib/utils/__tests__/convertSwagger2OpenAPI.test.d.ts +0 -1
- package/lib/utils/__tests__/convertSwagger2OpenAPI.test.js +0 -392
- package/lib/utils/__tests__/debounce.test.d.ts +0 -1
- package/lib/utils/__tests__/debounce.test.js +0 -54
- package/lib/utils/__tests__/debug.test.d.ts +0 -1
- package/lib/utils/__tests__/debug.test.js +0 -23
- package/lib/utils/__tests__/dom.test.d.ts +0 -1
- package/lib/utils/__tests__/dom.test.js +0 -108
- package/lib/utils/__tests__/getBreadcrumbs.test.d.ts +0 -1
- package/lib/utils/__tests__/getBreadcrumbs.test.js +0 -98
- package/lib/utils/__tests__/hasNestedFields.test.d.ts +0 -1
- package/lib/utils/__tests__/hasNestedFields.test.js +0 -147
- package/lib/utils/__tests__/helpers.test.d.ts +0 -1
- package/lib/utils/__tests__/helpers.test.js +0 -174
- package/lib/utils/__tests__/isMobile.test.d.ts +0 -1
- package/lib/utils/__tests__/isMobile.test.js +0 -28
- package/lib/utils/__tests__/loadAndBundleSpec.test.d.ts +0 -1
- package/lib/utils/__tests__/loadAndBundleSpec.test.js +0 -22
- package/lib/utils/__tests__/local-storage.test.d.ts +0 -1
- package/lib/utils/__tests__/local-storage.test.js +0 -48
- package/lib/utils/__tests__/object.test.d.ts +0 -1
- package/lib/utils/__tests__/object.test.js +0 -45
- package/lib/utils/__tests__/openapi.test.d.ts +0 -1
- package/lib/utils/__tests__/openapi.test.js +0 -1378
- package/lib/utils/__tests__/path.test.d.ts +0 -1
- package/lib/utils/__tests__/path.test.js +0 -16
- package/lib/utils/__tests__/queryString.test.d.ts +0 -1
- package/lib/utils/__tests__/queryString.test.js +0 -60
- package/lib/utils/__tests__/replaceVariables.test.d.ts +0 -1
- package/lib/utils/__tests__/replaceVariables.test.js +0 -46
- package/lib/utils/__tests__/simplifyAstStructure.test.d.ts +0 -1
- package/lib/utils/__tests__/simplifyAstStructure.test.js +0 -26
- package/lib/utils/__tests__/sort.test.d.ts +0 -1
- package/lib/utils/__tests__/sort.test.js +0 -16
- package/lib/utils/__tests__/string.test.d.ts +0 -1
- package/lib/utils/__tests__/string.test.js +0 -16
- package/lib/utils/__tests__/theme-helpers.test.d.ts +0 -1
- package/lib/utils/__tests__/theme-helpers.test.js +0 -24
- package/lib/utils/__tests__/url.test.d.ts +0 -1
- package/lib/utils/__tests__/url.test.js +0 -134
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as T,l as m,aB as v,aC as O,aD as I,aE as w,aF as A,aG as h,aH as C,aI as b,aJ as V}from"./redocly-openapi-docs.min.standalone-
|
|
1
|
+
import{p as T,l as m,aB as v,aC as O,aD as I,aE as w,aF as A,aG as h,aH as C,aI as b,aJ as V}from"./redocly-openapi-docs.min.standalone-D9becCWS.js";import{aK as B,aL as M,aM as J,aN as Y,aO as q,aP as W,aQ as H,aR as K,aS as Q,aT as X,aU as Z,aV as ee,aW as se,aX as ae,aY as te,aZ as re,a_ as ne,a$ as oe,b0 as ie,b1 as le,b2 as ce,b3 as me,b4 as ue,b5 as pe,b6 as ye,b7 as fe,b8 as de,b9 as ge,ba as he,bb as ve,bc as be,bd as Ee,be as Re,bf as Se,bg as Te,bh as Oe,bi as Ie,bj as we,bk as Ae,bl as Ce,bm as xe,bn as De,bo as Pe}from"./redocly-openapi-docs.min.standalone-D9becCWS.js";import{g as x,t as D,A as je,c as E,l as R,S as ke,R as Ne,C as Fe}from"./redocly-openapi-docs.min.lint-PvmGrAK3.js";import{a as ze,b as _e,d as $e,e as Le,f as Ge,h as Ue,i as Ve,j as Be,k as Me,m as Je,n as Ye,o as qe,p as We,q as He,r as Ke,s as Qe,u as Xe,v as Ze,w as es,x as ss,y as as,z as ts,B as rs,s as ns,D as os}from"./redocly-openapi-docs.min.lint-PvmGrAK3.js";function is(e){return(T.extname(e)===".yaml"||T.extname(e)===".yml")&&!1}function ls(e){return m(e)&&!v(e)}async function cs(e){return new Promise(s=>setTimeout(s,e))}const S="type",P=["api-description","api-operation","data-schema"];function j(e,s){const{ctx:a}=x("EntityFileDefault",s),{ctx:t,discriminatorResolver:r}=x("EntityFile",e);return{entityTypes:{...a,...t,EntityFileArray:{properties:{},items:n=>{if(m(n)){const i=n[S];if(!i)return"Entity";const o=r?.(n,i);if(o&&typeof o=="string")return o}return"Entity"}}},discriminatorResolver:r}}const ms=e=>({ExternalDocs:{leave(){e.externalDocs.total++}},ref:{enter(s){e.refs.items.add(s.$ref)}},Tag:{leave(s){e.tags.items.add(s.name)}},Link:{leave(s){e.links.items.add(s.operationId)}},WebhooksMap:{Operation:{leave(s){if(e.webhooks.total++,s.tags)for(const a of s.tags)e.tags.items.add(a)}}},Paths:{PathItem:{leave(){e.pathItems.total++},Operation:{leave(s){if(e.operations.total++,s.tags)for(const a of s.tags)e.tags.items.add(a)}},Parameter:{leave(s){e.parameters.items.add(s.name)}}}},NamedSchemas:{Schema:{leave(){e.schemas.total++}}},Root:{leave(){e.parameters.total=e.parameters.items.size,e.refs.total=e.refs.items.size,e.links.total=e.links.items.size,e.tags.total=e.tags.items.size}}}),us=e=>({ExternalDocs:{leave(){e.externalDocs.total++}},ref:{enter(s){e.refs.items.add(s.$ref)}},Tag:{leave(s){e.tags.items.add(s.name)}},ChannelMap:{Channel:{leave(){e.channels.total++},Operation:{leave(s){if(e.operations.total++,s.tags)for(const a of s.tags)e.tags.items.add(a)}},Parameter:{leave(s){s.name&&e.parameters.items.add(s.name)}}}},NamedSchemas:{Schema:{leave(){e.schemas.total++}}},Root:{leave(){e.parameters.total=e.parameters.items.size,e.refs.total=e.refs.items.size,e.tags.total=e.tags.items.size}}}),ps=e=>({ExternalDocs:{leave(){e.externalDocs.total++}},ref:{enter(s){e.refs.items.add(s.$ref)}},Tag:{leave(s){e.tags.items.add(s.name)}},NamedChannels:{Channel:{leave(){e.channels.total++},Parameter:{leave(s){s.name&&e.parameters.items.add(s.name)}}}},NamedOperations:{Operation:{leave(s){if(e.operations.total++,s.tags)for(const a of s.tags)e.tags.items.add(a)}}},NamedSchemas:{Schema:{leave(){e.schemas.total++}}},Root:{leave(){e.parameters.total=e.parameters.items.size,e.refs.total=e.refs.items.size,e.tags.total=e.tags.items.size}}}),ys=/^[a-z0-9]+(?:-[a-z0-9]+)*$/,k=2,N=150,fs=()=>({any(e,{report:s,location:a}){if(m(e)&&"key"in e){const t=e.key;if(typeof t!="string"){s({message:"Entity `key` must be a string.",location:a.child(["key"])});return}t.length<k&&s({message:`Entity 'key' must be at least ${k} characters long.`,location:a.child(["key"])}),t.length>N&&s({message:`Entity 'key' must not exceed ${N} characters.`,location:a.child(["key"])}),ys.test(t)||s({message:"Entity `key` must contain only lowercase letters, numbers, and hyphens, and cannot start or end with a hyphen.",location:a.child(["key"])})}}});function F(e,s){const a=s.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join("")+e;return Object.values(D).includes(a)?a:e}function ds(e,s){const a={};for(const[t,r]of Object.entries(s))if(z(t,r)){if(r.severity==="off")continue;a[t]={...bs(e,t,r)}}else a[t]=r;return a}function gs(e){const s={},a={};for(const[t,r]of Object.entries(e))if(z(t,r)){const n=r;vs(n)?s[t]=n:a[t]=n}else a[t]=r;return{entityRules:s,apiRules:a}}function hs(e,s,a){if(!m(a.parsed)||!m(a.parsed.components))return null;const t=a.parsed.components,r="schemas"in t?t.schemas:void 0;if(!r||!(e in r))return null;const n=r[e];try{const i=JSON.parse(s);if(O(n,i))return n}catch{return null}return null}function z(e,s){return e.startsWith("rule/")&&m(s)}function vs(e){return Object.values(D).some(s=>e.subject.type===s)}function bs(e,s,a){const t=F(a.subject.type,e),r=a.where?.map(n=>({...n,subject:{...n.subject,type:F(n.subject.type,e)}}));return{assertionId:s,subject:{...a.subject,type:t},assertions:a.assertions,...r&&{where:r},...a.message&&{message:a.message},...a.severity&&{severity:a.severity}}}async function _(e){const{document:s,entitySchema:a,entityDefaultSchema:t,severity:r,externalRefResolver:n=new h,assertionConfig:i={}}=e,o={problems:[],specVersion:"entity",visitorsData:{}},{entityTypes:u,discriminatorResolver:p}=j(a,t),l=I(u);let c=l.Entity;if(Array.isArray(s.parsed))c=l.EntityFileArray;else if(m(s.parsed)){const d=s.parsed[S];if(!d)c=l.Entity;else{const g=p?.(s.parsed,d);g&&typeof g=="string"&&l[g]&&(c=l[g])}}const y=je(i),f=Array.isArray(y)?y.map(d=>({severity:r||"error",ruleId:"entity assertions",visitor:d})):[{severity:r||"error",ruleId:"entity assertions",visitor:y}],L=[{severity:r||"error",ruleId:"entity struct",visitor:ke()},{severity:r||"error",ruleId:"entity no-unresolved-refs",visitor:V()},{severity:r||"error",ruleId:"entity key-valid",visitor:fs()},...f],G=w(L,l),U=await A({rootDocument:s,rootType:c,externalRefResolver:n});return C({document:s,rootType:c,normalizedVisitors:G,resolvedRefMap:U,ctx:o}),o.problems}async function Es(e,s,a){if(!s.rules)throw new Error(`Scorecard level "${s.name}" has no rules defined.`);const t=new h,r=b(JSON.stringify(e,null,2),"entity"),n=r.parsed[S],i=ds(n||"unknown",s.rules),{entityRules:o,apiRules:u}=gs(i),p=await _({document:r,entitySchema:Fe,entityDefaultSchema:Ne,externalRefResolver:t,assertionConfig:o});if(P.includes(e.type)){if(Object.keys(u).length===0)return p;if(!a)throw new Error(`Document is required for entity type "${e.type}". Provide the source API document to lint API rules.`);if(e.type==="data-schema"&&e.metadata?.schema){Object.values(u).forEach(f=>{if(m(f)&&m(f.subject)&&f.subject.type!=="Schema")throw new Error(`API rules for "data-schema" entity must target Schema subject, but found "${f.subject.type}".`)});const c=hs(e.title,e.metadata.schema,a);if(!c)throw new Error(`Schema "${e.title}" not found in the document. Ensure the schema exists in components.schemas.`);const y=await $({schema:c,schemaKey:e.title,config:await E({rules:u}),specType:e.metadata.specType,sourceDocument:a,externalRefResolver:t});return[...p,...y]}const l=await R({document:a,externalRefResolver:t,config:await E({rules:u})});return[...p,...l]}else if(!v(u))throw new Error(`API rules are not supported for entity type "${e.type}". Only ${P.join(", ")} support API rules.`);return p}async function $(e){const{schema:s,schemaKey:a,config:t,sourceDocument:r,specType:n,externalRefResolver:i=new h(t.resolve)}=e,o=r.parsed,u=o[n],p=o.info,l=b(JSON.stringify({[n]:u,info:p,components:{schemas:{[a]:s}}},null,2),r?.source.absoluteRef||`schema:${a}`);return(await R({document:l,config:t,externalRefResolver:i})).filter(c=>c.location.some(y=>y.pointer?.includes(`/components/schemas/${a}`)))}class Rs extends Error{}export{B as Arazzo1Types,M as Arazzo1_1Types,J as AsyncApi2Types,Y as AsyncApi3Types,h as BaseResolver,q as CONFIG_BUNDLER_VISITOR_ID,W as CONFIG_FILE_NAME,H as Config,ze as ConfigTypes,_e as ConfigValidationError,K as DEFAULT_CONFIG,Q as DEFAULT_PROJECT_PLUGIN_PATHS,Rs as HandledError,X as IGNORE_BANNER,Z as IGNORE_FILE,ee as Oas2Types,se as Oas3Types,ae as Oas3_1Types,te as Oas3_2Types,re as OpenRpcTypes,ne as Overlay1Types,oe as PLUGINS_COLLECTOR_VISITOR_ID,ie as ResolveError,le as Source,us as StatsAsync2,ps as StatsAsync3,ms as StatsOAS,ce as YamlParseError,$e as bundle,me as bundleDocument,Le as bundleFromString,Ge as clearPluginsCache,E as createConfig,Ue as createConfigTypes,j as createEntityTypes,O as dequal,ue as detectSpec,is as doesYamlFileExist,pe as escapePointerFragment,Ve as findConfig,Be as formatProblems,Me as getAstNodeByPointer,Je as getCodeframe,ye as getDir,Ye as getLineColLocation,fe as getMajorSpecVersion,qe as getPluginCacheVersion,We as getTotals,de as getTypes,ge as isAbsoluteUrl,he as isBrowser,v as isEmptyObject,ve as isGraphqlRef,be as isMappingRef,He as isNotEmptyArray,ls as isNotEmptyObject,m as isPlainObject,Ee as isRef,Re as isString,Se as isSupportedExtension,Te as isTruthy,Ke as keysOf,Qe as lint,Xe as lintConfig,R as lintDocument,_ as lintEntityFile,Es as lintEntityWithScorecardLevel,Ze as lintFromString,$ as lintSchema,es as loadConfig,ss as loadIgnoreConfig,as as logger,b as makeDocumentFromString,Oe as mapTypeToComponent,I as normalizeTypes,w as normalizeVisitors,Ie as parseYaml,cs as pause,ts as pluralize,we as readFileFromUrl,Ae as regexFromString,A as resolveDocument,Ce as resolvePath,rs as resolvePlugins,xe as slash,De as stringifyYaml,Pe as unescapePointerFragment,ns as validate,C as walkDocument,os as xmlEscape};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as c}from"./redocly-openapi-docs.min.SemanticSearchService-
|
|
1
|
+
import{g as c}from"./redocly-openapi-docs.min.SemanticSearchService-DbpnWseN.js";import{S as u,e as S,a as m,b as h}from"./redocly-openapi-docs.min.SemanticSearchService-DbpnWseN.js";import{r}from"./redocly-openapi-docs.min.standalone-D9becCWS.js";function f(){const[s,a]=r.useState(!1),[n,t]=r.useState(null);return{search:r.useCallback(async(o,i=10)=>{a(!0),t(null);try{return await c().search(o,i)}catch(e){const l=e instanceof Error?e:new Error(String(e));return t(l),[]}finally{a(!1)}},[]),isSearching:s,error:n}}export{u as SemanticSearchService,S as extractAllDocuments,m as extractApiDocuments,h as extractCollectionDocuments,c as getSemanticSearchService,f as useSemanticSearch};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bO as a,bP as s,bQ as e,bR as t,bS as i,bT as r,bU as b}from"./redocly-openapi-docs.min.standalone-
|
|
1
|
+
import{bO as a,bP as s,bQ as e,bR as t,bS as i,bT as r,bU as b}from"./redocly-openapi-docs.min.standalone-D9becCWS.js";export{a as hydrate,s as init,e as revision,t as setParameterValue,i as setSecurityDetails,r as setSecurityDetailsVariants,b as version};
|
package/dist/{redocly-openapi-docs.min.lint-2YpbCz3r.js → redocly-openapi-docs.min.lint-PvmGrAK3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as Vr,bq as _n,l as xe,br as Jh,b8 as En,bs as ic,b9 as at,ao as cc,bt as Yh,bu as Wh,aD as $a,bd as Ke,aB as lc,p as We,bi as Hh,bv as Xh,bw as Qh,bx as Zh,be as Vt,bk as ey,bg as Pn,by as vr,bz as uc,bA as pc,bB as _a,bC as Fr,bD as Qt,bE as ty,bF as ry,aJ as Zt,b4 as Sn,b5 as ny,bf as oy,bG as sy,aE as zr,aO as dc,bH as ay,a$ as iy,aG as ir,b3 as fc,aI as Ea,aH as In,bI as xn,aP as mc,aR as cy,b1 as ly,aF as Tn,bJ as uy,aS as py,aQ as hc,b6 as dy,bl as yc,aU as gc,bK as fy,bL as my,bM as vc,bb as hy,b7 as yy,bN as bc}from"./redocly-openapi-docs.min.standalone-BPCdJgtH.js";function gy(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function Ur(e){return Array.isArray(e)&&e.length>0}function Pa(e){return e?Object.keys(e):[]}var Sa={exports:{}},vy=Sa.exports,wc;function by(){return wc||(wc=1,(function(e,t){(function(r,n){typeof gy=="function"?e.exports=n():r.pluralize=n()})(vy,function(){var r=[],n=[],o={},s={},a={};function c(S){return typeof S=="string"?new RegExp("^"+S+"$","i"):S}function i(S,b){return S===b?b:S===S.toLowerCase()?b.toLowerCase():S===S.toUpperCase()?b.toUpperCase():S[0]===S[0].toUpperCase()?b.charAt(0).toUpperCase()+b.substr(1).toLowerCase():b.toLowerCase()}function l(S,b){return S.replace(/\$(\d{1,2})/g,function($,y){return b[y]||""})}function u(S,b){return S.replace(b[0],function($,y){var d=l(b[1],arguments);return i($===""?S[y-1]:$,d)})}function f(S,b,$){if(!S.length||o.hasOwnProperty(S))return b;for(var y=$.length;y--;){var d=$[y];if(d[0].test(b))return u(b,d)}return b}function _(S,b,$){return function(y){var d=y.toLowerCase();return b.hasOwnProperty(d)?i(y,d):S.hasOwnProperty(d)?i(y,S[d]):f(d,y,$)}}function m(S,b,$,y){return function(d){var P=d.toLowerCase();return b.hasOwnProperty(P)?!0:S.hasOwnProperty(P)?!1:f(P,P,$)===P}}function w(S,b,$){var y=b===1?w.singular(S):w.plural(S);return($?b+" ":"")+y}return w.plural=_(a,s,r),w.isPlural=m(a,s,r),w.singular=_(s,a,n),w.isSingular=m(s,a,n),w.addPluralRule=function(S,b){r.push([c(S),b])},w.addSingularRule=function(S,b){n.push([c(S),b])},w.addUncountableRule=function(S){if(typeof S=="string"){o[S.toLowerCase()]=!0;return}w.addPluralRule(S,"$0"),w.addSingularRule(S,"$0")},w.addIrregularRule=function(S,b){b=b.toLowerCase(),S=S.toLowerCase(),a[S]=b,s[b]=S},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(S){return w.addIrregularRule(S[0],S[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(S){return w.addPluralRule(S[0],S[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(S){return w.addSingularRule(S[0],S[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(w.addUncountableRule),w})})(Sa)),Sa.exports}var wy=by();const $c=Vr(wy);function $y(e,t,r){return e.split(" ").map(n=>$c(n,t,r)).join(" ")}var _c={hide:{type:"boolean"},component:{type:"string",enum:["radio","checkbox"]},label:{type:"string"},items:{type:"array",items:{type:"string"}}},Br={type:"object",properties:_c,additionalProperties:!1},_y={type:"object",properties:{hide:{type:"boolean"},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1},Gr={type:"object",properties:{hide:{type:"boolean"},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"]},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"]},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:{..._c,like:Br,dislike:Br,satisfied:Br,neutral:Br,dissatisfied:Br},additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean"},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:_y},additionalProperties:!1}},additionalProperties:!1},Ey={type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string"},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},additionalProperties:!1},Ia={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},Ec={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:Gr,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string"},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:Ia,onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:Ey,ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"},showSchemaCatalogLinks:{type:"boolean"}},additionalProperties:!1},br={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},Py={type:"object",properties:{name:{type:"string"},items:br,queries:br,mutations:br,subscriptions:br,types:br,directives:br},required:["name"],additionalProperties:!1},Sy={properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:Py},otherItemsGroupName:{type:"string"}}},Iy={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{type:"string",format:"email"}},additionalProperties:!1},xy={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},identifier:{type:"string"}},additionalProperties:!1},Ty={type:"object",properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri"},contact:Iy,license:xy},additionalProperties:!1},Nn={type:"object",properties:{menu:{type:"object",properties:{...Sy.properties},additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:Ia,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:Gr,layout:{type:"string",enum:["stacked","three-panel"]},showBuiltInScalars:{type:"boolean"},showBuiltInDirectives:{type:"boolean"},excludeFromSearch:{type:"boolean"},info:Ty},additionalProperties:!1},Ny={type:"object",properties:{downloadUrls:Ia,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},excludeFromSearch:{type:"boolean"},samplesMaxInlineArgs:{type:"number"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},feedback:Gr,layout:{type:"string",enum:["stacked","three-panel"]}},additionalProperties:!1},ky={type:"object",properties:{label:{type:"string"},lang:{type:"string",enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},Oy={type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},Pc={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},jy={type:"object",properties:{beforeInfo:{type:"array",items:Pc},end:{type:"array",items:Pc}}},cr={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},kn={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},Ay={type:"object",properties:Cn(cr.properties,["light","dark"])},Cy={type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},Ry={type:"object",properties:{error:kn,info:kn,redirect:kn,success:kn}},Dy={type:"object",properties:wr(cr.properties,["dark"])},qy={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},Ly={type:"object",properties:{accent:cr,border:Ay,error:cr,http:Cy,primary:cr,responses:Ry,secondary:Dy,success:cr,text:qy,tonalOffset:{type:"number"},warning:cr}},On={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},My={type:"object",properties:{small:On,medium:On,large:On,xlarge:On}},Dt={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},Vy={type:"object",properties:{...wr(Dt.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:My}},Sc={type:"object",properties:Cn(Dt.properties,["fontSize","lineHeight"])},Fy={type:"object",properties:{medium:Sc,small:Sc}},zy={type:"object",properties:{...wr(Dt.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},color:{type:"string"},sizes:Fy}},Uy={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},By={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},Ic={type:"object",properties:{fullWidth:{type:"boolean"}}},Gy={type:"object",properties:{buttons:Vy,httpBadges:zy,layoutControls:Uy,panels:By,tryItButton:Ic,tryItSendButton:Ic}},jn={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},Ky={type:"object",properties:{maxWidth:jn}},Jy={type:"object",properties:{maxWidth:jn,middlePanelMaxWidth:jn}},Yy={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:Ky,"three-panel":Jy}},xc={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},Wy={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:xc,defaultDetailsWidth:{type:"string"},examples:xc,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},Tc={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},Hy={type:"object",properties:Cn(Tc.properties,["textTransform"])},Xy={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},Qy={type:"object",properties:{...wr(Dt.properties,["fontWeight","lineHeight"]),activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:Tc,level1items:Hy,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Xy,textColor:{type:"string"},width:{type:"string"}}},An={type:"object",properties:{...Dt.properties,color:{type:"string"},transform:{type:"string"}}},Zy={type:"object",properties:{...Dt.properties,backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}}},eg={type:"object",properties:wr(Dt.properties,["fontSize"])},tg={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},rg={type:"object",properties:{code:Zy,fieldName:Dt,...Cn(Dt.properties,["fontSize","fontFamily"]),fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:An,heading2:An,heading3:An,headings:eg,lineHeight:{type:"string"},links:tg,optimizeSpeed:{type:"boolean"},rightPanelHeading:An,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}}},ng={type:"object",properties:{color:{type:"string"},...wr(Dt.properties,["fontWeight"])}},og={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:ng}},sg={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},ag={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},Nc={type:"object",properties:{custom:{type:"string"}}},ig={type:"object",properties:{DownloadButton:Nc,NextSectionButton:Nc}},cg={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},lg={type:"object",properties:{borderRadius:{type:"string"}}},ug={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},pg={type:"object",properties:{breakpoints:jn,codeBlock:og,colors:Ly,components:Gy,layout:Yy,logo:sg,fab:ag,overrides:ig,rightPanel:cg,schema:Wy,shape:lg,sidebar:Qy,spacing:ug,typography:rg,links:{type:"object",properties:{color:{type:"string"}}},codeSample:{type:"object",properties:{backgroundColor:{type:"string"}}}}},dg={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:ky}},required:["languages"]},fg={properties:{theme:pg,ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:dg,generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:Oy,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{type:"string",enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:jy,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}}};function Cn(e,t){return Object.fromEntries(t.filter(r=>r in e).map(r=>[r,e[r]]))}function wr(e,t){return Object.fromEntries(Object.entries(e).filter(([r])=>!t.includes(r)))}var yt={nodeTypeName:void 0,type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]},description:"The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.",documentationLink:"https://redocly.com/docs/cli/configuration/reference/rules#rules"},mg={rules:yt,oas2Rules:yt,oas3_0Rules:yt,oas3_1Rules:yt,oas3_2Rules:yt,async2Rules:yt,async3Rules:yt,arazzo1Rules:yt,arazzo1_1Rules:yt,overlay1Rules:yt,openrpc1Rules:yt,graphqlRules:yt},wt={nodeTypeName:void 0,type:"object",additionalProperties:!0},hg={preprocessors:wt,oas2Preprocessors:wt,oas3_0Preprocessors:wt,oas3_1Preprocessors:wt,oas3_2Preprocessors:wt,async2Preprocessors:wt,async3Preprocessors:wt,arazzo1Preprocessors:wt,arazzo1_1Preprocessors:wt,overlay1Preprocessors:wt,openrpc1Preprocessors:wt},$t={nodeTypeName:void 0,type:"object",additionalProperties:!0},yg={decorators:$t,oas2Decorators:$t,oas3_0Decorators:$t,oas3_1Decorators:$t,oas3_2Decorators:$t,async2Decorators:$t,async3Decorators:$t,arazzo1Decorators:$t,arazzo1_1Decorators:$t,overlay1Decorators:$t,openrpc1Decorators:$t},gg={nodeTypeName:void 0,type:"array",items:{type:"string"},description:"Use extends to inherit rules and their configurations from other rulesets.",documentationLink:"https://redocly.com/docs/cli/configuration/reference/extends"},Rn={...mg,...yg,...hg,extends:gg},kc=e=>e,it=kc({RedirectSource:"RedirectSource",Redirects:"Redirects",ScorecardClassic:"ScorecardClassic",ScorecardClassicLevelList:"ScorecardClassicLevelList",ScorecardClassicLevel:"ScorecardClassicLevel",ScorecardClassicTargetList:"ScorecardClassicTargetList",ScorecardClassicTarget:"ScorecardClassicTarget",ScorecardClassicTargetWhere:"ScorecardClassicTargetWhere",ScorecardClassicTargetWhereMetadata:"ScorecardClassicTargetWhereMetadata",ScorecardClassicTeamMetadataProperty:"ScorecardClassicTeamMetadataProperty"}),Ze={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},Oc={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},xa={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean"},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"]},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}},rbac:{type:"object",additionalProperties:{type:"string"}},additionalProps:{type:"object",additionalProperties:!0}}},Ta={type:"array",items:{...xa,properties:{...xa.properties,items:{type:"array",items:xa}}}},vg={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},bg={type:"object",properties:{hide:{type:"boolean"},suggestions:{type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},wg={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}},$g={type:"object",properties:{facets:wg,...Ze.properties},additionalProperties:!1},_g={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},jc={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},Ac={type:"object",properties:{items:Ta,...Ze.properties},additionalProperties:!1},Cc={type:"object",additionalProperties:vg},Rc={type:"object",properties:{items:Ta,copyrightText:{type:"string"},logo:Ze,...Ze.properties},additionalProperties:!1},Dc={type:"object",properties:{separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"]},...Ze.properties},additionalProperties:!1},qc={type:"object",properties:{head:{type:"array",items:Oc},body:{type:"array",items:Oc}},additionalProperties:!1},Lc={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}},Mc={type:"object",properties:{engine:{type:"string",enum:["flexsearch","typesense"]},ai:bg,filters:$g,placement:{type:"string"},shortcuts:{type:"array",items:{type:"string"}},suggestedPages:{type:"array",items:_g},...Ze.properties},additionalProperties:!1},Vc={type:"object",properties:{hide:{type:"boolean"},suggestions:{type:"array",items:{type:"string"}},prompt:{type:"string"},trigger:{type:"object",properties:{hide:{type:"boolean"},inputType:{type:"string",enum:["button","icon"]},inputIcon:{type:"string",enum:["chat","sparkles","redocly"]}},additionalProperties:!1}},additionalProperties:!1},Fc={type:"object",properties:{ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"}},...Ze.properties},additionalProperties:!1},zc={type:"string",enum:["slate","pink","coral","amber","jade","cyan","ocean","indigo","iris"]},Eg={type:"object",properties:{...Ze.properties,items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude","docs-mcp-cursor","docs-mcp-vscode"]}}},additionalProperties:!1},Uc={type:"object",properties:{nextButton:{type:"object",properties:{text:{type:"string"},...Ze.properties},additionalProperties:!1},previousButton:{type:"object",properties:{text:{type:"string"},...Ze.properties},additionalProperties:!1},actions:Eg},additionalProperties:!1},Bc={type:"object",properties:{elementFormat:{type:"string"},copy:{type:"object",properties:{...Ze.properties},additionalProperties:!1},report:{type:"object",properties:{tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"},...Ze.properties},additionalProperties:!1},expand:{type:"object",properties:{...Ze.properties},additionalProperties:!1},collapse:{type:"object",properties:{...Ze.properties},additionalProperties:!1}},additionalProperties:!1},Gc={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"}},partialsFolders:{type:"array",items:{type:"string"}},lastUpdatedBlock:{type:"object",properties:{format:{type:"string",enum:["timeago","iso","long","short"]},locale:{type:"string"},...Ze.properties},additionalProperties:!1},toc:{type:"object",properties:{header:{type:"string"},depth:{type:"integer",minimum:1},...Ze.properties},additionalProperties:!1},editPage:{type:"object",properties:{baseUrl:{type:"string"},...Ze.properties},additionalProperties:!1},template:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1},Dn={...Ec,properties:{...Ec.properties,...fg.properties}},Pg={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},Sg={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},Ig={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},xg={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},Tg={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},Ng={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},kg={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{type:"object",additionalProperties:!0},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},Og={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]},jg={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:Og}},additionalProperties:!1,required:["trackingId"]},Kc={type:"object",properties:{adobe:Pg,amplitude:Sg,fullstory:Ig,heap:xg,rudderstack:Tg,segment:Ng,gtm:kg,ga:jg}},Jc={type:"object",properties:{items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0}},hideLoginButton:{type:"boolean"},...Ze.properties},additionalProperties:!1},Yc={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},Wc={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"},icon:{type:"string"}},additionalProperties:!1}}},additionalProperties:!1},Ag={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"]},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}},Cg={type:"object",additionalProperties:!0,required:["slug","items"],properties:{show:{type:"boolean"},slug:{type:"string"},filters:{type:"array",items:Ag},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:Ta,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}},qn={type:"object",patternProperties:{".*":Cg}},Ln={nodeTypeName:it.ScorecardClassic,description:"Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic",type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean"},teamMetadataProperty:{nodeTypeName:it.ScorecardClassicTeamMetadataProperty,description:"Provide custom team label and team metadata property.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object",type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{nodeTypeName:it.ScorecardClassicLevelList,description:"List of levels to score against.",type:"array",items:{nodeTypeName:it.ScorecardClassicLevel,documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#level-object",type:"object",required:["name"],properties:{name:{type:"string"},color:{type:"string"},...Rn},additionalProperties:!1}},targets:{nodeTypeName:it.ScorecardClassicTargetList,description:"Provide custom `minimumLevel` for specific targets.",type:"array",items:{nodeTypeName:it.ScorecardClassicTarget,type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{nodeTypeName:it.ScorecardClassicTargetWhere,description:"Specify which API descriptions to apply the `minimumLevel` to based on the metadata.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#where-object",type:"object",required:["metadata"],properties:{metadata:{nodeTypeName:it.ScorecardClassicTargetWhereMetadata,type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}},fromProjectUrl:{type:"string",format:"uri"}}},Rg={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1},Dg={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1},qg={type:"object",required:["property","title"],properties:{property:{type:"string"},hide:{type:"boolean"},label:{type:"string"},options:{type:"array",items:{type:"string"}},type:{type:"string",enum:["select","checkboxes","date-range"]},title:{type:"string"},titleTranslationKey:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1},Ft={type:"object",properties:{slug:{type:"string"},hide:{type:"boolean"},includes:{type:"array",items:Dg},excludes:{type:"array",items:Rg},filters:{type:"array",items:qg},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1},Lg={type:"object",properties:{type:{type:"string",enum:["string","number","boolean","array","object"]},description:{type:"string"},example:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array"},{type:"object"}]},enum:{type:"array",items:{type:"string"}},pattern:{type:"string"},format:{type:"string"},minimum:{type:"number"},maximum:{type:"number"},items:{type:"object"}},additionalProperties:!0},Mg={type:"object",required:["type","properties"],properties:{type:{type:"string",enum:["object"]},description:{type:"string"},properties:{type:"object",additionalProperties:Lg},required:{type:"array",items:{type:"string"}},additionalProperties:{type:"boolean"}},additionalProperties:!0},Vg={type:"object",required:["name","description","metadataSchema"],properties:{name:{type:"string",description:"Display name of the entity type"},description:{type:"string",description:"Description of the entity type"},metadataSchema:Mg,icon:{type:"object",properties:{src:{type:"string"},srcSet:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},Fg={type:"object",additionalProperties:Vg},Hc={type:"object",properties:{show:{type:"boolean"},entityTypes:Fg,catalogs:{type:"object",properties:{all:Ft,services:Ft,domains:Ft,teams:Ft,users:Ft,apiDescriptions:Ft,dataSchemas:Ft,apiOperations:Ft},additionalProperties:Ft}},additionalProperties:!1},Xc={type:"string",enum:["eq","in","gt","gte","lt","lte","contains","startsWith","endsWith","exists","isEmpty","between","matches","some","every","none"]},Na={type:"string",enum:["and","or"]},ka={type:"object",properties:{field:{type:"string"},operator:Xc,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]},match:{type:"array",items:{type:"object",properties:{field:{type:"string"},operator:Xc,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]}}}}}},zg={type:"object",properties:{operator:Na,conditions:{type:"array",items:ka}},required:["operator","conditions"],additionalProperties:!1},Qc={type:"array",items:{oneOf:[ka,{type:"object",properties:{operator:Na,conditions:{type:"array",items:{oneOf:[ka,zg]}}},required:["operator","conditions"],additionalProperties:!1}]}},Zc={type:"object",properties:{defined:{type:"boolean"},nonEmpty:{type:"boolean"},eq:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},gt:{type:"number"},gte:{type:"number"},lt:{type:"number"},lte:{type:"number"},const:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]}},additionalProperties:!1},Ug={type:"array",items:{type:"object",properties:{subject:{type:"object",properties:{type:{type:"string",enum:["Entity","EntityMetadata","EntityRelations","EntityRelation"]},property:{type:"string"}},required:["type","property"],additionalProperties:!1},assertions:Zc},required:["subject","assertions"],additionalProperties:!1}},Bg={type:"object",properties:{title:{type:"string"},subject:{type:"object",properties:{type:{type:"string",enum:["Entity","EntityMetadata","EntityRelations","EntityRelation"]},property:{type:"string"}},required:["type","property"],additionalProperties:!1},severity:{type:"string",enum:["error","warn","off"]},message:{type:"string"},assertions:Zc,where:Ug,weight:{type:"number"}},required:["subject","assertions"],additionalProperties:!1},Gg={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object",properties:{severity:{type:"string",enum:["error","warn","off"]},weight:{type:"number"}},additionalProperties:!0},Bg]}},Kg={type:"object",properties:{name:{type:"string"},extends:Rn.extends,rules:Gg},required:["name"],additionalProperties:!1},el={type:"object",properties:{event:{type:"string",enum:["runtime","manual"]}},required:["event"],additionalProperties:!1},Jg={oneOf:[el,{type:"array",items:el}]},Yg={type:"object",properties:{name:{type:"string"},key:{type:"string"},description:{type:"string"},entities:{oneOf:[Qc,{type:"object",properties:{operator:Na,conditions:Qc},required:["operator","conditions"],additionalProperties:!1}]},levels:{type:"array",items:Kg,minItems:1},trigger:Jg},required:["name","key","entities","levels"],additionalProperties:!1},tl={type:"array",items:Yg},Wg={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:jc,navbar:Ac,products:Cc,footer:Rc,sidebar:Dc,scripts:qc,links:Lc,feedback:Gr,search:Mc,aiAssistant:Vc,colorMode:Fc,palette:zc,navigation:Uc,codeSnippet:Bc,markdown:Gc,openapi:Dn,asyncapi:Ny,graphql:Nn,analytics:Kc,userMenu:Jc,versionPicker:Yc,breadcrumbs:Wc,catalog:qn,entitiesCatalog:Hc,catalogClassic:qn,scorecard:Ln,scorecardClassic:Ln,scorecards:tl},additionalProperties:!0},Hg=(e=>(e.OIDC="OIDC",e.SAML2="SAML2",e))(Hg||{}),Xg=(e=>(e.SERVICE_ACCOUNT="SERVICE_ACCOUNT",e.OAUTH2="OAUTH2",e))(Xg||{}),Qg=(e=>(e.STACKED="stacked",e.THREE_PANEL="three-panel",e))(Qg||{}),Zg="^[a-z0-9]+(?:-[a-z0-9]+)*$",rl="redocly",ev=[rl,"corporate","guest"],nl=["REDOCLY","CORPORATE","GUEST"],tv={type:"object",additionalProperties:{type:"string"}},rv={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},Mn={type:"string",enum:["error","warn","off"]},nv={type:"object",additionalProperties:!1,properties:{schemaCheck:Mn,statusCodeCheck:Mn,contentTypeCheck:Mn,successCriteriaCheck:Mn}},ov={type:"object",properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",enum:["1m","2m","5m","10m","15m","30m","1h","3h","6h","12h","1d","7d"]}},required:["event"],additionalProperties:!1},sv={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1},av={type:"object",properties:{warn:{type:"number"},error:{type:"number"}},additionalProperties:!1},iv={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},ignoreRespectMonitoring:{type:"boolean"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\/|\\.\\./)"},agent:{type:"string",enum:["respect"]},trigger:{oneOf:[ov,sv]},inputs:tv,servers:rv,severity:nv,slo:av},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1},cv={type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0},lv={type:"object",properties:{type:{type:"string",const:"OIDC"},title:{type:"string"},pkce:{type:"boolean"},configurationUrl:{type:"string",minLength:1},configuration:cv,clientId:{type:"string",minLength:1},clientSecret:{type:"string"},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},introspectEndpoint:{type:"string"},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},uv={type:"object",properties:{type:{type:"string",const:"SAML2"},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string"},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]},pv={oneOf:[lv,uv],discriminator:{propertyName:"type"}},dv={type:"object",additionalProperties:pv},ol={oneOf:[{type:"array",items:{type:"string",enum:nl},uniqueItems:!0},{type:"string",enum:nl}]},sl={type:"string",pattern:Zg,not:{enum:ev.filter(e=>e!==rl)}},al={oneOf:[{type:"array",items:sl,uniqueItems:!0},sl]},il={type:"boolean"},cl={type:"string",pattern:"^https?://.*"},ll={type:"string",pattern:"^https?://.*"},fv={type:"object",properties:{to:{type:"string"},type:{type:"number"}},additionalProperties:!1,nodeTypeName:it.RedirectSource,description:"Source is an absolute path that must start with a forward slash.",documentationLink:"https://redocly.com/docs/realm/config/redirects#sources-map"},mv={type:"object",additionalProperties:fv,nodeTypeName:it.Redirects,description:"Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.",documentationLink:"https://redocly.com/docs/realm/config/redirects"},hv={type:"string",enum:["info","success","warning","error"]},ze={type:"object",additionalProperties:{type:"string"}},yv={type:"object",properties:{trackingId:{type:"string"},content:{type:"string"},dismissible:{type:"boolean"},target:{type:"string"},color:hv,rbac:ze,startAt:{type:"string",format:"date-time"},endAt:{type:"string",format:"date-time"}},required:["content"],additionalProperties:!1},gv={type:"array",items:yv},vv={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:ze,openapi:Dn,graphql:Nn,theme:{type:"object",properties:{openapi:Dn,graphql:Nn},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},...Rn},required:["root"]},bv={type:"object",additionalProperties:!0},wv={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},$v={type:"object",properties:{hide:{type:"boolean"},title:{type:"string"},description:{type:"string"},details:{type:"object",properties:{path:{type:"string"},content:{type:"string"}},additionalProperties:!1},excludeFiles:{type:"array",items:{type:"string"}},sections:{type:"array",items:{type:"object",properties:{title:{type:"string"},description:{type:"string"},includeFiles:{type:"array",items:{type:"string"}},excludeFiles:{type:"array",items:{type:"string"}}},required:["title"],additionalProperties:!1}}},additionalProperties:!1},_v={type:"object",properties:{title:{type:"string"},projectTitle:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}},llmstxt:$v},additionalProperties:!1},Ev={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},Pv={type:"object",properties:{catalogs:{type:"object",properties:{all:ze,services:ze,domains:ze,teams:ze,users:ze,apiDescriptions:ze,dataSchemas:ze,apiOperations:ze},additionalProperties:ze},entitiesTypes:{type:"object",properties:{service:ze,domain:ze,team:ze,user:ze,apiDescription:ze,apiOperation:ze,dataSchema:ze},additionalProperties:ze},entitiesGroups:{type:"array",items:{type:"object",properties:{entities:{type:"array",items:{type:"string"}},config:ze},additionalProperties:!1}},entities:{type:"object",properties:{"**":ze},additionalProperties:ze}},additionalProperties:!1},ul={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:ze,cms:ze,reunite:ze,features:{type:"object",properties:{aiSearch:ze,mcp:ze},additionalProperties:!1},content:{type:"object",properties:{"**":ze},additionalProperties:ze},entitiesCatalog:Pv},additionalProperties:ze},Sv={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},Iv={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]},xv={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean"},stage:{type:"string"},auth:{oneOf:[Sv,Iv]}},additionalProperties:!1,required:["type","apiBaseUrl"]},Tv={type:"object",properties:{type:{type:"string",const:"OAUTH2"},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},Nv={type:"object",properties:{type:{type:"string",const:"SERVICE_ACCOUNT"},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},Oa={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean"},auth:{type:"object",oneOf:[Tv,Nv],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},kv={...Oa,properties:{...Oa.properties,type:{type:"string",const:"APIGEE_EDGE"}}},Ov={type:"object",oneOf:[Oa,kv,xv],discriminator:{propertyName:"type"}},jv={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:Ov}}},pl={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]},Av={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]},Cv={type:"object",properties:{hide:{type:"boolean"},docs:{type:"object",properties:{hide:{type:"boolean"},name:{type:"string"},ignore:{type:"array",items:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1},Rv={type:"object",properties:{hide:{type:"boolean"},excludeFiles:{type:"array",items:{type:"string"}}},additionalProperties:!1},Dv={type:"object",properties:{requiresLogin:il,logoutReturnUrl:cl,residency:ll,sso:ol,idps:al,rbac:ul},additionalProperties:!1,not:{required:["sso","idps"]},description:"Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both."},ja={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:mv,seo:_v,rbac:ul,apiFunctions:Ev,requiresLogin:il,responseHeaders:{type:"object",additionalProperties:{type:"array",items:Av}},mockServer:{type:"object",properties:{off:{type:"boolean"},position:{type:"string",enum:["first","last","replace","off"]},strictExamples:{type:"boolean"},errorIfForcedExampleNotFound:{type:"boolean"},description:{type:"string"}}},apis:{type:"object",additionalProperties:vv},...Rn,ssoDirect:dv,sso:ol,idps:al,residency:ll,logoutReturnUrl:cl,access:Dv,developerOnboarding:jv,removeAttribution:{type:"boolean"},i18n:pl,l10n:pl,metadata:bv,metadataGlobs:wv,ignore:{type:"array",items:{type:"string"}},theme:Wg,reunite:iv,logo:jc,navbar:Ac,products:Cc,footer:Rc,sidebar:Dc,scripts:qc,links:Lc,feedback:Gr,search:Mc,aiAssistant:Vc,colorMode:Fc,palette:zc,navigation:Uc,codeSnippet:Bc,markdown:Gc,openapi:Dn,graphql:Nn,analytics:Kc,userMenu:Jc,versionPicker:Yc,breadcrumbs:Wc,catalog:qn,entitiesCatalog:Hc,catalogClassic:qn,scorecard:Ln,scorecardClassic:Ln,scorecards:tl,mcp:Cv,skills:Rv,corsProxy:{type:"object",properties:{allowedTargets:{type:"array",items:{type:"string"}}},additionalProperties:!1},banner:gv},not:{required:["sso","idps"]},additionalProperties:!0},qv={...ja,additionalProperties:!1},Vn={$id:"root-redocly-config",...ja,properties:{plugins:{type:"array",items:{type:"string"}},...ja.properties,env:{type:"object",additionalProperties:qv}},additionalProperties:!1},Lv=["partOf","hasParts","creates","createdBy","owns","ownedBy","implements","implementedBy","dependsOn","dependencyOf","uses","usedBy","produces","consumes","linksTo","supersedes","supersededBy","compatibleWith","extends","extendedBy","relatesTo","hasMember","memberOf","triggers","triggeredBy","returns","returnedBy"],He=kc({UserEntity:"UserEntity",UserEntityMetadata:"UserEntityMetadata",ApiDescriptionEntity:"ApiDescriptionEntity",ApiDescriptionEntityMetadata:"ApiDescriptionEntityMetadata",ApiOperationEntity:"ApiOperationEntity",ApiOperationEntityMetadata:"ApiOperationEntityMetadata",DataSchemaEntity:"DataSchemaEntity",DataSchemaEntityMetadata:"DataSchemaEntityMetadata",ServiceEntity:"ServiceEntity",DomainEntity:"DomainEntity",TeamEntity:"TeamEntity",Entity:"Entity",EntityMetadata:"EntityMetadata",EntityLinkList:"EntityLinkList",EntityLink:"EntityLink",EntityRelation:"EntityRelation",EntityRelationList:"EntityRelationList",EntityContact:"EntityContact",EntitySlackContact:"EntitySlackContact",EntitySlackChannel:"EntitySlackChannel"}),Mv={type:"object",nodeTypeName:He.UserEntityMetadata,properties:{email:{type:"string",description:"Email of the user"}},required:["email"],additionalProperties:!0},Vv={type:"object",nodeTypeName:He.ApiDescriptionEntityMetadata,properties:{specType:{type:"string",enum:["jsonschema","openapi","asyncapi","avro","zod","graphql","protobuf","arazzo"],description:"Type of the API description"},descriptionFile:{type:"string",description:"Path to the file containing the API description"}},required:["specType","descriptionFile"],additionalProperties:!0},Fv={type:"object",nodeTypeName:He.ApiOperationEntityMetadata,properties:{method:{type:"string",enum:["GET","POST","PUT","DELETE","PATCH","MUTATION","QUERY","SUBSCRIBE","PUBLISH"],description:"HTTP method of the API operation"},path:{type:"string",description:"Path of the API operation"},payload:{type:"array",items:{type:"string",description:"Related dataSchema name"}},responses:{type:"array",items:{type:"string",description:"Related dataSchema name"}}},required:["method","path"],additionalProperties:!0},zv={type:"object",nodeTypeName:He.DataSchemaEntityMetadata,properties:{specType:{type:"string",enum:["jsonschema","openapi","asyncapi","avro","zod","graphql","protobuf","arazzo"],description:"Specification type of the data schema"},schema:{type:"string",description:"Inline schema of the data structure"},sdl:{type:"string",description:"SDL of the data structure"}},required:["specType"],additionalProperties:!0},Uv={type:"object",properties:{},nodeTypeName:He.EntityMetadata,additionalProperties:!0},Bv={type:"object",nodeTypeName:He.EntitySlackChannel,properties:{name:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["name"],additionalProperties:!1},Gv={type:"object",nodeTypeName:He.EntitySlackContact,properties:{channels:{type:"array",items:Bv}},required:["channels"],additionalProperties:!1},Kv={type:"object",nodeTypeName:He.EntityContact,properties:{slack:Gv},additionalProperties:!1},Jv={type:"object",nodeTypeName:He.EntityLink,properties:{label:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["label","url"],additionalProperties:!1},Yv={type:"object",nodeTypeName:He.EntityRelation,properties:{type:{type:"string",enum:Lv},key:{type:"string",minLength:2,maxLength:100},version:{type:"string"},revision:{type:"string"}},required:["type","key"],additionalProperties:!1},er={version:{type:"string"},key:{type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$",minLength:2,maxLength:150},type:{type:"string",enum:["user","data-schema","api-operation","api-description","service","domain","team"]},title:{type:"string",minLength:2,maxLength:200},summary:{type:"string",minLength:1,maxLength:500},tags:{type:"array",items:{type:"string",minLength:1,maxLength:50}},git:{type:"array",items:{type:"string"}},contact:Kv,links:{type:"array",nodeTypeName:He.EntityLinkList,items:Jv},relations:{type:"array",nodeTypeName:He.EntityRelationList,items:Yv},metadata:Uv},Wv={type:"object",discriminator:{propertyName:"type"},oneOf:[{type:"object",properties:{...er,type:{type:"string",const:"user"},metadata:Mv},required:["key","title","type","metadata"],additionalProperties:!1,nodeTypeName:He.UserEntity},{type:"object",nodeTypeName:He.ApiOperationEntity,properties:{...er,type:{type:"string",const:"api-operation"},metadata:Fv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:He.DataSchemaEntity,properties:{...er,type:{type:"string",const:"data-schema"},metadata:zv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:He.ApiDescriptionEntity,properties:{...er,type:{type:"string",const:"api-description"},metadata:Vv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:He.ServiceEntity,properties:{...er,type:{type:"string",const:"service"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:He.DomainEntity,properties:{...er,type:{type:"string",const:"domain"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:He.TeamEntity,properties:{...er,type:{type:"string",const:"team"}},required:["key","title","type"],additionalProperties:!1}]},Hv={type:"object",nodeTypeName:He.Entity,properties:{...er},required:["key","title","type"],additionalProperties:!1};const Xv=["Name","Document","OperationDefinition","VariableDefinition","SelectionSet","Field","Argument","FragmentSpread","InlineFragment","FragmentDefinition","Variable","IntValue","FloatValue","StringValue","BooleanValue","NullValue","EnumValue","ListValue","ObjectValue","ObjectField","Directive","NamedType","ListType","NonNullType","SchemaDefinition","OperationTypeDefinition","ScalarTypeDefinition","ObjectTypeDefinition","FieldDefinition","InputValueDefinition","InterfaceTypeDefinition","UnionTypeDefinition","EnumTypeDefinition","EnumValueDefinition","InputObjectTypeDefinition","DirectiveDefinition","SchemaExtension","DirectiveExtension","ScalarTypeExtension","ObjectTypeExtension","InterfaceTypeExtension","UnionTypeExtension","EnumTypeExtension","InputObjectTypeExtension","TypeCoordinate","MemberCoordinate","ArgumentCoordinate","DirectiveCoordinate","DirectiveArgumentCoordinate"];function Aa(e){return e.includes("/")}var Ca={exports:{}},dl={},zt={},lr={},fl={},ml={},hl={},yl;function Fn(){return yl||(yl=1,(function(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;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((d,P)=>`${d}${P}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((d,P)=>(P instanceof r&&(d[P.str]=(d[P.str]||0)+1),d),{})}}e._Code=n,e.nil=new n("");function o($,...y){const d=[$[0]];let P=0;for(;P<y.length;)c(d,y[P]),d.push($[++P]);return new n(d)}e._=o;const s=new n("+");function a($,...y){const d=[m($[0])];let P=0;for(;P<y.length;)d.push(s),c(d,y[P]),d.push(s,m($[++P]));return i(d),new n(d)}e.str=a;function c($,y){y instanceof n?$.push(...y._items):y instanceof r?$.push(y):$.push(f(y))}e.addCodeArg=c;function i($){let y=1;for(;y<$.length-1;){if($[y]===s){const d=l($[y-1],$[y+1]);if(d!==void 0){$.splice(y-1,3,d);continue}$[y++]="+"}y++}}function l($,y){if(y==='""')return $;if($==='""')return y;if(typeof $=="string")return y instanceof r||$[$.length-1]!=='"'?void 0:typeof y!="string"?`${$.slice(0,-1)}${y}"`:y[0]==='"'?$.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!($ instanceof r))return`"${$}${y.slice(1)}`}function u($,y){return y.emptyStr()?$:$.emptyStr()?y:a`${$}${y}`}e.strConcat=u;function f($){return typeof $=="number"||typeof $=="boolean"||$===null?$:m(Array.isArray($)?$.join(","):$)}function _($){return new n(m($))}e.stringify=_;function m($){return JSON.stringify($).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function w($){return typeof $=="string"&&e.IDENTIFIER.test($)?new n(`.${$}`):o`[${$}]`}e.getProperty=w;function S($){if(typeof $=="string"&&e.IDENTIFIER.test($))return new n(`${$}`);throw new Error(`CodeGen: invalid export name: ${$}, use explicit $id name mapping`)}e.getEsmExportName=S;function b($){return new n($.toString())}e.regexpCode=b})(hl)),hl}var gl={},vl;function bl(){return vl||(vl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Fn();class r extends Error{constructor(l){super(`CodeGen: "code" for ${l} not defined`),this.value=l.value}}var n;(function(i){i[i.Started=0]="Started",i[i.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:l,parent:u}={}){this._names={},this._prefixes=l,this._parent=u}toName(l){return l instanceof t.Name?l:this.name(l)}name(l){return new t.Name(this._newName(l))}_newName(l){const u=this._names[l]||this._nameGroup(l);return`${l}${u.index++}`}_nameGroup(l){var u,f;if(!((f=(u=this._parent)===null||u===void 0?void 0:u._prefixes)===null||f===void 0)&&f.has(l)||this._prefixes&&!this._prefixes.has(l))throw new Error(`CodeGen: prefix "${l}" is not allowed in this scope`);return this._names[l]={prefix:l,index:0}}}e.Scope=o;class s extends t.Name{constructor(l,u){super(u),this.prefix=l}setValue(l,{property:u,itemIndex:f}){this.value=l,this.scopePath=(0,t._)`.${new t.Name(u)}[${f}]`}}e.ValueScopeName=s;const a=(0,t._)`\n`;class c extends o{constructor(l){super(l),this._values={},this._scope=l.scope,this.opts={...l,_n:l.lines?a:t.nil}}get(){return this._scope}name(l){return new s(l,this._newName(l))}value(l,u){var f;if(u.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const _=this.toName(l),{prefix:m}=_,w=(f=u.key)!==null&&f!==void 0?f:u.ref;let S=this._values[m];if(S){const y=S.get(w);if(y)return y}else S=this._values[m]=new Map;S.set(w,_);const b=this._scope[m]||(this._scope[m]=[]),$=b.length;return b[$]=u.ref,_.setValue(u,{property:m,itemIndex:$}),_}getValue(l,u){const f=this._values[l];if(f)return f.get(u)}scopeRefs(l,u=this._values){return this._reduceValues(u,f=>{if(f.scopePath===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return(0,t._)`${l}${f.scopePath}`})}scopeCode(l=this._values,u,f){return this._reduceValues(l,_=>{if(_.value===void 0)throw new Error(`CodeGen: name "${_}" has no value`);return _.value.code},u,f)}_reduceValues(l,u,f={},_){let m=t.nil;for(const w in l){const S=l[w];if(!S)continue;const b=f[w]=f[w]||new Map;S.forEach($=>{if(b.has($))return;b.set($,n.Started);let y=u($);if(y){const d=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${d} ${$} = ${y};${this.opts._n}`}else if(y=_?.($))m=(0,t._)`${m}${y}${this.opts._n}`;else throw new r($);b.set($,n.Completed)})}return m}}e.ValueScope=c})(gl)),gl}var wl;function Ee(){return wl||(wl=1,(function(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;const t=Fn(),r=bl();var n=Fn();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var o=bl();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.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("+")};class s{optimizeNodes(){return this}optimizeNames(v,I){return this}}class a extends s{constructor(v,I,T){super(),this.varKind=v,this.name=I,this.rhs=T}render({es5:v,_n:I}){const T=v?r.varKinds.var:this.varKind,M=this.rhs===void 0?"":` = ${this.rhs}`;return`${T} ${this.name}${M};`+I}optimizeNames(v,I){if(v[this.name.str])return this.rhs&&(this.rhs=K(this.rhs,v,I)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class c extends s{constructor(v,I,T){super(),this.lhs=v,this.rhs=I,this.sideEffects=T}render({_n:v}){return`${this.lhs} = ${this.rhs};`+v}optimizeNames(v,I){if(!(this.lhs instanceof t.Name&&!v[this.lhs.str]&&!this.sideEffects))return this.rhs=K(this.rhs,v,I),this}get names(){const v=this.lhs instanceof t.Name?{}:{...this.lhs.names};return L(v,this.rhs)}}class i extends c{constructor(v,I,T,M){super(v,T,M),this.op=I}render({_n:v}){return`${this.lhs} ${this.op}= ${this.rhs};`+v}}class l extends s{constructor(v){super(),this.label=v,this.names={}}render({_n:v}){return`${this.label}:`+v}}class u extends s{constructor(v){super(),this.label=v,this.names={}}render({_n:v}){return`break${this.label?` ${this.label}`:""};`+v}}class f extends s{constructor(v){super(),this.error=v}render({_n:v}){return`throw ${this.error};`+v}get names(){return this.error.names}}class _ extends s{constructor(v){super(),this.code=v}render({_n:v}){return`${this.code};`+v}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(v,I){return this.code=K(this.code,v,I),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends s{constructor(v=[]){super(),this.nodes=v}render(v){return this.nodes.reduce((I,T)=>I+T.render(v),"")}optimizeNodes(){const{nodes:v}=this;let I=v.length;for(;I--;){const T=v[I].optimizeNodes();Array.isArray(T)?v.splice(I,1,...T):T?v[I]=T:v.splice(I,1)}return v.length>0?this:void 0}optimizeNames(v,I){const{nodes:T}=this;let M=T.length;for(;M--;){const U=T[M];U.optimizeNames(v,I)||(le(v,U.names),T.splice(M,1))}return T.length>0?this:void 0}get names(){return this.nodes.reduce((v,I)=>F(v,I.names),{})}}class w extends m{render(v){return"{"+v._n+super.render(v)+"}"+v._n}}class S extends m{}class b extends w{}b.kind="else";class $ extends w{constructor(v,I){super(I),this.condition=v}render(v){let I=`if(${this.condition})`+super.render(v);return this.else&&(I+="else "+this.else.render(v)),I}optimizeNodes(){super.optimizeNodes();const v=this.condition;if(v===!0)return this.nodes;let I=this.else;if(I){const T=I.optimizeNodes();I=this.else=Array.isArray(T)?new b(T):T}if(I)return v===!1?I instanceof $?I:I.nodes:this.nodes.length?this:new $(pe(v),I instanceof $?[I]:I.nodes);if(!(v===!1||!this.nodes.length))return this}optimizeNames(v,I){var T;if(this.else=(T=this.else)===null||T===void 0?void 0:T.optimizeNames(v,I),!!(super.optimizeNames(v,I)||this.else))return this.condition=K(this.condition,v,I),this}get names(){const v=super.names;return L(v,this.condition),this.else&&F(v,this.else.names),v}}$.kind="if";class y extends w{}y.kind="for";class d extends y{constructor(v){super(),this.iteration=v}render(v){return`for(${this.iteration})`+super.render(v)}optimizeNames(v,I){if(super.optimizeNames(v,I))return this.iteration=K(this.iteration,v,I),this}get names(){return F(super.names,this.iteration.names)}}class P extends y{constructor(v,I,T,M){super(),this.varKind=v,this.name=I,this.from=T,this.to=M}render(v){const I=v.es5?r.varKinds.var:this.varKind,{name:T,from:M,to:U}=this;return`for(${I} ${T}=${M}; ${T}<${U}; ${T}++)`+super.render(v)}get names(){const v=L(super.names,this.from);return L(v,this.to)}}class h extends y{constructor(v,I,T,M){super(),this.loop=v,this.varKind=I,this.name=T,this.iterable=M}render(v){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(v)}optimizeNames(v,I){if(super.optimizeNames(v,I))return this.iterable=K(this.iterable,v,I),this}get names(){return F(super.names,this.iterable.names)}}class g extends w{constructor(v,I,T){super(),this.name=v,this.args=I,this.async=T}render(v){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(v)}}g.kind="func";class E extends m{render(v){return"return "+super.render(v)}}E.kind="return";class O extends w{render(v){let I="try"+super.render(v);return this.catch&&(I+=this.catch.render(v)),this.finally&&(I+=this.finally.render(v)),I}optimizeNodes(){var v,I;return super.optimizeNodes(),(v=this.catch)===null||v===void 0||v.optimizeNodes(),(I=this.finally)===null||I===void 0||I.optimizeNodes(),this}optimizeNames(v,I){var T,M;return super.optimizeNames(v,I),(T=this.catch)===null||T===void 0||T.optimizeNames(v,I),(M=this.finally)===null||M===void 0||M.optimizeNames(v,I),this}get names(){const v=super.names;return this.catch&&F(v,this.catch.names),this.finally&&F(v,this.finally.names),v}}class A extends w{constructor(v){super(),this.error=v}render(v){return`catch(${this.error})`+super.render(v)}}A.kind="catch";class q extends w{render(v){return"finally"+super.render(v)}}q.kind="finally";class z{constructor(v,I={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...I,_n:I.lines?`
|
|
1
|
+
import{d as Vr,bq as _n,l as xe,br as Jh,b8 as En,bs as ic,b9 as at,ao as cc,bt as Yh,bu as Wh,aD as $a,bd as Ke,aB as lc,p as We,bi as Hh,bv as Xh,bw as Qh,bx as Zh,be as Vt,bk as ey,bg as Pn,by as vr,bz as uc,bA as pc,bB as _a,bC as Fr,bD as Qt,bE as ty,bF as ry,aJ as Zt,b4 as Sn,b5 as ny,bf as oy,bG as sy,aE as zr,aO as dc,bH as ay,a$ as iy,aG as ir,b3 as fc,aI as Ea,aH as In,bI as xn,aP as mc,aR as cy,b1 as ly,aF as Tn,bJ as uy,aS as py,aQ as hc,b6 as dy,bl as yc,aU as gc,bK as fy,bL as my,bM as vc,bb as hy,b7 as yy,bN as bc}from"./redocly-openapi-docs.min.standalone-D9becCWS.js";function gy(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function Ur(e){return Array.isArray(e)&&e.length>0}function Pa(e){return e?Object.keys(e):[]}var Sa={exports:{}},vy=Sa.exports,wc;function by(){return wc||(wc=1,(function(e,t){(function(r,n){typeof gy=="function"?e.exports=n():r.pluralize=n()})(vy,function(){var r=[],n=[],o={},s={},a={};function c(S){return typeof S=="string"?new RegExp("^"+S+"$","i"):S}function i(S,b){return S===b?b:S===S.toLowerCase()?b.toLowerCase():S===S.toUpperCase()?b.toUpperCase():S[0]===S[0].toUpperCase()?b.charAt(0).toUpperCase()+b.substr(1).toLowerCase():b.toLowerCase()}function l(S,b){return S.replace(/\$(\d{1,2})/g,function($,y){return b[y]||""})}function u(S,b){return S.replace(b[0],function($,y){var d=l(b[1],arguments);return i($===""?S[y-1]:$,d)})}function f(S,b,$){if(!S.length||o.hasOwnProperty(S))return b;for(var y=$.length;y--;){var d=$[y];if(d[0].test(b))return u(b,d)}return b}function _(S,b,$){return function(y){var d=y.toLowerCase();return b.hasOwnProperty(d)?i(y,d):S.hasOwnProperty(d)?i(y,S[d]):f(d,y,$)}}function m(S,b,$,y){return function(d){var P=d.toLowerCase();return b.hasOwnProperty(P)?!0:S.hasOwnProperty(P)?!1:f(P,P,$)===P}}function w(S,b,$){var y=b===1?w.singular(S):w.plural(S);return($?b+" ":"")+y}return w.plural=_(a,s,r),w.isPlural=m(a,s,r),w.singular=_(s,a,n),w.isSingular=m(s,a,n),w.addPluralRule=function(S,b){r.push([c(S),b])},w.addSingularRule=function(S,b){n.push([c(S),b])},w.addUncountableRule=function(S){if(typeof S=="string"){o[S.toLowerCase()]=!0;return}w.addPluralRule(S,"$0"),w.addSingularRule(S,"$0")},w.addIrregularRule=function(S,b){b=b.toLowerCase(),S=S.toLowerCase(),a[S]=b,s[b]=S},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(S){return w.addIrregularRule(S[0],S[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(S){return w.addPluralRule(S[0],S[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(S){return w.addSingularRule(S[0],S[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(w.addUncountableRule),w})})(Sa)),Sa.exports}var wy=by();const $c=Vr(wy);function $y(e,t,r){return e.split(" ").map(n=>$c(n,t,r)).join(" ")}var _c={hide:{type:"boolean"},component:{type:"string",enum:["radio","checkbox"]},label:{type:"string"},items:{type:"array",items:{type:"string"}}},Br={type:"object",properties:_c,additionalProperties:!1},_y={type:"object",properties:{hide:{type:"boolean"},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1},Gr={type:"object",properties:{hide:{type:"boolean"},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"]},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"]},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:{..._c,like:Br,dislike:Br,satisfied:Br,neutral:Br,dissatisfied:Br},additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean"},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:_y},additionalProperties:!1}},additionalProperties:!1},Ey={type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string"},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},additionalProperties:!1},Ia={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},Ec={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:Gr,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string"},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:Ia,onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:Ey,ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"},showSchemaCatalogLinks:{type:"boolean"}},additionalProperties:!1},br={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},Py={type:"object",properties:{name:{type:"string"},items:br,queries:br,mutations:br,subscriptions:br,types:br,directives:br},required:["name"],additionalProperties:!1},Sy={properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:Py},otherItemsGroupName:{type:"string"}}},Iy={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{type:"string",format:"email"}},additionalProperties:!1},xy={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},identifier:{type:"string"}},additionalProperties:!1},Ty={type:"object",properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri"},contact:Iy,license:xy},additionalProperties:!1},Nn={type:"object",properties:{menu:{type:"object",properties:{...Sy.properties},additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:Ia,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:Gr,layout:{type:"string",enum:["stacked","three-panel"]},showBuiltInScalars:{type:"boolean"},showBuiltInDirectives:{type:"boolean"},excludeFromSearch:{type:"boolean"},info:Ty},additionalProperties:!1},Ny={type:"object",properties:{downloadUrls:Ia,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},excludeFromSearch:{type:"boolean"},samplesMaxInlineArgs:{type:"number"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},feedback:Gr,layout:{type:"string",enum:["stacked","three-panel"]}},additionalProperties:!1},ky={type:"object",properties:{label:{type:"string"},lang:{type:"string",enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},Oy={type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},Pc={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},jy={type:"object",properties:{beforeInfo:{type:"array",items:Pc},end:{type:"array",items:Pc}}},cr={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},kn={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},Ay={type:"object",properties:Cn(cr.properties,["light","dark"])},Cy={type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},Ry={type:"object",properties:{error:kn,info:kn,redirect:kn,success:kn}},Dy={type:"object",properties:wr(cr.properties,["dark"])},qy={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},Ly={type:"object",properties:{accent:cr,border:Ay,error:cr,http:Cy,primary:cr,responses:Ry,secondary:Dy,success:cr,text:qy,tonalOffset:{type:"number"},warning:cr}},On={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},My={type:"object",properties:{small:On,medium:On,large:On,xlarge:On}},Dt={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},Vy={type:"object",properties:{...wr(Dt.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:My}},Sc={type:"object",properties:Cn(Dt.properties,["fontSize","lineHeight"])},Fy={type:"object",properties:{medium:Sc,small:Sc}},zy={type:"object",properties:{...wr(Dt.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},color:{type:"string"},sizes:Fy}},Uy={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},By={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},Ic={type:"object",properties:{fullWidth:{type:"boolean"}}},Gy={type:"object",properties:{buttons:Vy,httpBadges:zy,layoutControls:Uy,panels:By,tryItButton:Ic,tryItSendButton:Ic}},jn={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},Ky={type:"object",properties:{maxWidth:jn}},Jy={type:"object",properties:{maxWidth:jn,middlePanelMaxWidth:jn}},Yy={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:Ky,"three-panel":Jy}},xc={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},Wy={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:xc,defaultDetailsWidth:{type:"string"},examples:xc,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},Tc={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},Hy={type:"object",properties:Cn(Tc.properties,["textTransform"])},Xy={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},Qy={type:"object",properties:{...wr(Dt.properties,["fontWeight","lineHeight"]),activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:Tc,level1items:Hy,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Xy,textColor:{type:"string"},width:{type:"string"}}},An={type:"object",properties:{...Dt.properties,color:{type:"string"},transform:{type:"string"}}},Zy={type:"object",properties:{...Dt.properties,backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}}},eg={type:"object",properties:wr(Dt.properties,["fontSize"])},tg={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},rg={type:"object",properties:{code:Zy,fieldName:Dt,...Cn(Dt.properties,["fontSize","fontFamily"]),fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:An,heading2:An,heading3:An,headings:eg,lineHeight:{type:"string"},links:tg,optimizeSpeed:{type:"boolean"},rightPanelHeading:An,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}}},ng={type:"object",properties:{color:{type:"string"},...wr(Dt.properties,["fontWeight"])}},og={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:ng}},sg={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},ag={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},Nc={type:"object",properties:{custom:{type:"string"}}},ig={type:"object",properties:{DownloadButton:Nc,NextSectionButton:Nc}},cg={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},lg={type:"object",properties:{borderRadius:{type:"string"}}},ug={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},pg={type:"object",properties:{breakpoints:jn,codeBlock:og,colors:Ly,components:Gy,layout:Yy,logo:sg,fab:ag,overrides:ig,rightPanel:cg,schema:Wy,shape:lg,sidebar:Qy,spacing:ug,typography:rg,links:{type:"object",properties:{color:{type:"string"}}},codeSample:{type:"object",properties:{backgroundColor:{type:"string"}}}}},dg={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:ky}},required:["languages"]},fg={properties:{theme:pg,ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:dg,generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:Oy,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{type:"string",enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:jy,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}}};function Cn(e,t){return Object.fromEntries(t.filter(r=>r in e).map(r=>[r,e[r]]))}function wr(e,t){return Object.fromEntries(Object.entries(e).filter(([r])=>!t.includes(r)))}var yt={nodeTypeName:void 0,type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]},description:"The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.",documentationLink:"https://redocly.com/docs/cli/configuration/reference/rules#rules"},mg={rules:yt,oas2Rules:yt,oas3_0Rules:yt,oas3_1Rules:yt,oas3_2Rules:yt,async2Rules:yt,async3Rules:yt,arazzo1Rules:yt,arazzo1_1Rules:yt,overlay1Rules:yt,openrpc1Rules:yt,graphqlRules:yt},wt={nodeTypeName:void 0,type:"object",additionalProperties:!0},hg={preprocessors:wt,oas2Preprocessors:wt,oas3_0Preprocessors:wt,oas3_1Preprocessors:wt,oas3_2Preprocessors:wt,async2Preprocessors:wt,async3Preprocessors:wt,arazzo1Preprocessors:wt,arazzo1_1Preprocessors:wt,overlay1Preprocessors:wt,openrpc1Preprocessors:wt},$t={nodeTypeName:void 0,type:"object",additionalProperties:!0},yg={decorators:$t,oas2Decorators:$t,oas3_0Decorators:$t,oas3_1Decorators:$t,oas3_2Decorators:$t,async2Decorators:$t,async3Decorators:$t,arazzo1Decorators:$t,arazzo1_1Decorators:$t,overlay1Decorators:$t,openrpc1Decorators:$t},gg={nodeTypeName:void 0,type:"array",items:{type:"string"},description:"Use extends to inherit rules and their configurations from other rulesets.",documentationLink:"https://redocly.com/docs/cli/configuration/reference/extends"},Rn={...mg,...yg,...hg,extends:gg},kc=e=>e,it=kc({RedirectSource:"RedirectSource",Redirects:"Redirects",ScorecardClassic:"ScorecardClassic",ScorecardClassicLevelList:"ScorecardClassicLevelList",ScorecardClassicLevel:"ScorecardClassicLevel",ScorecardClassicTargetList:"ScorecardClassicTargetList",ScorecardClassicTarget:"ScorecardClassicTarget",ScorecardClassicTargetWhere:"ScorecardClassicTargetWhere",ScorecardClassicTargetWhereMetadata:"ScorecardClassicTargetWhereMetadata",ScorecardClassicTeamMetadataProperty:"ScorecardClassicTeamMetadataProperty"}),Ze={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},Oc={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},xa={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean"},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"]},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}},rbac:{type:"object",additionalProperties:{type:"string"}},additionalProps:{type:"object",additionalProperties:!0}}},Ta={type:"array",items:{...xa,properties:{...xa.properties,items:{type:"array",items:xa}}}},vg={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},bg={type:"object",properties:{hide:{type:"boolean"},suggestions:{type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},wg={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}},$g={type:"object",properties:{facets:wg,...Ze.properties},additionalProperties:!1},_g={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},jc={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},Ac={type:"object",properties:{items:Ta,...Ze.properties},additionalProperties:!1},Cc={type:"object",additionalProperties:vg},Rc={type:"object",properties:{items:Ta,copyrightText:{type:"string"},logo:Ze,...Ze.properties},additionalProperties:!1},Dc={type:"object",properties:{separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"]},...Ze.properties},additionalProperties:!1},qc={type:"object",properties:{head:{type:"array",items:Oc},body:{type:"array",items:Oc}},additionalProperties:!1},Lc={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}},Mc={type:"object",properties:{engine:{type:"string",enum:["flexsearch","typesense"]},ai:bg,filters:$g,placement:{type:"string"},shortcuts:{type:"array",items:{type:"string"}},suggestedPages:{type:"array",items:_g},...Ze.properties},additionalProperties:!1},Vc={type:"object",properties:{hide:{type:"boolean"},suggestions:{type:"array",items:{type:"string"}},prompt:{type:"string"},trigger:{type:"object",properties:{hide:{type:"boolean"},inputType:{type:"string",enum:["button","icon"]},inputIcon:{type:"string",enum:["chat","sparkles","redocly"]}},additionalProperties:!1}},additionalProperties:!1},Fc={type:"object",properties:{ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"}},...Ze.properties},additionalProperties:!1},zc={type:"string",enum:["slate","pink","coral","amber","jade","cyan","ocean","indigo","iris"]},Eg={type:"object",properties:{...Ze.properties,items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude","docs-mcp-cursor","docs-mcp-vscode"]}}},additionalProperties:!1},Uc={type:"object",properties:{nextButton:{type:"object",properties:{text:{type:"string"},...Ze.properties},additionalProperties:!1},previousButton:{type:"object",properties:{text:{type:"string"},...Ze.properties},additionalProperties:!1},actions:Eg},additionalProperties:!1},Bc={type:"object",properties:{elementFormat:{type:"string"},copy:{type:"object",properties:{...Ze.properties},additionalProperties:!1},report:{type:"object",properties:{tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"},...Ze.properties},additionalProperties:!1},expand:{type:"object",properties:{...Ze.properties},additionalProperties:!1},collapse:{type:"object",properties:{...Ze.properties},additionalProperties:!1}},additionalProperties:!1},Gc={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"}},partialsFolders:{type:"array",items:{type:"string"}},lastUpdatedBlock:{type:"object",properties:{format:{type:"string",enum:["timeago","iso","long","short"]},locale:{type:"string"},...Ze.properties},additionalProperties:!1},toc:{type:"object",properties:{header:{type:"string"},depth:{type:"integer",minimum:1},...Ze.properties},additionalProperties:!1},editPage:{type:"object",properties:{baseUrl:{type:"string"},...Ze.properties},additionalProperties:!1},template:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1},Dn={...Ec,properties:{...Ec.properties,...fg.properties}},Pg={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},Sg={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},Ig={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},xg={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},Tg={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},Ng={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},kg={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{type:"object",additionalProperties:!0},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},Og={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]},jg={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:Og}},additionalProperties:!1,required:["trackingId"]},Kc={type:"object",properties:{adobe:Pg,amplitude:Sg,fullstory:Ig,heap:xg,rudderstack:Tg,segment:Ng,gtm:kg,ga:jg}},Jc={type:"object",properties:{items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0}},hideLoginButton:{type:"boolean"},...Ze.properties},additionalProperties:!1},Yc={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},Wc={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"},icon:{type:"string"}},additionalProperties:!1}}},additionalProperties:!1},Ag={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"]},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}},Cg={type:"object",additionalProperties:!0,required:["slug","items"],properties:{show:{type:"boolean"},slug:{type:"string"},filters:{type:"array",items:Ag},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:Ta,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}},qn={type:"object",patternProperties:{".*":Cg}},Ln={nodeTypeName:it.ScorecardClassic,description:"Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic",type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean"},teamMetadataProperty:{nodeTypeName:it.ScorecardClassicTeamMetadataProperty,description:"Provide custom team label and team metadata property.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object",type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{nodeTypeName:it.ScorecardClassicLevelList,description:"List of levels to score against.",type:"array",items:{nodeTypeName:it.ScorecardClassicLevel,documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#level-object",type:"object",required:["name"],properties:{name:{type:"string"},color:{type:"string"},...Rn},additionalProperties:!1}},targets:{nodeTypeName:it.ScorecardClassicTargetList,description:"Provide custom `minimumLevel` for specific targets.",type:"array",items:{nodeTypeName:it.ScorecardClassicTarget,type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{nodeTypeName:it.ScorecardClassicTargetWhere,description:"Specify which API descriptions to apply the `minimumLevel` to based on the metadata.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#where-object",type:"object",required:["metadata"],properties:{metadata:{nodeTypeName:it.ScorecardClassicTargetWhereMetadata,type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}},fromProjectUrl:{type:"string",format:"uri"}}},Rg={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1},Dg={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1},qg={type:"object",required:["property","title"],properties:{property:{type:"string"},hide:{type:"boolean"},label:{type:"string"},options:{type:"array",items:{type:"string"}},type:{type:"string",enum:["select","checkboxes","date-range"]},title:{type:"string"},titleTranslationKey:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1},Ft={type:"object",properties:{slug:{type:"string"},hide:{type:"boolean"},includes:{type:"array",items:Dg},excludes:{type:"array",items:Rg},filters:{type:"array",items:qg},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1},Lg={type:"object",properties:{type:{type:"string",enum:["string","number","boolean","array","object"]},description:{type:"string"},example:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array"},{type:"object"}]},enum:{type:"array",items:{type:"string"}},pattern:{type:"string"},format:{type:"string"},minimum:{type:"number"},maximum:{type:"number"},items:{type:"object"}},additionalProperties:!0},Mg={type:"object",required:["type","properties"],properties:{type:{type:"string",enum:["object"]},description:{type:"string"},properties:{type:"object",additionalProperties:Lg},required:{type:"array",items:{type:"string"}},additionalProperties:{type:"boolean"}},additionalProperties:!0},Vg={type:"object",required:["name","description","metadataSchema"],properties:{name:{type:"string",description:"Display name of the entity type"},description:{type:"string",description:"Description of the entity type"},metadataSchema:Mg,icon:{type:"object",properties:{src:{type:"string"},srcSet:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},Fg={type:"object",additionalProperties:Vg},Hc={type:"object",properties:{show:{type:"boolean"},entityTypes:Fg,catalogs:{type:"object",properties:{all:Ft,services:Ft,domains:Ft,teams:Ft,users:Ft,apiDescriptions:Ft,dataSchemas:Ft,apiOperations:Ft},additionalProperties:Ft}},additionalProperties:!1},Xc={type:"string",enum:["eq","in","gt","gte","lt","lte","contains","startsWith","endsWith","exists","isEmpty","between","matches","some","every","none"]},Na={type:"string",enum:["and","or"]},ka={type:"object",properties:{field:{type:"string"},operator:Xc,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]},match:{type:"array",items:{type:"object",properties:{field:{type:"string"},operator:Xc,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]}}}}}},zg={type:"object",properties:{operator:Na,conditions:{type:"array",items:ka}},required:["operator","conditions"],additionalProperties:!1},Qc={type:"array",items:{oneOf:[ka,{type:"object",properties:{operator:Na,conditions:{type:"array",items:{oneOf:[ka,zg]}}},required:["operator","conditions"],additionalProperties:!1}]}},Zc={type:"object",properties:{defined:{type:"boolean"},nonEmpty:{type:"boolean"},eq:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},gt:{type:"number"},gte:{type:"number"},lt:{type:"number"},lte:{type:"number"},const:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]}},additionalProperties:!1},Ug={type:"array",items:{type:"object",properties:{subject:{type:"object",properties:{type:{type:"string",enum:["Entity","EntityMetadata","EntityRelations","EntityRelation"]},property:{type:"string"}},required:["type","property"],additionalProperties:!1},assertions:Zc},required:["subject","assertions"],additionalProperties:!1}},Bg={type:"object",properties:{title:{type:"string"},subject:{type:"object",properties:{type:{type:"string",enum:["Entity","EntityMetadata","EntityRelations","EntityRelation"]},property:{type:"string"}},required:["type","property"],additionalProperties:!1},severity:{type:"string",enum:["error","warn","off"]},message:{type:"string"},assertions:Zc,where:Ug,weight:{type:"number"}},required:["subject","assertions"],additionalProperties:!1},Gg={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object",properties:{severity:{type:"string",enum:["error","warn","off"]},weight:{type:"number"}},additionalProperties:!0},Bg]}},Kg={type:"object",properties:{name:{type:"string"},extends:Rn.extends,rules:Gg},required:["name"],additionalProperties:!1},el={type:"object",properties:{event:{type:"string",enum:["runtime","manual"]}},required:["event"],additionalProperties:!1},Jg={oneOf:[el,{type:"array",items:el}]},Yg={type:"object",properties:{name:{type:"string"},key:{type:"string"},description:{type:"string"},entities:{oneOf:[Qc,{type:"object",properties:{operator:Na,conditions:Qc},required:["operator","conditions"],additionalProperties:!1}]},levels:{type:"array",items:Kg,minItems:1},trigger:Jg},required:["name","key","entities","levels"],additionalProperties:!1},tl={type:"array",items:Yg},Wg={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:jc,navbar:Ac,products:Cc,footer:Rc,sidebar:Dc,scripts:qc,links:Lc,feedback:Gr,search:Mc,aiAssistant:Vc,colorMode:Fc,palette:zc,navigation:Uc,codeSnippet:Bc,markdown:Gc,openapi:Dn,asyncapi:Ny,graphql:Nn,analytics:Kc,userMenu:Jc,versionPicker:Yc,breadcrumbs:Wc,catalog:qn,entitiesCatalog:Hc,catalogClassic:qn,scorecard:Ln,scorecardClassic:Ln,scorecards:tl},additionalProperties:!0},Hg=(e=>(e.OIDC="OIDC",e.SAML2="SAML2",e))(Hg||{}),Xg=(e=>(e.SERVICE_ACCOUNT="SERVICE_ACCOUNT",e.OAUTH2="OAUTH2",e))(Xg||{}),Qg=(e=>(e.STACKED="stacked",e.THREE_PANEL="three-panel",e))(Qg||{}),Zg="^[a-z0-9]+(?:-[a-z0-9]+)*$",rl="redocly",ev=[rl,"corporate","guest"],nl=["REDOCLY","CORPORATE","GUEST"],tv={type:"object",additionalProperties:{type:"string"}},rv={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},Mn={type:"string",enum:["error","warn","off"]},nv={type:"object",additionalProperties:!1,properties:{schemaCheck:Mn,statusCodeCheck:Mn,contentTypeCheck:Mn,successCriteriaCheck:Mn}},ov={type:"object",properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",enum:["1m","2m","5m","10m","15m","30m","1h","3h","6h","12h","1d","7d"]}},required:["event"],additionalProperties:!1},sv={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1},av={type:"object",properties:{warn:{type:"number"},error:{type:"number"}},additionalProperties:!1},iv={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},ignoreRespectMonitoring:{type:"boolean"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\/|\\.\\./)"},agent:{type:"string",enum:["respect"]},trigger:{oneOf:[ov,sv]},inputs:tv,servers:rv,severity:nv,slo:av},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1},cv={type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0},lv={type:"object",properties:{type:{type:"string",const:"OIDC"},title:{type:"string"},pkce:{type:"boolean"},configurationUrl:{type:"string",minLength:1},configuration:cv,clientId:{type:"string",minLength:1},clientSecret:{type:"string"},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},introspectEndpoint:{type:"string"},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},uv={type:"object",properties:{type:{type:"string",const:"SAML2"},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string"},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]},pv={oneOf:[lv,uv],discriminator:{propertyName:"type"}},dv={type:"object",additionalProperties:pv},ol={oneOf:[{type:"array",items:{type:"string",enum:nl},uniqueItems:!0},{type:"string",enum:nl}]},sl={type:"string",pattern:Zg,not:{enum:ev.filter(e=>e!==rl)}},al={oneOf:[{type:"array",items:sl,uniqueItems:!0},sl]},il={type:"boolean"},cl={type:"string",pattern:"^https?://.*"},ll={type:"string",pattern:"^https?://.*"},fv={type:"object",properties:{to:{type:"string"},type:{type:"number"}},additionalProperties:!1,nodeTypeName:it.RedirectSource,description:"Source is an absolute path that must start with a forward slash.",documentationLink:"https://redocly.com/docs/realm/config/redirects#sources-map"},mv={type:"object",additionalProperties:fv,nodeTypeName:it.Redirects,description:"Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.",documentationLink:"https://redocly.com/docs/realm/config/redirects"},hv={type:"string",enum:["info","success","warning","error"]},ze={type:"object",additionalProperties:{type:"string"}},yv={type:"object",properties:{trackingId:{type:"string"},content:{type:"string"},dismissible:{type:"boolean"},target:{type:"string"},color:hv,rbac:ze,startAt:{type:"string",format:"date-time"},endAt:{type:"string",format:"date-time"}},required:["content"],additionalProperties:!1},gv={type:"array",items:yv},vv={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:ze,openapi:Dn,graphql:Nn,theme:{type:"object",properties:{openapi:Dn,graphql:Nn},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},...Rn},required:["root"]},bv={type:"object",additionalProperties:!0},wv={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},$v={type:"object",properties:{hide:{type:"boolean"},title:{type:"string"},description:{type:"string"},details:{type:"object",properties:{path:{type:"string"},content:{type:"string"}},additionalProperties:!1},excludeFiles:{type:"array",items:{type:"string"}},sections:{type:"array",items:{type:"object",properties:{title:{type:"string"},description:{type:"string"},includeFiles:{type:"array",items:{type:"string"}},excludeFiles:{type:"array",items:{type:"string"}}},required:["title"],additionalProperties:!1}}},additionalProperties:!1},_v={type:"object",properties:{title:{type:"string"},projectTitle:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}},llmstxt:$v},additionalProperties:!1},Ev={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},Pv={type:"object",properties:{catalogs:{type:"object",properties:{all:ze,services:ze,domains:ze,teams:ze,users:ze,apiDescriptions:ze,dataSchemas:ze,apiOperations:ze},additionalProperties:ze},entitiesTypes:{type:"object",properties:{service:ze,domain:ze,team:ze,user:ze,apiDescription:ze,apiOperation:ze,dataSchema:ze},additionalProperties:ze},entitiesGroups:{type:"array",items:{type:"object",properties:{entities:{type:"array",items:{type:"string"}},config:ze},additionalProperties:!1}},entities:{type:"object",properties:{"**":ze},additionalProperties:ze}},additionalProperties:!1},ul={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:ze,cms:ze,reunite:ze,features:{type:"object",properties:{aiSearch:ze,mcp:ze},additionalProperties:!1},content:{type:"object",properties:{"**":ze},additionalProperties:ze},entitiesCatalog:Pv},additionalProperties:ze},Sv={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},Iv={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]},xv={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean"},stage:{type:"string"},auth:{oneOf:[Sv,Iv]}},additionalProperties:!1,required:["type","apiBaseUrl"]},Tv={type:"object",properties:{type:{type:"string",const:"OAUTH2"},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},Nv={type:"object",properties:{type:{type:"string",const:"SERVICE_ACCOUNT"},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},Oa={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean"},auth:{type:"object",oneOf:[Tv,Nv],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},kv={...Oa,properties:{...Oa.properties,type:{type:"string",const:"APIGEE_EDGE"}}},Ov={type:"object",oneOf:[Oa,kv,xv],discriminator:{propertyName:"type"}},jv={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:Ov}}},pl={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]},Av={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]},Cv={type:"object",properties:{hide:{type:"boolean"},docs:{type:"object",properties:{hide:{type:"boolean"},name:{type:"string"},ignore:{type:"array",items:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1},Rv={type:"object",properties:{hide:{type:"boolean"},excludeFiles:{type:"array",items:{type:"string"}}},additionalProperties:!1},Dv={type:"object",properties:{requiresLogin:il,logoutReturnUrl:cl,residency:ll,sso:ol,idps:al,rbac:ul},additionalProperties:!1,not:{required:["sso","idps"]},description:"Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both."},ja={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:mv,seo:_v,rbac:ul,apiFunctions:Ev,requiresLogin:il,responseHeaders:{type:"object",additionalProperties:{type:"array",items:Av}},mockServer:{type:"object",properties:{off:{type:"boolean"},position:{type:"string",enum:["first","last","replace","off"]},strictExamples:{type:"boolean"},errorIfForcedExampleNotFound:{type:"boolean"},description:{type:"string"}}},apis:{type:"object",additionalProperties:vv},...Rn,ssoDirect:dv,sso:ol,idps:al,residency:ll,logoutReturnUrl:cl,access:Dv,developerOnboarding:jv,removeAttribution:{type:"boolean"},i18n:pl,l10n:pl,metadata:bv,metadataGlobs:wv,ignore:{type:"array",items:{type:"string"}},theme:Wg,reunite:iv,logo:jc,navbar:Ac,products:Cc,footer:Rc,sidebar:Dc,scripts:qc,links:Lc,feedback:Gr,search:Mc,aiAssistant:Vc,colorMode:Fc,palette:zc,navigation:Uc,codeSnippet:Bc,markdown:Gc,openapi:Dn,graphql:Nn,analytics:Kc,userMenu:Jc,versionPicker:Yc,breadcrumbs:Wc,catalog:qn,entitiesCatalog:Hc,catalogClassic:qn,scorecard:Ln,scorecardClassic:Ln,scorecards:tl,mcp:Cv,skills:Rv,corsProxy:{type:"object",properties:{allowedTargets:{type:"array",items:{type:"string"}}},additionalProperties:!1},banner:gv},not:{required:["sso","idps"]},additionalProperties:!0},qv={...ja,additionalProperties:!1},Vn={$id:"root-redocly-config",...ja,properties:{plugins:{type:"array",items:{type:"string"}},...ja.properties,env:{type:"object",additionalProperties:qv}},additionalProperties:!1},Lv=["partOf","hasParts","creates","createdBy","owns","ownedBy","implements","implementedBy","dependsOn","dependencyOf","uses","usedBy","produces","consumes","linksTo","supersedes","supersededBy","compatibleWith","extends","extendedBy","relatesTo","hasMember","memberOf","triggers","triggeredBy","returns","returnedBy"],He=kc({UserEntity:"UserEntity",UserEntityMetadata:"UserEntityMetadata",ApiDescriptionEntity:"ApiDescriptionEntity",ApiDescriptionEntityMetadata:"ApiDescriptionEntityMetadata",ApiOperationEntity:"ApiOperationEntity",ApiOperationEntityMetadata:"ApiOperationEntityMetadata",DataSchemaEntity:"DataSchemaEntity",DataSchemaEntityMetadata:"DataSchemaEntityMetadata",ServiceEntity:"ServiceEntity",DomainEntity:"DomainEntity",TeamEntity:"TeamEntity",Entity:"Entity",EntityMetadata:"EntityMetadata",EntityLinkList:"EntityLinkList",EntityLink:"EntityLink",EntityRelation:"EntityRelation",EntityRelationList:"EntityRelationList",EntityContact:"EntityContact",EntitySlackContact:"EntitySlackContact",EntitySlackChannel:"EntitySlackChannel"}),Mv={type:"object",nodeTypeName:He.UserEntityMetadata,properties:{email:{type:"string",description:"Email of the user"}},required:["email"],additionalProperties:!0},Vv={type:"object",nodeTypeName:He.ApiDescriptionEntityMetadata,properties:{specType:{type:"string",enum:["jsonschema","openapi","asyncapi","avro","zod","graphql","protobuf","arazzo"],description:"Type of the API description"},descriptionFile:{type:"string",description:"Path to the file containing the API description"}},required:["specType","descriptionFile"],additionalProperties:!0},Fv={type:"object",nodeTypeName:He.ApiOperationEntityMetadata,properties:{method:{type:"string",enum:["GET","POST","PUT","DELETE","PATCH","MUTATION","QUERY","SUBSCRIBE","PUBLISH"],description:"HTTP method of the API operation"},path:{type:"string",description:"Path of the API operation"},payload:{type:"array",items:{type:"string",description:"Related dataSchema name"}},responses:{type:"array",items:{type:"string",description:"Related dataSchema name"}}},required:["method","path"],additionalProperties:!0},zv={type:"object",nodeTypeName:He.DataSchemaEntityMetadata,properties:{specType:{type:"string",enum:["jsonschema","openapi","asyncapi","avro","zod","graphql","protobuf","arazzo"],description:"Specification type of the data schema"},schema:{type:"string",description:"Inline schema of the data structure"},sdl:{type:"string",description:"SDL of the data structure"}},required:["specType"],additionalProperties:!0},Uv={type:"object",properties:{},nodeTypeName:He.EntityMetadata,additionalProperties:!0},Bv={type:"object",nodeTypeName:He.EntitySlackChannel,properties:{name:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["name"],additionalProperties:!1},Gv={type:"object",nodeTypeName:He.EntitySlackContact,properties:{channels:{type:"array",items:Bv}},required:["channels"],additionalProperties:!1},Kv={type:"object",nodeTypeName:He.EntityContact,properties:{slack:Gv},additionalProperties:!1},Jv={type:"object",nodeTypeName:He.EntityLink,properties:{label:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["label","url"],additionalProperties:!1},Yv={type:"object",nodeTypeName:He.EntityRelation,properties:{type:{type:"string",enum:Lv},key:{type:"string",minLength:2,maxLength:100},version:{type:"string"},revision:{type:"string"}},required:["type","key"],additionalProperties:!1},er={version:{type:"string"},key:{type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$",minLength:2,maxLength:150},type:{type:"string",enum:["user","data-schema","api-operation","api-description","service","domain","team"]},title:{type:"string",minLength:2,maxLength:200},summary:{type:"string",minLength:1,maxLength:500},tags:{type:"array",items:{type:"string",minLength:1,maxLength:50}},git:{type:"array",items:{type:"string"}},contact:Kv,links:{type:"array",nodeTypeName:He.EntityLinkList,items:Jv},relations:{type:"array",nodeTypeName:He.EntityRelationList,items:Yv},metadata:Uv},Wv={type:"object",discriminator:{propertyName:"type"},oneOf:[{type:"object",properties:{...er,type:{type:"string",const:"user"},metadata:Mv},required:["key","title","type","metadata"],additionalProperties:!1,nodeTypeName:He.UserEntity},{type:"object",nodeTypeName:He.ApiOperationEntity,properties:{...er,type:{type:"string",const:"api-operation"},metadata:Fv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:He.DataSchemaEntity,properties:{...er,type:{type:"string",const:"data-schema"},metadata:zv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:He.ApiDescriptionEntity,properties:{...er,type:{type:"string",const:"api-description"},metadata:Vv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:He.ServiceEntity,properties:{...er,type:{type:"string",const:"service"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:He.DomainEntity,properties:{...er,type:{type:"string",const:"domain"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:He.TeamEntity,properties:{...er,type:{type:"string",const:"team"}},required:["key","title","type"],additionalProperties:!1}]},Hv={type:"object",nodeTypeName:He.Entity,properties:{...er},required:["key","title","type"],additionalProperties:!1};const Xv=["Name","Document","OperationDefinition","VariableDefinition","SelectionSet","Field","Argument","FragmentSpread","InlineFragment","FragmentDefinition","Variable","IntValue","FloatValue","StringValue","BooleanValue","NullValue","EnumValue","ListValue","ObjectValue","ObjectField","Directive","NamedType","ListType","NonNullType","SchemaDefinition","OperationTypeDefinition","ScalarTypeDefinition","ObjectTypeDefinition","FieldDefinition","InputValueDefinition","InterfaceTypeDefinition","UnionTypeDefinition","EnumTypeDefinition","EnumValueDefinition","InputObjectTypeDefinition","DirectiveDefinition","SchemaExtension","DirectiveExtension","ScalarTypeExtension","ObjectTypeExtension","InterfaceTypeExtension","UnionTypeExtension","EnumTypeExtension","InputObjectTypeExtension","TypeCoordinate","MemberCoordinate","ArgumentCoordinate","DirectiveCoordinate","DirectiveArgumentCoordinate"];function Aa(e){return e.includes("/")}var Ca={exports:{}},dl={},zt={},lr={},fl={},ml={},hl={},yl;function Fn(){return yl||(yl=1,(function(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;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((d,P)=>`${d}${P}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((d,P)=>(P instanceof r&&(d[P.str]=(d[P.str]||0)+1),d),{})}}e._Code=n,e.nil=new n("");function o($,...y){const d=[$[0]];let P=0;for(;P<y.length;)c(d,y[P]),d.push($[++P]);return new n(d)}e._=o;const s=new n("+");function a($,...y){const d=[m($[0])];let P=0;for(;P<y.length;)d.push(s),c(d,y[P]),d.push(s,m($[++P]));return i(d),new n(d)}e.str=a;function c($,y){y instanceof n?$.push(...y._items):y instanceof r?$.push(y):$.push(f(y))}e.addCodeArg=c;function i($){let y=1;for(;y<$.length-1;){if($[y]===s){const d=l($[y-1],$[y+1]);if(d!==void 0){$.splice(y-1,3,d);continue}$[y++]="+"}y++}}function l($,y){if(y==='""')return $;if($==='""')return y;if(typeof $=="string")return y instanceof r||$[$.length-1]!=='"'?void 0:typeof y!="string"?`${$.slice(0,-1)}${y}"`:y[0]==='"'?$.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!($ instanceof r))return`"${$}${y.slice(1)}`}function u($,y){return y.emptyStr()?$:$.emptyStr()?y:a`${$}${y}`}e.strConcat=u;function f($){return typeof $=="number"||typeof $=="boolean"||$===null?$:m(Array.isArray($)?$.join(","):$)}function _($){return new n(m($))}e.stringify=_;function m($){return JSON.stringify($).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function w($){return typeof $=="string"&&e.IDENTIFIER.test($)?new n(`.${$}`):o`[${$}]`}e.getProperty=w;function S($){if(typeof $=="string"&&e.IDENTIFIER.test($))return new n(`${$}`);throw new Error(`CodeGen: invalid export name: ${$}, use explicit $id name mapping`)}e.getEsmExportName=S;function b($){return new n($.toString())}e.regexpCode=b})(hl)),hl}var gl={},vl;function bl(){return vl||(vl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Fn();class r extends Error{constructor(l){super(`CodeGen: "code" for ${l} not defined`),this.value=l.value}}var n;(function(i){i[i.Started=0]="Started",i[i.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:l,parent:u}={}){this._names={},this._prefixes=l,this._parent=u}toName(l){return l instanceof t.Name?l:this.name(l)}name(l){return new t.Name(this._newName(l))}_newName(l){const u=this._names[l]||this._nameGroup(l);return`${l}${u.index++}`}_nameGroup(l){var u,f;if(!((f=(u=this._parent)===null||u===void 0?void 0:u._prefixes)===null||f===void 0)&&f.has(l)||this._prefixes&&!this._prefixes.has(l))throw new Error(`CodeGen: prefix "${l}" is not allowed in this scope`);return this._names[l]={prefix:l,index:0}}}e.Scope=o;class s extends t.Name{constructor(l,u){super(u),this.prefix=l}setValue(l,{property:u,itemIndex:f}){this.value=l,this.scopePath=(0,t._)`.${new t.Name(u)}[${f}]`}}e.ValueScopeName=s;const a=(0,t._)`\n`;class c extends o{constructor(l){super(l),this._values={},this._scope=l.scope,this.opts={...l,_n:l.lines?a:t.nil}}get(){return this._scope}name(l){return new s(l,this._newName(l))}value(l,u){var f;if(u.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const _=this.toName(l),{prefix:m}=_,w=(f=u.key)!==null&&f!==void 0?f:u.ref;let S=this._values[m];if(S){const y=S.get(w);if(y)return y}else S=this._values[m]=new Map;S.set(w,_);const b=this._scope[m]||(this._scope[m]=[]),$=b.length;return b[$]=u.ref,_.setValue(u,{property:m,itemIndex:$}),_}getValue(l,u){const f=this._values[l];if(f)return f.get(u)}scopeRefs(l,u=this._values){return this._reduceValues(u,f=>{if(f.scopePath===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return(0,t._)`${l}${f.scopePath}`})}scopeCode(l=this._values,u,f){return this._reduceValues(l,_=>{if(_.value===void 0)throw new Error(`CodeGen: name "${_}" has no value`);return _.value.code},u,f)}_reduceValues(l,u,f={},_){let m=t.nil;for(const w in l){const S=l[w];if(!S)continue;const b=f[w]=f[w]||new Map;S.forEach($=>{if(b.has($))return;b.set($,n.Started);let y=u($);if(y){const d=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${d} ${$} = ${y};${this.opts._n}`}else if(y=_?.($))m=(0,t._)`${m}${y}${this.opts._n}`;else throw new r($);b.set($,n.Completed)})}return m}}e.ValueScope=c})(gl)),gl}var wl;function Ee(){return wl||(wl=1,(function(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;const t=Fn(),r=bl();var n=Fn();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var o=bl();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.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("+")};class s{optimizeNodes(){return this}optimizeNames(v,I){return this}}class a extends s{constructor(v,I,T){super(),this.varKind=v,this.name=I,this.rhs=T}render({es5:v,_n:I}){const T=v?r.varKinds.var:this.varKind,M=this.rhs===void 0?"":` = ${this.rhs}`;return`${T} ${this.name}${M};`+I}optimizeNames(v,I){if(v[this.name.str])return this.rhs&&(this.rhs=K(this.rhs,v,I)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class c extends s{constructor(v,I,T){super(),this.lhs=v,this.rhs=I,this.sideEffects=T}render({_n:v}){return`${this.lhs} = ${this.rhs};`+v}optimizeNames(v,I){if(!(this.lhs instanceof t.Name&&!v[this.lhs.str]&&!this.sideEffects))return this.rhs=K(this.rhs,v,I),this}get names(){const v=this.lhs instanceof t.Name?{}:{...this.lhs.names};return L(v,this.rhs)}}class i extends c{constructor(v,I,T,M){super(v,T,M),this.op=I}render({_n:v}){return`${this.lhs} ${this.op}= ${this.rhs};`+v}}class l extends s{constructor(v){super(),this.label=v,this.names={}}render({_n:v}){return`${this.label}:`+v}}class u extends s{constructor(v){super(),this.label=v,this.names={}}render({_n:v}){return`break${this.label?` ${this.label}`:""};`+v}}class f extends s{constructor(v){super(),this.error=v}render({_n:v}){return`throw ${this.error};`+v}get names(){return this.error.names}}class _ extends s{constructor(v){super(),this.code=v}render({_n:v}){return`${this.code};`+v}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(v,I){return this.code=K(this.code,v,I),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends s{constructor(v=[]){super(),this.nodes=v}render(v){return this.nodes.reduce((I,T)=>I+T.render(v),"")}optimizeNodes(){const{nodes:v}=this;let I=v.length;for(;I--;){const T=v[I].optimizeNodes();Array.isArray(T)?v.splice(I,1,...T):T?v[I]=T:v.splice(I,1)}return v.length>0?this:void 0}optimizeNames(v,I){const{nodes:T}=this;let M=T.length;for(;M--;){const U=T[M];U.optimizeNames(v,I)||(le(v,U.names),T.splice(M,1))}return T.length>0?this:void 0}get names(){return this.nodes.reduce((v,I)=>F(v,I.names),{})}}class w extends m{render(v){return"{"+v._n+super.render(v)+"}"+v._n}}class S extends m{}class b extends w{}b.kind="else";class $ extends w{constructor(v,I){super(I),this.condition=v}render(v){let I=`if(${this.condition})`+super.render(v);return this.else&&(I+="else "+this.else.render(v)),I}optimizeNodes(){super.optimizeNodes();const v=this.condition;if(v===!0)return this.nodes;let I=this.else;if(I){const T=I.optimizeNodes();I=this.else=Array.isArray(T)?new b(T):T}if(I)return v===!1?I instanceof $?I:I.nodes:this.nodes.length?this:new $(pe(v),I instanceof $?[I]:I.nodes);if(!(v===!1||!this.nodes.length))return this}optimizeNames(v,I){var T;if(this.else=(T=this.else)===null||T===void 0?void 0:T.optimizeNames(v,I),!!(super.optimizeNames(v,I)||this.else))return this.condition=K(this.condition,v,I),this}get names(){const v=super.names;return L(v,this.condition),this.else&&F(v,this.else.names),v}}$.kind="if";class y extends w{}y.kind="for";class d extends y{constructor(v){super(),this.iteration=v}render(v){return`for(${this.iteration})`+super.render(v)}optimizeNames(v,I){if(super.optimizeNames(v,I))return this.iteration=K(this.iteration,v,I),this}get names(){return F(super.names,this.iteration.names)}}class P extends y{constructor(v,I,T,M){super(),this.varKind=v,this.name=I,this.from=T,this.to=M}render(v){const I=v.es5?r.varKinds.var:this.varKind,{name:T,from:M,to:U}=this;return`for(${I} ${T}=${M}; ${T}<${U}; ${T}++)`+super.render(v)}get names(){const v=L(super.names,this.from);return L(v,this.to)}}class h extends y{constructor(v,I,T,M){super(),this.loop=v,this.varKind=I,this.name=T,this.iterable=M}render(v){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(v)}optimizeNames(v,I){if(super.optimizeNames(v,I))return this.iterable=K(this.iterable,v,I),this}get names(){return F(super.names,this.iterable.names)}}class g extends w{constructor(v,I,T){super(),this.name=v,this.args=I,this.async=T}render(v){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(v)}}g.kind="func";class E extends m{render(v){return"return "+super.render(v)}}E.kind="return";class O extends w{render(v){let I="try"+super.render(v);return this.catch&&(I+=this.catch.render(v)),this.finally&&(I+=this.finally.render(v)),I}optimizeNodes(){var v,I;return super.optimizeNodes(),(v=this.catch)===null||v===void 0||v.optimizeNodes(),(I=this.finally)===null||I===void 0||I.optimizeNodes(),this}optimizeNames(v,I){var T,M;return super.optimizeNames(v,I),(T=this.catch)===null||T===void 0||T.optimizeNames(v,I),(M=this.finally)===null||M===void 0||M.optimizeNames(v,I),this}get names(){const v=super.names;return this.catch&&F(v,this.catch.names),this.finally&&F(v,this.finally.names),v}}class A extends w{constructor(v){super(),this.error=v}render(v){return`catch(${this.error})`+super.render(v)}}A.kind="catch";class q extends w{render(v){return"finally"+super.render(v)}}q.kind="finally";class z{constructor(v,I={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...I,_n:I.lines?`
|
|
2
2
|
`:""},this._extScope=v,this._scope=new r.Scope({parent:v}),this._nodes=[new S]}toString(){return this._root.render(this.opts)}name(v){return this._scope.name(v)}scopeName(v){return this._extScope.name(v)}scopeValue(v,I){const T=this._extScope.value(v,I);return(this._values[T.prefix]||(this._values[T.prefix]=new Set)).add(T),T}getScopeValue(v,I){return this._extScope.getValue(v,I)}scopeRefs(v){return this._extScope.scopeRefs(v,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(v,I,T,M){const U=this._scope.toName(I);return T!==void 0&&M&&(this._constants[U.str]=T),this._leafNode(new a(v,U,T)),U}const(v,I,T){return this._def(r.varKinds.const,v,I,T)}let(v,I,T){return this._def(r.varKinds.let,v,I,T)}var(v,I,T){return this._def(r.varKinds.var,v,I,T)}assign(v,I,T){return this._leafNode(new c(v,I,T))}add(v,I){return this._leafNode(new i(v,e.operators.ADD,I))}code(v){return typeof v=="function"?v():v!==t.nil&&this._leafNode(new _(v)),this}object(...v){const I=["{"];for(const[T,M]of v)I.length>1&&I.push(","),I.push(T),(T!==M||this.opts.es5)&&(I.push(":"),(0,t.addCodeArg)(I,M));return I.push("}"),new t._Code(I)}if(v,I,T){if(this._blockNode(new $(v)),I&&T)this.code(I).else().code(T).endIf();else if(I)this.code(I).endIf();else if(T)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(v){return this._elseNode(new $(v))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode($,b)}_for(v,I){return this._blockNode(v),I&&this.code(I).endFor(),this}for(v,I){return this._for(new d(v),I)}forRange(v,I,T,M,U=this.opts.es5?r.varKinds.var:r.varKinds.let){const J=this._scope.toName(v);return this._for(new P(U,J,I,T),()=>M(J))}forOf(v,I,T,M=r.varKinds.const){const U=this._scope.toName(v);if(this.opts.es5){const J=I instanceof t.Name?I:this.var("_arr",I);return this.forRange("_i",0,(0,t._)`${J}.length`,re=>{this.var(U,(0,t._)`${J}[${re}]`),T(U)})}return this._for(new h("of",M,U,I),()=>T(U))}forIn(v,I,T,M=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(v,(0,t._)`Object.keys(${I})`,T);const U=this._scope.toName(v);return this._for(new h("in",M,U,I),()=>T(U))}endFor(){return this._endBlockNode(y)}label(v){return this._leafNode(new l(v))}break(v){return this._leafNode(new u(v))}return(v){const I=new E;if(this._blockNode(I),this.code(v),I.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(v,I,T){if(!I&&!T)throw new Error('CodeGen: "try" without "catch" and "finally"');const M=new O;if(this._blockNode(M),this.code(v),I){const U=this.name("e");this._currNode=M.catch=new A(U),I(U)}return T&&(this._currNode=M.finally=new q,this.code(T)),this._endBlockNode(A,q)}throw(v){return this._leafNode(new f(v))}block(v,I){return this._blockStarts.push(this._nodes.length),v&&this.code(v).endBlock(I),this}endBlock(v){const I=this._blockStarts.pop();if(I===void 0)throw new Error("CodeGen: not in self-balancing block");const T=this._nodes.length-I;if(T<0||v!==void 0&&T!==v)throw new Error(`CodeGen: wrong number of nodes: ${T} vs ${v} expected`);return this._nodes.length=I,this}func(v,I=t.nil,T,M){return this._blockNode(new g(v,I,T)),M&&this.code(M).endFunc(),this}endFunc(){return this._endBlockNode(g)}optimize(v=1){for(;v-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(v){return this._currNode.nodes.push(v),this}_blockNode(v){this._currNode.nodes.push(v),this._nodes.push(v)}_endBlockNode(v,I){const T=this._currNode;if(T instanceof v||I&&T instanceof I)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${I?`${v.kind}/${I.kind}`:v.kind}"`)}_elseNode(v){const I=this._currNode;if(!(I instanceof $))throw new Error('CodeGen: "else" without "if"');return this._currNode=I.else=v,this}get _root(){return this._nodes[0]}get _currNode(){const v=this._nodes;return v[v.length-1]}set _currNode(v){const I=this._nodes;I[I.length-1]=v}}e.CodeGen=z;function F(j,v){for(const I in v)j[I]=(j[I]||0)+(v[I]||0);return j}function L(j,v){return v instanceof t._CodeOrName?F(j,v.names):j}function K(j,v,I){if(j instanceof t.Name)return T(j);if(!M(j))return j;return new t._Code(j._items.reduce((U,J)=>(J instanceof t.Name&&(J=T(J)),J instanceof t._Code?U.push(...J._items):U.push(J),U),[]));function T(U){const J=I[U.str];return J===void 0||v[U.str]!==1?U:(delete v[U.str],J)}function M(U){return U instanceof t._Code&&U._items.some(J=>J instanceof t.Name&&v[J.str]===1&&I[J.str]!==void 0)}}function le(j,v){for(const I in v)j[I]=(j[I]||0)-(v[I]||0)}function pe(j){return typeof j=="boolean"||typeof j=="number"||j===null?!j:(0,t._)`!${V(j)}`}e.not=pe;const Se=k(e.operators.AND);function ce(...j){return j.reduce(Se)}e.and=ce;const _e=k(e.operators.OR);function R(...j){return j.reduce(_e)}e.or=R;function k(j){return(v,I)=>v===t.nil?I:I===t.nil?v:(0,t._)`${V(v)} ${j} ${V(I)}`}function V(j){return j instanceof t.Name?j:(0,t._)`(${j})`}})(ml)),ml}var Ne={},$l;function Ce(){if($l)return Ne;$l=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.checkStrictMode=Ne.getErrorPath=Ne.Type=Ne.useFunc=Ne.setEvaluated=Ne.evaluatedPropsToName=Ne.mergeEvaluated=Ne.eachItem=Ne.unescapeJsonPointer=Ne.escapeJsonPointer=Ne.escapeFragment=Ne.unescapeFragment=Ne.schemaRefOrVal=Ne.schemaHasRulesButRef=Ne.schemaHasRules=Ne.checkUnknownRules=Ne.alwaysValidSchema=Ne.toHash=void 0;const e=Ee(),t=Fn();function r(h){const g={};for(const E of h)g[E]=!0;return g}Ne.toHash=r;function n(h,g){return typeof g=="boolean"?g:Object.keys(g).length===0?!0:(o(h,g),!s(g,h.self.RULES.all))}Ne.alwaysValidSchema=n;function o(h,g=h.schema){const{opts:E,self:O}=h;if(!E.strictSchema||typeof g=="boolean")return;const A=O.RULES.keywords;for(const q in g)A[q]||P(h,`unknown keyword: "${q}"`)}Ne.checkUnknownRules=o;function s(h,g){if(typeof h=="boolean")return!h;for(const E in h)if(g[E])return!0;return!1}Ne.schemaHasRules=s;function a(h,g){if(typeof h=="boolean")return!h;for(const E in h)if(E!=="$ref"&&g.all[E])return!0;return!1}Ne.schemaHasRulesButRef=a;function c({topSchemaRef:h,schemaPath:g},E,O,A){if(!A){if(typeof E=="number"||typeof E=="boolean")return E;if(typeof E=="string")return(0,e._)`${E}`}return(0,e._)`${h}${g}${(0,e.getProperty)(O)}`}Ne.schemaRefOrVal=c;function i(h){return f(decodeURIComponent(h))}Ne.unescapeFragment=i;function l(h){return encodeURIComponent(u(h))}Ne.escapeFragment=l;function u(h){return typeof h=="number"?`${h}`:h.replace(/~/g,"~0").replace(/\//g,"~1")}Ne.escapeJsonPointer=u;function f(h){return h.replace(/~1/g,"/").replace(/~0/g,"~")}Ne.unescapeJsonPointer=f;function _(h,g){if(Array.isArray(h))for(const E of h)g(E);else g(h)}Ne.eachItem=_;function m({mergeNames:h,mergeToName:g,mergeValues:E,resultToName:O}){return(A,q,z,F)=>{const L=z===void 0?q:z instanceof e.Name?(q instanceof e.Name?h(A,q,z):g(A,q,z),z):q instanceof e.Name?(g(A,z,q),q):E(q,z);return F===e.Name&&!(L instanceof e.Name)?O(A,L):L}}Ne.mergeEvaluated={props:m({mergeNames:(h,g,E)=>h.if((0,e._)`${E} !== true && ${g} !== undefined`,()=>{h.if((0,e._)`${g} === true`,()=>h.assign(E,!0),()=>h.assign(E,(0,e._)`${E} || {}`).code((0,e._)`Object.assign(${E}, ${g})`))}),mergeToName:(h,g,E)=>h.if((0,e._)`${E} !== true`,()=>{g===!0?h.assign(E,!0):(h.assign(E,(0,e._)`${E} || {}`),S(h,E,g))}),mergeValues:(h,g)=>h===!0?!0:{...h,...g},resultToName:w}),items:m({mergeNames:(h,g,E)=>h.if((0,e._)`${E} !== true && ${g} !== undefined`,()=>h.assign(E,(0,e._)`${g} === true ? true : ${E} > ${g} ? ${E} : ${g}`)),mergeToName:(h,g,E)=>h.if((0,e._)`${E} !== true`,()=>h.assign(E,g===!0?!0:(0,e._)`${E} > ${g} ? ${E} : ${g}`)),mergeValues:(h,g)=>h===!0?!0:Math.max(h,g),resultToName:(h,g)=>h.var("items",g)})};function w(h,g){if(g===!0)return h.var("props",!0);const E=h.var("props",(0,e._)`{}`);return g!==void 0&&S(h,E,g),E}Ne.evaluatedPropsToName=w;function S(h,g,E){Object.keys(E).forEach(O=>h.assign((0,e._)`${g}${(0,e.getProperty)(O)}`,!0))}Ne.setEvaluated=S;const b={};function $(h,g){return h.scopeValue("func",{ref:g,code:b[g.code]||(b[g.code]=new t._Code(g.code))})}Ne.useFunc=$;var y;(function(h){h[h.Num=0]="Num",h[h.Str=1]="Str"})(y||(Ne.Type=y={}));function d(h,g,E){if(h instanceof e.Name){const O=g===y.Num;return E?O?(0,e._)`"[" + ${h} + "]"`:(0,e._)`"['" + ${h} + "']"`:O?(0,e._)`"/" + ${h}`:(0,e._)`"/" + ${h}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return E?(0,e.getProperty)(h).toString():"/"+u(h)}Ne.getErrorPath=d;function P(h,g,E=h.opts.strictSchema){if(E){if(g=`strict mode: ${g}`,E===!0)throw new Error(g);h.self.logger.warn(g)}}return Ne.checkStrictMode=P,Ne}var zn={},_l;function pt(){if(_l)return zn;_l=1,Object.defineProperty(zn,"__esModule",{value:!0});const e=Ee(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),isAllOfVariant:new e.Name("isAllOfVariant"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return zn.default=t,zn}var El;function Un(){return El||(El=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=Ee(),r=Ce(),n=pt();e.keywordError={message:({keyword:b})=>(0,t.str)`must pass "${b}" keyword validation`},e.keyword$DataError={message:({keyword:b,schemaType:$})=>$?(0,t.str)`"${b}" keyword must be ${$} ($data)`:(0,t.str)`"${b}" keyword is invalid ($data)`};function o(b,$=e.keywordError,y,d){const{it:P}=b,{gen:h,compositeRule:g,allErrors:E}=P,O=f(b,$,y);d??(g||E)?i(h,O):l(P,(0,t._)`[${O}]`)}e.reportError=o;function s(b,$=e.keywordError,y){const{it:d}=b,{gen:P,compositeRule:h,allErrors:g}=d,E=f(b,$,y);i(P,E),h||g||l(d,n.default.vErrors)}e.reportExtraError=s;function a(b,$){b.assign(n.default.errors,$),b.if((0,t._)`${n.default.vErrors} !== null`,()=>b.if($,()=>b.assign((0,t._)`${n.default.vErrors}.length`,$),()=>b.assign(n.default.vErrors,null)))}e.resetErrorsCount=a;function c({gen:b,keyword:$,schemaValue:y,data:d,errsCount:P,it:h}){if(P===void 0)throw new Error("ajv implementation error");const g=b.name("err");b.forRange("i",P,n.default.errors,E=>{b.const(g,(0,t._)`${n.default.vErrors}[${E}]`),b.if((0,t._)`${g}.instancePath === undefined`,()=>b.assign((0,t._)`${g}.instancePath`,(0,t.strConcat)(n.default.instancePath,h.errorPath))),b.assign((0,t._)`${g}.schemaPath`,(0,t.str)`${h.errSchemaPath}/${$}`),h.opts.verbose&&(b.assign((0,t._)`${g}.schema`,y),b.assign((0,t._)`${g}.data`,d))})}e.extendErrors=c;function i(b,$){const y=b.const("err",$);b.if((0,t._)`${n.default.vErrors} === null`,()=>b.assign(n.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${n.default.vErrors}.push(${y})`),b.code((0,t._)`${n.default.errors}++`)}function l(b,$){const{gen:y,validateName:d,schemaEnv:P}=b;P.$async?y.throw((0,t._)`new ${b.ValidationError}(${$})`):(y.assign((0,t._)`${d}.errors`,$),y.return(!1))}const 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 f(b,$,y){const{createErrors:d}=b.it;return d===!1?(0,t._)`{}`:_(b,$,y)}function _(b,$,y={}){const{gen:d,it:P}=b,h=[m(P,y),w(b,y)];return S(b,$,h),d.object(...h)}function m({errorPath:b},{instancePath:$}){const y=$?(0,t.str)`${b}${(0,r.getErrorPath)($,r.Type.Str)}`:b;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,y)]}function w({keyword:b,it:{errSchemaPath:$}},{schemaPath:y,parentSchema:d}){let P=d?$:(0,t.str)`${$}/${b}`;return y&&(P=(0,t.str)`${P}${(0,r.getErrorPath)(y,r.Type.Str)}`),[u.schemaPath,P]}function S(b,{params:$,message:y},d){const{keyword:P,data:h,schemaValue:g,it:E}=b,{opts:O,propertyName:A,topSchemaRef:q,schemaPath:z}=E;d.push([u.keyword,P],[u.params,typeof $=="function"?$(b):$||(0,t._)`{}`]),O.messages&&d.push([u.message,typeof y=="function"?y(b):y]),O.verbose&&d.push([u.schema,g],[u.parentSchema,(0,t._)`${q}${z}`],[n.default.data,h]),A&&d.push([u.propertyName,A])}})(fl)),fl}var Pl;function Qv(){if(Pl)return lr;Pl=1,Object.defineProperty(lr,"__esModule",{value:!0}),lr.boolOrEmptySchema=lr.topBoolOrEmptySchema=void 0;const e=Un(),t=Ee(),r=pt(),n={message:"boolean schema is false"};function o(c){const{gen:i,schema:l,validateName:u}=c;l===!1?a(c,!1):typeof l=="object"&&l.$async===!0?i.return(r.default.data):(i.assign((0,t._)`${u}.errors`,null),i.return(!0))}lr.topBoolOrEmptySchema=o;function s(c,i){const{gen:l,schema:u}=c;u===!1?(l.var(i,!1),a(c)):l.var(i,!0)}lr.boolOrEmptySchema=s;function a(c,i){const{gen:l,data:u}=c,f={gen:l,keyword:"false schema",data:u,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:c};(0,e.reportError)(f,n,void 0,i)}return lr}var tt={},ur={},Sl;function Il(){if(Sl)return ur;Sl=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.getRules=ur.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function r(o){return typeof o=="string"&&t.has(o)}ur.isJSONType=r;function n(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...o,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}return ur.getRules=n,ur}var Ut={},xl;function Tl(){if(xl)return Ut;xl=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.shouldUseRule=Ut.shouldUseGroup=Ut.schemaHasRulesForType=void 0;function e({schema:n,self:o},s){const a=o.RULES.types[s];return a&&a!==!0&&t(n,a)}Ut.schemaHasRulesForType=e;function t(n,o){return o.rules.some(s=>r(n,s))}Ut.shouldUseGroup=t;function r(n,o){var s;return n[o.keyword]!==void 0||((s=o.definition.implements)===null||s===void 0?void 0:s.some(a=>n[a]!==void 0))}return Ut.shouldUseRule=r,Ut}var Nl;function Bn(){if(Nl)return tt;Nl=1,Object.defineProperty(tt,"__esModule",{value:!0}),tt.reportTypeError=tt.checkDataTypes=tt.checkDataType=tt.coerceAndCheckDataType=tt.getJSONTypes=tt.getSchemaTypes=tt.DataType=void 0;const e=Il(),t=Tl(),r=Un(),n=Ee(),o=Ce();var s;(function(y){y[y.Correct=0]="Correct",y[y.Wrong=1]="Wrong"})(s||(tt.DataType=s={}));function a(y){const d=c(y.type);if(d.includes("null")){if(y.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!d.length&&y.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');y.nullable===!0&&d.push("null")}return d}tt.getSchemaTypes=a;function c(y){const d=Array.isArray(y)?y:y?[y]:[];if(d.every(e.isJSONType))return d;throw new Error("type must be JSONType or JSONType[]: "+d.join(","))}tt.getJSONTypes=c;function i(y,d){const{gen:P,data:h,opts:g}=y,E=u(d,g.coerceTypes),O=d.length>0&&!(E.length===0&&d.length===1&&(0,t.schemaHasRulesForType)(y,d[0]));if(O){const A=w(d,h,g.strictNumbers,s.Wrong);P.if(A,()=>{E.length?f(y,d,E):b(y)})}return O}tt.coerceAndCheckDataType=i;const l=new Set(["string","number","integer","boolean","null"]);function u(y,d){return d?y.filter(P=>l.has(P)||d==="array"&&P==="array"):[]}function f(y,d,P){const{gen:h,data:g,opts:E}=y,O=h.let("dataType",(0,n._)`typeof ${g}`),A=h.let("coerced",(0,n._)`undefined`);E.coerceTypes==="array"&&h.if((0,n._)`${O} == 'object' && Array.isArray(${g}) && ${g}.length == 1`,()=>h.assign(g,(0,n._)`${g}[0]`).assign(O,(0,n._)`typeof ${g}`).if(w(d,g,E.strictNumbers),()=>h.assign(A,g))),h.if((0,n._)`${A} !== undefined`);for(const z of P)(l.has(z)||z==="array"&&E.coerceTypes==="array")&&q(z);h.else(),b(y),h.endIf(),h.if((0,n._)`${A} !== undefined`,()=>{h.assign(g,A),_(y,A)});function q(z){switch(z){case"string":h.elseIf((0,n._)`${O} == "number" || ${O} == "boolean"`).assign(A,(0,n._)`"" + ${g}`).elseIf((0,n._)`${g} === null`).assign(A,(0,n._)`""`);return;case"number":h.elseIf((0,n._)`${O} == "boolean" || ${g} === null
|
|
3
3
|
|| (${O} == "string" && ${g} && ${g} == +${g})`).assign(A,(0,n._)`+${g}`);return;case"integer":h.elseIf((0,n._)`${O} === "boolean" || ${g} === null
|
|
4
4
|
|| (${O} === "string" && ${g} && ${g} == +${g} && !(${g} % 1))`).assign(A,(0,n._)`+${g}`);return;case"boolean":h.elseIf((0,n._)`${g} === "false" || ${g} === 0 || ${g} === null`).assign(A,!1).elseIf((0,n._)`${g} === "true" || ${g} === 1`).assign(A,!0);return;case"null":h.elseIf((0,n._)`${g} === "" || ${g} === 0 || ${g} === false`),h.assign(A,null);return;case"array":h.elseIf((0,n._)`${O} === "string" || ${O} === "number"
|
|
@@ -178,4 +178,4 @@ ${d.message}
|
|
|
178
178
|
`:"",f=a.message+(l!==""||u!==""?`
|
|
179
179
|
|
|
180
180
|
`:"")+l+u,_={title:a.ruleId,file:at(c.source.absoluteRef)?c.source.absoluteRef:We.relative(t,c.source.absoluteRef),line:c.start.line,col:c.start.col,endLine:c.end?.line,endColumn:c.end?.col};Oe.output(`::${i} ${r(_)}::${o(f)}
|
|
181
|
-
`)}function r(a){return Object.entries(a).filter(([,c])=>c!=null).map(([c,i])=>`${c}=${s(i)}`).join(",")}function n(a){return a==null?"":typeof a=="string"||a instanceof String?a:JSON.stringify(a)}function o(a){return n(a).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function s(a){return n(a).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}}const{theme:GI,...LI}=Vn.properties,MI={...Vn,properties:LI};async function VI(e){const{ref:t,externalRefResolver:r=new ir(e.config.resolve)}=e,n=await r.resolveDocument(null,t,!0);return e.collectSpecData?.(n),ac({document:n,...e,externalRefResolver:r})}async function FI(e){const{source:t,absoluteRef:r,externalRefResolver:n=new ir(e.config.resolve)}=e,o=Ea(t,r||"/");return ac({document:o,...e,externalRefResolver:n})}async function ac(e){const{document:t,customTypes:r,externalRefResolver:n,config:o}=e;if(hy(t.source.absoluteRef)){const{lintGraphqlDocument:m}=await import("./redocly-openapi-docs.min.lint-graphql-
|
|
181
|
+
`)}function r(a){return Object.entries(a).filter(([,c])=>c!=null).map(([c,i])=>`${c}=${s(i)}`).join(",")}function n(a){return a==null?"":typeof a=="string"||a instanceof String?a:JSON.stringify(a)}function o(a){return n(a).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function s(a){return n(a).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}}const{theme:GI,...LI}=Vn.properties,MI={...Vn,properties:LI};async function VI(e){const{ref:t,externalRefResolver:r=new ir(e.config.resolve)}=e,n=await r.resolveDocument(null,t,!0);return e.collectSpecData?.(n),ac({document:n,...e,externalRefResolver:r})}async function FI(e){const{source:t,absoluteRef:r,externalRefResolver:n=new ir(e.config.resolve)}=e,o=Ea(t,r||"/");return ac({document:o,...e,externalRefResolver:n})}async function ac(e){const{document:t,customTypes:r,externalRefResolver:n,config:o}=e;if(hy(t.source.absoluteRef)){const{lintGraphqlDocument:m}=await import("./redocly-openapi-docs.min.lint-graphql-CMMhYVr_.js");return m({document:t,config:o})}const s=Sn(t.parsed),a=o.getRulesForSpecVersion(yy(s)),c=$a(o.extendTypes(r??En(s),s),o),i={problems:[],specVersion:s,config:o,visitorsData:{}},l=bc(a,o,"preprocessors",s),u=bc(a,o,"rules",s);let f=await Tn({rootDocument:t,rootType:c.Root,externalRefResolver:n});l.length>0&&(In({document:t,rootType:c.Root,normalizedVisitors:zr(l,c),resolvedRefMap:f,ctx:i}),f=await Tn({rootDocument:t,rootType:c.Root,externalRefResolver:n}));const _=zr(u,c);return In({document:t,rootType:c.Root,normalizedVisitors:_,resolvedRefMap:f,ctx:i}),i.problems.map(m=>o.addProblemToIgnore(m))}async function zI(e){const{severity:t,externalRefResolver:r=new ir,config:n}=e;if(!n.document)throw new Error("Config document is not set.");const o={problems:[],specVersion:"config",config:n,visitorsData:{}},s=$a(e.externalConfigTypes||Fa(MI,n)),a=[{severity:t||"error",ruleId:"configuration struct",visitor:Gt()},{severity:t||"error",ruleId:"configuration no-unresolved-refs",visitor:Zt()}],c=zr(a,s),i=n.resolvedRefMap||await Tn({rootDocument:n.document,rootType:s.ConfigRoot,externalRefResolver:r});return In({document:n.document,rootType:s.ConfigRoot,normalizedVisitors:c,resolvedRefMap:i,ctx:o}),o.problems}export{rr as A,HS as B,Wv as C,Rt as D,Va as E,Qp as F,ge as G,ed as H,w_ as I,td as J,Be as K,be as L,St as M,W as N,gt as O,ve as P,g_ as Q,Hv as R,Gt as S,v_ as T,ss as U,ei as V,sd as W,mp as a,jS as b,tI as c,qS as d,LS as e,KS as f,up as g,Fa as h,eI as i,CI as j,zh as k,ac as l,nc as m,ar as n,BS as o,Gh as p,Ur as q,Pa as r,VI as s,He as t,zI as u,FI as v,ZS as w,sh as x,Oe as y,$y as z};
|