@redocly/openapi-docs 3.24.0-next.7 → 3.24.0-next.8

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.
Files changed (17) hide show
  1. package/dist/{redocly-openapi-docs.min.AiChatProvider-gAsQoX30.js → redocly-openapi-docs.min.AiChatProvider-D8o94qvX.js} +1 -1
  2. package/dist/{redocly-openapi-docs.min.AiChatSqliteDBStorage-CnYt8ojK.js → redocly-openapi-docs.min.AiChatSqliteDBStorage-BLTom3F-.js} +1 -1
  3. package/dist/{redocly-openapi-docs.min.AiPanel-Bvkd__SH.js → redocly-openapi-docs.min.AiPanel-DloIzPy9.js} +184 -165
  4. package/dist/{redocly-openapi-docs.min.SqliteDBStorage-C6xTN7YJ.js → redocly-openapi-docs.min.SqliteDBStorage-CksbFVf-.js} +1 -1
  5. package/dist/{redocly-openapi-docs.min.ai-chat-mappers-3WKBUVis.js → redocly-openapi-docs.min.ai-chat-mappers-Dza6UMVG.js} +1 -1
  6. package/dist/{redocly-openapi-docs.min.external-resolver-4BBxclf5.js → redocly-openapi-docs.min.external-resolver-Cm8qMSH6.js} +1 -1
  7. package/dist/{redocly-openapi-docs.min.index-DswpnLh3.js → redocly-openapi-docs.min.index-CVScN5cj.js} +1251 -1229
  8. package/dist/{redocly-openapi-docs.min.index-C4nhoQHY.js → redocly-openapi-docs.min.index-DQKkHTdL.js} +1 -1
  9. package/dist/{redocly-openapi-docs.min.index-IvDdPWpQ.js → redocly-openapi-docs.min.index-DWPYSZX6.js} +1 -1
  10. package/dist/redocly-openapi-docs.min.js +1 -1
  11. package/dist/{redocly-openapi-docs.min.lint-DxrZW_dt.js → redocly-openapi-docs.min.lint-B0W-5WwE.js} +2 -2
  12. package/dist/{redocly-openapi-docs.min.lint-graphql-BJaf-iso.js → redocly-openapi-docs.min.lint-graphql-y6yM0_Y_.js} +1 -1
  13. package/dist/{redocly-openapi-docs.min.respect-run-BxLhw6rg.js → redocly-openapi-docs.min.respect-run-C77Wul9G.js} +1 -1
  14. package/dist/{redocly-openapi-docs.min.standalone-DYNn4rpC.js → redocly-openapi-docs.min.standalone-BFWv5fnd.js} +3 -3
  15. package/dist/{redocly-openapi-docs.min.tauri-path-DkXXjCOS.js → redocly-openapi-docs.min.tauri-path-Dc9-nUUG.js} +1 -1
  16. package/dist/{redocly-openapi-docs.min.useAiChatQueries-DA3WodeG.js → redocly-openapi-docs.min.useAiChatQueries-B9Y_hT0w.js} +35 -33
  17. package/package.json +2 -2
@@ -1 +1 @@
1
- import{aK as t}from"./redocly-openapi-docs.min.index-DswpnLh3.js";async function a(o={}){return typeof o=="object"&&Object.freeze(o),await t("plugin:dialog|open",{options:o})}export{a as open};
1
+ import{aK as t}from"./redocly-openapi-docs.min.index-CVScN5cj.js";async function a(o={}){return typeof o=="object"&&Object.freeze(o),await t("plugin:dialog|open",{options:o})}export{a as open};
@@ -1 +1 @@
1
- import{aF as T,x as m,aG as v,aH as O,aI as I,aJ as w,aK as A,aL as h,aM as x,aN as b,aO as V}from"./redocly-openapi-docs.min.standalone-DYNn4rpC.js";import{aP as M,aQ as B,aR as q,aS as J,aT as Y,aU as W,aV as H,aW as K,aX as Q,aY as X,aZ as Z,a_ as ee,a$ as se,b0 as ae,b1 as te,b2 as re,b3 as ne,b4 as oe,b5 as ie,b6 as le,b7 as ce,b8 as me,b9 as ue,ba as pe,bb as ye,bc as fe,bd as de,be as ge,bf as he,bg as ve,bh as be,bi as Ee,bj as Re,bk as Se,bl as Te,bm as Oe,bn as Ie,bo as we,bp as Ae,bq as xe,br as Ce,bs as Pe,bt as De}from"./redocly-openapi-docs.min.standalone-DYNn4rpC.js";import{g as C,t as P,A as je,c as E,l as R,S as ke,R as Ne,C as Fe}from"./redocly-openapi-docs.min.lint-DxrZW_dt.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 Me,k as Be,m as qe,n as Je,o as Ye,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-DxrZW_dt.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",D=["api-description","api-operation","data-schema"];function j(e,s){const{ctx:a}=C("EntityFileDefault",s),{ctx:t,discriminatorResolver:r}=C("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(P).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(P).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 x({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(D.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 ${D.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{M as Arazzo1Types,B as Arazzo1_1Types,q as AsyncApi2Types,J as AsyncApi3Types,h as BaseResolver,Y 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,Me as formatProblems,Be as getAstNodeByPointer,qe as getCodeframe,ye as getDir,Je as getLineColLocation,fe as getMajorSpecVersion,Ye 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,xe as resolvePath,rs as resolvePlugins,Ce as slash,Pe as stringifyYaml,De as unescapePointerFragment,ns as validate,x as walkDocument,os as xmlEscape};
1
+ import{aF as T,x as m,aG as v,aH as O,aI as I,aJ as w,aK as A,aL as h,aM as x,aN as b,aO as V}from"./redocly-openapi-docs.min.standalone-BFWv5fnd.js";import{aP as M,aQ as B,aR as q,aS as J,aT as Y,aU as W,aV as H,aW as K,aX as Q,aY as X,aZ as Z,a_ as ee,a$ as se,b0 as ae,b1 as te,b2 as re,b3 as ne,b4 as oe,b5 as ie,b6 as le,b7 as ce,b8 as me,b9 as ue,ba as pe,bb as ye,bc as fe,bd as de,be as ge,bf as he,bg as ve,bh as be,bi as Ee,bj as Re,bk as Se,bl as Te,bm as Oe,bn as Ie,bo as we,bp as Ae,bq as xe,br as Ce,bs as Pe,bt as De}from"./redocly-openapi-docs.min.standalone-BFWv5fnd.js";import{g as C,t as P,A as je,c as E,l as R,S as ke,R as Ne,C as Fe}from"./redocly-openapi-docs.min.lint-B0W-5WwE.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 Me,k as Be,m as qe,n as Je,o as Ye,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-B0W-5WwE.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",D=["api-description","api-operation","data-schema"];function j(e,s){const{ctx:a}=C("EntityFileDefault",s),{ctx:t,discriminatorResolver:r}=C("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(P).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(P).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 x({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(D.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 ${D.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{M as Arazzo1Types,B as Arazzo1_1Types,q as AsyncApi2Types,J as AsyncApi3Types,h as BaseResolver,Y 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,Me as formatProblems,Be as getAstNodeByPointer,qe as getCodeframe,ye as getDir,Je as getLineColLocation,fe as getMajorSpecVersion,Ye 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,xe as resolvePath,rs as resolvePlugins,Ce as slash,Pe as stringifyYaml,De as unescapePointerFragment,ns as validate,x as walkDocument,os as xmlEscape};
@@ -1 +1 @@
1
- import{bT as a,bU as s,bV as e,bW as t,bX as i,bY as r,bZ as b}from"./redocly-openapi-docs.min.standalone-DYNn4rpC.js";export{a as hydrate,s as init,e as revision,t as setParameterValue,i as setSecurityDetails,r as setSecurityDetailsVariants,b as version};
1
+ import{bT as a,bU as s,bV as e,bW as t,bX as i,bY as r,bZ as b}from"./redocly-openapi-docs.min.standalone-BFWv5fnd.js";export{a as hydrate,s as init,e as revision,t as setParameterValue,i as setSecurityDetails,r as setSecurityDetailsVariants,b as version};
@@ -1,4 +1,4 @@
1
- import{c as Mr,bv as vn,x as Te,bw as qh,bd as bn,bx as ec,be as at,as as tc,by as Lh,bz as Mh,aI as ma,bi as Qe,aG as rc,aF as Ye,bn as Vh,bA as Fh,bB as zh,bC as Uh,bj as Vt,bp as Bh,bl as wn,bD as vr,bE as nc,bF as oc,bG as ha,bH as Qt,bI as Vr,bJ as Gh,bK as Kh,aO as Zt,b9 as $n,ba as Jh,bk as Yh,bL as Wh,aJ as Fr,aT as sc,bM as Hh,b4 as Xh,aL as cr,b8 as ac,aN as ya,aM as _n,bN as En,aU as ic,aW as Qh,b6 as Zh,aK as Pn,bO as ey,aX as ty,aV as cc,bb as ry,bq as lc,aZ as uc,bP as ny,bQ as oy,bR as pc,bg as sy,bc as ay,bS as dc}from"./redocly-openapi-docs.min.standalone-DYNn4rpC.js";function iy(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 ga(e){return Array.isArray(e)&&e.length>0}function va(e){return e?Object.keys(e):[]}var ba={exports:{}},cy=ba.exports,fc;function ly(){return fc||(fc=1,(function(e,t){(function(r,n){typeof iy=="function"?e.exports=n():r.pluralize=n()})(cy,function(){var r=[],n=[],o={},s={},a={};function c(x){return typeof x=="string"?new RegExp("^"+x+"$","i"):x}function i(x,b){return x===b?b:x===x.toLowerCase()?b.toLowerCase():x===x.toUpperCase()?b.toUpperCase():x[0]===x[0].toUpperCase()?b.charAt(0).toUpperCase()+b.substr(1).toLowerCase():b.toLowerCase()}function l(x,b){return x.replace(/\$(\d{1,2})/g,function(w,y){return b[y]||""})}function u(x,b){return x.replace(b[0],function(w,y){var d=l(b[1],arguments);return i(w===""?x[y-1]:w,d)})}function f(x,b,w){if(!x.length||o.hasOwnProperty(x))return b;for(var y=w.length;y--;){var d=w[y];if(d[0].test(b))return u(b,d)}return b}function _(x,b,w){return function(y){var d=y.toLowerCase();return b.hasOwnProperty(d)?i(y,d):x.hasOwnProperty(d)?i(y,x[d]):f(d,y,w)}}function h(x,b,w,y){return function(d){var P=d.toLowerCase();return b.hasOwnProperty(P)?!0:x.hasOwnProperty(P)?!1:f(P,P,w)===P}}function $(x,b,w){var y=b===1?$.singular(x):$.plural(x);return(w?b+" ":"")+y}return $.plural=_(a,s,r),$.isPlural=h(a,s,r),$.singular=_(s,a,n),$.isSingular=h(s,a,n),$.addPluralRule=function(x,b){r.push([c(x),b])},$.addSingularRule=function(x,b){n.push([c(x),b])},$.addUncountableRule=function(x){if(typeof x=="string"){o[x.toLowerCase()]=!0;return}$.addPluralRule(x,"$0"),$.addSingularRule(x,"$0")},$.addIrregularRule=function(x,b){b=b.toLowerCase(),x=x.toLowerCase(),a[x]=b,s[b]=x},[["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(x){return $.addIrregularRule(x[0],x[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(x){return $.addPluralRule(x[0],x[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(x){return $.addSingularRule(x[0],x[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($.addUncountableRule),$})})(ba)),ba.exports}var uy=ly();const mc=Mr(uy);function py(e,t,r){return e.split(" ").map(n=>mc(n,t,r)).join(" ")}var hc={hide:{type:"boolean"},component:{type:"string",enum:["radio","checkbox"]},label:{type:"string"},items:{type:"array",items:{type:"string"}}},zr={type:"object",properties:hc,additionalProperties:!1},dy={type:"object",properties:{hide:{type:"boolean"},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1},Ur={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:{...hc,like:zr,dislike:zr,satisfied:zr,neutral:zr,dissatisfied:zr},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:dy},additionalProperties:!1}},additionalProperties:!1},fy={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},wa={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},yc={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:Ur,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string"},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:wa,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:fy,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},my={type:"object",properties:{name:{type:"string"},items:br,queries:br,mutations:br,subscriptions:br,types:br,directives:br},required:["name"],additionalProperties:!1},hy={properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:my},otherItemsGroupName:{type:"string"}}},yy={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{type:"string",format:"email"}},additionalProperties:!1},gy={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},identifier:{type:"string"}},additionalProperties:!1},vy={type:"object",properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri"},contact:yy,license:gy},additionalProperties:!1},xn={type:"object",properties:{menu:{type:"object",properties:{...hy.properties},additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:wa,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:Ur,layout:{type:"string",enum:["stacked","three-panel"]},showBuiltInScalars:{type:"boolean"},showBuiltInDirectives:{type:"boolean"},info:vy},additionalProperties:!1},by={type:"object",properties:{downloadUrls:wa,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:Ur,layout:{type:"string",enum:["stacked","three-panel"]}},additionalProperties:!1},wy={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"]},$y={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"}}},gc={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},_y={type:"object",properties:{beforeInfo:{type:"array",items:gc},end:{type:"array",items:gc}}},lr={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},Sn={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},Ey={type:"object",properties:Nn(lr.properties,["light","dark"])},Py={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"}}},xy={type:"object",properties:{error:Sn,info:Sn,redirect:Sn,success:Sn}},Sy={type:"object",properties:wr(lr.properties,["dark"])},Iy={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},Ty={type:"object",properties:{accent:lr,border:Ey,error:lr,http:Py,primary:lr,responses:xy,secondary:Sy,success:lr,text:Iy,tonalOffset:{type:"number"},warning:lr}},In={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},ky={type:"object",properties:{small:In,medium:In,large:In,xlarge:In}},Dt={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},Ny={type:"object",properties:{...wr(Dt.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:ky}},vc={type:"object",properties:Nn(Dt.properties,["fontSize","lineHeight"])},Oy={type:"object",properties:{medium:vc,small:vc}},jy={type:"object",properties:{...wr(Dt.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},color:{type:"string"},sizes:Oy}},Cy={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},Ry={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},bc={type:"object",properties:{fullWidth:{type:"boolean"}}},Ay={type:"object",properties:{buttons:Ny,httpBadges:jy,layoutControls:Cy,panels:Ry,tryItButton:bc,tryItSendButton:bc}},Tn={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},Dy={type:"object",properties:{maxWidth:Tn}},qy={type:"object",properties:{maxWidth:Tn,middlePanelMaxWidth:Tn}},Ly={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:Dy,"three-panel":qy}},wc={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},My={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:wc,defaultDetailsWidth:{type:"string"},examples:wc,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},$c={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},Vy={type:"object",properties:Nn($c.properties,["textTransform"])},Fy={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},zy={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:$c,level1items:Vy,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Fy,textColor:{type:"string"},width:{type:"string"}}},kn={type:"object",properties:{...Dt.properties,color:{type:"string"},transform:{type:"string"}}},Uy={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"}}},By={type:"object",properties:wr(Dt.properties,["fontSize"])},Gy={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},Ky={type:"object",properties:{code:Uy,fieldName:Dt,...Nn(Dt.properties,["fontSize","fontFamily"]),fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:kn,heading2:kn,heading3:kn,headings:By,lineHeight:{type:"string"},links:Gy,optimizeSpeed:{type:"boolean"},rightPanelHeading:kn,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}}},Jy={type:"object",properties:{color:{type:"string"},...wr(Dt.properties,["fontWeight"])}},Yy={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:Jy}},Wy={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},Hy={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},_c={type:"object",properties:{custom:{type:"string"}}},Xy={type:"object",properties:{DownloadButton:_c,NextSectionButton:_c}},Qy={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},Zy={type:"object",properties:{borderRadius:{type:"string"}}},eg={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},tg={type:"object",properties:{breakpoints:Tn,codeBlock:Yy,colors:Ty,components:Ay,layout:Ly,logo:Wy,fab:Hy,overrides:Xy,rightPanel:Qy,schema:My,shape:Zy,sidebar:zy,spacing:eg,typography:Ky,links:{type:"object",properties:{color:{type:"string"}}},codeSample:{type:"object",properties:{backgroundColor:{type:"string"}}}}},rg={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:wy}},required:["languages"]},ng={properties:{theme:tg,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:rg,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:$y,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:_y,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 Nn(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"},og={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},sg={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},ag={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},ig={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"},On={...og,...ag,...sg,extends:ig},Ec=e=>e,it=Ec({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},Pc={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},$a={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}}},_a={type:"array",items:{...$a,properties:{...$a.properties,items:{type:"array",items:$a}}}},cg={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},lg={type:"object",properties:{hide:{type:"boolean"},suggestions:{type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},ug={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}},pg={type:"object",properties:{facets:ug,...Ze.properties},additionalProperties:!1},dg={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},xc={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},Sc={type:"object",properties:{items:_a,...Ze.properties},additionalProperties:!1},Ic={type:"object",additionalProperties:cg},Tc={type:"object",properties:{items:_a,copyrightText:{type:"string"},logo:Ze,...Ze.properties},additionalProperties:!1},kc={type:"object",properties:{separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"]},...Ze.properties},additionalProperties:!1},Nc={type:"object",properties:{head:{type:"array",items:Pc},body:{type:"array",items:Pc}},additionalProperties:!1},Oc={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}},jc={type:"object",properties:{engine:{type:"string",enum:["flexsearch","typesense"]},ai:lg,filters:pg,placement:{type:"string"},shortcuts:{type:"array",items:{type:"string"}},suggestedPages:{type:"array",items:dg},...Ze.properties},additionalProperties:!1},Cc={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},Rc={type:"object",properties:{ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"}},...Ze.properties},additionalProperties:!1},Ac={type:"string",enum:["slate","pink","coral","amber","jade","cyan","ocean","indigo","iris"]},fg={type:"object",properties:{...Ze.properties,items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude","docs-mcp-cursor","docs-mcp-vscode"]}}},additionalProperties:!1},Dc={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:fg},additionalProperties:!1},qc={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},Lc={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},jn={...yc,properties:{...yc.properties,...ng.properties}},mg={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},hg={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"]},yg={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},gg={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},vg={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"]},bg={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},wg={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"]},$g={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"]},_g={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:$g}},additionalProperties:!1,required:["trackingId"]},Mc={type:"object",properties:{adobe:mg,amplitude:hg,fullstory:yg,heap:gg,rudderstack:vg,segment:bg,gtm:wg,ga:_g}},Vc={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},Fc={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},zc={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},Eg={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"}}}},Pg={type:"object",additionalProperties:!0,required:["slug","items"],properties:{show:{type:"boolean"},slug:{type:"string"},filters:{type:"array",items:Eg},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:_a,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}},Cn={type:"object",patternProperties:{".*":Pg}},Rn={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"},...On},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"}}},xg={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1},Sg={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1},Ig={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:Sg},excludes:{type:"array",items:xg},filters:{type:"array",items:Ig},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1},Tg={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},kg={type:"object",required:["type","properties"],properties:{type:{type:"string",enum:["object"]},description:{type:"string"},properties:{type:"object",additionalProperties:Tg},required:{type:"array",items:{type:"string"}},additionalProperties:{type:"boolean"}},additionalProperties:!0},Ng={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:kg,icon:{type:"object",properties:{src:{type:"string"},srcSet:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},Og={type:"object",additionalProperties:Ng},Uc={type:"object",properties:{show:{type:"boolean"},entityTypes:Og,catalogs:{type:"object",properties:{all:Ft,services:Ft,domains:Ft,teams:Ft,users:Ft,apiDescriptions:Ft,dataSchemas:Ft,apiOperations:Ft},additionalProperties:Ft}},additionalProperties:!1},Bc={type:"string",enum:["eq","in","gt","gte","lt","lte","contains","startsWith","endsWith","exists","isEmpty","between","matches","some","every","none"]},Ea={type:"string",enum:["and","or"]},Pa={type:"object",properties:{field:{type:"string"},operator:Bc,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]},match:{type:"array",items:{type:"object",properties:{field:{type:"string"},operator:Bc,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]}}}}}},jg={type:"object",properties:{operator:Ea,conditions:{type:"array",items:Pa}},required:["operator","conditions"],additionalProperties:!1},Gc={type:"array",items:{oneOf:[Pa,{type:"object",properties:{operator:Ea,conditions:{type:"array",items:{oneOf:[Pa,jg]}}},required:["operator","conditions"],additionalProperties:!1}]}},Kc={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},Cg={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:Kc},required:["subject","assertions"],additionalProperties:!1}},Rg={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:Kc,where:Cg,weight:{type:"number"}},required:["subject","assertions"],additionalProperties:!1},Ag={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object",properties:{severity:{type:"string",enum:["error","warn","off"]},weight:{type:"number"}},additionalProperties:!0},Rg]}},Dg={type:"object",properties:{name:{type:"string"},extends:On.extends,rules:Ag},required:["name"],additionalProperties:!1},Jc={type:"object",properties:{event:{type:"string",enum:["runtime","manual"]}},required:["event"],additionalProperties:!1},qg={oneOf:[Jc,{type:"array",items:Jc}]},Lg={type:"object",properties:{name:{type:"string"},key:{type:"string"},description:{type:"string"},entities:{oneOf:[Gc,{type:"object",properties:{operator:Ea,conditions:Gc},required:["operator","conditions"],additionalProperties:!1}]},levels:{type:"array",items:Dg,minItems:1},trigger:qg},required:["name","key","entities","levels"],additionalProperties:!1},Yc={type:"array",items:Lg},Mg={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:xc,navbar:Sc,products:Ic,footer:Tc,sidebar:kc,scripts:Nc,links:Oc,feedback:Ur,search:jc,aiAssistant:Cc,colorMode:Rc,palette:Ac,navigation:Dc,codeSnippet:qc,markdown:Lc,openapi:jn,asyncapi:by,graphql:xn,analytics:Mc,userMenu:Vc,versionPicker:Fc,breadcrumbs:zc,catalog:Cn,entitiesCatalog:Uc,catalogClassic:Cn,scorecard:Rn,scorecardClassic:Rn,scorecards:Yc},additionalProperties:!0},Vg=(e=>(e.OIDC="OIDC",e.SAML2="SAML2",e))(Vg||{}),Fg=(e=>(e.SERVICE_ACCOUNT="SERVICE_ACCOUNT",e.OAUTH2="OAUTH2",e))(Fg||{}),zg=(e=>(e.STACKED="stacked",e.THREE_PANEL="three-panel",e))(zg||{}),Ug="^[a-z0-9]+(?:-[a-z0-9]+)*$",Wc="redocly",Bg=[Wc,"corporate","guest"],Hc=["REDOCLY","CORPORATE","GUEST"],Gg={type:"object",additionalProperties:{type:"string"}},Kg={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},An={type:"string",enum:["error","warn","off"]},Jg={type:"object",additionalProperties:!1,properties:{schemaCheck:An,statusCodeCheck:An,contentTypeCheck:An,successCriteriaCheck:An}},Yg={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},Wg={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1},Hg={type:"object",properties:{warn:{type:"number"},error:{type:"number"}},additionalProperties:!1},Xg={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:[Yg,Wg]},inputs:Gg,servers:Kg,severity:Jg,slo:Hg},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1},Qg={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},Zg={type:"object",properties:{type:{type:"string",const:"OIDC"},title:{type:"string"},pkce:{type:"boolean"},configurationUrl:{type:"string",minLength:1},configuration:Qg,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},ev={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"]},tv={oneOf:[Zg,ev],discriminator:{propertyName:"type"}},rv={type:"object",additionalProperties:tv},Xc={oneOf:[{type:"array",items:{type:"string",enum:Hc},uniqueItems:!0},{type:"string",enum:Hc}]},Qc={type:"string",pattern:Ug,not:{enum:Bg.filter(e=>e!==Wc)}},Zc={oneOf:[{type:"array",items:Qc,uniqueItems:!0},Qc]},el={type:"boolean"},tl={type:"string",pattern:"^https?://.*"},rl={type:"string",pattern:"^https?://.*"},nv={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"},ov={type:"object",additionalProperties:nv,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"},sv={type:"string",enum:["info","success","warning","error"]},ze={type:"object",additionalProperties:{type:"string"}},av={type:"object",properties:{trackingId:{type:"string"},content:{type:"string"},dismissible:{type:"boolean"},target:{type:"string"},color:sv,rbac:ze,startAt:{type:"string",format:"date-time"},endAt:{type:"string",format:"date-time"}},required:["content"],additionalProperties:!1},iv={type:"array",items:av},cv={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:ze,openapi:jn,graphql:xn,theme:{type:"object",properties:{openapi:jn,graphql:xn},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},...On},required:["root"]},lv={type:"object",additionalProperties:!0},uv={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},pv={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},dv={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:pv},additionalProperties:!1},fv={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},mv={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},nl={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:mv},additionalProperties:ze},hv={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},yv={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]},gv={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean"},stage:{type:"string"},auth:{oneOf:[hv,yv]}},additionalProperties:!1,required:["type","apiBaseUrl"]},vv={type:"object",properties:{type:{type:"string",const:"OAUTH2"},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},bv={type:"object",properties:{type:{type:"string",const:"SERVICE_ACCOUNT"},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},xa={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:[vv,bv],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},wv={...xa,properties:{...xa.properties,type:{type:"string",const:"APIGEE_EDGE"}}},$v={type:"object",oneOf:[xa,wv,gv],discriminator:{propertyName:"type"}},_v={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:$v}}},ol={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"]},Ev={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]},Pv={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},xv={type:"object",properties:{hide:{type:"boolean"},excludeFiles:{type:"array",items:{type:"string"}}},additionalProperties:!1},Sv={type:"object",properties:{requiresLogin:el,logoutReturnUrl:tl,residency:rl,sso:Xc,idps:Zc,rbac:nl},additionalProperties:!1,not:{required:["sso","idps"]},description:"Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both."},Sa={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:ov,seo:dv,rbac:nl,apiFunctions:fv,requiresLogin:el,responseHeaders:{type:"object",additionalProperties:{type:"array",items:Ev}},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:cv},...On,ssoDirect:rv,sso:Xc,idps:Zc,residency:rl,logoutReturnUrl:tl,access:Sv,developerOnboarding:_v,removeAttribution:{type:"boolean"},i18n:ol,l10n:ol,metadata:lv,metadataGlobs:uv,ignore:{type:"array",items:{type:"string"}},theme:Mg,reunite:Xg,logo:xc,navbar:Sc,products:Ic,footer:Tc,sidebar:kc,scripts:Nc,links:Oc,feedback:Ur,search:jc,aiAssistant:Cc,colorMode:Rc,palette:Ac,navigation:Dc,codeSnippet:qc,markdown:Lc,openapi:jn,graphql:xn,analytics:Mc,userMenu:Vc,versionPicker:Fc,breadcrumbs:zc,catalog:Cn,entitiesCatalog:Uc,catalogClassic:Cn,scorecard:Rn,scorecardClassic:Rn,scorecards:Yc,mcp:Pv,skills:xv,corsProxy:{type:"object",properties:{allowedTargets:{type:"array",items:{type:"string"}}},additionalProperties:!1},banner:iv},not:{required:["sso","idps"]},additionalProperties:!0},Iv={...Sa,additionalProperties:!1},Dn={$id:"root-redocly-config",...Sa,properties:{plugins:{type:"array",items:{type:"string"}},...Sa.properties,env:{type:"object",additionalProperties:Iv}},additionalProperties:!1},Tv=["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"],We=Ec({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"}),kv={type:"object",nodeTypeName:We.UserEntityMetadata,properties:{email:{type:"string",description:"Email of the user"}},required:["email"],additionalProperties:!0},Nv={type:"object",nodeTypeName:We.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},Ov={type:"object",nodeTypeName:We.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},jv={type:"object",nodeTypeName:We.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},Cv={type:"object",properties:{},nodeTypeName:We.EntityMetadata,additionalProperties:!0},Rv={type:"object",nodeTypeName:We.EntitySlackChannel,properties:{name:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["name"],additionalProperties:!1},Av={type:"object",nodeTypeName:We.EntitySlackContact,properties:{channels:{type:"array",items:Rv}},required:["channels"],additionalProperties:!1},Dv={type:"object",nodeTypeName:We.EntityContact,properties:{slack:Av},additionalProperties:!1},qv={type:"object",nodeTypeName:We.EntityLink,properties:{label:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["label","url"],additionalProperties:!1},Lv={type:"object",nodeTypeName:We.EntityRelation,properties:{type:{type:"string",enum:Tv},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:Dv,links:{type:"array",nodeTypeName:We.EntityLinkList,items:qv},relations:{type:"array",nodeTypeName:We.EntityRelationList,items:Lv},metadata:Cv},Mv={type:"object",discriminator:{propertyName:"type"},oneOf:[{type:"object",properties:{...er,type:{type:"string",const:"user"},metadata:kv},required:["key","title","type","metadata"],additionalProperties:!1,nodeTypeName:We.UserEntity},{type:"object",nodeTypeName:We.ApiOperationEntity,properties:{...er,type:{type:"string",const:"api-operation"},metadata:Ov},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:We.DataSchemaEntity,properties:{...er,type:{type:"string",const:"data-schema"},metadata:jv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:We.ApiDescriptionEntity,properties:{...er,type:{type:"string",const:"api-description"},metadata:Nv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:We.ServiceEntity,properties:{...er,type:{type:"string",const:"service"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:We.DomainEntity,properties:{...er,type:{type:"string",const:"domain"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:We.TeamEntity,properties:{...er,type:{type:"string",const:"team"}},required:["key","title","type"],additionalProperties:!1}]},Vv={type:"object",nodeTypeName:We.Entity,properties:{...er},required:["key","title","type"],additionalProperties:!1};const Fv=["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 Ia(e){return e.includes("/")}var Ta={exports:{}},sl={},zt={},ur={},al={},il={},cl={},ll;function qn(){return ll||(ll=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(w,...y){const d=[w[0]];let P=0;for(;P<y.length;)c(d,y[P]),d.push(w[++P]);return new n(d)}e._=o;const s=new n("+");function a(w,...y){const d=[h(w[0])];let P=0;for(;P<y.length;)d.push(s),c(d,y[P]),d.push(s,h(w[++P]));return i(d),new n(d)}e.str=a;function c(w,y){y instanceof n?w.push(...y._items):y instanceof r?w.push(y):w.push(f(y))}e.addCodeArg=c;function i(w){let y=1;for(;y<w.length-1;){if(w[y]===s){const d=l(w[y-1],w[y+1]);if(d!==void 0){w.splice(y-1,3,d);continue}w[y++]="+"}y++}}function l(w,y){if(y==='""')return w;if(w==='""')return y;if(typeof w=="string")return y instanceof r||w[w.length-1]!=='"'?void 0:typeof y!="string"?`${w.slice(0,-1)}${y}"`:y[0]==='"'?w.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!(w instanceof r))return`"${w}${y.slice(1)}`}function u(w,y){return y.emptyStr()?w:w.emptyStr()?y:a`${w}${y}`}e.strConcat=u;function f(w){return typeof w=="number"||typeof w=="boolean"||w===null?w:h(Array.isArray(w)?w.join(","):w)}function _(w){return new n(h(w))}e.stringify=_;function h(w){return JSON.stringify(w).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=h;function $(w){return typeof w=="string"&&e.IDENTIFIER.test(w)?new n(`.${w}`):o`[${w}]`}e.getProperty=$;function x(w){if(typeof w=="string"&&e.IDENTIFIER.test(w))return new n(`${w}`);throw new Error(`CodeGen: invalid export name: ${w}, use explicit $id name mapping`)}e.getEsmExportName=x;function b(w){return new n(w.toString())}e.regexpCode=b})(cl)),cl}var ul={},pl;function dl(){return pl||(pl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=qn();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:h}=_,$=(f=u.key)!==null&&f!==void 0?f:u.ref;let x=this._values[h];if(x){const y=x.get($);if(y)return y}else x=this._values[h]=new Map;x.set($,_);const b=this._scope[h]||(this._scope[h]=[]),w=b.length;return b[w]=u.ref,_.setValue(u,{property:h,itemIndex:w}),_}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 h=t.nil;for(const $ in l){const x=l[$];if(!x)continue;const b=f[$]=f[$]||new Map;x.forEach(w=>{if(b.has(w))return;b.set(w,n.Started);let y=u(w);if(y){const d=this.opts.es5?e.varKinds.var:e.varKinds.const;h=(0,t._)`${h}${d} ${w} = ${y};${this.opts._n}`}else if(y=_?.(w))h=(0,t._)`${h}${y}${this.opts._n}`;else throw new r(w);b.set(w,n.Completed)})}return h}}e.ValueScope=c})(ul)),ul}var fl;function Ee(){return fl||(fl=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=qn(),r=dl();var n=qn();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=dl();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,S){return this}}class a extends s{constructor(v,S,T){super(),this.varKind=v,this.name=S,this.rhs=T}render({es5:v,_n:S}){const T=v?r.varKinds.var:this.varKind,M=this.rhs===void 0?"":` = ${this.rhs}`;return`${T} ${this.name}${M};`+S}optimizeNames(v,S){if(v[this.name.str])return this.rhs&&(this.rhs=K(this.rhs,v,S)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class c extends s{constructor(v,S,T){super(),this.lhs=v,this.rhs=S,this.sideEffects=T}render({_n:v}){return`${this.lhs} = ${this.rhs};`+v}optimizeNames(v,S){if(!(this.lhs instanceof t.Name&&!v[this.lhs.str]&&!this.sideEffects))return this.rhs=K(this.rhs,v,S),this}get names(){const v=this.lhs instanceof t.Name?{}:{...this.lhs.names};return L(v,this.rhs)}}class i extends c{constructor(v,S,T,M){super(v,T,M),this.op=S}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,S){return this.code=K(this.code,v,S),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class h extends s{constructor(v=[]){super(),this.nodes=v}render(v){return this.nodes.reduce((S,T)=>S+T.render(v),"")}optimizeNodes(){const{nodes:v}=this;let S=v.length;for(;S--;){const T=v[S].optimizeNodes();Array.isArray(T)?v.splice(S,1,...T):T?v[S]=T:v.splice(S,1)}return v.length>0?this:void 0}optimizeNames(v,S){const{nodes:T}=this;let M=T.length;for(;M--;){const U=T[M];U.optimizeNames(v,S)||(le(v,U.names),T.splice(M,1))}return T.length>0?this:void 0}get names(){return this.nodes.reduce((v,S)=>F(v,S.names),{})}}class $ extends h{render(v){return"{"+v._n+super.render(v)+"}"+v._n}}class x extends h{}class b extends ${}b.kind="else";class w extends ${constructor(v,S){super(S),this.condition=v}render(v){let S=`if(${this.condition})`+super.render(v);return this.else&&(S+="else "+this.else.render(v)),S}optimizeNodes(){super.optimizeNodes();const v=this.condition;if(v===!0)return this.nodes;let S=this.else;if(S){const T=S.optimizeNodes();S=this.else=Array.isArray(T)?new b(T):T}if(S)return v===!1?S instanceof w?S:S.nodes:this.nodes.length?this:new w(pe(v),S instanceof w?[S]:S.nodes);if(!(v===!1||!this.nodes.length))return this}optimizeNames(v,S){var T;if(this.else=(T=this.else)===null||T===void 0?void 0:T.optimizeNames(v,S),!!(super.optimizeNames(v,S)||this.else))return this.condition=K(this.condition,v,S),this}get names(){const v=super.names;return L(v,this.condition),this.else&&F(v,this.else.names),v}}w.kind="if";class y extends ${}y.kind="for";class d extends y{constructor(v){super(),this.iteration=v}render(v){return`for(${this.iteration})`+super.render(v)}optimizeNames(v,S){if(super.optimizeNames(v,S))return this.iteration=K(this.iteration,v,S),this}get names(){return F(super.names,this.iteration.names)}}class P extends y{constructor(v,S,T,M){super(),this.varKind=v,this.name=S,this.from=T,this.to=M}render(v){const S=v.es5?r.varKinds.var:this.varKind,{name:T,from:M,to:U}=this;return`for(${S} ${T}=${M}; ${T}<${U}; ${T}++)`+super.render(v)}get names(){const v=L(super.names,this.from);return L(v,this.to)}}class m extends y{constructor(v,S,T,M){super(),this.loop=v,this.varKind=S,this.name=T,this.iterable=M}render(v){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(v)}optimizeNames(v,S){if(super.optimizeNames(v,S))return this.iterable=K(this.iterable,v,S),this}get names(){return F(super.names,this.iterable.names)}}class g extends ${constructor(v,S,T){super(),this.name=v,this.args=S,this.async=T}render(v){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(v)}}g.kind="func";class E extends h{render(v){return"return "+super.render(v)}}E.kind="return";class O extends ${render(v){let S="try"+super.render(v);return this.catch&&(S+=this.catch.render(v)),this.finally&&(S+=this.finally.render(v)),S}optimizeNodes(){var v,S;return super.optimizeNodes(),(v=this.catch)===null||v===void 0||v.optimizeNodes(),(S=this.finally)===null||S===void 0||S.optimizeNodes(),this}optimizeNames(v,S){var T,M;return super.optimizeNames(v,S),(T=this.catch)===null||T===void 0||T.optimizeNames(v,S),(M=this.finally)===null||M===void 0||M.optimizeNames(v,S),this}get names(){const v=super.names;return this.catch&&F(v,this.catch.names),this.finally&&F(v,this.finally.names),v}}class C extends ${constructor(v){super(),this.error=v}render(v){return`catch(${this.error})`+super.render(v)}}C.kind="catch";class q extends ${render(v){return"finally"+super.render(v)}}q.kind="finally";class z{constructor(v,S={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...S,_n:S.lines?`
1
+ import{c as Mr,bv as vn,x as Te,bw as qh,bd as bn,bx as ec,be as at,as as tc,by as Lh,bz as Mh,aI as ma,bi as Qe,aG as rc,aF as Ye,bn as Vh,bA as Fh,bB as zh,bC as Uh,bj as Vt,bp as Bh,bl as wn,bD as vr,bE as nc,bF as oc,bG as ha,bH as Qt,bI as Vr,bJ as Gh,bK as Kh,aO as Zt,b9 as $n,ba as Jh,bk as Yh,bL as Wh,aJ as Fr,aT as sc,bM as Hh,b4 as Xh,aL as cr,b8 as ac,aN as ya,aM as _n,bN as En,aU as ic,aW as Qh,b6 as Zh,aK as Pn,bO as ey,aX as ty,aV as cc,bb as ry,bq as lc,aZ as uc,bP as ny,bQ as oy,bR as pc,bg as sy,bc as ay,bS as dc}from"./redocly-openapi-docs.min.standalone-BFWv5fnd.js";function iy(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 ga(e){return Array.isArray(e)&&e.length>0}function va(e){return e?Object.keys(e):[]}var ba={exports:{}},cy=ba.exports,fc;function ly(){return fc||(fc=1,(function(e,t){(function(r,n){typeof iy=="function"?e.exports=n():r.pluralize=n()})(cy,function(){var r=[],n=[],o={},s={},a={};function c(x){return typeof x=="string"?new RegExp("^"+x+"$","i"):x}function i(x,b){return x===b?b:x===x.toLowerCase()?b.toLowerCase():x===x.toUpperCase()?b.toUpperCase():x[0]===x[0].toUpperCase()?b.charAt(0).toUpperCase()+b.substr(1).toLowerCase():b.toLowerCase()}function l(x,b){return x.replace(/\$(\d{1,2})/g,function(w,y){return b[y]||""})}function u(x,b){return x.replace(b[0],function(w,y){var d=l(b[1],arguments);return i(w===""?x[y-1]:w,d)})}function f(x,b,w){if(!x.length||o.hasOwnProperty(x))return b;for(var y=w.length;y--;){var d=w[y];if(d[0].test(b))return u(b,d)}return b}function _(x,b,w){return function(y){var d=y.toLowerCase();return b.hasOwnProperty(d)?i(y,d):x.hasOwnProperty(d)?i(y,x[d]):f(d,y,w)}}function h(x,b,w,y){return function(d){var P=d.toLowerCase();return b.hasOwnProperty(P)?!0:x.hasOwnProperty(P)?!1:f(P,P,w)===P}}function $(x,b,w){var y=b===1?$.singular(x):$.plural(x);return(w?b+" ":"")+y}return $.plural=_(a,s,r),$.isPlural=h(a,s,r),$.singular=_(s,a,n),$.isSingular=h(s,a,n),$.addPluralRule=function(x,b){r.push([c(x),b])},$.addSingularRule=function(x,b){n.push([c(x),b])},$.addUncountableRule=function(x){if(typeof x=="string"){o[x.toLowerCase()]=!0;return}$.addPluralRule(x,"$0"),$.addSingularRule(x,"$0")},$.addIrregularRule=function(x,b){b=b.toLowerCase(),x=x.toLowerCase(),a[x]=b,s[b]=x},[["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(x){return $.addIrregularRule(x[0],x[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(x){return $.addPluralRule(x[0],x[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(x){return $.addSingularRule(x[0],x[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($.addUncountableRule),$})})(ba)),ba.exports}var uy=ly();const mc=Mr(uy);function py(e,t,r){return e.split(" ").map(n=>mc(n,t,r)).join(" ")}var hc={hide:{type:"boolean"},component:{type:"string",enum:["radio","checkbox"]},label:{type:"string"},items:{type:"array",items:{type:"string"}}},zr={type:"object",properties:hc,additionalProperties:!1},dy={type:"object",properties:{hide:{type:"boolean"},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1},Ur={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:{...hc,like:zr,dislike:zr,satisfied:zr,neutral:zr,dissatisfied:zr},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:dy},additionalProperties:!1}},additionalProperties:!1},fy={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},wa={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},yc={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:Ur,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string"},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:wa,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:fy,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},my={type:"object",properties:{name:{type:"string"},items:br,queries:br,mutations:br,subscriptions:br,types:br,directives:br},required:["name"],additionalProperties:!1},hy={properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:my},otherItemsGroupName:{type:"string"}}},yy={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{type:"string",format:"email"}},additionalProperties:!1},gy={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},identifier:{type:"string"}},additionalProperties:!1},vy={type:"object",properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri"},contact:yy,license:gy},additionalProperties:!1},xn={type:"object",properties:{menu:{type:"object",properties:{...hy.properties},additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:wa,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:Ur,layout:{type:"string",enum:["stacked","three-panel"]},showBuiltInScalars:{type:"boolean"},showBuiltInDirectives:{type:"boolean"},info:vy},additionalProperties:!1},by={type:"object",properties:{downloadUrls:wa,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:Ur,layout:{type:"string",enum:["stacked","three-panel"]}},additionalProperties:!1},wy={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"]},$y={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"}}},gc={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},_y={type:"object",properties:{beforeInfo:{type:"array",items:gc},end:{type:"array",items:gc}}},lr={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},Sn={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},Ey={type:"object",properties:Nn(lr.properties,["light","dark"])},Py={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"}}},xy={type:"object",properties:{error:Sn,info:Sn,redirect:Sn,success:Sn}},Sy={type:"object",properties:wr(lr.properties,["dark"])},Iy={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},Ty={type:"object",properties:{accent:lr,border:Ey,error:lr,http:Py,primary:lr,responses:xy,secondary:Sy,success:lr,text:Iy,tonalOffset:{type:"number"},warning:lr}},In={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},ky={type:"object",properties:{small:In,medium:In,large:In,xlarge:In}},Dt={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},Ny={type:"object",properties:{...wr(Dt.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:ky}},vc={type:"object",properties:Nn(Dt.properties,["fontSize","lineHeight"])},Oy={type:"object",properties:{medium:vc,small:vc}},jy={type:"object",properties:{...wr(Dt.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},color:{type:"string"},sizes:Oy}},Cy={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},Ry={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},bc={type:"object",properties:{fullWidth:{type:"boolean"}}},Ay={type:"object",properties:{buttons:Ny,httpBadges:jy,layoutControls:Cy,panels:Ry,tryItButton:bc,tryItSendButton:bc}},Tn={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},Dy={type:"object",properties:{maxWidth:Tn}},qy={type:"object",properties:{maxWidth:Tn,middlePanelMaxWidth:Tn}},Ly={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:Dy,"three-panel":qy}},wc={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},My={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:wc,defaultDetailsWidth:{type:"string"},examples:wc,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},$c={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},Vy={type:"object",properties:Nn($c.properties,["textTransform"])},Fy={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},zy={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:$c,level1items:Vy,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Fy,textColor:{type:"string"},width:{type:"string"}}},kn={type:"object",properties:{...Dt.properties,color:{type:"string"},transform:{type:"string"}}},Uy={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"}}},By={type:"object",properties:wr(Dt.properties,["fontSize"])},Gy={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},Ky={type:"object",properties:{code:Uy,fieldName:Dt,...Nn(Dt.properties,["fontSize","fontFamily"]),fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:kn,heading2:kn,heading3:kn,headings:By,lineHeight:{type:"string"},links:Gy,optimizeSpeed:{type:"boolean"},rightPanelHeading:kn,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}}},Jy={type:"object",properties:{color:{type:"string"},...wr(Dt.properties,["fontWeight"])}},Yy={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:Jy}},Wy={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},Hy={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},_c={type:"object",properties:{custom:{type:"string"}}},Xy={type:"object",properties:{DownloadButton:_c,NextSectionButton:_c}},Qy={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},Zy={type:"object",properties:{borderRadius:{type:"string"}}},eg={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},tg={type:"object",properties:{breakpoints:Tn,codeBlock:Yy,colors:Ty,components:Ay,layout:Ly,logo:Wy,fab:Hy,overrides:Xy,rightPanel:Qy,schema:My,shape:Zy,sidebar:zy,spacing:eg,typography:Ky,links:{type:"object",properties:{color:{type:"string"}}},codeSample:{type:"object",properties:{backgroundColor:{type:"string"}}}}},rg={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:wy}},required:["languages"]},ng={properties:{theme:tg,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:rg,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:$y,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:_y,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 Nn(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"},og={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},sg={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},ag={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},ig={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"},On={...og,...ag,...sg,extends:ig},Ec=e=>e,it=Ec({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},Pc={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},$a={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}}},_a={type:"array",items:{...$a,properties:{...$a.properties,items:{type:"array",items:$a}}}},cg={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},lg={type:"object",properties:{hide:{type:"boolean"},suggestions:{type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},ug={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}},pg={type:"object",properties:{facets:ug,...Ze.properties},additionalProperties:!1},dg={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},xc={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},Sc={type:"object",properties:{items:_a,...Ze.properties},additionalProperties:!1},Ic={type:"object",additionalProperties:cg},Tc={type:"object",properties:{items:_a,copyrightText:{type:"string"},logo:Ze,...Ze.properties},additionalProperties:!1},kc={type:"object",properties:{separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"]},...Ze.properties},additionalProperties:!1},Nc={type:"object",properties:{head:{type:"array",items:Pc},body:{type:"array",items:Pc}},additionalProperties:!1},Oc={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}},jc={type:"object",properties:{engine:{type:"string",enum:["flexsearch","typesense"]},ai:lg,filters:pg,placement:{type:"string"},shortcuts:{type:"array",items:{type:"string"}},suggestedPages:{type:"array",items:dg},...Ze.properties},additionalProperties:!1},Cc={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},Rc={type:"object",properties:{ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"}},...Ze.properties},additionalProperties:!1},Ac={type:"string",enum:["slate","pink","coral","amber","jade","cyan","ocean","indigo","iris"]},fg={type:"object",properties:{...Ze.properties,items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude","docs-mcp-cursor","docs-mcp-vscode"]}}},additionalProperties:!1},Dc={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:fg},additionalProperties:!1},qc={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},Lc={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},jn={...yc,properties:{...yc.properties,...ng.properties}},mg={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},hg={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"]},yg={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},gg={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},vg={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"]},bg={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},wg={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"]},$g={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"]},_g={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:$g}},additionalProperties:!1,required:["trackingId"]},Mc={type:"object",properties:{adobe:mg,amplitude:hg,fullstory:yg,heap:gg,rudderstack:vg,segment:bg,gtm:wg,ga:_g}},Vc={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},Fc={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},zc={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},Eg={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"}}}},Pg={type:"object",additionalProperties:!0,required:["slug","items"],properties:{show:{type:"boolean"},slug:{type:"string"},filters:{type:"array",items:Eg},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:_a,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}},Cn={type:"object",patternProperties:{".*":Pg}},Rn={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"},...On},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"}}},xg={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1},Sg={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1},Ig={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:Sg},excludes:{type:"array",items:xg},filters:{type:"array",items:Ig},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1},Tg={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},kg={type:"object",required:["type","properties"],properties:{type:{type:"string",enum:["object"]},description:{type:"string"},properties:{type:"object",additionalProperties:Tg},required:{type:"array",items:{type:"string"}},additionalProperties:{type:"boolean"}},additionalProperties:!0},Ng={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:kg,icon:{type:"object",properties:{src:{type:"string"},srcSet:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},Og={type:"object",additionalProperties:Ng},Uc={type:"object",properties:{show:{type:"boolean"},entityTypes:Og,catalogs:{type:"object",properties:{all:Ft,services:Ft,domains:Ft,teams:Ft,users:Ft,apiDescriptions:Ft,dataSchemas:Ft,apiOperations:Ft},additionalProperties:Ft}},additionalProperties:!1},Bc={type:"string",enum:["eq","in","gt","gte","lt","lte","contains","startsWith","endsWith","exists","isEmpty","between","matches","some","every","none"]},Ea={type:"string",enum:["and","or"]},Pa={type:"object",properties:{field:{type:"string"},operator:Bc,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]},match:{type:"array",items:{type:"object",properties:{field:{type:"string"},operator:Bc,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]}}}}}},jg={type:"object",properties:{operator:Ea,conditions:{type:"array",items:Pa}},required:["operator","conditions"],additionalProperties:!1},Gc={type:"array",items:{oneOf:[Pa,{type:"object",properties:{operator:Ea,conditions:{type:"array",items:{oneOf:[Pa,jg]}}},required:["operator","conditions"],additionalProperties:!1}]}},Kc={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},Cg={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:Kc},required:["subject","assertions"],additionalProperties:!1}},Rg={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:Kc,where:Cg,weight:{type:"number"}},required:["subject","assertions"],additionalProperties:!1},Ag={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object",properties:{severity:{type:"string",enum:["error","warn","off"]},weight:{type:"number"}},additionalProperties:!0},Rg]}},Dg={type:"object",properties:{name:{type:"string"},extends:On.extends,rules:Ag},required:["name"],additionalProperties:!1},Jc={type:"object",properties:{event:{type:"string",enum:["runtime","manual"]}},required:["event"],additionalProperties:!1},qg={oneOf:[Jc,{type:"array",items:Jc}]},Lg={type:"object",properties:{name:{type:"string"},key:{type:"string"},description:{type:"string"},entities:{oneOf:[Gc,{type:"object",properties:{operator:Ea,conditions:Gc},required:["operator","conditions"],additionalProperties:!1}]},levels:{type:"array",items:Dg,minItems:1},trigger:qg},required:["name","key","entities","levels"],additionalProperties:!1},Yc={type:"array",items:Lg},Mg={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:xc,navbar:Sc,products:Ic,footer:Tc,sidebar:kc,scripts:Nc,links:Oc,feedback:Ur,search:jc,aiAssistant:Cc,colorMode:Rc,palette:Ac,navigation:Dc,codeSnippet:qc,markdown:Lc,openapi:jn,asyncapi:by,graphql:xn,analytics:Mc,userMenu:Vc,versionPicker:Fc,breadcrumbs:zc,catalog:Cn,entitiesCatalog:Uc,catalogClassic:Cn,scorecard:Rn,scorecardClassic:Rn,scorecards:Yc},additionalProperties:!0},Vg=(e=>(e.OIDC="OIDC",e.SAML2="SAML2",e))(Vg||{}),Fg=(e=>(e.SERVICE_ACCOUNT="SERVICE_ACCOUNT",e.OAUTH2="OAUTH2",e))(Fg||{}),zg=(e=>(e.STACKED="stacked",e.THREE_PANEL="three-panel",e))(zg||{}),Ug="^[a-z0-9]+(?:-[a-z0-9]+)*$",Wc="redocly",Bg=[Wc,"corporate","guest"],Hc=["REDOCLY","CORPORATE","GUEST"],Gg={type:"object",additionalProperties:{type:"string"}},Kg={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},An={type:"string",enum:["error","warn","off"]},Jg={type:"object",additionalProperties:!1,properties:{schemaCheck:An,statusCodeCheck:An,contentTypeCheck:An,successCriteriaCheck:An}},Yg={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},Wg={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1},Hg={type:"object",properties:{warn:{type:"number"},error:{type:"number"}},additionalProperties:!1},Xg={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:[Yg,Wg]},inputs:Gg,servers:Kg,severity:Jg,slo:Hg},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1},Qg={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},Zg={type:"object",properties:{type:{type:"string",const:"OIDC"},title:{type:"string"},pkce:{type:"boolean"},configurationUrl:{type:"string",minLength:1},configuration:Qg,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},ev={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"]},tv={oneOf:[Zg,ev],discriminator:{propertyName:"type"}},rv={type:"object",additionalProperties:tv},Xc={oneOf:[{type:"array",items:{type:"string",enum:Hc},uniqueItems:!0},{type:"string",enum:Hc}]},Qc={type:"string",pattern:Ug,not:{enum:Bg.filter(e=>e!==Wc)}},Zc={oneOf:[{type:"array",items:Qc,uniqueItems:!0},Qc]},el={type:"boolean"},tl={type:"string",pattern:"^https?://.*"},rl={type:"string",pattern:"^https?://.*"},nv={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"},ov={type:"object",additionalProperties:nv,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"},sv={type:"string",enum:["info","success","warning","error"]},ze={type:"object",additionalProperties:{type:"string"}},av={type:"object",properties:{trackingId:{type:"string"},content:{type:"string"},dismissible:{type:"boolean"},target:{type:"string"},color:sv,rbac:ze,startAt:{type:"string",format:"date-time"},endAt:{type:"string",format:"date-time"}},required:["content"],additionalProperties:!1},iv={type:"array",items:av},cv={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:ze,openapi:jn,graphql:xn,theme:{type:"object",properties:{openapi:jn,graphql:xn},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},...On},required:["root"]},lv={type:"object",additionalProperties:!0},uv={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},pv={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},dv={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:pv},additionalProperties:!1},fv={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},mv={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},nl={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:mv},additionalProperties:ze},hv={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},yv={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]},gv={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean"},stage:{type:"string"},auth:{oneOf:[hv,yv]}},additionalProperties:!1,required:["type","apiBaseUrl"]},vv={type:"object",properties:{type:{type:"string",const:"OAUTH2"},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},bv={type:"object",properties:{type:{type:"string",const:"SERVICE_ACCOUNT"},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},xa={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:[vv,bv],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},wv={...xa,properties:{...xa.properties,type:{type:"string",const:"APIGEE_EDGE"}}},$v={type:"object",oneOf:[xa,wv,gv],discriminator:{propertyName:"type"}},_v={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:$v}}},ol={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"]},Ev={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]},Pv={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},xv={type:"object",properties:{hide:{type:"boolean"},excludeFiles:{type:"array",items:{type:"string"}}},additionalProperties:!1},Sv={type:"object",properties:{requiresLogin:el,logoutReturnUrl:tl,residency:rl,sso:Xc,idps:Zc,rbac:nl},additionalProperties:!1,not:{required:["sso","idps"]},description:"Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both."},Sa={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:ov,seo:dv,rbac:nl,apiFunctions:fv,requiresLogin:el,responseHeaders:{type:"object",additionalProperties:{type:"array",items:Ev}},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:cv},...On,ssoDirect:rv,sso:Xc,idps:Zc,residency:rl,logoutReturnUrl:tl,access:Sv,developerOnboarding:_v,removeAttribution:{type:"boolean"},i18n:ol,l10n:ol,metadata:lv,metadataGlobs:uv,ignore:{type:"array",items:{type:"string"}},theme:Mg,reunite:Xg,logo:xc,navbar:Sc,products:Ic,footer:Tc,sidebar:kc,scripts:Nc,links:Oc,feedback:Ur,search:jc,aiAssistant:Cc,colorMode:Rc,palette:Ac,navigation:Dc,codeSnippet:qc,markdown:Lc,openapi:jn,graphql:xn,analytics:Mc,userMenu:Vc,versionPicker:Fc,breadcrumbs:zc,catalog:Cn,entitiesCatalog:Uc,catalogClassic:Cn,scorecard:Rn,scorecardClassic:Rn,scorecards:Yc,mcp:Pv,skills:xv,corsProxy:{type:"object",properties:{allowedTargets:{type:"array",items:{type:"string"}}},additionalProperties:!1},banner:iv},not:{required:["sso","idps"]},additionalProperties:!0},Iv={...Sa,additionalProperties:!1},Dn={$id:"root-redocly-config",...Sa,properties:{plugins:{type:"array",items:{type:"string"}},...Sa.properties,env:{type:"object",additionalProperties:Iv}},additionalProperties:!1},Tv=["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"],We=Ec({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"}),kv={type:"object",nodeTypeName:We.UserEntityMetadata,properties:{email:{type:"string",description:"Email of the user"}},required:["email"],additionalProperties:!0},Nv={type:"object",nodeTypeName:We.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},Ov={type:"object",nodeTypeName:We.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},jv={type:"object",nodeTypeName:We.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},Cv={type:"object",properties:{},nodeTypeName:We.EntityMetadata,additionalProperties:!0},Rv={type:"object",nodeTypeName:We.EntitySlackChannel,properties:{name:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["name"],additionalProperties:!1},Av={type:"object",nodeTypeName:We.EntitySlackContact,properties:{channels:{type:"array",items:Rv}},required:["channels"],additionalProperties:!1},Dv={type:"object",nodeTypeName:We.EntityContact,properties:{slack:Av},additionalProperties:!1},qv={type:"object",nodeTypeName:We.EntityLink,properties:{label:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["label","url"],additionalProperties:!1},Lv={type:"object",nodeTypeName:We.EntityRelation,properties:{type:{type:"string",enum:Tv},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:Dv,links:{type:"array",nodeTypeName:We.EntityLinkList,items:qv},relations:{type:"array",nodeTypeName:We.EntityRelationList,items:Lv},metadata:Cv},Mv={type:"object",discriminator:{propertyName:"type"},oneOf:[{type:"object",properties:{...er,type:{type:"string",const:"user"},metadata:kv},required:["key","title","type","metadata"],additionalProperties:!1,nodeTypeName:We.UserEntity},{type:"object",nodeTypeName:We.ApiOperationEntity,properties:{...er,type:{type:"string",const:"api-operation"},metadata:Ov},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:We.DataSchemaEntity,properties:{...er,type:{type:"string",const:"data-schema"},metadata:jv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:We.ApiDescriptionEntity,properties:{...er,type:{type:"string",const:"api-description"},metadata:Nv},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:We.ServiceEntity,properties:{...er,type:{type:"string",const:"service"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:We.DomainEntity,properties:{...er,type:{type:"string",const:"domain"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:We.TeamEntity,properties:{...er,type:{type:"string",const:"team"}},required:["key","title","type"],additionalProperties:!1}]},Vv={type:"object",nodeTypeName:We.Entity,properties:{...er},required:["key","title","type"],additionalProperties:!1};const Fv=["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 Ia(e){return e.includes("/")}var Ta={exports:{}},sl={},zt={},ur={},al={},il={},cl={},ll;function qn(){return ll||(ll=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(w,...y){const d=[w[0]];let P=0;for(;P<y.length;)c(d,y[P]),d.push(w[++P]);return new n(d)}e._=o;const s=new n("+");function a(w,...y){const d=[h(w[0])];let P=0;for(;P<y.length;)d.push(s),c(d,y[P]),d.push(s,h(w[++P]));return i(d),new n(d)}e.str=a;function c(w,y){y instanceof n?w.push(...y._items):y instanceof r?w.push(y):w.push(f(y))}e.addCodeArg=c;function i(w){let y=1;for(;y<w.length-1;){if(w[y]===s){const d=l(w[y-1],w[y+1]);if(d!==void 0){w.splice(y-1,3,d);continue}w[y++]="+"}y++}}function l(w,y){if(y==='""')return w;if(w==='""')return y;if(typeof w=="string")return y instanceof r||w[w.length-1]!=='"'?void 0:typeof y!="string"?`${w.slice(0,-1)}${y}"`:y[0]==='"'?w.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!(w instanceof r))return`"${w}${y.slice(1)}`}function u(w,y){return y.emptyStr()?w:w.emptyStr()?y:a`${w}${y}`}e.strConcat=u;function f(w){return typeof w=="number"||typeof w=="boolean"||w===null?w:h(Array.isArray(w)?w.join(","):w)}function _(w){return new n(h(w))}e.stringify=_;function h(w){return JSON.stringify(w).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=h;function $(w){return typeof w=="string"&&e.IDENTIFIER.test(w)?new n(`.${w}`):o`[${w}]`}e.getProperty=$;function x(w){if(typeof w=="string"&&e.IDENTIFIER.test(w))return new n(`${w}`);throw new Error(`CodeGen: invalid export name: ${w}, use explicit $id name mapping`)}e.getEsmExportName=x;function b(w){return new n(w.toString())}e.regexpCode=b})(cl)),cl}var ul={},pl;function dl(){return pl||(pl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=qn();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:h}=_,$=(f=u.key)!==null&&f!==void 0?f:u.ref;let x=this._values[h];if(x){const y=x.get($);if(y)return y}else x=this._values[h]=new Map;x.set($,_);const b=this._scope[h]||(this._scope[h]=[]),w=b.length;return b[w]=u.ref,_.setValue(u,{property:h,itemIndex:w}),_}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 h=t.nil;for(const $ in l){const x=l[$];if(!x)continue;const b=f[$]=f[$]||new Map;x.forEach(w=>{if(b.has(w))return;b.set(w,n.Started);let y=u(w);if(y){const d=this.opts.es5?e.varKinds.var:e.varKinds.const;h=(0,t._)`${h}${d} ${w} = ${y};${this.opts._n}`}else if(y=_?.(w))h=(0,t._)`${h}${y}${this.opts._n}`;else throw new r(w);b.set(w,n.Completed)})}return h}}e.ValueScope=c})(ul)),ul}var fl;function Ee(){return fl||(fl=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=qn(),r=dl();var n=qn();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=dl();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,S){return this}}class a extends s{constructor(v,S,T){super(),this.varKind=v,this.name=S,this.rhs=T}render({es5:v,_n:S}){const T=v?r.varKinds.var:this.varKind,M=this.rhs===void 0?"":` = ${this.rhs}`;return`${T} ${this.name}${M};`+S}optimizeNames(v,S){if(v[this.name.str])return this.rhs&&(this.rhs=K(this.rhs,v,S)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class c extends s{constructor(v,S,T){super(),this.lhs=v,this.rhs=S,this.sideEffects=T}render({_n:v}){return`${this.lhs} = ${this.rhs};`+v}optimizeNames(v,S){if(!(this.lhs instanceof t.Name&&!v[this.lhs.str]&&!this.sideEffects))return this.rhs=K(this.rhs,v,S),this}get names(){const v=this.lhs instanceof t.Name?{}:{...this.lhs.names};return L(v,this.rhs)}}class i extends c{constructor(v,S,T,M){super(v,T,M),this.op=S}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,S){return this.code=K(this.code,v,S),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class h extends s{constructor(v=[]){super(),this.nodes=v}render(v){return this.nodes.reduce((S,T)=>S+T.render(v),"")}optimizeNodes(){const{nodes:v}=this;let S=v.length;for(;S--;){const T=v[S].optimizeNodes();Array.isArray(T)?v.splice(S,1,...T):T?v[S]=T:v.splice(S,1)}return v.length>0?this:void 0}optimizeNames(v,S){const{nodes:T}=this;let M=T.length;for(;M--;){const U=T[M];U.optimizeNames(v,S)||(le(v,U.names),T.splice(M,1))}return T.length>0?this:void 0}get names(){return this.nodes.reduce((v,S)=>F(v,S.names),{})}}class $ extends h{render(v){return"{"+v._n+super.render(v)+"}"+v._n}}class x extends h{}class b extends ${}b.kind="else";class w extends ${constructor(v,S){super(S),this.condition=v}render(v){let S=`if(${this.condition})`+super.render(v);return this.else&&(S+="else "+this.else.render(v)),S}optimizeNodes(){super.optimizeNodes();const v=this.condition;if(v===!0)return this.nodes;let S=this.else;if(S){const T=S.optimizeNodes();S=this.else=Array.isArray(T)?new b(T):T}if(S)return v===!1?S instanceof w?S:S.nodes:this.nodes.length?this:new w(pe(v),S instanceof w?[S]:S.nodes);if(!(v===!1||!this.nodes.length))return this}optimizeNames(v,S){var T;if(this.else=(T=this.else)===null||T===void 0?void 0:T.optimizeNames(v,S),!!(super.optimizeNames(v,S)||this.else))return this.condition=K(this.condition,v,S),this}get names(){const v=super.names;return L(v,this.condition),this.else&&F(v,this.else.names),v}}w.kind="if";class y extends ${}y.kind="for";class d extends y{constructor(v){super(),this.iteration=v}render(v){return`for(${this.iteration})`+super.render(v)}optimizeNames(v,S){if(super.optimizeNames(v,S))return this.iteration=K(this.iteration,v,S),this}get names(){return F(super.names,this.iteration.names)}}class P extends y{constructor(v,S,T,M){super(),this.varKind=v,this.name=S,this.from=T,this.to=M}render(v){const S=v.es5?r.varKinds.var:this.varKind,{name:T,from:M,to:U}=this;return`for(${S} ${T}=${M}; ${T}<${U}; ${T}++)`+super.render(v)}get names(){const v=L(super.names,this.from);return L(v,this.to)}}class m extends y{constructor(v,S,T,M){super(),this.loop=v,this.varKind=S,this.name=T,this.iterable=M}render(v){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(v)}optimizeNames(v,S){if(super.optimizeNames(v,S))return this.iterable=K(this.iterable,v,S),this}get names(){return F(super.names,this.iterable.names)}}class g extends ${constructor(v,S,T){super(),this.name=v,this.args=S,this.async=T}render(v){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(v)}}g.kind="func";class E extends h{render(v){return"return "+super.render(v)}}E.kind="return";class O extends ${render(v){let S="try"+super.render(v);return this.catch&&(S+=this.catch.render(v)),this.finally&&(S+=this.finally.render(v)),S}optimizeNodes(){var v,S;return super.optimizeNodes(),(v=this.catch)===null||v===void 0||v.optimizeNodes(),(S=this.finally)===null||S===void 0||S.optimizeNodes(),this}optimizeNames(v,S){var T,M;return super.optimizeNames(v,S),(T=this.catch)===null||T===void 0||T.optimizeNames(v,S),(M=this.finally)===null||M===void 0||M.optimizeNames(v,S),this}get names(){const v=super.names;return this.catch&&F(v,this.catch.names),this.finally&&F(v,this.finally.names),v}}class C extends ${constructor(v){super(),this.error=v}render(v){return`catch(${this.error})`+super.render(v)}}C.kind="catch";class q extends ${render(v){return"finally"+super.render(v)}}q.kind="finally";class z{constructor(v,S={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...S,_n:S.lines?`
2
2
  `:""},this._extScope=v,this._scope=new r.Scope({parent:v}),this._nodes=[new x]}toString(){return this._root.render(this.opts)}name(v){return this._scope.name(v)}scopeName(v){return this._extScope.name(v)}scopeValue(v,S){const T=this._extScope.value(v,S);return(this._values[T.prefix]||(this._values[T.prefix]=new Set)).add(T),T}getScopeValue(v,S){return this._extScope.getValue(v,S)}scopeRefs(v){return this._extScope.scopeRefs(v,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(v,S,T,M){const U=this._scope.toName(S);return T!==void 0&&M&&(this._constants[U.str]=T),this._leafNode(new a(v,U,T)),U}const(v,S,T){return this._def(r.varKinds.const,v,S,T)}let(v,S,T){return this._def(r.varKinds.let,v,S,T)}var(v,S,T){return this._def(r.varKinds.var,v,S,T)}assign(v,S,T){return this._leafNode(new c(v,S,T))}add(v,S){return this._leafNode(new i(v,e.operators.ADD,S))}code(v){return typeof v=="function"?v():v!==t.nil&&this._leafNode(new _(v)),this}object(...v){const S=["{"];for(const[T,M]of v)S.length>1&&S.push(","),S.push(T),(T!==M||this.opts.es5)&&(S.push(":"),(0,t.addCodeArg)(S,M));return S.push("}"),new t._Code(S)}if(v,S,T){if(this._blockNode(new w(v)),S&&T)this.code(S).else().code(T).endIf();else if(S)this.code(S).endIf();else if(T)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(v){return this._elseNode(new w(v))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(w,b)}_for(v,S){return this._blockNode(v),S&&this.code(S).endFor(),this}for(v,S){return this._for(new d(v),S)}forRange(v,S,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,S,T),()=>M(J))}forOf(v,S,T,M=r.varKinds.const){const U=this._scope.toName(v);if(this.opts.es5){const J=S instanceof t.Name?S:this.var("_arr",S);return this.forRange("_i",0,(0,t._)`${J}.length`,re=>{this.var(U,(0,t._)`${J}[${re}]`),T(U)})}return this._for(new m("of",M,U,S),()=>T(U))}forIn(v,S,T,M=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(v,(0,t._)`Object.keys(${S})`,T);const U=this._scope.toName(v);return this._for(new m("in",M,U,S),()=>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 S=new E;if(this._blockNode(S),this.code(v),S.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(v,S,T){if(!S&&!T)throw new Error('CodeGen: "try" without "catch" and "finally"');const M=new O;if(this._blockNode(M),this.code(v),S){const U=this.name("e");this._currNode=M.catch=new C(U),S(U)}return T&&(this._currNode=M.finally=new q,this.code(T)),this._endBlockNode(C,q)}throw(v){return this._leafNode(new f(v))}block(v,S){return this._blockStarts.push(this._nodes.length),v&&this.code(v).endBlock(S),this}endBlock(v){const S=this._blockStarts.pop();if(S===void 0)throw new Error("CodeGen: not in self-balancing block");const T=this._nodes.length-S;if(T<0||v!==void 0&&T!==v)throw new Error(`CodeGen: wrong number of nodes: ${T} vs ${v} expected`);return this._nodes.length=S,this}func(v,S=t.nil,T,M){return this._blockNode(new g(v,S,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,S){const T=this._currNode;if(T instanceof v||S&&T instanceof S)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${S?`${v.kind}/${S.kind}`:v.kind}"`)}_elseNode(v){const S=this._currNode;if(!(S instanceof w))throw new Error('CodeGen: "else" without "if"');return this._currNode=S.else=v,this}get _root(){return this._nodes[0]}get _currNode(){const v=this._nodes;return v[v.length-1]}set _currNode(v){const S=this._nodes;S[S.length-1]=v}}e.CodeGen=z;function F(j,v){for(const S in v)j[S]=(j[S]||0)+(v[S]||0);return j}function L(j,v){return v instanceof t._CodeOrName?F(j,v.names):j}function K(j,v,S){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=S[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&&S[J.str]!==void 0)}}function le(j,v){for(const S in v)j[S]=(j[S]||0)-(v[S]||0)}function pe(j){return typeof j=="boolean"||typeof j=="number"||j===null?!j:(0,t._)`!${V(j)}`}e.not=pe;const xe=N(e.operators.AND);function ce(...j){return j.reduce(xe)}e.and=ce;const _e=N(e.operators.OR);function A(...j){return j.reduce(_e)}e.or=A;function N(j){return(v,S)=>v===t.nil?S:S===t.nil?v:(0,t._)`${V(v)} ${j} ${V(S)}`}function V(j){return j instanceof t.Name?j:(0,t._)`(${j})`}})(il)),il}var ke={},ml;function Re(){if(ml)return ke;ml=1,Object.defineProperty(ke,"__esModule",{value:!0}),ke.checkStrictMode=ke.getErrorPath=ke.Type=ke.useFunc=ke.setEvaluated=ke.evaluatedPropsToName=ke.mergeEvaluated=ke.eachItem=ke.unescapeJsonPointer=ke.escapeJsonPointer=ke.escapeFragment=ke.unescapeFragment=ke.schemaRefOrVal=ke.schemaHasRulesButRef=ke.schemaHasRules=ke.checkUnknownRules=ke.alwaysValidSchema=ke.toHash=void 0;const e=Ee(),t=qn();function r(m){const g={};for(const E of m)g[E]=!0;return g}ke.toHash=r;function n(m,g){return typeof g=="boolean"?g:Object.keys(g).length===0?!0:(o(m,g),!s(g,m.self.RULES.all))}ke.alwaysValidSchema=n;function o(m,g=m.schema){const{opts:E,self:O}=m;if(!E.strictSchema||typeof g=="boolean")return;const C=O.RULES.keywords;for(const q in g)C[q]||P(m,`unknown keyword: "${q}"`)}ke.checkUnknownRules=o;function s(m,g){if(typeof m=="boolean")return!m;for(const E in m)if(g[E])return!0;return!1}ke.schemaHasRules=s;function a(m,g){if(typeof m=="boolean")return!m;for(const E in m)if(E!=="$ref"&&g.all[E])return!0;return!1}ke.schemaHasRulesButRef=a;function c({topSchemaRef:m,schemaPath:g},E,O,C){if(!C){if(typeof E=="number"||typeof E=="boolean")return E;if(typeof E=="string")return(0,e._)`${E}`}return(0,e._)`${m}${g}${(0,e.getProperty)(O)}`}ke.schemaRefOrVal=c;function i(m){return f(decodeURIComponent(m))}ke.unescapeFragment=i;function l(m){return encodeURIComponent(u(m))}ke.escapeFragment=l;function u(m){return typeof m=="number"?`${m}`:m.replace(/~/g,"~0").replace(/\//g,"~1")}ke.escapeJsonPointer=u;function f(m){return m.replace(/~1/g,"/").replace(/~0/g,"~")}ke.unescapeJsonPointer=f;function _(m,g){if(Array.isArray(m))for(const E of m)g(E);else g(m)}ke.eachItem=_;function h({mergeNames:m,mergeToName:g,mergeValues:E,resultToName:O}){return(C,q,z,F)=>{const L=z===void 0?q:z instanceof e.Name?(q instanceof e.Name?m(C,q,z):g(C,q,z),z):q instanceof e.Name?(g(C,z,q),q):E(q,z);return F===e.Name&&!(L instanceof e.Name)?O(C,L):L}}ke.mergeEvaluated={props:h({mergeNames:(m,g,E)=>m.if((0,e._)`${E} !== true && ${g} !== undefined`,()=>{m.if((0,e._)`${g} === true`,()=>m.assign(E,!0),()=>m.assign(E,(0,e._)`${E} || {}`).code((0,e._)`Object.assign(${E}, ${g})`))}),mergeToName:(m,g,E)=>m.if((0,e._)`${E} !== true`,()=>{g===!0?m.assign(E,!0):(m.assign(E,(0,e._)`${E} || {}`),x(m,E,g))}),mergeValues:(m,g)=>m===!0?!0:{...m,...g},resultToName:$}),items:h({mergeNames:(m,g,E)=>m.if((0,e._)`${E} !== true && ${g} !== undefined`,()=>m.assign(E,(0,e._)`${g} === true ? true : ${E} > ${g} ? ${E} : ${g}`)),mergeToName:(m,g,E)=>m.if((0,e._)`${E} !== true`,()=>m.assign(E,g===!0?!0:(0,e._)`${E} > ${g} ? ${E} : ${g}`)),mergeValues:(m,g)=>m===!0?!0:Math.max(m,g),resultToName:(m,g)=>m.var("items",g)})};function $(m,g){if(g===!0)return m.var("props",!0);const E=m.var("props",(0,e._)`{}`);return g!==void 0&&x(m,E,g),E}ke.evaluatedPropsToName=$;function x(m,g,E){Object.keys(E).forEach(O=>m.assign((0,e._)`${g}${(0,e.getProperty)(O)}`,!0))}ke.setEvaluated=x;const b={};function w(m,g){return m.scopeValue("func",{ref:g,code:b[g.code]||(b[g.code]=new t._Code(g.code))})}ke.useFunc=w;var y;(function(m){m[m.Num=0]="Num",m[m.Str=1]="Str"})(y||(ke.Type=y={}));function d(m,g,E){if(m instanceof e.Name){const O=g===y.Num;return E?O?(0,e._)`"[" + ${m} + "]"`:(0,e._)`"['" + ${m} + "']"`:O?(0,e._)`"/" + ${m}`:(0,e._)`"/" + ${m}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return E?(0,e.getProperty)(m).toString():"/"+u(m)}ke.getErrorPath=d;function P(m,g,E=m.opts.strictSchema){if(E){if(g=`strict mode: ${g}`,E===!0)throw new Error(g);m.self.logger.warn(g)}}return ke.checkStrictMode=P,ke}var Ln={},hl;function pt(){if(hl)return Ln;hl=1,Object.defineProperty(Ln,"__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 Ln.default=t,Ln}var yl;function Mn(){return yl||(yl=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=Re(),n=pt();e.keywordError={message:({keyword:b})=>(0,t.str)`must pass "${b}" keyword validation`},e.keyword$DataError={message:({keyword:b,schemaType:w})=>w?(0,t.str)`"${b}" keyword must be ${w} ($data)`:(0,t.str)`"${b}" keyword is invalid ($data)`};function o(b,w=e.keywordError,y,d){const{it:P}=b,{gen:m,compositeRule:g,allErrors:E}=P,O=f(b,w,y);d??(g||E)?i(m,O):l(P,(0,t._)`[${O}]`)}e.reportError=o;function s(b,w=e.keywordError,y){const{it:d}=b,{gen:P,compositeRule:m,allErrors:g}=d,E=f(b,w,y);i(P,E),m||g||l(d,n.default.vErrors)}e.reportExtraError=s;function a(b,w){b.assign(n.default.errors,w),b.if((0,t._)`${n.default.vErrors} !== null`,()=>b.if(w,()=>b.assign((0,t._)`${n.default.vErrors}.length`,w),()=>b.assign(n.default.vErrors,null)))}e.resetErrorsCount=a;function c({gen:b,keyword:w,schemaValue:y,data:d,errsCount:P,it:m}){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,m.errorPath))),b.assign((0,t._)`${g}.schemaPath`,(0,t.str)`${m.errSchemaPath}/${w}`),m.opts.verbose&&(b.assign((0,t._)`${g}.schema`,y),b.assign((0,t._)`${g}.data`,d))})}e.extendErrors=c;function i(b,w){const y=b.const("err",w);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,w){const{gen:y,validateName:d,schemaEnv:P}=b;P.$async?y.throw((0,t._)`new ${b.ValidationError}(${w})`):(y.assign((0,t._)`${d}.errors`,w),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,w,y){const{createErrors:d}=b.it;return d===!1?(0,t._)`{}`:_(b,w,y)}function _(b,w,y={}){const{gen:d,it:P}=b,m=[h(P,y),$(b,y)];return x(b,w,m),d.object(...m)}function h({errorPath:b},{instancePath:w}){const y=w?(0,t.str)`${b}${(0,r.getErrorPath)(w,r.Type.Str)}`:b;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,y)]}function $({keyword:b,it:{errSchemaPath:w}},{schemaPath:y,parentSchema:d}){let P=d?w:(0,t.str)`${w}/${b}`;return y&&(P=(0,t.str)`${P}${(0,r.getErrorPath)(y,r.Type.Str)}`),[u.schemaPath,P]}function x(b,{params:w,message:y},d){const{keyword:P,data:m,schemaValue:g,it:E}=b,{opts:O,propertyName:C,topSchemaRef:q,schemaPath:z}=E;d.push([u.keyword,P],[u.params,typeof w=="function"?w(b):w||(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,m]),C&&d.push([u.propertyName,C])}})(al)),al}var gl;function zv(){if(gl)return ur;gl=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.boolOrEmptySchema=ur.topBoolOrEmptySchema=void 0;const e=Mn(),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))}ur.topBoolOrEmptySchema=o;function s(c,i){const{gen:l,schema:u}=c;u===!1?(l.var(i,!1),a(c)):l.var(i,!0)}ur.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 ur}var tt={},pr={},vl;function bl(){if(vl)return pr;vl=1,Object.defineProperty(pr,"__esModule",{value:!0}),pr.getRules=pr.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)}pr.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 pr.getRules=n,pr}var Ut={},wl;function $l(){if(wl)return Ut;wl=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 _l;function Vn(){if(_l)return tt;_l=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=bl(),t=$l(),r=Mn(),n=Ee(),o=Re();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:m,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 C=$(d,m,g.strictNumbers,s.Wrong);P.if(C,()=>{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:m,data:g,opts:E}=y,O=m.let("dataType",(0,n._)`typeof ${g}`),C=m.let("coerced",(0,n._)`undefined`);E.coerceTypes==="array"&&m.if((0,n._)`${O} == 'object' && Array.isArray(${g}) && ${g}.length == 1`,()=>m.assign(g,(0,n._)`${g}[0]`).assign(O,(0,n._)`typeof ${g}`).if($(d,g,E.strictNumbers),()=>m.assign(C,g))),m.if((0,n._)`${C} !== undefined`);for(const z of P)(l.has(z)||z==="array"&&E.coerceTypes==="array")&&q(z);m.else(),b(y),m.endIf(),m.if((0,n._)`${C} !== undefined`,()=>{m.assign(g,C),_(y,C)});function q(z){switch(z){case"string":m.elseIf((0,n._)`${O} == "number" || ${O} == "boolean"`).assign(C,(0,n._)`"" + ${g}`).elseIf((0,n._)`${g} === null`).assign(C,(0,n._)`""`);return;case"number":m.elseIf((0,n._)`${O} == "boolean" || ${g} === null
3
3
  || (${O} == "string" && ${g} && ${g} == +${g})`).assign(C,(0,n._)`+${g}`);return;case"integer":m.elseIf((0,n._)`${O} === "boolean" || ${g} === null
4
4
  || (${O} === "string" && ${g} && ${g} == +${g} && !(${g} % 1))`).assign(C,(0,n._)`+${g}`);return;case"boolean":m.elseIf((0,n._)`${g} === "false" || ${g} === 0 || ${g} === null`).assign(C,!1).elseIf((0,n._)`${g} === "true" || ${g} === 1`).assign(C,!0);return;case"null":m.elseIf((0,n._)`${g} === "" || ${g} === 0 || ${g} === false`),m.assign(C,null);return;case"array":m.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:Ye.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:NS,...ES}=Dn.properties,PS={...Dn,properties:ES};async function xS(e){const{ref:t,externalRefResolver:r=new cr(e.config.resolve)}=e,n=await r.resolveDocument(null,t,!0);return e.collectSpecData?.(n),Zi({document:n,...e,externalRefResolver:r})}async function SS(e){const{source:t,absoluteRef:r,externalRefResolver:n=new cr(e.config.resolve)}=e,o=ya(t,r||"/");return Zi({document:o,...e,externalRefResolver:n})}async function Zi(e){const{document:t,customTypes:r,externalRefResolver:n,config:o}=e;if(sy(t.source.absoluteRef)){const{lintGraphqlDocument:h}=await import("./redocly-openapi-docs.min.lint-graphql-BJaf-iso.js");return h({document:t,config:o})}const s=$n(t.parsed),a=o.getRulesForSpecVersion(ay(s)),c=ma(o.extendTypes(r??bn(s),s),o),i={problems:[],specVersion:s,config:o,visitorsData:{}},l=dc(a,o,"preprocessors",s),u=dc(a,o,"rules",s);let f=await Pn({rootDocument:t,rootType:c.Root,externalRefResolver:n});l.length>0&&(_n({document:t,rootType:c.Root,normalizedVisitors:Fr(l,c),resolvedRefMap:f,ctx:i}),f=await Pn({rootDocument:t,rootType:c.Root,externalRefResolver:n}));const _=Fr(u,c);return _n({document:t,rootType:c.Root,normalizedVisitors:_,resolvedRefMap:f,ctx:i}),i.problems.map(h=>o.addProblemToIgnore(h))}async function IS(e){const{severity:t,externalRefResolver:r=new cr,config:n}=e;if(!n.document)throw new Error("Config document is not set.");const o={problems:[],specVersion:"config",config:n,visitorsData:{}},s=ma(e.externalConfigTypes||Aa(PS,n)),a=[{severity:t||"error",ruleId:"configuration struct",visitor:Gt()},{severity:t||"error",ruleId:"configuration no-unresolved-refs",visitor:Zt()}],c=Fr(a,s),i=n.resolvedRefMap||await Pn({rootDocument:n.document,rootType:s.ConfigRoot,externalRefResolver:r});return _n({document:n.document,rootType:s.ConfigRoot,normalizedVisitors:c,resolvedRefMap:i,ctx:o}),o.problems}export{rr as A,Ax as B,Mv as C,At as D,Ra as E,zp as F,ge as G,Bp as H,s_ as I,Gp as J,Be as K,be as L,xt as M,W as N,gt as O,ve as P,r_ as Q,Vv as R,Gt as S,n_ as T,Qo as U,Ya as V,Wp as W,ip as a,gx as b,Vx as c,_x as d,Ex as e,Ox as f,np as g,Aa as h,Mx as i,bS as j,jh as k,Zi as l,Hi as m,ir as n,kx as o,Ah as p,ga as q,va as r,xS as s,We as t,IS as u,SS as v,Lx as w,Wm as x,Oe as y,py as z};
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:NS,...ES}=Dn.properties,PS={...Dn,properties:ES};async function xS(e){const{ref:t,externalRefResolver:r=new cr(e.config.resolve)}=e,n=await r.resolveDocument(null,t,!0);return e.collectSpecData?.(n),Zi({document:n,...e,externalRefResolver:r})}async function SS(e){const{source:t,absoluteRef:r,externalRefResolver:n=new cr(e.config.resolve)}=e,o=ya(t,r||"/");return Zi({document:o,...e,externalRefResolver:n})}async function Zi(e){const{document:t,customTypes:r,externalRefResolver:n,config:o}=e;if(sy(t.source.absoluteRef)){const{lintGraphqlDocument:h}=await import("./redocly-openapi-docs.min.lint-graphql-y6yM0_Y_.js");return h({document:t,config:o})}const s=$n(t.parsed),a=o.getRulesForSpecVersion(ay(s)),c=ma(o.extendTypes(r??bn(s),s),o),i={problems:[],specVersion:s,config:o,visitorsData:{}},l=dc(a,o,"preprocessors",s),u=dc(a,o,"rules",s);let f=await Pn({rootDocument:t,rootType:c.Root,externalRefResolver:n});l.length>0&&(_n({document:t,rootType:c.Root,normalizedVisitors:Fr(l,c),resolvedRefMap:f,ctx:i}),f=await Pn({rootDocument:t,rootType:c.Root,externalRefResolver:n}));const _=Fr(u,c);return _n({document:t,rootType:c.Root,normalizedVisitors:_,resolvedRefMap:f,ctx:i}),i.problems.map(h=>o.addProblemToIgnore(h))}async function IS(e){const{severity:t,externalRefResolver:r=new cr,config:n}=e;if(!n.document)throw new Error("Config document is not set.");const o={problems:[],specVersion:"config",config:n,visitorsData:{}},s=ma(e.externalConfigTypes||Aa(PS,n)),a=[{severity:t||"error",ruleId:"configuration struct",visitor:Gt()},{severity:t||"error",ruleId:"configuration no-unresolved-refs",visitor:Zt()}],c=Fr(a,s),i=n.resolvedRefMap||await Pn({rootDocument:n.document,rootType:s.ConfigRoot,externalRefResolver:r});return _n({document:n.document,rootType:s.ConfigRoot,normalizedVisitors:c,resolvedRefMap:i,ctx:o}),o.problems}export{rr as A,Ax as B,Mv as C,At as D,Ra as E,zp as F,ge as G,Bp as H,s_ as I,Gp as J,Be as K,be as L,xt as M,W as N,gt as O,ve as P,r_ as Q,Vv as R,Gt as S,n_ as T,Qo as U,Ya as V,Wp as W,ip as a,gx as b,Vx as c,_x as d,Ex as e,Ox as f,np as g,Aa as h,Mx as i,bS as j,jh as k,Zi as l,Hi as m,ir as n,kx as o,Ah as p,ga as q,va as r,xS as s,We as t,IS as u,SS as v,Lx as w,Wm as x,Oe as y,py as z};