@redocly/openapi-docs 3.4.15 → 3.4.16

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.
@@ -2,7 +2,7 @@
2
2
  * Redocly OpenAPI Docs
3
3
  * (c) Copyright 2018 Redocly LLC, all rights reserved.
4
4
  * -------------------------------------------------------------
5
- * Version: "3.4.15"
5
+ * Version: "3.4.16"
6
6
  */(function(Uc,ql){typeof exports=="object"&&typeof module=="object"?module.exports=ql(require("null")):typeof define=="function"&&define.amd?define(["null"],ql):typeof exports=="object"?exports.RedoclyOpenAPIDocs=ql(require("null")):Uc.RedoclyOpenAPIDocs=ql(Uc.null)})(this,tf=>(()=>{var Uc={44607:(g,t,e)=>{"use strict";e.d(t,{A:()=>n});function n(d){var u=Object.create(null);return function(O){return u[O]===void 0&&(u[O]=d(O)),u[O]}}},61203:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=e(85968),d=e(96735),u=e(44723),O=e(48226),p="https://json-schema.org/draft/2020-12/schema";class v extends n.default{constructor(b={}){super({...b,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),d.default.forEach(b=>this.addVocabulary(b)),this.opts.discriminator&&this.addKeyword(u.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:b,meta:E}=this.opts;E&&(O.default.call(this,b),this.refs["http://json-schema.org/schema"]=p)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(p)?p:void 0)}}g.exports=t=v,Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var f=e(9804);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return f.KeywordCxt}});var C=e(57287);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return C._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return C.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return C.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return C.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return C.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return C.CodeGen}})},76202:(g,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0,t._=u,t.str=p,t.addCodeArg=v,t.strConcat=y,t.stringify=E,t.safeStringify=D,t.getProperty=P,t.getEsmExportName=x,t.regexpCode=o;class e{}t._CodeOrName=e,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends e{constructor(l){if(super(),!t.IDENTIFIER.test(l))throw new Error("CodeGen: name must be a valid identifier");this.str=l}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class d extends e{constructor(l){super(),this._items=typeof l=="string"?[l]:l}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const l=this._items[0];return l===""||l==='""'}get str(){var l;return(l=this._str)!==null&&l!==void 0?l:this._str=this._items.reduce((R,S)=>`${R}${S}`,"")}get names(){var l;return(l=this._names)!==null&&l!==void 0?l:this._names=this._items.reduce((R,S)=>(S instanceof n&&(R[S.str]=(R[S.str]||0)+1),R),{})}}t._Code=d,t.nil=new d("");function u(a,...l){const R=[a[0]];let S=0;for(;S<l.length;)v(R,l[S]),R.push(a[++S]);return new d(R)}const O=new d("+");function p(a,...l){const R=[D(a[0])];let S=0;for(;S<l.length;)R.push(O),v(R,l[S]),R.push(O,D(a[++S]));return f(R),new d(R)}function v(a,l){l instanceof d?a.push(...l._items):l instanceof n?a.push(l):a.push(b(l))}function f(a){let l=1;for(;l<a.length-1;){if(a[l]===O){const R=C(a[l-1],a[l+1]);if(R!==void 0){a.splice(l-1,3,R);continue}a[l++]="+"}l++}}function C(a,l){if(l==='""')return a;if(a==='""')return l;if(typeof a=="string")return l instanceof n||a[a.length-1]!=='"'?void 0:typeof l!="string"?`${a.slice(0,-1)}${l}"`:l[0]==='"'?a.slice(0,-1)+l.slice(1):void 0;if(typeof l=="string"&&l[0]==='"'&&!(a instanceof n))return`"${a}${l.slice(1)}`}function y(a,l){return l.emptyStr()?a:a.emptyStr()?l:p`${a}${l}`}function b(a){return typeof a=="number"||typeof a=="boolean"||a===null?a:D(Array.isArray(a)?a.join(","):a)}function E(a){return new d(D(a))}function D(a){return JSON.stringify(a).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function P(a){return typeof a=="string"&&t.IDENTIFIER.test(a)?new d(`.${a}`):u`[${a}]`}function x(a){if(typeof a=="string"&&t.IDENTIFIER.test(a))return new d(`${a}`);throw new Error(`CodeGen: invalid export name: ${a}, use explicit $id name mapping`)}function o(a){return new d(a.toString())}},57287:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0,t.not=je,t.and=ge,t.or=Y;const n=e(76202),d=e(34863);var u=e(76202);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return u.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return u.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return u.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}});var O=e(34863);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return O.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return O.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return O.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return O.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class p{optimizeNodes(){return this}optimizeNames(Z,G){return this}}class v extends p{constructor(Z,G,re){super(),this.varKind=Z,this.name=G,this.rhs=re}render({es5:Z,_n:G}){const re=Z?d.varKinds.var:this.varKind,ee=this.rhs===void 0?"":` = ${this.rhs}`;return`${re} ${this.name}${ee};`+G}optimizeNames(Z,G){if(Z[this.name.str])return this.rhs&&(this.rhs=pe(this.rhs,Z,G)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class f extends p{constructor(Z,G,re){super(),this.lhs=Z,this.rhs=G,this.sideEffects=re}render({_n:Z}){return`${this.lhs} = ${this.rhs};`+Z}optimizeNames(Z,G){if(!(this.lhs instanceof n.Name&&!Z[this.lhs.str]&&!this.sideEffects))return this.rhs=pe(this.rhs,Z,G),this}get names(){const Z=this.lhs instanceof n.Name?{}:{...this.lhs.names};return ie(Z,this.rhs)}}class C extends f{constructor(Z,G,re,ee){super(Z,re,ee),this.op=G}render({_n:Z}){return`${this.lhs} ${this.op}= ${this.rhs};`+Z}}class y extends p{constructor(Z){super(),this.label=Z,this.names={}}render({_n:Z}){return`${this.label}:`+Z}}class b extends p{constructor(Z){super(),this.label=Z,this.names={}}render({_n:Z}){return`break${this.label?` ${this.label}`:""};`+Z}}class E extends p{constructor(Z){super(),this.error=Z}render({_n:Z}){return`throw ${this.error};`+Z}get names(){return this.error.names}}class D extends p{constructor(Z){super(),this.code=Z}render({_n:Z}){return`${this.code};`+Z}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(Z,G){return this.code=pe(this.code,Z,G),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class P extends p{constructor(Z=[]){super(),this.nodes=Z}render(Z){return this.nodes.reduce((G,re)=>G+re.render(Z),"")}optimizeNodes(){const{nodes:Z}=this;let G=Z.length;for(;G--;){const re=Z[G].optimizeNodes();Array.isArray(re)?Z.splice(G,1,...re):re?Z[G]=re:Z.splice(G,1)}return Z.length>0?this:void 0}optimizeNames(Z,G){const{nodes:re}=this;let ee=re.length;for(;ee--;){const be=re[ee];be.optimizeNames(Z,G)||(Ae(Z,be.names),re.splice(ee,1))}return re.length>0?this:void 0}get names(){return this.nodes.reduce((Z,G)=>ae(Z,G.names),{})}}class x extends P{render(Z){return"{"+Z._n+super.render(Z)+"}"+Z._n}}class o extends P{}class a extends x{}a.kind="else";class l extends x{constructor(Z,G){super(G),this.condition=Z}render(Z){let G=`if(${this.condition})`+super.render(Z);return this.else&&(G+="else "+this.else.render(Z)),G}optimizeNodes(){super.optimizeNodes();const Z=this.condition;if(Z===!0)return this.nodes;let G=this.else;if(G){const re=G.optimizeNodes();G=this.else=Array.isArray(re)?new a(re):re}if(G)return Z===!1?G instanceof l?G:G.nodes:this.nodes.length?this:new l(je(Z),G instanceof l?[G]:G.nodes);if(!(Z===!1||!this.nodes.length))return this}optimizeNames(Z,G){var re;if(this.else=(re=this.else)===null||re===void 0?void 0:re.optimizeNames(Z,G),!!(super.optimizeNames(Z,G)||this.else))return this.condition=pe(this.condition,Z,G),this}get names(){const Z=super.names;return ie(Z,this.condition),this.else&&ae(Z,this.else.names),Z}}l.kind="if";class R extends x{}R.kind="for";class S extends R{constructor(Z){super(),this.iteration=Z}render(Z){return`for(${this.iteration})`+super.render(Z)}optimizeNames(Z,G){if(super.optimizeNames(Z,G))return this.iteration=pe(this.iteration,Z,G),this}get names(){return ae(super.names,this.iteration.names)}}class j extends R{constructor(Z,G,re,ee){super(),this.varKind=Z,this.name=G,this.from=re,this.to=ee}render(Z){const G=Z.es5?d.varKinds.var:this.varKind,{name:re,from:ee,to:be}=this;return`for(${G} ${re}=${ee}; ${re}<${be}; ${re}++)`+super.render(Z)}get names(){const Z=ie(super.names,this.from);return ie(Z,this.to)}}class I extends R{constructor(Z,G,re,ee){super(),this.loop=Z,this.varKind=G,this.name=re,this.iterable=ee}render(Z){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(Z)}optimizeNames(Z,G){if(super.optimizeNames(Z,G))return this.iterable=pe(this.iterable,Z,G),this}get names(){return ae(super.names,this.iterable.names)}}class $ extends x{constructor(Z,G,re){super(),this.name=Z,this.args=G,this.async=re}render(Z){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(Z)}}$.kind="func";class M extends P{render(Z){return"return "+super.render(Z)}}M.kind="return";class K extends x{render(Z){let G="try"+super.render(Z);return this.catch&&(G+=this.catch.render(Z)),this.finally&&(G+=this.finally.render(Z)),G}optimizeNodes(){var Z,G;return super.optimizeNodes(),(Z=this.catch)===null||Z===void 0||Z.optimizeNodes(),(G=this.finally)===null||G===void 0||G.optimizeNodes(),this}optimizeNames(Z,G){var re,ee;return super.optimizeNames(Z,G),(re=this.catch)===null||re===void 0||re.optimizeNames(Z,G),(ee=this.finally)===null||ee===void 0||ee.optimizeNames(Z,G),this}get names(){const Z=super.names;return this.catch&&ae(Z,this.catch.names),this.finally&&ae(Z,this.finally.names),Z}}class w extends x{constructor(Z){super(),this.error=Z}render(Z){return`catch(${this.error})`+super.render(Z)}}w.kind="catch";class Q extends x{render(Z){return"finally"+super.render(Z)}}Q.kind="finally";class _{constructor(Z,G={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...G,_n:G.lines?`
7
7
  `:""},this._extScope=Z,this._scope=new d.Scope({parent:Z}),this._nodes=[new o]}toString(){return this._root.render(this.opts)}name(Z){return this._scope.name(Z)}scopeName(Z){return this._extScope.name(Z)}scopeValue(Z,G){const re=this._extScope.value(Z,G);return(this._values[re.prefix]||(this._values[re.prefix]=new Set)).add(re),re}getScopeValue(Z,G){return this._extScope.getValue(Z,G)}scopeRefs(Z){return this._extScope.scopeRefs(Z,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(Z,G,re,ee){const be=this._scope.toName(G);return re!==void 0&&ee&&(this._constants[be.str]=re),this._leafNode(new v(Z,be,re)),be}const(Z,G,re){return this._def(d.varKinds.const,Z,G,re)}let(Z,G,re){return this._def(d.varKinds.let,Z,G,re)}var(Z,G,re){return this._def(d.varKinds.var,Z,G,re)}assign(Z,G,re){return this._leafNode(new f(Z,G,re))}add(Z,G){return this._leafNode(new C(Z,t.operators.ADD,G))}code(Z){return typeof Z=="function"?Z():Z!==n.nil&&this._leafNode(new D(Z)),this}object(...Z){const G=["{"];for(const[re,ee]of Z)G.length>1&&G.push(","),G.push(re),(re!==ee||this.opts.es5)&&(G.push(":"),(0,n.addCodeArg)(G,ee));return G.push("}"),new n._Code(G)}if(Z,G,re){if(this._blockNode(new l(Z)),G&&re)this.code(G).else().code(re).endIf();else if(G)this.code(G).endIf();else if(re)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(Z){return this._elseNode(new l(Z))}else(){return this._elseNode(new a)}endIf(){return this._endBlockNode(l,a)}_for(Z,G){return this._blockNode(Z),G&&this.code(G).endFor(),this}for(Z,G){return this._for(new S(Z),G)}forRange(Z,G,re,ee,be=this.opts.es5?d.varKinds.var:d.varKinds.let){const Oe=this._scope.toName(Z);return this._for(new j(be,Oe,G,re),()=>ee(Oe))}forOf(Z,G,re,ee=d.varKinds.const){const be=this._scope.toName(Z);if(this.opts.es5){const Oe=G instanceof n.Name?G:this.var("_arr",G);return this.forRange("_i",0,(0,n._)`${Oe}.length`,Se=>{this.var(be,(0,n._)`${Oe}[${Se}]`),re(be)})}return this._for(new I("of",ee,be,G),()=>re(be))}forIn(Z,G,re,ee=this.opts.es5?d.varKinds.var:d.varKinds.const){if(this.opts.ownProperties)return this.forOf(Z,(0,n._)`Object.keys(${G})`,re);const be=this._scope.toName(Z);return this._for(new I("in",ee,be,G),()=>re(be))}endFor(){return this._endBlockNode(R)}label(Z){return this._leafNode(new y(Z))}break(Z){return this._leafNode(new b(Z))}return(Z){const G=new M;if(this._blockNode(G),this.code(Z),G.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(M)}try(Z,G,re){if(!G&&!re)throw new Error('CodeGen: "try" without "catch" and "finally"');const ee=new K;if(this._blockNode(ee),this.code(Z),G){const be=this.name("e");this._currNode=ee.catch=new w(be),G(be)}return re&&(this._currNode=ee.finally=new Q,this.code(re)),this._endBlockNode(w,Q)}throw(Z){return this._leafNode(new E(Z))}block(Z,G){return this._blockStarts.push(this._nodes.length),Z&&this.code(Z).endBlock(G),this}endBlock(Z){const G=this._blockStarts.pop();if(G===void 0)throw new Error("CodeGen: not in self-balancing block");const re=this._nodes.length-G;if(re<0||Z!==void 0&&re!==Z)throw new Error(`CodeGen: wrong number of nodes: ${re} vs ${Z} expected`);return this._nodes.length=G,this}func(Z,G=n.nil,re,ee){return this._blockNode(new $(Z,G,re)),ee&&this.code(ee).endFunc(),this}endFunc(){return this._endBlockNode($)}optimize(Z=1){for(;Z-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(Z){return this._currNode.nodes.push(Z),this}_blockNode(Z){this._currNode.nodes.push(Z),this._nodes.push(Z)}_endBlockNode(Z,G){const re=this._currNode;if(re instanceof Z||G&&re instanceof G)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${G?`${Z.kind}/${G.kind}`:Z.kind}"`)}_elseNode(Z){const G=this._currNode;if(!(G instanceof l))throw new Error('CodeGen: "else" without "if"');return this._currNode=G.else=Z,this}get _root(){return this._nodes[0]}get _currNode(){const Z=this._nodes;return Z[Z.length-1]}set _currNode(Z){const G=this._nodes;G[G.length-1]=Z}}t.CodeGen=_;function ae(B,Z){for(const G in Z)B[G]=(B[G]||0)+(Z[G]||0);return B}function ie(B,Z){return Z instanceof n._CodeOrName?ae(B,Z.names):B}function pe(B,Z,G){if(B instanceof n.Name)return re(B);if(!ee(B))return B;return new n._Code(B._items.reduce((be,Oe)=>(Oe instanceof n.Name&&(Oe=re(Oe)),Oe instanceof n._Code?be.push(...Oe._items):be.push(Oe),be),[]));function re(be){const Oe=G[be.str];return Oe===void 0||Z[be.str]!==1?be:(delete Z[be.str],Oe)}function ee(be){return be instanceof n._Code&&be._items.some(Oe=>Oe instanceof n.Name&&Z[Oe.str]===1&&G[Oe.str]!==void 0)}}function Ae(B,Z){for(const G in Z)B[G]=(B[G]||0)-(Z[G]||0)}function je(B){return typeof B=="boolean"||typeof B=="number"||B===null?!B:(0,n._)`!${W(B)}`}const Pe=V(t.operators.AND);function ge(...B){return B.reduce(Pe)}const Ee=V(t.operators.OR);function Y(...B){return B.reduce(Ee)}function V(B){return(Z,G)=>Z===n.nil?G:G===n.nil?Z:(0,n._)`${W(Z)} ${B} ${W(G)}`}function W(B){return B instanceof n.Name?B:(0,n._)`(${B})`}},34863:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=e(76202);class d extends Error{constructor(y){super(`CodeGen: "code" for ${y} not defined`),this.value=y.value}}var u;(function(C){C[C.Started=0]="Started",C[C.Completed=1]="Completed"})(u||(t.UsedValueState=u={})),t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class O{constructor({prefixes:y,parent:b}={}){this._names={},this._prefixes=y,this._parent=b}toName(y){return y instanceof n.Name?y:this.name(y)}name(y){return new n.Name(this._newName(y))}_newName(y){const b=this._names[y]||this._nameGroup(y);return`${y}${b.index++}`}_nameGroup(y){var b,E;if(!((E=(b=this._parent)===null||b===void 0?void 0:b._prefixes)===null||E===void 0)&&E.has(y)||this._prefixes&&!this._prefixes.has(y))throw new Error(`CodeGen: prefix "${y}" is not allowed in this scope`);return this._names[y]={prefix:y,index:0}}}t.Scope=O;class p extends n.Name{constructor(y,b){super(b),this.prefix=y}setValue(y,{property:b,itemIndex:E}){this.value=y,this.scopePath=(0,n._)`.${new n.Name(b)}[${E}]`}}t.ValueScopeName=p;const v=(0,n._)`\n`;class f extends O{constructor(y){super(y),this._values={},this._scope=y.scope,this.opts={...y,_n:y.lines?v:n.nil}}get(){return this._scope}name(y){return new p(y,this._newName(y))}value(y,b){var E;if(b.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const D=this.toName(y),{prefix:P}=D,x=(E=b.key)!==null&&E!==void 0?E:b.ref;let o=this._values[P];if(o){const R=o.get(x);if(R)return R}else o=this._values[P]=new Map;o.set(x,D);const a=this._scope[P]||(this._scope[P]=[]),l=a.length;return a[l]=b.ref,D.setValue(b,{property:P,itemIndex:l}),D}getValue(y,b){const E=this._values[y];if(E)return E.get(b)}scopeRefs(y,b=this._values){return this._reduceValues(b,E=>{if(E.scopePath===void 0)throw new Error(`CodeGen: name "${E}" has no value`);return(0,n._)`${y}${E.scopePath}`})}scopeCode(y=this._values,b,E){return this._reduceValues(y,D=>{if(D.value===void 0)throw new Error(`CodeGen: name "${D}" has no value`);return D.value.code},b,E)}_reduceValues(y,b,E={},D){let P=n.nil;for(const x in y){const o=y[x];if(!o)continue;const a=E[x]=E[x]||new Map;o.forEach(l=>{if(a.has(l))return;a.set(l,u.Started);let R=b(l);if(R){const S=this.opts.es5?t.varKinds.var:t.varKinds.const;P=(0,n._)`${P}${S} ${l} = ${R};${this.opts._n}`}else if(R=D?.(l))P=(0,n._)`${P}${R}${this.opts._n}`;else throw new d(l);a.set(l,u.Completed)})}return P}}t.ValueScope=f},39054:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keyword$DataError=t.keywordError=void 0,t.reportError=O,t.reportExtraError=p,t.resetErrorsCount=v,t.extendErrors=f;const n=e(57287),d=e(977),u=e(5057);t.keywordError={message:({keyword:a})=>(0,n.str)`must pass "${a}" keyword validation`},t.keyword$DataError={message:({keyword:a,schemaType:l})=>l?(0,n.str)`"${a}" keyword must be ${l} ($data)`:(0,n.str)`"${a}" keyword is invalid ($data)`};function O(a,l=t.keywordError,R,S){const{it:j}=a,{gen:I,compositeRule:$,allErrors:M}=j,K=E(a,l,R);S??($||M)?C(I,K):y(j,(0,n._)`[${K}]`)}function p(a,l=t.keywordError,R){const{it:S}=a,{gen:j,compositeRule:I,allErrors:$}=S,M=E(a,l,R);C(j,M),I||$||y(S,u.default.vErrors)}function v(a,l){a.assign(u.default.errors,l),a.if((0,n._)`${u.default.vErrors} !== null`,()=>a.if(l,()=>a.assign((0,n._)`${u.default.vErrors}.length`,l),()=>a.assign(u.default.vErrors,null)))}function f({gen:a,keyword:l,schemaValue:R,data:S,errsCount:j,it:I}){if(j===void 0)throw new Error("ajv implementation error");const $=a.name("err");a.forRange("i",j,u.default.errors,M=>{a.const($,(0,n._)`${u.default.vErrors}[${M}]`),a.if((0,n._)`${$}.instancePath === undefined`,()=>a.assign((0,n._)`${$}.instancePath`,(0,n.strConcat)(u.default.instancePath,I.errorPath))),a.assign((0,n._)`${$}.schemaPath`,(0,n.str)`${I.errSchemaPath}/${l}`),I.opts.verbose&&(a.assign((0,n._)`${$}.schema`,R),a.assign((0,n._)`${$}.data`,S))})}function C(a,l){const R=a.const("err",l);a.if((0,n._)`${u.default.vErrors} === null`,()=>a.assign(u.default.vErrors,(0,n._)`[${R}]`),(0,n._)`${u.default.vErrors}.push(${R})`),a.code((0,n._)`${u.default.errors}++`)}function y(a,l){const{gen:R,validateName:S,schemaEnv:j}=a;j.$async?R.throw((0,n._)`new ${a.ValidationError}(${l})`):(R.assign((0,n._)`${S}.errors`,l),R.return(!1))}const b={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function E(a,l,R){const{createErrors:S}=a.it;return S===!1?(0,n._)`{}`:D(a,l,R)}function D(a,l,R={}){const{gen:S,it:j}=a,I=[P(j,R),x(a,R)];return o(a,l,I),S.object(...I)}function P({errorPath:a},{instancePath:l}){const R=l?(0,n.str)`${a}${(0,d.getErrorPath)(l,d.Type.Str)}`:a;return[u.default.instancePath,(0,n.strConcat)(u.default.instancePath,R)]}function x({keyword:a,it:{errSchemaPath:l}},{schemaPath:R,parentSchema:S}){let j=S?l:(0,n.str)`${l}/${a}`;return R&&(j=(0,n.str)`${j}${(0,d.getErrorPath)(R,d.Type.Str)}`),[b.schemaPath,j]}function o(a,{params:l,message:R},S){const{keyword:j,data:I,schemaValue:$,it:M}=a,{opts:K,propertyName:w,topSchemaRef:Q,schemaPath:_}=M;S.push([b.keyword,j],[b.params,typeof l=="function"?l(a):l||(0,n._)`{}`]),K.messages&&S.push([b.message,typeof R=="function"?R(a):R]),K.verbose&&S.push([b.schema,$],[b.parentSchema,(0,n._)`${Q}${_}`],[u.default.data,I]),w&&S.push([b.propertyName,w])}},65545:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaEnv=void 0,t.compileSchema=C,t.resolveRef=y,t.getCompilingSchema=E,t.resolveSchema=x;const n=e(57287),d=e(84012),u=e(5057),O=e(95421),p=e(977),v=e(9804);class f{constructor(R){var S;this.refs={},this.dynamicAnchors={};let j;typeof R.schema=="object"&&(j=R.schema),this.schema=R.schema,this.schemaId=R.schemaId,this.root=R.root||this,this.baseId=(S=R.baseId)!==null&&S!==void 0?S:(0,O.normalizeId)(j?.[R.schemaId||"$id"]),this.schemaPath=R.schemaPath,this.localRefs=R.localRefs,this.meta=R.meta,this.$async=j?.$async,this.refs={}}}t.SchemaEnv=f;function C(l){const R=E.call(this,l);if(R)return R;const S=(0,O.getFullPath)(this.opts.uriResolver,l.root.baseId),{es5:j,lines:I}=this.opts.code,{ownProperties:$}=this.opts,M=new n.CodeGen(this.scope,{es5:j,lines:I,ownProperties:$});let K;l.$async&&(K=M.scopeValue("Error",{ref:d.default,code:(0,n._)`require("ajv/dist/runtime/validation_error").default`}));const w=M.scopeName("validate");l.validateName=w;const Q={gen:M,allErrors:this.opts.allErrors,data:u.default.data,parentData:u.default.parentData,parentDataProperty:u.default.parentDataProperty,dataNames:[u.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:M.scopeValue("schema",this.opts.code.source===!0?{ref:l.schema,code:(0,n.stringify)(l.schema)}:{ref:l.schema}),validateName:w,ValidationError:K,schema:l.schema,schemaEnv:l,rootId:S,baseId:l.baseId||S,schemaPath:n.nil,errSchemaPath:l.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,n._)`""`,opts:this.opts,self:this};let _;try{this._compilations.add(l),(0,v.validateFunctionCode)(Q),M.optimize(this.opts.code.optimize);const ae=M.toString();_=`const visitedNodesForRef = new WeakMap(); ${M.scopeRefs(u.default.scope)}return ${ae}`,this.opts.code.process&&(_=this.opts.code.process(_,l));const pe=new Function(`${u.default.self}`,`${u.default.scope}`,_)(this,this.scope.get());if(this.scope.value(w,{ref:pe}),pe.errors=null,pe.schema=l.schema,pe.schemaEnv=l,l.$async&&(pe.$async=!0),this.opts.code.source===!0&&(pe.source={validateName:w,validateCode:ae,scopeValues:M._values}),this.opts.unevaluated){const{props:Ae,items:je}=Q;pe.evaluated={props:Ae instanceof n.Name?void 0:Ae,items:je instanceof n.Name?void 0:je,dynamicProps:Ae instanceof n.Name,dynamicItems:je instanceof n.Name},pe.source&&(pe.source.evaluated=(0,n.stringify)(pe.evaluated))}return l.validate=pe,l}catch(ae){throw delete l.validate,delete l.validateName,_&&this.logger.error("Error compiling schema, function code:",_),ae}finally{this._compilations.delete(l)}}function y(l,R,S){var j;const I=(0,O.resolveUrl)(this.opts.uriResolver,R,S),$=l.refs[I];if($)return $;let M=P.call(this,l,I);if(M===void 0){const K=(j=l.localRefs)===null||j===void 0?void 0:j[I],{schemaId:w}=this.opts;K&&(M=new f({schema:K,schemaId:w,root:l,baseId:R}))}if(M===void 0&&this.opts.loadSchemaSync){const K=this.opts.loadSchemaSync(R,S,I);K&&!(this.refs[I]||this.schemas[I])&&(this.addSchema(K,I,void 0),M=P.call(this,l,I))}if(M!==void 0)return l.refs[I]=b.call(this,M)}function b(l){return(0,O.inlineRef)(l.schema,this.opts.inlineRefs)?l.schema:l.validate?l:C.call(this,l)}function E(l){for(const R of this._compilations)if(D(R,l))return R}function D(l,R){return l.schema===R.schema&&l.root===R.root&&l.baseId===R.baseId}function P(l,R){let S;for(;typeof(S=this.refs[R])=="string";)R=S;return S||this.schemas[R]||x.call(this,l,R)}function x(l,R){const S=this.opts.uriResolver.parse(R),j=(0,O._getFullPath)(this.opts.uriResolver,S);let I=(0,O.getFullPath)(this.opts.uriResolver,l.baseId,void 0);if(Object.keys(l.schema).length>0&&j===I)return a.call(this,S,l);const $=(0,O.normalizeId)(j),M=this.refs[$]||this.schemas[$];if(typeof M=="string"){const K=x.call(this,l,M);return typeof K?.schema!="object"?void 0:a.call(this,S,K)}if(typeof M?.schema=="object"){if(M.validate||C.call(this,M),$===(0,O.normalizeId)(R)){const{schema:K}=M,{schemaId:w}=this.opts,Q=K[w];return Q&&(I=(0,O.resolveUrl)(this.opts.uriResolver,I,Q)),new f({schema:K,schemaId:w,root:l,baseId:I})}return a.call(this,S,M)}}const o=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function a(l,{baseId:R,schema:S,root:j}){var I;if(((I=l.fragment)===null||I===void 0?void 0:I[0])!=="/")return;for(const K of l.fragment.slice(1).split("/")){if(typeof S=="boolean")return;const w=S[(0,p.unescapeFragment)(K)];if(w===void 0)return;S=w;const Q=typeof S=="object"&&S[this.opts.schemaId];!o.has(K)&&Q&&(R=(0,O.resolveUrl)(this.opts.uriResolver,R,Q))}let $;if(typeof S!="boolean"&&S.$ref&&!(0,p.schemaHasRulesButRef)(S,this.RULES)){const K=(0,O.resolveUrl)(this.opts.uriResolver,R,S.$ref);$=x.call(this,j,K)}const{schemaId:M}=this.opts;if($=$||new f({schema:S,schemaId:M,root:j,baseId:R}),$.schema!==$.root.schema)return $}},5057:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(57287),d={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),isAllOfVariant:new n.Name("isAllOfVariant"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t.default=d},78805:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(95421);class d extends Error{constructor(O,p,v,f){super(f||`can't resolve reference ${v} from id ${p}`),this.missingRef=(0,n.resolveUrl)(O,p,v),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(O,this.missingRef))}}t.default=d},95421:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlineRef=p,t.getFullPath=y,t._getFullPath=b,t.normalizeId=D,t.resolveUrl=P,t.getSchemaRefs=o;const n=e(977),d=e(67371),u=e(50205),O=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function p(a,l=!0){return typeof a=="boolean"?!0:l===!0?!f(a):l?C(a)<=l:!1}const v=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function f(a){for(const l in a){if(v.has(l))return!0;const R=a[l];if(Array.isArray(R)&&R.some(f)||typeof R=="object"&&f(R))return!0}return!1}function C(a){let l=0;for(const R in a){if(R==="$ref")return 1/0;if(l++,!O.has(R)&&(typeof a[R]=="object"&&(0,n.eachItem)(a[R],S=>l+=C(S)),l===1/0))return 1/0}return l}function y(a,l="",R){R!==!1&&(l=D(l));const S=a.parse(l);return b(a,S)}function b(a,l){return a.serialize(l).split("#")[0]+"#"}const E=/#\/?$/;function D(a){return a?a.replace(E,""):""}function P(a,l,R){return R=D(R),a.resolve(l,R)}const x=/^[a-z_][-a-z0-9._]*$/i;function o(a,l){if(typeof a=="boolean")return{};const{schemaId:R,uriResolver:S}=this.opts,j=D(a[R]||l),I={"":j},$=y(S,j,!1),M={},K=new Set;return u(a,{allKeys:!0},(_,ae,ie,pe)=>{if(pe===void 0)return;const Ae=$+ae;let je=I[pe];typeof _[R]=="string"&&(je=Pe.call(this,_[R])),ge.call(this,_.$anchor),ge.call(this,_.$dynamicAnchor),I[ae]=je;function Pe(Ee){const Y=this.opts.uriResolver.resolve;if(Ee=D(je?Y(je,Ee):Ee),K.has(Ee))throw Q(Ee);K.add(Ee);let V=this.refs[Ee];return typeof V=="string"&&(V=this.refs[V]),typeof V=="object"?w(_,V.schema,Ee):Ee!==D(Ae)&&(Ee[0]==="#"?(w(_,M[Ee],Ee),M[Ee]=_):this.refs[Ee]=Ae),Ee}function ge(Ee){if(typeof Ee=="string"){if(!x.test(Ee))throw new Error(`invalid anchor "${Ee}"`);Pe.call(this,`#${Ee}`)}}}),M;function w(_,ae,ie){if(ae!==void 0&&!d(_,ae))throw Q(ie)}function Q(_){return new Error(`reference "${_}" resolves to more than one schema`)}}},90942:(g,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJSONType=d,t.getRules=u;const e=["string","number","integer","boolean","null","object","array"],n=new Set(e);function d(O){return typeof O=="string"&&n.has(O)}function u(){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:{}}}},977:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.mergeEvaluated=void 0,t.toHash=u,t.alwaysValidSchema=O,t.checkUnknownRules=p,t.schemaHasRules=v,t.schemaHasRulesButRef=f,t.schemaRefOrVal=C,t.unescapeFragment=y,t.escapeFragment=b,t.escapeJsonPointer=E,t.unescapeJsonPointer=D,t.eachItem=P,t.evaluatedPropsToName=o,t.setEvaluated=a,t.useFunc=R,t.getErrorPath=j,t.checkStrictMode=I;const n=e(57287),d=e(76202);function u($){const M={};for(const K of $)M[K]=!0;return M}function O($,M){return typeof M=="boolean"?M:Object.keys(M).length===0?!0:(p($,M),!v(M,$.self.RULES.all))}function p($,M=$.schema){const{opts:K,self:w}=$;if(!K.strictSchema||typeof M=="boolean")return;const Q=w.RULES.keywords;for(const _ in M)Q[_]||I($,`unknown keyword: "${_}"`)}function v($,M){if(typeof $=="boolean")return!$;for(const K in $)if(M[K])return!0;return!1}function f($,M){if(typeof $=="boolean")return!$;for(const K in $)if(K!=="$ref"&&M.all[K])return!0;return!1}function C({topSchemaRef:$,schemaPath:M},K,w,Q){if(!Q){if(typeof K=="number"||typeof K=="boolean")return K;if(typeof K=="string")return(0,n._)`${K}`}return(0,n._)`${$}${M}${(0,n.getProperty)(w)}`}function y($){return D(decodeURIComponent($))}function b($){return encodeURIComponent(E($))}function E($){return typeof $=="number"?`${$}`:$.replace(/~/g,"~0").replace(/\//g,"~1")}function D($){return $.replace(/~1/g,"/").replace(/~0/g,"~")}function P($,M){if(Array.isArray($))for(const K of $)M(K);else M($)}function x({mergeNames:$,mergeToName:M,mergeValues:K,resultToName:w}){return(Q,_,ae,ie)=>{const pe=ae===void 0?_:ae instanceof n.Name?(_ instanceof n.Name?$(Q,_,ae):M(Q,_,ae),ae):_ instanceof n.Name?(M(Q,ae,_),_):K(_,ae);return ie===n.Name&&!(pe instanceof n.Name)?w(Q,pe):pe}}t.mergeEvaluated={props:x({mergeNames:($,M,K)=>$.if((0,n._)`${K} !== true && ${M} !== undefined`,()=>{$.if((0,n._)`${M} === true`,()=>$.assign(K,!0),()=>$.assign(K,(0,n._)`${K} || {}`).code((0,n._)`Object.assign(${K}, ${M})`))}),mergeToName:($,M,K)=>$.if((0,n._)`${K} !== true`,()=>{M===!0?$.assign(K,!0):($.assign(K,(0,n._)`${K} || {}`),a($,K,M))}),mergeValues:($,M)=>$===!0?!0:{...$,...M},resultToName:o}),items:x({mergeNames:($,M,K)=>$.if((0,n._)`${K} !== true && ${M} !== undefined`,()=>$.assign(K,(0,n._)`${M} === true ? true : ${K} > ${M} ? ${K} : ${M}`)),mergeToName:($,M,K)=>$.if((0,n._)`${K} !== true`,()=>$.assign(K,M===!0?!0:(0,n._)`${K} > ${M} ? ${K} : ${M}`)),mergeValues:($,M)=>$===!0?!0:Math.max($,M),resultToName:($,M)=>$.var("items",M)})};function o($,M){if(M===!0)return $.var("props",!0);const K=$.var("props",(0,n._)`{}`);return M!==void 0&&a($,K,M),K}function a($,M,K){Object.keys(K).forEach(w=>$.assign((0,n._)`${M}${(0,n.getProperty)(w)}`,!0))}const l={};function R($,M){return $.scopeValue("func",{ref:M,code:l[M.code]||(l[M.code]=new d._Code(M.code))})}var S;(function($){$[$.Num=0]="Num",$[$.Str=1]="Str"})(S||(t.Type=S={}));function j($,M,K){if($ instanceof n.Name){const w=M===S.Num;return K?w?(0,n._)`"[" + ${$} + "]"`:(0,n._)`"['" + ${$} + "']"`:w?(0,n._)`"/" + ${$}`:(0,n._)`"/" + ${$}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return K?(0,n.getProperty)($).toString():"/"+E($)}function I($,M,K=$.opts.strictSchema){if(K){if(M=`strict mode: ${M}`,K===!0)throw new Error(M);$.self.logger.warn(M)}}},5413:(g,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaHasRulesForType=e,t.shouldUseGroup=n,t.shouldUseRule=d;function e({schema:u,self:O},p){const v=O.RULES.types[p];return v&&v!==!0&&n(u,v)}function n(u,O){return O.rules.some(p=>d(u,p))}function d(u,O){var p;return u[O.keyword]!==void 0||((p=O.definition.implements)===null||p===void 0?void 0:p.some(v=>u[v]!==void 0))}},98213:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.topBoolOrEmptySchema=p,t.boolOrEmptySchema=v;const n=e(39054),d=e(57287),u=e(5057),O={message:"boolean schema is false"};function p(C){const{gen:y,schema:b,validateName:E}=C;b===!1?f(C,!1):typeof b=="object"&&b.$async===!0?y.return(u.default.data):(y.assign((0,d._)`${E}.errors`,null),y.return(!0))}function v(C,y){const{gen:b,schema:E}=C;E===!1?(b.var(y,!1),f(C)):b.var(y,!0)}function f(C,y){const{gen:b,data:E}=C,D={gen:b,keyword:"false schema",data:E,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:C};(0,n.reportError)(D,O,void 0,y)}},41434:(g,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataType=void 0,t.getSchemaTypes=f,t.getJSONTypes=C,t.coerceAndCheckDataType=y,t.checkDataType=x,t.checkDataTypes=o,t.reportTypeError=l;const n=e(90942),d=e(5413),u=e(39054),O=e(57287),p=e(977);var v;(function(S){S[S.Correct=0]="Correct",S[S.Wrong=1]="Wrong"})(v||(t.DataType=v={}));function f(S){const j=C(S.type);if(j.includes("null")){if(S.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!j.length&&S.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');S.nullable===!0&&j.push("null")}return j}function C(S){const j=Array.isArray(S)?S:S?[S]:[];if(j.every(n.isJSONType))return j;throw new Error("type must be JSONType or JSONType[]: "+j.join(","))}function y(S,j){const{gen:I,data:$,opts:M}=S,K=E(j,M.coerceTypes),w=j.length>0&&!(K.length===0&&j.length===1&&(0,d.schemaHasRulesForType)(S,j[0]));if(w){const Q=o(j,$,M.strictNumbers,v.Wrong);I.if(Q,()=>{K.length?D(S,j,K):l(S)})}return w}const b=new Set(["string","number","integer","boolean","null"]);function E(S,j){return j?S.filter(I=>b.has(I)||j==="array"&&I==="array"):[]}function D(S,j,I){const{gen:$,data:M,opts:K}=S,w=$.let("dataType",(0,O._)`typeof ${M}`),Q=$.let("coerced",(0,O._)`undefined`);K.coerceTypes==="array"&&$.if((0,O._)`${w} == 'object' && Array.isArray(${M}) && ${M}.length == 1`,()=>$.assign(M,(0,O._)`${M}[0]`).assign(w,(0,O._)`typeof ${M}`).if(o(j,M,K.strictNumbers),()=>$.assign(Q,M))),$.if((0,O._)`${Q} !== undefined`);for(const ae of I)(b.has(ae)||ae==="array"&&K.coerceTypes==="array")&&_(ae);$.else(),l(S),$.endIf(),$.if((0,O._)`${Q} !== undefined`,()=>{$.assign(M,Q),P(S,Q)});function _(ae){switch(ae){case"string":$.elseIf((0,O._)`${w} == "number" || ${w} == "boolean"`).assign(Q,(0,O._)`"" + ${M}`).elseIf((0,O._)`${M} === null`).assign(Q,(0,O._)`""`);return;case"number":$.elseIf((0,O._)`${w} == "boolean" || ${M} === null
8
8
  || (${w} == "string" && ${M} && ${M} == +${M})`).assign(Q,(0,O._)`+${M}`);return;case"integer":$.elseIf((0,O._)`${w} === "boolean" || ${M} === null
@@ -434,7 +434,7 @@ ${ee}`}}const j=G=>Array.isArray(G)&&G.some(re=>(0,d.isObject)(re)),I=G=>G.filte
434
434
  @media screen and (min-width: ${u.fi.medium}) {
435
435
  display: none;
436
436
  }
437
- `},41682:(g,t,e)=>{"use strict";var n=e(63159),d=e(9448),u=e(36958),O=e(98202),p=e(94514),v=e(65426),f=e(68744),C=e(74490),y=e(49638);function b({item:j}){var I;const{useTelemetry:$}=useThemeHooks(),M=$();return jsx(Link,{to:j.docsLink||j.link,children:jsxs(D,{"data-component-name":"Catalog/CatalogCard",onClick:()=>M.send("catalog_item_clicked",{}),children:[jsxs(a,{children:[jsx(P,{children:jsx(x,{children:jsx(CatalogHighlight,{children:j.title})})}),jsx(o,{children:jsx(CatalogHighlight,{children:(I=j.description)!=null?I:""})})]}),jsxs(l,{children:[jsxs(R,{children:[(j.tags||[]).map((K,w)=>jsx(S,{color:slug(K),children:jsx(CatalogHighlight,{children:capitalize(K)})},K+w)),j.scorecardLevel&&jsx(Tag,{borderless:!0,withStatusDot:!0,statusDotColor:`var(${getScorecardColorVariable(j.scorecardLevelIdx||0,Object.keys(j.scorecardLevels||{}).length)})`,children:jsx(CatalogHighlight,{children:j.scorecardLevel})})||null]}),jsx(E,{size:"medium",variant:"secondary",icon:jsx(ArrowRightIcon,{})})]})]})},j.docsLink||j.link)}const E=(0,d.Ay)(y.$)`
437
+ `},41682:(g,t,e)=>{"use strict";var n=e(63159),d=e(9448),u=e(36958),O=e(98202),p=e(94514),v=e(65426),f=e(68744),C=e(74490),y=e(49638);function b({item:j}){var I,$;const{useTelemetry:M}=useThemeHooks(),K=M();return jsx(Link,{to:j.docsLink||j.link,children:jsxs(D,{"data-component-name":"Catalog/CatalogCard",onClick:()=>K.send("catalog_item_clicked",{}),children:[jsxs(a,{children:[jsx(P,{children:jsx(x,{children:jsx(CatalogHighlight,{children:j.title})})}),jsx(o,{children:jsx(CatalogHighlight,{children:($=(I=j.summary)!=null?I:j.description)!=null?$:""})})]}),jsxs(l,{children:[jsxs(R,{children:[(j.tags||[]).map((w,Q)=>jsx(S,{color:slug(w),children:jsx(CatalogHighlight,{children:capitalize(w)})},w+Q)),j.scorecardLevel&&jsx(Tag,{borderless:!0,withStatusDot:!0,statusDotColor:`var(${getScorecardColorVariable(j.scorecardLevelIdx||0,Object.keys(j.scorecardLevels||{}).length)})`,children:jsx(CatalogHighlight,{children:j.scorecardLevel})})||null]}),jsx(E,{size:"medium",variant:"secondary",icon:jsx(ArrowRightIcon,{})})]})]})},j.docsLink||j.link)}const E=(0,d.Ay)(y.$)`
438
438
  border-radius: 100%;
439
439
  transition: all 0.2s ease-in-out;
440
440
  `,D=d.Ay.div`
@@ -10888,4 +10888,4 @@ Error generating stack: `+se.message+`
10888
10888
  `,ah=({pointer:T,schema:U})=>{const{options:z,parser:ye}=useAtomValue(globalStoreAtom),ke=U||{$ref:T},dt=getSchema({parser:ye,schemaOrRef:ke,pointer:T||"",options:z,deps:{operation:{pointer:"RedocSchema"}}});return jsx(Row,{children:jsx(FullWidthPanel,{children:jsx(Schema,{schema:dt,level:1,disableDeepLinks:!0})})})},sh=({pointer:T,mimeType:U,encoding:z})=>{const ye=useAtomValue(globalParserAtom),ke=useAtomValue(layoutAtom),dt=getExamples({parser:ye,infoOrRef:{$ref:T},mime:U,encoding:z});return jsx(Row,{layout:ke,children:jsx(ExamplesWrap,{children:jsx(Example,{example:dt,mimeType:U})})})},zm=B.Ay.div`
10889
10889
  padding: 20px;
10890
10890
  color: red;
10891
- `;class lh extends o.Component{constructor(U){super(U),this.state={error:void 0}}componentDidCatch(U){return this.setState({error:U}),!1}render(){return this.state.error?(0,g.jsxs)(zm,{children:[(0,g.jsx)("h1",{children:"Something went wrong..."}),(0,g.jsxs)("small",{children:[" ",this.state.error.message," "]}),(0,g.jsx)("p",{children:(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Stack trace"}),(0,g.jsx)("pre",{children:this.state.error.stack})]})}),typeof __REDOC_VERSION__<"u"?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("small",{children:[" References docs version: ",__REDOC_VERSION__]})," ",(0,g.jsx)("br",{})]}):null,typeof __REDOC_REVISION__<"u"?(0,g.jsxs)("small",{children:[" Commit: ",__REDOC_REVISION__]}):null]}):(0,g.jsx)(g.Fragment,{children:o.Children.only(this.props.children)})}}var Wm=Object.defineProperty,Lf=Object.getOwnPropertySymbols,Hm=Object.prototype.hasOwnProperty,Vm=Object.prototype.propertyIsEnumerable,wf=(T,U,z)=>U in T?Wm(T,U,{enumerable:!0,configurable:!0,writable:!0,value:z}):T[U]=z,Bf=(T,U)=>{for(var z in U||(U={}))Hm.call(U,z)&&wf(T,z,U[z]);if(Lf)for(var z of Lf(U))Vm.call(U,z)&&wf(T,z,U[z]);return T};const $f=(0,R.JA)(),Km=$f?(0,x.dirname)($f)+"/":"";function km(T){const U={},z=T.attributes;for(let ye=0;ye<z.length;ye++){const ke=z[ye];U[ke.name]=ke.value}return U}function Gm(T){const U=km(T),z={};for(const ye in U){const ke=ye.replace(/-(.)/g,(dt,Tt)=>Tt.toUpperCase());z[ke]=U[ye]}return z}function Zm(T,U=document.querySelector("redoc")){(0,a.c)(U,(0,g.jsx)(Rf,{store:T}))}function Ff(T,U={},z=(0,R.iT)("redoc")){if(z===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let ye,ke;typeof T=="string"?ye=T:typeof T=="object"&&(ke=T),(0,a.H)(z).render((0,o.createElement)(Nm,{definition:ke,definitionUrl:ye,options:Bf(Bf({},U),Gm(z))},["Loading..."]))}function Nf(T){dr.p=T}const Ym="3.4.15",Jm="166230daba";function Xm(){const T=(0,R.iT)("redoc");if(!T)return;const U=T.getAttribute("spec-url");U&&Ff(U,{},T)}l.IS_BROWSER&&Nf(Km),Xm()})(),Ed})());
10891
+ `;class lh extends o.Component{constructor(U){super(U),this.state={error:void 0}}componentDidCatch(U){return this.setState({error:U}),!1}render(){return this.state.error?(0,g.jsxs)(zm,{children:[(0,g.jsx)("h1",{children:"Something went wrong..."}),(0,g.jsxs)("small",{children:[" ",this.state.error.message," "]}),(0,g.jsx)("p",{children:(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Stack trace"}),(0,g.jsx)("pre",{children:this.state.error.stack})]})}),typeof __REDOC_VERSION__<"u"?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("small",{children:[" References docs version: ",__REDOC_VERSION__]})," ",(0,g.jsx)("br",{})]}):null,typeof __REDOC_REVISION__<"u"?(0,g.jsxs)("small",{children:[" Commit: ",__REDOC_REVISION__]}):null]}):(0,g.jsx)(g.Fragment,{children:o.Children.only(this.props.children)})}}var Wm=Object.defineProperty,Lf=Object.getOwnPropertySymbols,Hm=Object.prototype.hasOwnProperty,Vm=Object.prototype.propertyIsEnumerable,wf=(T,U,z)=>U in T?Wm(T,U,{enumerable:!0,configurable:!0,writable:!0,value:z}):T[U]=z,Bf=(T,U)=>{for(var z in U||(U={}))Hm.call(U,z)&&wf(T,z,U[z]);if(Lf)for(var z of Lf(U))Vm.call(U,z)&&wf(T,z,U[z]);return T};const $f=(0,R.JA)(),Km=$f?(0,x.dirname)($f)+"/":"";function km(T){const U={},z=T.attributes;for(let ye=0;ye<z.length;ye++){const ke=z[ye];U[ke.name]=ke.value}return U}function Gm(T){const U=km(T),z={};for(const ye in U){const ke=ye.replace(/-(.)/g,(dt,Tt)=>Tt.toUpperCase());z[ke]=U[ye]}return z}function Zm(T,U=document.querySelector("redoc")){(0,a.c)(U,(0,g.jsx)(Rf,{store:T}))}function Ff(T,U={},z=(0,R.iT)("redoc")){if(z===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let ye,ke;typeof T=="string"?ye=T:typeof T=="object"&&(ke=T),(0,a.H)(z).render((0,o.createElement)(Nm,{definition:ke,definitionUrl:ye,options:Bf(Bf({},U),Gm(z))},["Loading..."]))}function Nf(T){dr.p=T}const Ym="3.4.16",Jm="669fa7cb92";function Xm(){const T=(0,R.iT)("redoc");if(!T)return;const U=T.getAttribute("spec-url");U&&Ff(U,{},T)}l.IS_BROWSER&&Nf(Km),Xm()})(),Ed})());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/openapi-docs",
3
- "version": "3.4.15",
3
+ "version": "3.4.16",
4
4
  "description": "Redocly OpenAPI Docs",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",
@@ -44,8 +44,8 @@
44
44
  "url": "~0.11.0",
45
45
  "url-template": "^2.0.8",
46
46
  "util": "~0.12.5",
47
- "@redocly/replay": "0.7.10",
48
- "@redocly/config": "0.16.0"
47
+ "@redocly/config": "0.16.0",
48
+ "@redocly/replay": "0.7.11"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@testing-library/jest-dom": "6.1.5",
@@ -93,7 +93,7 @@
93
93
  "webpack": "5.94.0",
94
94
  "webpack-cli": "5.1.4",
95
95
  "webpack-dev-server": "5.1.0",
96
- "@redocly/theme": "0.45.3"
96
+ "@redocly/theme": "0.45.4"
97
97
  },
98
98
  "scripts": {
99
99
  "start": "webpack serve --mode=development --hot",