@redocly/openapi-docs 3.4.0-rc.3 → 3.4.0-rc.4
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.0-rc.
|
|
5
|
+
* Version: "3.4.0-rc.4"
|
|
6
6
|
*/(function(Uc,nc){typeof exports=="object"&&typeof module=="object"?module.exports=nc(require("null")):typeof define=="function"&&define.amd?define(["null"],nc):typeof exports=="object"?exports.RedoclyOpenAPIDocs=nc(require("null")):Uc.RedoclyOpenAPIDocs=nc(Uc.null)})(this,rf=>(()=>{var Uc={44607:(p,t,e)=>{"use strict";e.d(t,{A:()=>n});function n(u){var d=Object.create(null);return function(E){return d[E]===void 0&&(d[E]=u(E)),d[E]}}},41685:(p,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(30646),u=e(78234),d=e(30833),E=e(86640),f="https://json-schema.org/draft/2020-12/schema";class v extends n.default{constructor(S={}){super({...S,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),u.default.forEach(S=>this.addVocabulary(S)),this.opts.discriminator&&this.addKeyword(d.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:S,meta:O}=this.opts;O&&(E.default.call(this,S),this.refs["http://json-schema.org/schema"]=f)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(f)?f:void 0)}}p.exports=t=v,Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var h=e(72630);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return h.KeywordCxt}});var C=e(11601);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}})},21860:(p,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;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 u 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,P)=>`${R}${P}`,"")}get names(){var l;return(l=this._names)!==null&&l!==void 0?l:this._names=this._items.reduce((R,P)=>(P instanceof n&&(R[P.str]=(R[P.str]||0)+1),R),{})}}t._Code=u,t.nil=new u("");function d(a,...l){const R=[a[0]];let P=0;for(;P<l.length;)v(R,l[P]),R.push(a[++P]);return new u(R)}t._=d;const E=new u("+");function f(a,...l){const R=[A(a[0])];let P=0;for(;P<l.length;)R.push(E),v(R,l[P]),R.push(E,A(a[++P]));return h(R),new u(R)}t.str=f;function v(a,l){l instanceof u?a.push(...l._items):l instanceof n?a.push(l):a.push(S(l))}t.addCodeArg=v;function h(a){let l=1;for(;l<a.length-1;){if(a[l]===E){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:f`${a}${l}`}t.strConcat=y;function S(a){return typeof a=="number"||typeof a=="boolean"||a===null?a:A(Array.isArray(a)?a.join(","):a)}function O(a){return new u(A(a))}t.stringify=O;function A(a){return JSON.stringify(a).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.safeStringify=A;function b(a){return typeof a=="string"&&t.IDENTIFIER.test(a)?new u(`.${a}`):d`[${a}]`}t.getProperty=b;function x(a){if(typeof a=="string"&&t.IDENTIFIER.test(a))return new u(`${a}`);throw new Error(`CodeGen: invalid export name: ${a}, use explicit $id name mapping`)}t.getEsmExportName=x;function o(a){return new u(a.toString())}t.regexpCode=o},11601:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=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;const n=e(21860),u=e(4425);var d=e(21860);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return d.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return d.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return d.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}});var E=e(4425);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return E.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return E.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return E.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return E.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 f{optimizeNodes(){return this}optimizeNames(Z,W){return this}}class v extends f{constructor(Z,W,_){super(),this.varKind=Z,this.name=W,this.rhs=_}render({es5:Z,_n:W}){const _=Z?u.varKinds.var:this.varKind,q=this.rhs===void 0?"":` = ${this.rhs}`;return`${_} ${this.name}${q};`+W}optimizeNames(Z,W){if(Z[this.name.str])return this.rhs&&(this.rhs=pe(this.rhs,Z,W)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class h extends f{constructor(Z,W,_){super(),this.lhs=Z,this.rhs=W,this.sideEffects=_}render({_n:Z}){return`${this.lhs} = ${this.rhs};`+Z}optimizeNames(Z,W){if(!(this.lhs instanceof n.Name&&!Z[this.lhs.str]&&!this.sideEffects))return this.rhs=pe(this.rhs,Z,W),this}get names(){const Z=this.lhs instanceof n.Name?{}:{...this.lhs.names};return oe(Z,this.rhs)}}class C extends h{constructor(Z,W,_,q){super(Z,_,q),this.op=W}render({_n:Z}){return`${this.lhs} ${this.op}= ${this.rhs};`+Z}}class y extends f{constructor(Z){super(),this.label=Z,this.names={}}render({_n:Z}){return`${this.label}:`+Z}}class S extends f{constructor(Z){super(),this.label=Z,this.names={}}render({_n:Z}){return`break${this.label?` ${this.label}`:""};`+Z}}class O extends f{constructor(Z){super(),this.error=Z}render({_n:Z}){return`throw ${this.error};`+Z}get names(){return this.error.names}}class A extends f{constructor(Z){super(),this.code=Z}render({_n:Z}){return`${this.code};`+Z}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(Z,W){return this.code=pe(this.code,Z,W),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class b extends f{constructor(Z=[]){super(),this.nodes=Z}render(Z){return this.nodes.reduce((W,_)=>W+_.render(Z),"")}optimizeNodes(){const{nodes:Z}=this;let W=Z.length;for(;W--;){const _=Z[W].optimizeNodes();Array.isArray(_)?Z.splice(W,1,..._):_?Z[W]=_:Z.splice(W,1)}return Z.length>0?this:void 0}optimizeNames(Z,W){const{nodes:_}=this;let q=_.length;for(;q--;){const Pe=_[q];Pe.optimizeNames(Z,W)||(Ie(Z,Pe.names),_.splice(q,1))}return _.length>0?this:void 0}get names(){return this.nodes.reduce((Z,W)=>ie(Z,W.names),{})}}class x extends b{render(Z){return"{"+Z._n+super.render(Z)+"}"+Z._n}}class o extends b{}class a extends x{}a.kind="else";class l extends x{constructor(Z,W){super(W),this.condition=Z}render(Z){let W=`if(${this.condition})`+super.render(Z);return this.else&&(W+="else "+this.else.render(Z)),W}optimizeNodes(){super.optimizeNodes();const Z=this.condition;if(Z===!0)return this.nodes;let W=this.else;if(W){const _=W.optimizeNodes();W=this.else=Array.isArray(_)?new a(_):_}if(W)return Z===!1?W instanceof l?W:W.nodes:this.nodes.length?this:new l(Ae(Z),W instanceof l?[W]:W.nodes);if(!(Z===!1||!this.nodes.length))return this}optimizeNames(Z,W){var _;if(this.else=(_=this.else)===null||_===void 0?void 0:_.optimizeNames(Z,W),!!(super.optimizeNames(Z,W)||this.else))return this.condition=pe(this.condition,Z,W),this}get names(){const Z=super.names;return oe(Z,this.condition),this.else&&ie(Z,this.else.names),Z}}l.kind="if";class R extends x{}R.kind="for";class P extends R{constructor(Z){super(),this.iteration=Z}render(Z){return`for(${this.iteration})`+super.render(Z)}optimizeNames(Z,W){if(super.optimizeNames(Z,W))return this.iteration=pe(this.iteration,Z,W),this}get names(){return ie(super.names,this.iteration.names)}}class M extends R{constructor(Z,W,_,q){super(),this.varKind=Z,this.name=W,this.from=_,this.to=q}render(Z){const W=Z.es5?u.varKinds.var:this.varKind,{name:_,from:q,to:Pe}=this;return`for(${W} ${_}=${q}; ${_}<${Pe}; ${_}++)`+super.render(Z)}get names(){const Z=oe(super.names,this.from);return oe(Z,this.to)}}class D extends R{constructor(Z,W,_,q){super(),this.loop=Z,this.varKind=W,this.name=_,this.iterable=q}render(Z){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(Z)}optimizeNames(Z,W){if(super.optimizeNames(Z,W))return this.iterable=pe(this.iterable,Z,W),this}get names(){return ie(super.names,this.iterable.names)}}class U extends x{constructor(Z,W,_){super(),this.name=Z,this.args=W,this.async=_}render(Z){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(Z)}}U.kind="func";class j extends b{render(Z){return"return "+super.render(Z)}}j.kind="return";class H extends x{render(Z){let W="try"+super.render(Z);return this.catch&&(W+=this.catch.render(Z)),this.finally&&(W+=this.finally.render(Z)),W}optimizeNodes(){var Z,W;return super.optimizeNodes(),(Z=this.catch)===null||Z===void 0||Z.optimizeNodes(),(W=this.finally)===null||W===void 0||W.optimizeNodes(),this}optimizeNames(Z,W){var _,q;return super.optimizeNames(Z,W),(_=this.catch)===null||_===void 0||_.optimizeNames(Z,W),(q=this.finally)===null||q===void 0||q.optimizeNames(Z,W),this}get names(){const Z=super.names;return this.catch&&ie(Z,this.catch.names),this.finally&&ie(Z,this.finally.names),Z}}class L extends x{constructor(Z){super(),this.error=Z}render(Z){return`catch(${this.error})`+super.render(Z)}}L.kind="catch";class re extends x{render(Z){return"finally"+super.render(Z)}}re.kind="finally";class ne{constructor(Z,W={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...W,_n:W.lines?`
|
|
7
7
|
`:""},this._extScope=Z,this._scope=new u.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,W){const _=this._extScope.value(Z,W);return(this._values[_.prefix]||(this._values[_.prefix]=new Set)).add(_),_}getScopeValue(Z,W){return this._extScope.getValue(Z,W)}scopeRefs(Z){return this._extScope.scopeRefs(Z,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(Z,W,_,q){const Pe=this._scope.toName(W);return _!==void 0&&q&&(this._constants[Pe.str]=_),this._leafNode(new v(Z,Pe,_)),Pe}const(Z,W,_){return this._def(u.varKinds.const,Z,W,_)}let(Z,W,_){return this._def(u.varKinds.let,Z,W,_)}var(Z,W,_){return this._def(u.varKinds.var,Z,W,_)}assign(Z,W,_){return this._leafNode(new h(Z,W,_))}add(Z,W){return this._leafNode(new C(Z,t.operators.ADD,W))}code(Z){return typeof Z=="function"?Z():Z!==n.nil&&this._leafNode(new A(Z)),this}object(...Z){const W=["{"];for(const[_,q]of Z)W.length>1&&W.push(","),W.push(_),(_!==q||this.opts.es5)&&(W.push(":"),(0,n.addCodeArg)(W,q));return W.push("}"),new n._Code(W)}if(Z,W,_){if(this._blockNode(new l(Z)),W&&_)this.code(W).else().code(_).endIf();else if(W)this.code(W).endIf();else if(_)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,W){return this._blockNode(Z),W&&this.code(W).endFor(),this}for(Z,W){return this._for(new P(Z),W)}forRange(Z,W,_,q,Pe=this.opts.es5?u.varKinds.var:u.varKinds.let){const ve=this._scope.toName(Z);return this._for(new M(Pe,ve,W,_),()=>q(ve))}forOf(Z,W,_,q=u.varKinds.const){const Pe=this._scope.toName(Z);if(this.opts.es5){const ve=W instanceof n.Name?W:this.var("_arr",W);return this.forRange("_i",0,(0,n._)`${ve}.length`,je=>{this.var(Pe,(0,n._)`${ve}[${je}]`),_(Pe)})}return this._for(new D("of",q,Pe,W),()=>_(Pe))}forIn(Z,W,_,q=this.opts.es5?u.varKinds.var:u.varKinds.const){if(this.opts.ownProperties)return this.forOf(Z,(0,n._)`Object.keys(${W})`,_);const Pe=this._scope.toName(Z);return this._for(new D("in",q,Pe,W),()=>_(Pe))}endFor(){return this._endBlockNode(R)}label(Z){return this._leafNode(new y(Z))}break(Z){return this._leafNode(new S(Z))}return(Z){const W=new j;if(this._blockNode(W),this.code(Z),W.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(j)}try(Z,W,_){if(!W&&!_)throw new Error('CodeGen: "try" without "catch" and "finally"');const q=new H;if(this._blockNode(q),this.code(Z),W){const Pe=this.name("e");this._currNode=q.catch=new L(Pe),W(Pe)}return _&&(this._currNode=q.finally=new re,this.code(_)),this._endBlockNode(L,re)}throw(Z){return this._leafNode(new O(Z))}block(Z,W){return this._blockStarts.push(this._nodes.length),Z&&this.code(Z).endBlock(W),this}endBlock(Z){const W=this._blockStarts.pop();if(W===void 0)throw new Error("CodeGen: not in self-balancing block");const _=this._nodes.length-W;if(_<0||Z!==void 0&&_!==Z)throw new Error(`CodeGen: wrong number of nodes: ${_} vs ${Z} expected`);return this._nodes.length=W,this}func(Z,W=n.nil,_,q){return this._blockNode(new U(Z,W,_)),q&&this.code(q).endFunc(),this}endFunc(){return this._endBlockNode(U)}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,W){const _=this._currNode;if(_ instanceof Z||W&&_ instanceof W)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${W?`${Z.kind}/${W.kind}`:Z.kind}"`)}_elseNode(Z){const W=this._currNode;if(!(W instanceof l))throw new Error('CodeGen: "else" without "if"');return this._currNode=W.else=Z,this}get _root(){return this._nodes[0]}get _currNode(){const Z=this._nodes;return Z[Z.length-1]}set _currNode(Z){const W=this._nodes;W[W.length-1]=Z}}t.CodeGen=ne;function ie(J,Z){for(const W in Z)J[W]=(J[W]||0)+(Z[W]||0);return J}function oe(J,Z){return Z instanceof n._CodeOrName?ie(J,Z.names):J}function pe(J,Z,W){if(J instanceof n.Name)return _(J);if(!q(J))return J;return new n._Code(J._items.reduce((Pe,ve)=>(ve instanceof n.Name&&(ve=_(ve)),ve instanceof n._Code?Pe.push(...ve._items):Pe.push(ve),Pe),[]));function _(Pe){const ve=W[Pe.str];return ve===void 0||Z[Pe.str]!==1?Pe:(delete Z[Pe.str],ve)}function q(Pe){return Pe instanceof n._Code&&Pe._items.some(ve=>ve instanceof n.Name&&Z[ve.str]===1&&W[ve.str]!==void 0)}}function Ie(J,Z){for(const W in Z)J[W]=(J[W]||0)-(Z[W]||0)}function Ae(J){return typeof J=="boolean"||typeof J=="number"||J===null?!J:(0,n._)`!${K(J)}`}t.not=Ae;const ge=k(t.operators.AND);function Se(...J){return J.reduce(ge)}t.and=Se;const Oe=k(t.operators.OR);function G(...J){return J.reduce(Oe)}t.or=G;function k(J){return(Z,W)=>Z===n.nil?W:W===n.nil?Z:(0,n._)`${K(Z)} ${J} ${K(W)}`}function K(J){return J instanceof n.Name?J:(0,n._)`(${J})`}},4425:(p,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(21860);class u extends Error{constructor(y){super(`CodeGen: "code" for ${y} not defined`),this.value=y.value}}var d;(function(C){C[C.Started=0]="Started",C[C.Completed=1]="Completed"})(d=t.UsedValueState||(t.UsedValueState={})),t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class E{constructor({prefixes:y,parent:S}={}){this._names={},this._prefixes=y,this._parent=S}toName(y){return y instanceof n.Name?y:this.name(y)}name(y){return new n.Name(this._newName(y))}_newName(y){const S=this._names[y]||this._nameGroup(y);return`${y}${S.index++}`}_nameGroup(y){var S,O;if(!((O=(S=this._parent)===null||S===void 0?void 0:S._prefixes)===null||O===void 0)&&O.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=E;class f extends n.Name{constructor(y,S){super(S),this.prefix=y}setValue(y,{property:S,itemIndex:O}){this.value=y,this.scopePath=(0,n._)`.${new n.Name(S)}[${O}]`}}t.ValueScopeName=f;const v=(0,n._)`\n`;class h extends E{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 f(y,this._newName(y))}value(y,S){var O;if(S.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const A=this.toName(y),{prefix:b}=A,x=(O=S.key)!==null&&O!==void 0?O:S.ref;let o=this._values[b];if(o){const R=o.get(x);if(R)return R}else o=this._values[b]=new Map;o.set(x,A);const a=this._scope[b]||(this._scope[b]=[]),l=a.length;return a[l]=S.ref,A.setValue(S,{property:b,itemIndex:l}),A}getValue(y,S){const O=this._values[y];if(O)return O.get(S)}scopeRefs(y,S=this._values){return this._reduceValues(S,O=>{if(O.scopePath===void 0)throw new Error(`CodeGen: name "${O}" has no value`);return(0,n._)`${y}${O.scopePath}`})}scopeCode(y=this._values,S,O){return this._reduceValues(y,A=>{if(A.value===void 0)throw new Error(`CodeGen: name "${A}" has no value`);return A.value.code},S,O)}_reduceValues(y,S,O={},A){let b=n.nil;for(const x in y){const o=y[x];if(!o)continue;const a=O[x]=O[x]||new Map;o.forEach(l=>{if(a.has(l))return;a.set(l,d.Started);let R=S(l);if(R){const P=this.opts.es5?t.varKinds.var:t.varKinds.const;b=(0,n._)`${b}${P} ${l} = ${R};${this.opts._n}`}else if(R=A?.(l))b=(0,n._)`${b}${R}${this.opts._n}`;else throw new u(l);a.set(l,d.Completed)})}return b}}t.ValueScope=h},52952:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=e(11601),u=e(64207),d=e(38955);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 E(a,l=t.keywordError,R,P){const{it:M}=a,{gen:D,compositeRule:U,allErrors:j}=M,H=O(a,l,R);P??(U||j)?C(D,H):y(M,(0,n._)`[${H}]`)}t.reportError=E;function f(a,l=t.keywordError,R){const{it:P}=a,{gen:M,compositeRule:D,allErrors:U}=P,j=O(a,l,R);C(M,j),D||U||y(P,d.default.vErrors)}t.reportExtraError=f;function v(a,l){a.assign(d.default.errors,l),a.if((0,n._)`${d.default.vErrors} !== null`,()=>a.if(l,()=>a.assign((0,n._)`${d.default.vErrors}.length`,l),()=>a.assign(d.default.vErrors,null)))}t.resetErrorsCount=v;function h({gen:a,keyword:l,schemaValue:R,data:P,errsCount:M,it:D}){if(M===void 0)throw new Error("ajv implementation error");const U=a.name("err");a.forRange("i",M,d.default.errors,j=>{a.const(U,(0,n._)`${d.default.vErrors}[${j}]`),a.if((0,n._)`${U}.instancePath === undefined`,()=>a.assign((0,n._)`${U}.instancePath`,(0,n.strConcat)(d.default.instancePath,D.errorPath))),a.assign((0,n._)`${U}.schemaPath`,(0,n.str)`${D.errSchemaPath}/${l}`),D.opts.verbose&&(a.assign((0,n._)`${U}.schema`,R),a.assign((0,n._)`${U}.data`,P))})}t.extendErrors=h;function C(a,l){const R=a.const("err",l);a.if((0,n._)`${d.default.vErrors} === null`,()=>a.assign(d.default.vErrors,(0,n._)`[${R}]`),(0,n._)`${d.default.vErrors}.push(${R})`),a.code((0,n._)`${d.default.errors}++`)}function y(a,l){const{gen:R,validateName:P,schemaEnv:M}=a;M.$async?R.throw((0,n._)`new ${a.ValidationError}(${l})`):(R.assign((0,n._)`${P}.errors`,l),R.return(!1))}const S={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 O(a,l,R){const{createErrors:P}=a.it;return P===!1?(0,n._)`{}`:A(a,l,R)}function A(a,l,R={}){const{gen:P,it:M}=a,D=[b(M,R),x(a,R)];return o(a,l,D),P.object(...D)}function b({errorPath:a},{instancePath:l}){const R=l?(0,n.str)`${a}${(0,u.getErrorPath)(l,u.Type.Str)}`:a;return[d.default.instancePath,(0,n.strConcat)(d.default.instancePath,R)]}function x({keyword:a,it:{errSchemaPath:l}},{schemaPath:R,parentSchema:P}){let M=P?l:(0,n.str)`${l}/${a}`;return R&&(M=(0,n.str)`${M}${(0,u.getErrorPath)(R,u.Type.Str)}`),[S.schemaPath,M]}function o(a,{params:l,message:R},P){const{keyword:M,data:D,schemaValue:U,it:j}=a,{opts:H,propertyName:L,topSchemaRef:re,schemaPath:ne}=j;P.push([S.keyword,M],[S.params,typeof l=="function"?l(a):l||(0,n._)`{}`]),H.messages&&P.push([S.message,typeof R=="function"?R(a):R]),H.verbose&&P.push([S.schema,U],[S.parentSchema,(0,n._)`${re}${ne}`],[d.default.data,D]),L&&P.push([S.propertyName,L])}},39663:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const n=e(11601),u=e(3450),d=e(38955),E=e(92863),f=e(64207),v=e(72630);class h{constructor(R){var P;this.refs={},this.dynamicAnchors={};let M;typeof R.schema=="object"&&(M=R.schema),this.schema=R.schema,this.schemaId=R.schemaId,this.root=R.root||this,this.baseId=(P=R.baseId)!==null&&P!==void 0?P:(0,E.normalizeId)(M?.[R.schemaId||"$id"]),this.schemaPath=R.schemaPath,this.localRefs=R.localRefs,this.meta=R.meta,this.$async=M?.$async,this.refs={}}}t.SchemaEnv=h;function C(l){const R=O.call(this,l);if(R)return R;const P=(0,E.getFullPath)(this.opts.uriResolver,l.root.baseId),{es5:M,lines:D}=this.opts.code,{ownProperties:U}=this.opts,j=new n.CodeGen(this.scope,{es5:M,lines:D,ownProperties:U});let H;l.$async&&(H=j.scopeValue("Error",{ref:u.default,code:(0,n._)`require("ajv/dist/runtime/validation_error").default`}));const L=j.scopeName("validate");l.validateName=L;const re={gen:j,allErrors:this.opts.allErrors,data:d.default.data,parentData:d.default.parentData,parentDataProperty:d.default.parentDataProperty,dataNames:[d.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:j.scopeValue("schema",this.opts.code.source===!0?{ref:l.schema,code:(0,n.stringify)(l.schema)}:{ref:l.schema}),validateName:L,ValidationError:H,schema:l.schema,schemaEnv:l,rootId:P,baseId:l.baseId||P,schemaPath:n.nil,errSchemaPath:l.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,n._)`""`,opts:this.opts,self:this};let ne;try{this._compilations.add(l),(0,v.validateFunctionCode)(re),j.optimize(this.opts.code.optimize);const ie=j.toString();ne=`const visitedNodesForRef = new WeakMap(); ${j.scopeRefs(d.default.scope)}return ${ie}`,this.opts.code.process&&(ne=this.opts.code.process(ne,l));const pe=new Function(`${d.default.self}`,`${d.default.scope}`,ne)(this,this.scope.get());if(this.scope.value(L,{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:L,validateCode:ie,scopeValues:j._values}),this.opts.unevaluated){const{props:Ie,items:Ae}=re;pe.evaluated={props:Ie instanceof n.Name?void 0:Ie,items:Ae instanceof n.Name?void 0:Ae,dynamicProps:Ie instanceof n.Name,dynamicItems:Ae instanceof n.Name},pe.source&&(pe.source.evaluated=(0,n.stringify)(pe.evaluated))}return l.validate=pe,l}catch(ie){throw delete l.validate,delete l.validateName,ne&&this.logger.error("Error compiling schema, function code:",ne),ie}finally{this._compilations.delete(l)}}t.compileSchema=C;function y(l,R,P){var M;const D=(0,E.resolveUrl)(this.opts.uriResolver,R,P),U=l.refs[D];if(U)return U;let j=b.call(this,l,D);if(j===void 0){const H=(M=l.localRefs)===null||M===void 0?void 0:M[D],{schemaId:L}=this.opts;H&&(j=new h({schema:H,schemaId:L,root:l,baseId:R}))}if(j===void 0&&this.opts.loadSchemaSync){const H=this.opts.loadSchemaSync(R,P,D);H&&!(this.refs[D]||this.schemas[D])&&(this.addSchema(H,D,void 0),j=b.call(this,l,D))}if(j!==void 0)return l.refs[D]=S.call(this,j)}t.resolveRef=y;function S(l){return(0,E.inlineRef)(l.schema,this.opts.inlineRefs)?l.schema:l.validate?l:C.call(this,l)}function O(l){for(const R of this._compilations)if(A(R,l))return R}t.getCompilingSchema=O;function A(l,R){return l.schema===R.schema&&l.root===R.root&&l.baseId===R.baseId}function b(l,R){let P;for(;typeof(P=this.refs[R])=="string";)R=P;return P||this.schemas[R]||x.call(this,l,R)}function x(l,R){const P=this.opts.uriResolver.parse(R),M=(0,E._getFullPath)(this.opts.uriResolver,P);let D=(0,E.getFullPath)(this.opts.uriResolver,l.baseId,void 0);if(Object.keys(l.schema).length>0&&M===D)return a.call(this,P,l);const U=(0,E.normalizeId)(M),j=this.refs[U]||this.schemas[U];if(typeof j=="string"){const H=x.call(this,l,j);return typeof H?.schema!="object"?void 0:a.call(this,P,H)}if(typeof j?.schema=="object"){if(j.validate||C.call(this,j),U===(0,E.normalizeId)(R)){const{schema:H}=j,{schemaId:L}=this.opts,re=H[L];return re&&(D=(0,E.resolveUrl)(this.opts.uriResolver,D,re)),new h({schema:H,schemaId:L,root:l,baseId:D})}return a.call(this,P,j)}}t.resolveSchema=x;const o=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function a(l,{baseId:R,schema:P,root:M}){var D;if(((D=l.fragment)===null||D===void 0?void 0:D[0])!=="/")return;for(const H of l.fragment.slice(1).split("/")){if(typeof P=="boolean")return;const L=P[(0,f.unescapeFragment)(H)];if(L===void 0)return;P=L;const re=typeof P=="object"&&P[this.opts.schemaId];!o.has(H)&&re&&(R=(0,E.resolveUrl)(this.opts.uriResolver,R,re))}let U;if(typeof P!="boolean"&&P.$ref&&!(0,f.schemaHasRulesButRef)(P,this.RULES)){const H=(0,E.resolveUrl)(this.opts.uriResolver,R,P.$ref);U=x.call(this,M,H)}const{schemaId:j}=this.opts;if(U=U||new h({schema:P,schemaId:j,root:M,baseId:R}),U.schema!==U.root.schema)return U}},38955:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(11601),u={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=u},10059:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e(92863);class u extends Error{constructor(E,f,v,h){super(h||`can't resolve reference ${v} from id ${f}`),this.missingRef=(0,n.resolveUrl)(E,f,v),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(E,this.missingRef))}}t.default=u},92863:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=e(64207),u=e(67371),d=e(50205),E=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function f(a,l=!0){return typeof a=="boolean"?!0:l===!0?!h(a):l?C(a)<=l:!1}t.inlineRef=f;const v=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function h(a){for(const l in a){if(v.has(l))return!0;const R=a[l];if(Array.isArray(R)&&R.some(h)||typeof R=="object"&&h(R))return!0}return!1}function C(a){let l=0;for(const R in a){if(R==="$ref")return 1/0;if(l++,!E.has(R)&&(typeof a[R]=="object"&&(0,n.eachItem)(a[R],P=>l+=C(P)),l===1/0))return 1/0}return l}function y(a,l="",R){R!==!1&&(l=A(l));const P=a.parse(l);return S(a,P)}t.getFullPath=y;function S(a,l){return a.serialize(l).split("#")[0]+"#"}t._getFullPath=S;const O=/#\/?$/;function A(a){return a?a.replace(O,""):""}t.normalizeId=A;function b(a,l,R){return R=A(R),a.resolve(l,R)}t.resolveUrl=b;const x=/^[a-z_][-a-z0-9._]*$/i;function o(a,l){if(typeof a=="boolean")return{};const{schemaId:R,uriResolver:P}=this.opts,M=A(a[R]||l),D={"":M},U=y(P,M,!1),j={},H=new Set;return d(a,{allKeys:!0},(ne,ie,oe,pe)=>{if(pe===void 0)return;const Ie=U+ie;let Ae=D[pe];typeof ne[R]=="string"&&(Ae=ge.call(this,ne[R])),Se.call(this,ne.$anchor),Se.call(this,ne.$dynamicAnchor),D[ie]=Ae;function ge(Oe){const G=this.opts.uriResolver.resolve;if(Oe=A(Ae?G(Ae,Oe):Oe),H.has(Oe))throw re(Oe);H.add(Oe);let k=this.refs[Oe];return typeof k=="string"&&(k=this.refs[k]),typeof k=="object"?L(ne,k.schema,Oe):Oe!==A(Ie)&&(Oe[0]==="#"?(L(ne,j[Oe],Oe),j[Oe]=ne):this.refs[Oe]=Ie),Oe}function Se(Oe){if(typeof Oe=="string"){if(!x.test(Oe))throw new Error(`invalid anchor "${Oe}"`);ge.call(this,`#${Oe}`)}}}),j;function L(ne,ie,oe){if(ie!==void 0&&!u(ne,ie))throw re(oe)}function re(ne){return new Error(`reference "${ne}" resolves to more than one schema`)}}t.getSchemaRefs=o},57760:(p,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],n=new Set(e);function u(E){return typeof E=="string"&&n.has(E)}t.isJSONType=u;function d(){const E={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...E,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},E.number,E.string,E.array,E.object],post:{rules:[]},all:{},keywords:{}}}t.getRules=d},64207:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=e(11601),u=e(21860);function d(U){const j={};for(const H of U)j[H]=!0;return j}t.toHash=d;function E(U,j){return typeof j=="boolean"?j:Object.keys(j).length===0?!0:(f(U,j),!v(j,U.self.RULES.all))}t.alwaysValidSchema=E;function f(U,j=U.schema){const{opts:H,self:L}=U;if(!H.strictSchema||typeof j=="boolean")return;const re=L.RULES.keywords;for(const ne in j)re[ne]||D(U,`unknown keyword: "${ne}"`)}t.checkUnknownRules=f;function v(U,j){if(typeof U=="boolean")return!U;for(const H in U)if(j[H])return!0;return!1}t.schemaHasRules=v;function h(U,j){if(typeof U=="boolean")return!U;for(const H in U)if(H!=="$ref"&&j.all[H])return!0;return!1}t.schemaHasRulesButRef=h;function C({topSchemaRef:U,schemaPath:j},H,L,re){if(!re){if(typeof H=="number"||typeof H=="boolean")return H;if(typeof H=="string")return(0,n._)`${H}`}return(0,n._)`${U}${j}${(0,n.getProperty)(L)}`}t.schemaRefOrVal=C;function y(U){return A(decodeURIComponent(U))}t.unescapeFragment=y;function S(U){return encodeURIComponent(O(U))}t.escapeFragment=S;function O(U){return typeof U=="number"?`${U}`:U.replace(/~/g,"~0").replace(/\//g,"~1")}t.escapeJsonPointer=O;function A(U){return U.replace(/~1/g,"/").replace(/~0/g,"~")}t.unescapeJsonPointer=A;function b(U,j){if(Array.isArray(U))for(const H of U)j(H);else j(U)}t.eachItem=b;function x({mergeNames:U,mergeToName:j,mergeValues:H,resultToName:L}){return(re,ne,ie,oe)=>{const pe=ie===void 0?ne:ie instanceof n.Name?(ne instanceof n.Name?U(re,ne,ie):j(re,ne,ie),ie):ne instanceof n.Name?(j(re,ie,ne),ne):H(ne,ie);return oe===n.Name&&!(pe instanceof n.Name)?L(re,pe):pe}}t.mergeEvaluated={props:x({mergeNames:(U,j,H)=>U.if((0,n._)`${H} !== true && ${j} !== undefined`,()=>{U.if((0,n._)`${j} === true`,()=>U.assign(H,!0),()=>U.assign(H,(0,n._)`${H} || {}`).code((0,n._)`Object.assign(${H}, ${j})`))}),mergeToName:(U,j,H)=>U.if((0,n._)`${H} !== true`,()=>{j===!0?U.assign(H,!0):(U.assign(H,(0,n._)`${H} || {}`),a(U,H,j))}),mergeValues:(U,j)=>U===!0?!0:{...U,...j},resultToName:o}),items:x({mergeNames:(U,j,H)=>U.if((0,n._)`${H} !== true && ${j} !== undefined`,()=>U.assign(H,(0,n._)`${j} === true ? true : ${H} > ${j} ? ${H} : ${j}`)),mergeToName:(U,j,H)=>U.if((0,n._)`${H} !== true`,()=>U.assign(H,j===!0?!0:(0,n._)`${H} > ${j} ? ${H} : ${j}`)),mergeValues:(U,j)=>U===!0?!0:Math.max(U,j),resultToName:(U,j)=>U.var("items",j)})};function o(U,j){if(j===!0)return U.var("props",!0);const H=U.var("props",(0,n._)`{}`);return j!==void 0&&a(U,H,j),H}t.evaluatedPropsToName=o;function a(U,j,H){Object.keys(H).forEach(L=>U.assign((0,n._)`${j}${(0,n.getProperty)(L)}`,!0))}t.setEvaluated=a;const l={};function R(U,j){return U.scopeValue("func",{ref:j,code:l[j.code]||(l[j.code]=new u._Code(j.code))})}t.useFunc=R;var P;(function(U){U[U.Num=0]="Num",U[U.Str=1]="Str"})(P=t.Type||(t.Type={}));function M(U,j,H){if(U instanceof n.Name){const L=j===P.Num;return H?L?(0,n._)`"[" + ${U} + "]"`:(0,n._)`"['" + ${U} + "']"`:L?(0,n._)`"/" + ${U}`:(0,n._)`"/" + ${U}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return H?(0,n.getProperty)(U).toString():"/"+O(U)}t.getErrorPath=M;function D(U,j,H=U.opts.strictSchema){if(H){if(j=`strict mode: ${j}`,H===!0)throw new Error(j);U.self.logger.warn(j)}}t.checkStrictMode=D},17819:(p,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0;function e({schema:d,self:E},f){const v=E.RULES.types[f];return v&&v!==!0&&n(d,v)}t.schemaHasRulesForType=e;function n(d,E){return E.rules.some(f=>u(d,f))}t.shouldUseGroup=n;function u(d,E){var f;return d[E.keyword]!==void 0||((f=E.definition.implements)===null||f===void 0?void 0:f.some(v=>d[v]!==void 0))}t.shouldUseRule=u},219:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=e(52952),u=e(11601),d=e(38955),E={message:"boolean schema is false"};function f(C){const{gen:y,schema:S,validateName:O}=C;S===!1?h(C,!1):typeof S=="object"&&S.$async===!0?y.return(d.default.data):(y.assign((0,u._)`${O}.errors`,null),y.return(!0))}t.topBoolOrEmptySchema=f;function v(C,y){const{gen:S,schema:O}=C;O===!1?(S.var(y,!1),h(C)):S.var(y,!0)}t.boolOrEmptySchema=v;function h(C,y){const{gen:S,data:O}=C,A={gen:S,keyword:"false schema",data:O,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:C};(0,n.reportError)(A,E,void 0,y)}},9788:(p,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=e(57760),u=e(17819),d=e(52952),E=e(11601),f=e(64207);var v;(function(P){P[P.Correct=0]="Correct",P[P.Wrong=1]="Wrong"})(v=t.DataType||(t.DataType={}));function h(P){const M=C(P.type);if(M.includes("null")){if(P.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!M.length&&P.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');P.nullable===!0&&M.push("null")}return M}t.getSchemaTypes=h;function C(P){const M=Array.isArray(P)?P:P?[P]:[];if(M.every(n.isJSONType))return M;throw new Error("type must be JSONType or JSONType[]: "+M.join(","))}t.getJSONTypes=C;function y(P,M){const{gen:D,data:U,opts:j}=P,H=O(M,j.coerceTypes),L=M.length>0&&!(H.length===0&&M.length===1&&(0,u.schemaHasRulesForType)(P,M[0]));if(L){const re=o(M,U,j.strictNumbers,v.Wrong);D.if(re,()=>{H.length?A(P,M,H):l(P)})}return L}t.coerceAndCheckDataType=y;const S=new Set(["string","number","integer","boolean","null"]);function O(P,M){return M?P.filter(D=>S.has(D)||M==="array"&&D==="array"):[]}function A(P,M,D){const{gen:U,data:j,opts:H}=P,L=U.let("dataType",(0,E._)`typeof ${j}`),re=U.let("coerced",(0,E._)`undefined`);H.coerceTypes==="array"&&U.if((0,E._)`${L} == 'object' && Array.isArray(${j}) && ${j}.length == 1`,()=>U.assign(j,(0,E._)`${j}[0]`).assign(L,(0,E._)`typeof ${j}`).if(o(M,j,H.strictNumbers),()=>U.assign(re,j))),U.if((0,E._)`${re} !== undefined`);for(const ie of D)(S.has(ie)||ie==="array"&&H.coerceTypes==="array")&&ne(ie);U.else(),l(P),U.endIf(),U.if((0,E._)`${re} !== undefined`,()=>{U.assign(j,re),b(P,re)});function ne(ie){switch(ie){case"string":U.elseIf((0,E._)`${L} == "number" || ${L} == "boolean"`).assign(re,(0,E._)`"" + ${j}`).elseIf((0,E._)`${j} === null`).assign(re,(0,E._)`""`);return;case"number":U.elseIf((0,E._)`${L} == "boolean" || ${j} === null
|
|
8
8
|
|| (${L} == "string" && ${j} && ${j} == +${j})`).assign(re,(0,E._)`+${j}`);return;case"integer":U.elseIf((0,E._)`${L} === "boolean" || ${j} === null
|
|
@@ -81,7 +81,7 @@ $4`);{const je=W===""||W.endsWith(`
|
|
|
81
81
|
|
|
82
82
|
${q}`}}const M=W=>Array.isArray(W)&&W.some(_=>(0,u.isObject)(_)),D=W=>W.filter(_=>!!_),U=W=>(0,u.isObject)(W)&&!Array.isArray(W);function j(W){return/(?:^[a-z][a-z0-9+.-]*:|\/\/)/i.test(W)}function H(W,_){let q;if(_.startsWith("//")){const{protocol:Pe}=(0,n.parse)(W);q=`${Pe||"https:"}${_}`}else if(j(_))q=_;else if(!_.startsWith("/"))q=l(W)+"/"+_;else{const Pe=(0,n.parse)(W);q=(0,n.format)(b(A({},Pe),{pathname:_}))}return l(q)}function L(W){return W.charAt(0).toUpperCase()+W.slice(1)}function re(W){try{const _=ne(W);return _.search="",_.hash="",_.toString()}catch{return W}}function ne(W){return typeof URL>"u"?new(e(10525)).URL(W):new URL(W)}function ie(W){return W.replace(/["\\]/g,"\\$&")}function oe(W){return W.replace(/&#(\d+);/g,(_,q)=>String.fromCharCode(parseInt(q,10))).replace(/&/g,"&").replace(/"/g,'"')}function pe(W){return W&&W.replace(/#/g,"_").toLowerCase()}function Ie(W,_){return _||isNamedDefinition(W)&&JsonPointer.baseName(W)||""}function Ae(W={},_,q){return typeof _=="string"&&(_=_.split(".")),_.reduce((Pe,ve)=>Pe&&Pe[ve]?Pe[ve]:q,W)}function ge(W){return(..._)=>_.filter(Boolean).join(W)}const Se=ge(".");function Oe(W){var _;return u.IS_BROWSER?(_=window?.REFERENCE_DOCS_OPTIONS)==null?void 0:_[W]:null}function G(){var W;if(!u.IS_BROWSER)return"";const _=+new Date+Math.random();try{return(!document.currentScript||!(document.currentScript.async||document.currentScript.defer))&&document.write(`<script id="dummy${_}"><\/script>`),((W=document.getElementById("dummy"+_))==null?void 0:W.previousSibling).src}catch{return""}}const k=W=>(0,u.isString)(W)?W:W?.raw,K=(W,_)=>{const q=W[`x-parsed-md-${_}`]||W[_];if(_!=="x-enumDescriptions")return q;let Pe={};for(const ve in q)ve.startsWith("x-parsed-md")||(Pe[ve]=q[`x-parsed-md-${ve}`]||q[ve]);return Object.keys(Pe).length?Pe:q};function J(W,_){return _===W.length-1}function Z(W,_){const q=Object.keys(W);return q.indexOf(_)===q.length-1}},40391:(p,t,e)=>{"use strict";e.d(t,{OG:()=>n.O,BI:()=>Te,Vn:()=>oe,Dv:()=>Ae,KH:()=>Ie,yS:()=>pe,Zz:()=>he,Fh:()=>d.Fh,Ch:()=>u.Ch,T7:()=>K.T7,oH:()=>u.oH,XF:()=>d.XF,gD:()=>Z,Mj:()=>u.Mj,jF:()=>u.jF,JA:()=>d.JA,Bq:()=>u.Bq,n4:()=>u.n4,dt:()=>je,VQ:()=>_,YT:()=>u.YT,jn:()=>d.jn,SJ:()=>d.SJ,Y1:()=>u.Y1,DJ:()=>d.DJ,_N:()=>u._N,W:()=>u.W,Xi:()=>d.Xi,ee:()=>d.ee,yO:()=>d.yO,Fr:()=>we,z$:()=>u.z$,bI:()=>u.bI,F:()=>u.F,Cb:()=>u.Cb,Kr:()=>u.Kr,T$:()=>u.T$,LG:()=>d.LG,r9:()=>u.r9,Fd:()=>pt,AB:()=>u.AB,fQ:()=>d.fQ,tj:()=>ue,qt:()=>Ge,DW:()=>u.DW,iT:()=>ie.i,_L:()=>Je,qk:()=>Rt,C0:()=>K.C0,L2:()=>K.L2,Zg:()=>u.Zg,nc:()=>le,TJ:()=>q,bY:()=>W,dv:()=>u.dv,$X:()=>u.$X,rh:()=>u.rh,tP:()=>K.tP,Ns:()=>d.Ns,v1:()=>J,Il:()=>G,L$:()=>d.L$,_E:()=>u._E});var n=e(19568),u=e(50771),d=e(47154),E=e(23799),f=e(47221),v=e(43614),h=e(35593),C=e(59552),y=e(20966),S=e(58612),O=e(36917),A=e(87656),b=e(10491),x=e(91965),o=e(74905),a=e(40823),l=e(34827),R=e(15574),P=e(10019),M=e(49513),D=e(79299),U=e(54861),j=e(23871),H=e(35980);const L="clike";E.languages.insertBefore("javascript","string",{"property string":{pattern:/([{,]\s*)"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i,lookbehind:!0}},void 0),E.languages.insertBefore("javascript","punctuation",{property:{pattern:/([{,]\s*)[a-z]\w*(?=\s*:)/i,lookbehind:!0}},void 0);function re(F){return{json:"js","c++":"cpp","c#":"csharp","objective-c":"objectivec",shell:"bash",viml:"vim",curl:"bash","node.js":"js"}[F]||L}function ne(F,$e=L){$e=$e.toLowerCase();let Ee=Prism.languages[$e];return Ee||(Ee=Prism.languages[re($e)]),Prism.highlight(F.toString(),Ee,$e)}var ie=e(19299);function oe(F,$e){return F===void 0?$e||!1:typeof F=="string"?F!=="false":F}function pe(F,$e=0){return typeof F=="string"?parseInt(F,10):typeof F=="number"?F:$e}function Ie(F,$e=0){return typeof F=="string"?parseInt(F,10):typeof F=="number"?Math.ceil(F):$e}function Ae(F,$e){return F===void 0?$e:F==="all"?1/0:Ie(F,$e)}var ge=e(9448);const Se=Object.entries({fontSize:"font-size",fontWeight:"font-weight",fontFamily:"font-family",lineHeight:"line-height",color:"text-color",textTransform:"text-transform"});function Oe(F,$e){const Ee={};for(const[ce,xe]of Se){const Be=`--${F}-${xe}`,it=$e?`,var(--${$e}-${xe})`:"";Ee[ce]=`var(${Be}${it})`}return Ee}function G(F,$e){return(0,ge.AH)`
|
|
83
83
|
${Oe(F,$e)}
|
|
84
|
-
`}var k=e(42473),K=e(80998);function J(F,$e){k.IS_BROWSER&&window.sessionStorage.setItem("redoc."+F,$e)}function Z(F){return k.IS_BROWSER&&window.sessionStorage.getItem("redoc."+F)||""}function W(F,$e){F=(0,K.jD)(F),J(`auth.${F}.variants`,JSON.stringify($e))}function _(F,$e={}){return{raw:$e[F+k.SecurityVariablesEnvSuffix.APIKey],password:$e[F+k.SecurityVariablesEnvSuffix.Password],username:$e[F+k.SecurityVariablesEnvSuffix.Username],token:$e[F+k.SecurityVariablesEnvSuffix.Token]?{access_token:$e[F+k.SecurityVariablesEnvSuffix.Token]}:void 0,client_id:$e[F+k.SecurityVariablesEnvSuffix.ClientId],client_secret:$e[F+k.SecurityVariablesEnvSuffix.ClientSecret],scopes:Z(`auth.${F}.scopes`)}}function q(F,$e){F=(0,K.jD)(F),typeof $e=="string"?J("auth."+F,$e):$e&&(J(`auth.${F}.password`,$e.password||""),J(`auth.${F}.username`,$e.username||""),J(`auth.${F}.token`,$e.token&&JSON.stringify($e.token)||""),J(`auth.${F}.client_id`,$e.client_id||""),J(`auth.${F}.client_secret`,$e.client_secret||""),J(`auth.${F}.scopes`,$e.scopes&&JSON.stringify($e.scopes)||""))}function Pe(F,$e){IS_BROWSER&&window.localStorage.setItem("redoc."+F,$e)}function ve(F){return IS_BROWSER&&window.localStorage.getItem("redoc."+F)||""}function je(F,$e){try{return JSON.parse(Z(`${F}.${$e}`))}catch{return null}}function le(F,$e,Ee){J(`${F}.${$e}`,JSON.stringify(Ee))}const he=(F,...$e)=>$e.reduce((Ee,ce)=>xe=>Ee(ce(xe)),F);var B=e(38858);function ue(F,$e){return $e?decodeURIComponent(F.pathname+F.hash).includes(decodeURIComponent($e.toLowerCase())):!1}function Ge(F,$e=""){const Ee=decodeURIComponent($e.toLowerCase());return decodeURIComponent(F.pathname)===Ee||decodeURIComponent(F.hash)===Ee||decodeURIComponent(F.pathname+F.hash)===Ee}function pt(F){return F.startsWith("/")||(F="/"+F),F.endsWith("/")&&(F=F.slice(0,-1)),F}class Qe{parse($e){const Ee={};if(!$e)return Ee;const ce=$e.startsWith("?")?$e.substring(1).split("&"):$e.split("&");for(const xe of ce){const[Be,it]=xe.split("=");if(Be&&it){const $t=decodeURIComponent(Be),Ot=decodeURIComponent(it);if($t in Ee)Array.isArray(Ee[$t])?Ee[$t].push(Ot):Ee[$t]=[Ee[$t],Ot];else{const on=[",","|"].find(Xt=>Ot.includes(Xt));Ee[$t]=on?Ot.split(on):Ot}}}return Ee}stringify($e,Ee={encode:!0,sort:!0}){const ce=[];for(const[xe,Be]of Object.entries($e))if(Object.prototype.hasOwnProperty.call($e,xe)){const it=Ee.encode?encodeURIComponent(xe):xe;if(Array.isArray(Be)){for(const $t of Be)if($t){const Ot=Ee.encode?encodeURIComponent($t):$t;ce.push(`${it}=${Ot}`)}}else if(Be){const $t=Ee.encode?encodeURIComponent(Be):Be;ce.push(`${it}=${$t}`)}}return Ee.sort&&ce.sort(),ce.join("&")}}const Je=new Qe;function we(F={}){const $e=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,Ee=/CrOS/,ce=/android|ipad|playbook|silk/i,xe=$e.test(navigator.userAgent)&&!Ee.test(navigator.userAgent),Be=F.tablet&&ce.test(navigator.userAgent),it=F.tablet&&navigator.maxTouchPoints>1&&navigator.userAgent.indexOf("Macintosh")!==-1&&navigator.userAgent.indexOf("Safari")!==-1;return!!(xe||Be||it)}function Rt(F){let{url:$e,variables:Ee}=F;if(Ee)for(const ce in Ee){const xe=Ee[ce];if(xe.default){const Be=new RegExp(`{${ce}}`,"g");$e=$e.replace(Be,xe.default)}}return $e}function Te(F,$e){return F.length===$e.length&&F.every((Ee,ce)=>Ee===$e[ce])}},50771:(p,t,e)=>{"use strict";e.d(t,{$X:()=>Qe,AB:()=>we,Bq:()=>L,Cb:()=>oe,Ch:()=>ie,DW:()=>$e,F:()=>j,Kr:()=>M,Mj:()=>Ee,T$:()=>Pe,W:()=>pe,Y1:()=>Ge,YT:()=>D,Zg:()=>q,_E:()=>k,_N:()=>Ie,bI:()=>je,dv:()=>Rt,jF:()=>le,n4:()=>H,oH:()=>F,r9:()=>Je,rh:()=>pt,z$:()=>Ae});var n=e(13078),u=e.n(n),d=e(99060),E=e.n(d),f=e(42473),v=e(47154),h=e(78676),C=e(19568),y=e(93234),S=Object.defineProperty,O=Object.defineProperties,A=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,a=(ce,xe,Be)=>xe in ce?S(ce,xe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ce[xe]=Be,l=(ce,xe)=>{for(var Be in xe||(xe={}))x.call(xe,Be)&&a(ce,Be,xe[Be]);if(b)for(var Be of b(xe))o.call(xe,Be)&&a(ce,Be,xe[Be]);return ce},R=(ce,xe)=>O(ce,A(xe));function P(ce){return typeof ce=="string"&&/\dxx/i.test(ce)}function M(ce){return ce==="default"||(0,v.kf)(ce)||P(ce)}function D(ce,xe=!1){if(ce==="default")return xe?"error":"success";let Be=typeof ce=="string"?parseInt(ce,10):ce;if(P(ce)&&(Be*=100),Be<100||Be>599)throw new Error("invalid HTTP code");let it="success";return Be>=300&&Be<400?it="redirect":Be>=400?it="error":Be<200&&(it="info"),it}const U={get:!0,post:!0,put:!0,head:!0,patch:!0,delete:!0,options:!0,$ref:!0};function j(ce){return ce in U}function H(ce){const{operationId:xe,pathName:Be}=ce,it=(0,v.fQ)((0,v.jn)(ce,"description"));return(0,v.fQ)((0,v.jn)(ce,"summary"))||xe||it&&it.substring(0,50)||Be||"<no summary>"}function L(ce,xe){var Be;return xe?.id?(0,y.joinWithSeparator)(xe.id,(0,v.Eb)(ce.operationId?ce.operationId:re(ce.pointer))).toLowerCase():(Be=ce.tags)!=null&&Be.length?(0,v.Eb)(ce.operationId?ce.operationId:re(ce.pointer)):(0,v.Eb)(ce.operationId?(0,y.joinWithSeparator)(h.b1,ce.operationId):re(ce.pointer))}function re(ce){return ce?.startsWith("/")?ce.slice(1,ce.length):ce}const ne={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",contentEncoding:"string",contentMediaType:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",unevaluatedProperties:"object",patternProperties:"object",properties:"object"};function ie(ce){if(ce.type!==void 0&&!Array.isArray(ce.type))return ce.type;const xe=Object.keys(ne);for(const Be of xe){const it=ne[Be];if(ce[Be]!==void 0)return it}return"any"}function oe(ce,xe=ce.type){if(ce["x-circular-ref"])return!0;if(ce.oneOf!==void 0||ce.anyOf!==void 0||ce.if&&ce.then||ce.if&&ce.else)return!1;let Be=!0;const it=Array.isArray(xe);return(xe==="object"||it&&xe?.includes("object"))&&(Be=ce.properties!==void 0?Object.keys(ce.properties).length===0:ce.additionalProperties===void 0&&ce.unevaluatedProperties===void 0&&ce.patternProperties===void 0),Array.isArray(ce.items)||Array.isArray(ce.prefixItems)?!1:(ce.items!==void 0&&typeof ce.items!="boolean"&&(xe==="array"||it&&xe?.includes("array"))&&(Be=oe(ce.items,ce.items.type)),Be)}function pe(ce){return ce.search(/json/i)!==-1}function Ie(ce){return ce===h.mI.URL_ENCODED}function Ae(ce){return ce===h.mI.MULTIPART}function ge(ce,xe,Be){return Array.isArray(ce)?ce.map(it=>it.toString()).join(Be):typeof ce=="object"?Object.keys(ce).map(it=>`${it}${Be}${ce[it]}`).join(Be):xe+"="+ce.toString()}function Se(ce,xe){return Array.isArray(ce)?(console.warn("deepObject style cannot be used with array value:"+ce.toString()),""):typeof ce=="object"?Object.keys(ce).map(Be=>ce[Be]?`${xe}[${Be}]=${ce[Be]}`:void 0).filter(Boolean).join("&"):(console.warn("deepObject style cannot be used with non-object value:"+ce.toString()),"")}function Oe(ce,xe,Be){const it="__redoc_param_name__",$t=xe?"*":"";return E().parse(`{?${it}${$t}}`).expand({[it]:Be}).substring(1).replace(/__redoc_param_name__/g,ce)}function G(ce,xe){const Be=ce?"*":"",it="__redoc_param_name__",$t=E().parse(`{${it}${Be}}`);return decodeURIComponent($t.expand({[it]:xe}))}function k(ce,xe={}){if(Array.isArray(ce))throw new Error("Payload must have fields: "+ce.toString());return Object.keys(ce).map(Be=>{const it=ce[Be],{style:$t="form",explode:Ot=!0}=xe[Be]||{};switch($t){case"form":return Oe(Be,Ot,it);case"spaceDelimited":return ge(it,Be,"%20");case"pipeDelimited":return ge(it,Be,"|");case"deepObject":return Se(it,Be);default:return console.warn("Incorrect or unsupported encoding style: "+$t),""}}).join("&")}function K(ce,xe,Be,it){const $t=Be?"*":"";let Ot="";xe==="label"?Ot=".":xe==="matrix"&&(Ot=";");const Bt="__redoc_param_name__";return E().parse(`{${Ot}${Bt}${$t}}`).expand({[Bt]:it}).replace(/__redoc_param_name__/g,ce)}function J(ce,xe,Be,it){const $t=Ot=>{switch(xe){case"form":return Oe(ce,Be,Ot);case"spaceDelimited":return!Array.isArray(Ot)&&typeof Ot!="object"?(console.warn("The style spaceDelimited is applicable to arrays or objects"),""):Be?Oe(ce,Be,Ot):ge(it,ce,"%20");case"pipeDelimited":return!Array.isArray(Ot)&&typeof Ot!="object"?(console.warn("The style pipeDelimited is applicable to arrays or objects"),""):Be?Oe(ce,Be,Ot):ge(it,ce,"|");case"deepObject":return!Be||Array.isArray(Ot)||typeof Ot!="object"?(console.warn("The style deepObject is only applicable for objects with explode=true"),""):Se(Ot,ce);case"simple":return G(Be,it);default:return console.warn("Unexpected style for query: "+xe),""}};return(0,v.DJ)(it)&&(it=(0,v.Fh)(it).map(Ot=>$t(Ot))),$t(it)}function Z(ce,xe,Be){switch(ce){case"simple":return G(xe,Be);default:return console.warn("Unexpected style for header: "+ce),""}}function W(ce,xe,Be,it){switch(xe){case"form":return Oe(ce,Be,it);default:return console.warn("Unexpected style for cookie: "+xe),""}}function _(ce,xe){return pe(xe)?JSON.stringify(ce):(console.warn(`Parameter serialization as ${xe} is not supported`),"")}function q(ce,xe){const{name:Be,style:it,explode:$t=!1,serializationMime:Ot}=ce;if(Ot)switch(ce.in){case"path":case"header":return _(xe,Ot);case"cookie":case"query":return`${Be}=${_(xe,Ot)}`;default:return console.warn("Unexpected parameter location: "+ce.in),""}if(!it)return console.warn(`Missing style attribute or content for parameter ${Be}`),"";switch(ce.in){case"path":return K(Be,it,$t,xe);case"query":return J(Be,it,$t,xe);case"header":return Z(it,$t,xe);case"cookie":return W(Be,it,$t,xe);default:return console.warn("Unexpected parameter location: "+ce.in),""}}function Pe(ce){return ce.search(/xml/i)!==-1?"xml":"clike"}const ve=/^#\/components\/(schemas|pathItems)\/([^/]+)$/;function je(ce){return ve.test(ce||"")}function le(ce){var xe;return(xe=ce?.match(ve))==null?void 0:xe.pop()}function he(ce){if(ce===void 0)return;const xe=ce.toString(10);return/^0\.0*1$/.test(xe)?`decimal places <= ${xe.split(".")[1].length}`:`multiple of ${xe}`}function B(ce,xe,Be){let it;return xe!==void 0&&Be!==void 0?xe===Be?it=`= ${xe} ${ce}`:it=`[ ${xe} .. ${Be} ] ${ce}`:Be!==void 0?it=`<= ${Be} ${ce}`:xe!==void 0&&(xe===1?it="non-empty":it=`>= ${xe} ${ce}`),it}function ue(ce){var xe,Be;const it=typeof ce.exclusiveMinimum=="number"?Math.min(ce.exclusiveMinimum,(xe=ce.minimum)!=null?xe:1/0):ce.minimum,$t=typeof ce.exclusiveMaximum=="number"?Math.max(ce.exclusiveMaximum,(Be=ce.maximum)!=null?Be:-1/0):ce.maximum,Ot=typeof ce.exclusiveMinimum=="number"||ce.exclusiveMinimum,Bt=typeof ce.exclusiveMaximum=="number"||ce.exclusiveMaximum;if(it!==void 0&&$t!==void 0)return`${Ot?"( ":"[ "}${it} .. ${$t}${Bt?" )":" ]"}`;if($t!==void 0)return`${Bt?"< ":"<= "}${$t}`;if(it!==void 0)return`${Ot?"> ":">= "}${it}`}function Ge(ce){const xe=[],Be=B("characters",ce.minLength,ce.maxLength);Be!==void 0&&xe.push(Be);const it=B("items",ce.minItems,ce.maxItems);it!==void 0&&xe.push(it);const $t=B(ce.minProperties===1&&ce.maxProperties===1?"property":"properties",ce.minProperties,ce.maxProperties);$t!==void 0&&xe.push($t);const Ot=he(ce.multipleOf);Ot!==void 0&&xe.push(Ot);const Bt=ue(ce);return Bt!==void 0&&xe.push(Bt),ce.uniqueItems&&xe.push("unique"),xe}function pt(ce,xe=[]){const Be=[],it=[],$t=[];return ce.forEach(Ot=>{Ot.required?xe.includes(Ot.name)?it.push(Ot):$t.push(Ot):Be.push(Ot)}),it.sort((Ot,Bt)=>xe.indexOf(Ot.name)-xe.indexOf(Bt.name)),[...it,...$t,...Be]}function Qe(ce){return ce.sort((xe,Be)=>Number(xe.deprecated)-Number(Be.deprecated))}function Je(ce,xe=[],Be=[],{pathPointer:it,operationPointer:$t}){const Ot={};Be.forEach(Xt=>{({resolved:Xt}=ce.deref(Xt)),Ot[Xt.name+"_"+Xt.in]=!0});const Bt=xe.map((Xt,Tn)=>({paramOrRef:Xt,pointer:C.O.join(it,["parameters",String(Tn)])})).filter(({paramOrRef:Xt})=>({resolved:Xt}=ce.deref(Xt),!Ot[Xt.name+"_"+Xt.in])),on=Be.map((Xt,Tn)=>({paramOrRef:Xt,pointer:C.O.join($t,["parameters",String(Tn)])}));return[...Bt,...on]}function we(ce,xe){const Be=()=>{if(!f.IS_BROWSER)return globalThis.SSR_HOSTNAME||"";const Ot=window.location.href;return Ot.endsWith(".html")?(0,n.dirname)(Ot):Ot},it=ce===void 0?(0,v.rU)(Be()):(0,n.dirname)(ce);xe.length===0&&(xe=[{url:"/"}]);function $t(Ot){return(0,v.O2)(it,Ot)}return xe.map(Ot=>R(l({},Ot),{url:$t(Ot.url),description:Ot.description||""}))}const Rt=ce=>({delete:"del",options:"opts"})[ce]||ce;function Te(ce){return ce in{"x-circular-ref":!0,"x-parentRefs":!0,"x-refsStack":!0,"x-codeSamples":!0,"x-displayName":!0,"x-examples":!0,"x-logo":!0,"x-nullable":!0,"x-servers":!0,"x-tagGroups":!0,"x-traitTag":!0,"x-additionalPropertiesName":!0,"x-explicitMappingOnly":!0,"x-enumDescriptions":!0,"x-hideReplay":!0,"x-tokenEndpointAuthMethod":!0,"x-feedback":!0,"x-badges":!0}||ce.startsWith("x-parsed-md-")}function F(ce,xe){return Object.keys(ce).filter(Be=>xe===!0?Be.startsWith("x-")&&!Te(Be):Be.startsWith("x-")&&xe.indexOf(Be)>-1).reduce((Be,it)=>(Be[it]=ce[it],Be),{})}function $e(ce){return ce.split(" or ").map(xe=>xe.replace(/^(string|object|number|integer|array|boolean)s?( ?.*)/,"$1s$2")).join(" or ")}function Ee(ce){let xe=ce.content;const Be=ce["x-examples"],it=ce["x-example"];if(Be){xe=l({},xe);for(const $t of Object.keys(Be)){const Ot=Be[$t];xe[$t]=R(l({},xe[$t]),{examples:Ot})}}else if(it){xe=l({},xe);for(const $t of Object.keys(it)){const Ot=it[$t];xe[$t]=R(l({},xe[$t]),{example:Ot})}}return xe}},38858:(p,t,e)=>{"use strict";e.d(t,{i:()=>E});var n=e(61919),u=e(42473),d=e(12455);function E(v){if(!(0,u.isString)(v)&&v?.result){const y=(0,d.Go)(v),S=n.Jf.fromJSON(JSON.stringify(y?.result));if(Array.isArray(S))for(const O of S)f(O);else f(S);return y.result=JSON.stringify(S),y.raw=E(y.raw),y}const h=new RegExp("^#{1,6}?\\s+","m"),C=v.search(h);return C>-1?v.substring(0,C):v}function f(v){if(!Array.isArray(v.children))return;const h=v.children.findIndex(C=>C.type==="heading");return h===-1||(v.children=v.children.slice(0,h)),v}},80998:(p,t,e)=>{"use strict";e.d(t,{C0:()=>C,L2:()=>h,T7:()=>v,jD:()=>E,tP:()=>d});var n=e(33993),u=e.n(n);function d(y){return y.split("").map(S=>S+"\u0335").join("")}function E(y){return y.replace(/[.[\]]/g,S=>({".":"%2e","[":"%5b","]":"%5d"})[S]||"")}function f(y){return y.replace(/%2e|%5b|%5d/g,S=>({"%2e":".","%5b":"[","%5d":"]"})[S]||"")}function v(y){return y.replace(/\\/g,"%5C")}function h(y){return u()(y)||y.toString().toLowerCase().replace(/\s+/g,"-").replace(/&/g,"-and-").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function C(y,S={}){try{return JSON.parse(y)}catch{return S}}},1519:(p,t,e)=>{"use strict";e.d(t,{a:()=>Ue});const n={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:{hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1},u={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},f={type:"object",properties:{pagination:{type:"string",enum:["none","section","item"]},hidePaginationButtons:{type:"boolean"},menu:{type:"object",properties:Object.assign({},{type:"object",properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:{type:"object",properties:{name:{type:"string"},items:u,queries:u,mutations:u,subscriptions:u,types:u,directives:u},required:["name"],additionalProperties:!1}},otherItemsGroupName:{type:"string"}},required:["requireExactGroups","groups","otherItemsGroupName"],additionalProperties:!1}.properties),additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},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"},feedback:n},additionalProperties:!1},C={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:n,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:{type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},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:{type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",enum:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},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"}},required:["languages"],additionalProperties:!1},ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"}},additionalProperties:!1},y={type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},S={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"}}},O={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},A={type:"object",properties:{beforeInfo:{type:"array",items:O},end:{type:"array",items:O}}},b={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},x={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},o={type:"object",properties:$e(b.properties,["light","dark"])},a={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"}}},l={type:"object",properties:{error:x,info:x,redirect:x,success:x}},R={type:"object",properties:Ee(b.properties,["dark"])},M={type:"object",properties:{accent:b,border:o,error:b,http:a,primary:b,responses:l,secondary:R,success:b,text:{type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},tonalOffset:{type:"number"},warning:b}},D={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},U={type:"object",properties:{small:D,medium:D,large:D,xlarge:D}},j={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},H={type:"object",properties:Object.assign(Object.assign({},Ee(j.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:U})},L={type:"object",properties:$e(j.properties,["fontSize","lineHeight"])},re={type:"object",properties:{medium:L,small:L}},ne={type:"object",properties:Object.assign(Object.assign({},Ee(j.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},color:{type:"string"},sizes:re})},ie={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},oe={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},pe={type:"object",properties:{fullWidth:{type:"boolean"}}},Ie={type:"object",properties:{buttons:H,httpBadges:ne,layoutControls:ie,panels:oe,tryItButton:pe,tryItSendButton:pe}},Ae={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},Oe={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:{type:"object",properties:{maxWidth:Ae}},"three-panel":{type:"object",properties:{maxWidth:Ae,middlePanelMaxWidth:Ae}}}},G={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},k={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:G,defaultDetailsWidth:{type:"string"},examples:G,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},K={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},J={type:"object",properties:$e(K.properties,["textTransform"])},Z={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},W={type:"object",properties:Object.assign(Object.assign({},Ee(j.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:K,level1items:J,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Z,textColor:{type:"string"},width:{type:"string"}})},_={type:"object",properties:Object.assign(Object.assign({},j.properties),{color:{type:"string"},transform:{type:"string"}})},q={type:"object",properties:Object.assign(Object.assign({},j.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"}})},Pe={type:"object",properties:Ee(j.properties,["fontSize"])},ve={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},je={type:"object",properties:Object.assign(Object.assign({code:q,fieldName:j},$e(j.properties,["fontSize","fontFamily"])),{fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:_,heading2:_,heading3:_,headings:Pe,lineHeight:{type:"string"},links:ve,optimizeSpeed:{type:"boolean"},rightPanelHeading:_,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}})},le={type:"object",properties:Object.assign({color:{type:"string"}},Ee(j.properties,["fontWeight"]))},he={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:le}},B={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},ue={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},Ge={type:"object",properties:{custom:{type:"string"}}},F={type:"object",properties:{theme:{type:"object",properties:{breakpoints:Ae,codeBlock:he,colors:M,components:Ie,layout:Oe,logo:B,fab:ue,overrides:{type:"object",properties:{DownloadButton:Ge,NextSectionButton:Ge}},rightPanel:{type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},schema:k,shape:{type:"object",properties:{borderRadius:{type:"string"}}},sidebar:W,spacing:{type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},typography:je,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},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:{type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:y}},required:["languages"]},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:S,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requestInterceptor:{type:"object"},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:A,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-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"}},additionalProperties:!1};function $e(er,wr){return Object.fromEntries(wr.filter(Zr=>Zr in er).map(Zr=>[Zr,er[Zr]]))}function Ee(er,wr){return Object.fromEntries(Object.entries(er).filter(([Zr])=>!wr.includes(Zr)))}const ce={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},xe={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},Be={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},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"],default:"top"},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}}}},it={type:"array",items:Object.assign(Object.assign({},Be),{properties:Object.assign(Object.assign({},Be.properties),{items:{type:"array",items:Be}})})},$t={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},Ot={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["input","multi-select","select","tags","switch","radio","checkbox"]}}}},Bt={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},on={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},Xt={type:"object",properties:Object.assign({items:it},ce.properties),additionalProperties:!1},Tn={type:"object",additionalProperties:$t},ze={type:"object",properties:Object.assign({items:it,copyrightText:{type:"string"},logo:ce},ce.properties),additionalProperties:!1},et={type:"object",properties:Object.assign({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},ce.properties),additionalProperties:!1},ht={type:"object",properties:{head:{type:"array",items:xe},body:{type:"array",items:xe}},additionalProperties:!1},Ne={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}},Ye={type:"object",properties:Object.assign({engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},facets:Ot,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["/"]},suggestedPages:{type:"array",items:Bt}},ce.properties),additionalProperties:!1},ct={type:"object",properties:Object.assign({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},ce.properties),additionalProperties:!1},Dt={type:"object",properties:{nextButton:{type:"object",properties:Object.assign({text:{type:"string",default:"Next page"}},ce.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:Object.assign({text:{type:"string",default:"Previous page"}},ce.properties),additionalProperties:!1,default:{}}},additionalProperties:!1},Et={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:Object.assign({},ce.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:Object.assign({tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"}},ce.properties),additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:Object.assign({},ce.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:Object.assign({},ce.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1},Ht={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["_partials"]},lastUpdatedBlock:{type:"object",properties:Object.assign({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"}},ce.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:Object.assign({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},ce.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:Object.assign({baseUrl:{type:"string"}},ce.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},Wt=Object.assign(Object.assign({},C),{properties:Object.assign(Object.assign({},C.properties),F.properties)}),un={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},Mn={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"]},In={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},Er={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},mr={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"]},Tr={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},ao={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},ro={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"]},ot={type:"object",properties:{adobe:un,amplitude:Mn,fullstory:In,heap:Er,rudderstack:mr,segment:Tr,gtm:ao,ga:{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:ro}},additionalProperties:!1,required:["trackingId"]}}},It={type:"object",properties:Object.assign({items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"}},ce.properties),additionalProperties:!1},Kt={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},Jt={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1},Ar={type:"object",patternProperties:{".*":{type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:{type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},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"}}}}},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:it,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}}}},Or={type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:{name:{type:"string"},color:{type:"string"},extends:{type:"array",items:{type:"string"}},rules:{type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}}},additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}}}},Nr={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:on,navbar:Xt,products:Tn,footer:ze,sidebar:et,scripts:ht,links:Ne,feedback:n,search:Ye,colorMode:ct,navigation:Dt,codeSnippet:Et,markdown:Ht,openapi:Wt,graphql:f,analytics:ot,userMenu:It,versionPicker:Kt,breadcrumbs:Jt,catalog:Ar,scorecard:Or},additionalProperties:!0},Zt=Object.assign(Object.assign({},Nr),{additionalProperties:!1}),wt="https://redocly.com/sso/teams";var De;(function(er){er.OIDC="OIDC",er.SAML2="SAML2"})(De||(De={}));var st;(function(er){er.SERVICE_ACCOUNT="SERVICE_ACCOUNT",er.OAUTH2="OAUTH2"})(st||(st={}));const St="redocly::teams-rbac",jt="redocly::route-rbac";var Ue;(function(er){er.STACKED="stacked",er.THREE_PANEL="three-panel"})(Ue||(Ue={}));function mt(er,wr){return Object.fromEntries(Object.entries(er).map(([Zr,Xr])=>{if(Zr!==wr)return typeof Xr!="object"||!Xr?[Zr,Xr]:Array.isArray(Xr)?[Zr,Xr.map(Sn=>typeof Sn=="object"?mt(Sn,wr):Sn)]:[Zr,mt(Xr,wr)]}).filter(Boolean))}const _e={type:"object",properties:{ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"}},additionalProperties:!1},ut={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},We={type:"object",properties:{type:{type:"string",const:De.OIDC},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:ut,clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},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"}},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},nt={type:"object",properties:{type:{type:"string",const:De.SAML2},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:wt},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]},Ut={type:"object",additionalProperties:{oneOf:[We,nt],discriminator:{propertyName:"type"}}},Qt={oneOf:[{type:"array",items:{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]},uniqueItems:!0},{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]}]},Zn={type:"object",additionalProperties:{type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1},default:{}},fr={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}},hr={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:{type:"object",additionalProperties:!0},openapi:Wt,graphql:f,theme:{type:"object",properties:{openapi:Wt,graphql:f},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},rules:fr,decorators:{type:"object",additionalProperties:!0},preprocessors:{type:"object",additionalProperties:!0}},required:["root"]},Vr={type:"object",additionalProperties:!0},to={type:"object",properties:{title:{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}}},additionalProperties:!1},Me={type:"object",additionalProperties:{type:"string"}},Xe={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:Me,cms:Me,reunite:Me,content:{type:"object",properties:{"**":Me},additionalProperties:Me}},additionalProperties:Me},At={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[{type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},{type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]}]}},additionalProperties:!1,required:["type","apiBaseUrl"]},_t={type:"object",properties:{type:{type:"string",const:st.OAUTH2},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},Yt={type:"object",properties:{type:{type:"string",const:st.SERVICE_ACCOUNT},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},hn={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[_t,Yt],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},En=Object.assign(Object.assign({},hn),{properties:Object.assign(Object.assign({},hn.properties),{type:{type:"string",const:"APIGEE_EDGE"}})}),xn={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:{type:"object",oneOf:[hn,En,At],discriminator:{propertyName:"type"}}}}},Pr={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"]},ir={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:Zn,seo:to,rbac:Xe,requiresLogin:{type:"boolean"},responseHeaders:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]}}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:hr},rules:fr,decorators:{type:"object",additionalProperties:!0},preprocessors:{type:"object",additionalProperties:!0},ssoOnPrem:Ut,sso:Qt,residency:{type:"string"},developerOnboarding:xn,removeAttribution:{type:"boolean"},i18n:Pr,l10n:Pr,metadata:Vr,ignore:{type:"array",items:{type:"string"}},theme:Nr,reunite:_e,logo:on,navbar:Xt,products:Tn,footer:ze,sidebar:et,scripts:ht,links:Ne,feedback:n,search:Ye,colorMode:ct,navigation:Dt,codeSnippet:Et,markdown:Ht,openapi:Wt,graphql:f,analytics:ot,userMenu:It,versionPicker:Kt,breadcrumbs:Jt,catalog:Ar,scorecard:Or},default:{redirects:{}},additionalProperties:!0},Fn=Object.assign(Object.assign({},mt(ir,"default")),{additionalProperties:!1}),ar=Object.assign(Object.assign({$id:"root-redocly-config"},ir),{properties:Object.assign(Object.assign({plugins:{type:"array",items:{type:"string"}}},ir.properties),{env:{type:"object",additionalProperties:Fn}}),default:{},additionalProperties:!1}),pr={type:"object",properties:{logo:Nr.properties.logo,navbar:Nr.properties.navbar,footer:Nr.properties.footer,sidebar:Nr.properties.sidebar,search:Nr.properties.search,codeSnippet:Nr.properties.codeSnippet,breadcrumbs:Nr.properties.breadcrumbs,openapi:Nr.properties.openapi,feedback:Nr.properties.feedback,analytics:{type:"object",properties:{ga:ro}}},additionalProperties:!0,default:{}},jn={$id:"product-config-override",type:"object",properties:Object.assign(Object.assign({},pr.properties),{apis:{type:"object",additionalProperties:hr},theme:pr}),additionalProperties:!1}},58653:(p,t,e)=>{"use strict";var n=e(63159),u=e(9448),d=e(95533),E=e(14133),f=e(757),v=e(61937);const h={warning:d.A,success:E.F,danger:f.o,info:v._};function C({type:b="info",name:x,children:o,className:a,"data-source":l,"data-hash":R}){const P=h[b]||h.info;return jsxs(S,{type:b,className:a,"data-component-name":"Admonition/Admonition","data-source":l,"data-hash":R,children:[jsx(P,{color:`--admonition-${b}-icon-color`}),jsxs(O,{children:[x?jsx(A,{type:b,children:x}):null,o?jsx(y,{children:o}):null]})]})}const y=u.Ay.div`
|
|
84
|
+
`}var k=e(42473),K=e(80998);function J(F,$e){k.IS_BROWSER&&window.sessionStorage.setItem("redoc."+F,$e)}function Z(F){return k.IS_BROWSER&&window.sessionStorage.getItem("redoc."+F)||""}function W(F,$e){F=(0,K.jD)(F),J(`auth.${F}.variants`,JSON.stringify($e))}function _(F,$e={}){return{raw:$e[F+k.SecurityVariablesEnvSuffix.APIKey],password:$e[F+k.SecurityVariablesEnvSuffix.Password],username:$e[F+k.SecurityVariablesEnvSuffix.Username],token:$e[F+k.SecurityVariablesEnvSuffix.Token]?{access_token:$e[F+k.SecurityVariablesEnvSuffix.Token]}:void 0,client_id:$e[F+k.SecurityVariablesEnvSuffix.ClientId],client_secret:$e[F+k.SecurityVariablesEnvSuffix.ClientSecret],scopes:Z(`auth.${F}.scopes`)}}function q(F,$e){F=(0,K.jD)(F),typeof $e=="string"?J("auth."+F,$e):$e&&(J(`auth.${F}.password`,$e.password||""),J(`auth.${F}.username`,$e.username||""),J(`auth.${F}.token`,$e.token&&JSON.stringify($e.token)||""),J(`auth.${F}.client_id`,$e.client_id||""),J(`auth.${F}.client_secret`,$e.client_secret||""),J(`auth.${F}.scopes`,$e.scopes&&JSON.stringify($e.scopes)||""))}function Pe(F,$e){IS_BROWSER&&window.localStorage.setItem("redoc."+F,$e)}function ve(F){return IS_BROWSER&&window.localStorage.getItem("redoc."+F)||""}function je(F,$e){try{return JSON.parse(Z(`${F}.${$e}`))}catch{return null}}function le(F,$e,Ee){J(`${F}.${$e}`,JSON.stringify(Ee))}const he=(F,...$e)=>$e.reduce((Ee,ce)=>xe=>Ee(ce(xe)),F);var B=e(38858);function ue(F,$e){return $e?decodeURIComponent(F.pathname+F.hash).includes(decodeURIComponent($e.toLowerCase())):!1}function Ge(F,$e=""){const Ee=decodeURIComponent($e.toLowerCase());return decodeURIComponent(F.pathname)===Ee||decodeURIComponent(F.hash)===Ee||decodeURIComponent(F.pathname+F.hash)===Ee}function pt(F){return F.startsWith("/")||(F="/"+F),F.endsWith("/")&&(F=F.slice(0,-1)),F}class Qe{parse($e){const Ee={};if(!$e)return Ee;const ce=$e.startsWith("?")?$e.substring(1).split("&"):$e.split("&");for(const xe of ce){const[Be,it]=xe.split("=");if(Be&&it){const $t=decodeURIComponent(Be),Ot=decodeURIComponent(it);if($t in Ee)Array.isArray(Ee[$t])?Ee[$t].push(Ot):Ee[$t]=[Ee[$t],Ot];else{const on=[",","|"].find(Xt=>Ot.includes(Xt));Ee[$t]=on?Ot.split(on):Ot}}}return Ee}stringify($e,Ee={encode:!0,sort:!0}){const ce=[];for(const[xe,Be]of Object.entries($e))if(Object.prototype.hasOwnProperty.call($e,xe)){const it=Ee.encode?encodeURIComponent(xe):xe;if(Array.isArray(Be)){for(const $t of Be)if($t){const Ot=Ee.encode?encodeURIComponent($t):$t;ce.push(`${it}=${Ot}`)}}else if(Be){const $t=Ee.encode?encodeURIComponent(Be):Be;ce.push(`${it}=${$t}`)}}return Ee.sort&&ce.sort(),ce.join("&")}}const Je=new Qe;function we(F={}){const $e=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,Ee=/CrOS/,ce=/android|ipad|playbook|silk/i,xe=$e.test(navigator.userAgent)&&!Ee.test(navigator.userAgent),Be=F.tablet&&ce.test(navigator.userAgent),it=F.tablet&&navigator.maxTouchPoints>1&&navigator.userAgent.indexOf("Macintosh")!==-1&&navigator.userAgent.indexOf("Safari")!==-1;return!!(xe||Be||it)}function Rt(F){let{url:$e,variables:Ee}=F;if(Ee)for(const ce in Ee){const xe=Ee[ce];if(xe.default){const Be=new RegExp(`{${ce}}`,"g");$e=$e.replace(Be,xe.default)}}return $e}function Te(F,$e){return F.length===$e.length&&F.every((Ee,ce)=>Ee===$e[ce])}},50771:(p,t,e)=>{"use strict";e.d(t,{$X:()=>Qe,AB:()=>we,Bq:()=>L,Cb:()=>oe,Ch:()=>ie,DW:()=>$e,F:()=>j,Kr:()=>M,Mj:()=>Ee,T$:()=>Pe,W:()=>pe,Y1:()=>Ge,YT:()=>D,Zg:()=>q,_E:()=>k,_N:()=>Ie,bI:()=>je,dv:()=>Rt,jF:()=>le,n4:()=>H,oH:()=>F,r9:()=>Je,rh:()=>pt,z$:()=>Ae});var n=e(13078),u=e.n(n),d=e(99060),E=e.n(d),f=e(42473),v=e(47154),h=e(78676),C=e(19568),y=e(93234),S=Object.defineProperty,O=Object.defineProperties,A=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,a=(ce,xe,Be)=>xe in ce?S(ce,xe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ce[xe]=Be,l=(ce,xe)=>{for(var Be in xe||(xe={}))x.call(xe,Be)&&a(ce,Be,xe[Be]);if(b)for(var Be of b(xe))o.call(xe,Be)&&a(ce,Be,xe[Be]);return ce},R=(ce,xe)=>O(ce,A(xe));function P(ce){return typeof ce=="string"&&/\dxx/i.test(ce)}function M(ce){return ce==="default"||(0,v.kf)(ce)||P(ce)}function D(ce,xe=!1){if(ce==="default")return xe?"error":"success";let Be=typeof ce=="string"?parseInt(ce,10):ce;if(P(ce)&&(Be*=100),Be<100||Be>599)throw new Error("invalid HTTP code");let it="success";return Be>=300&&Be<400?it="redirect":Be>=400?it="error":Be<200&&(it="info"),it}const U={get:!0,post:!0,put:!0,head:!0,patch:!0,delete:!0,options:!0,$ref:!0};function j(ce){return ce in U}function H(ce){const{operationId:xe,pathName:Be}=ce,it=(0,v.fQ)((0,v.jn)(ce,"description"));return(0,v.fQ)((0,v.jn)(ce,"summary"))||xe||it&&it.substring(0,50)||Be||"<no summary>"}function L(ce,xe){var Be;return xe?.id?(0,y.joinWithSeparator)(xe.id,(0,v.Eb)(ce.operationId?ce.operationId:re(ce.pointer))).toLowerCase():(Be=ce.tags)!=null&&Be.length?(0,v.Eb)(ce.operationId?ce.operationId:re(ce.pointer)):(0,v.Eb)(ce.operationId?(0,y.joinWithSeparator)(h.b1,ce.operationId):re(ce.pointer))}function re(ce){return ce?.startsWith("/")?ce.slice(1,ce.length):ce}const ne={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",contentEncoding:"string",contentMediaType:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",unevaluatedProperties:"object",patternProperties:"object",properties:"object"};function ie(ce){if(ce.type!==void 0&&!Array.isArray(ce.type))return ce.type;const xe=Object.keys(ne);for(const Be of xe){const it=ne[Be];if(ce[Be]!==void 0)return it}return"any"}function oe(ce,xe=ce.type){if(ce["x-circular-ref"])return!0;if(ce.oneOf!==void 0||ce.anyOf!==void 0||ce.if&&ce.then||ce.if&&ce.else)return!1;let Be=!0;const it=Array.isArray(xe);return(xe==="object"||it&&xe?.includes("object"))&&(Be=ce.properties!==void 0?Object.keys(ce.properties).length===0:ce.additionalProperties===void 0&&ce.unevaluatedProperties===void 0&&ce.patternProperties===void 0),Array.isArray(ce.items)||Array.isArray(ce.prefixItems)?!1:(ce.items!==void 0&&typeof ce.items!="boolean"&&(xe==="array"||it&&xe?.includes("array"))&&(Be=oe(ce.items,ce.items.type)),Be)}function pe(ce){return ce.search(/json/i)!==-1}function Ie(ce){return ce===h.mI.URL_ENCODED}function Ae(ce){return ce===h.mI.MULTIPART}function ge(ce,xe,Be){return Array.isArray(ce)?ce.map(it=>it.toString()).join(Be):typeof ce=="object"?Object.keys(ce).map(it=>`${it}${Be}${ce[it]}`).join(Be):xe+"="+ce.toString()}function Se(ce,xe){return Array.isArray(ce)?(console.warn("deepObject style cannot be used with array value:"+ce.toString()),""):typeof ce=="object"?Object.keys(ce).map(Be=>ce[Be]?`${xe}[${Be}]=${ce[Be]}`:void 0).filter(Boolean).join("&"):(console.warn("deepObject style cannot be used with non-object value:"+ce.toString()),"")}function Oe(ce,xe,Be){const it="__redoc_param_name__",$t=xe?"*":"";return E().parse(`{?${it}${$t}}`).expand({[it]:Be}).substring(1).replace(/__redoc_param_name__/g,ce)}function G(ce,xe){const Be=ce?"*":"",it="__redoc_param_name__",$t=E().parse(`{${it}${Be}}`);return decodeURIComponent($t.expand({[it]:xe}))}function k(ce,xe={}){if(Array.isArray(ce))throw new Error("Payload must have fields: "+ce.toString());return Object.keys(ce).map(Be=>{const it=ce[Be],{style:$t="form",explode:Ot=!0}=xe[Be]||{};switch($t){case"form":return Oe(Be,Ot,it);case"spaceDelimited":return ge(it,Be,"%20");case"pipeDelimited":return ge(it,Be,"|");case"deepObject":return Se(it,Be);default:return console.warn("Incorrect or unsupported encoding style: "+$t),""}}).join("&")}function K(ce,xe,Be,it){const $t=Be?"*":"";let Ot="";xe==="label"?Ot=".":xe==="matrix"&&(Ot=";");const Bt="__redoc_param_name__";return E().parse(`{${Ot}${Bt}${$t}}`).expand({[Bt]:it}).replace(/__redoc_param_name__/g,ce)}function J(ce,xe,Be,it){const $t=Ot=>{switch(xe){case"form":return Oe(ce,Be,Ot);case"spaceDelimited":return!Array.isArray(Ot)&&typeof Ot!="object"?(console.warn("The style spaceDelimited is applicable to arrays or objects"),""):Be?Oe(ce,Be,Ot):ge(it,ce,"%20");case"pipeDelimited":return!Array.isArray(Ot)&&typeof Ot!="object"?(console.warn("The style pipeDelimited is applicable to arrays or objects"),""):Be?Oe(ce,Be,Ot):ge(it,ce,"|");case"deepObject":return!Be||Array.isArray(Ot)||typeof Ot!="object"?(console.warn("The style deepObject is only applicable for objects with explode=true"),""):Se(Ot,ce);case"simple":return G(Be,it);default:return console.warn("Unexpected style for query: "+xe),""}};return(0,v.DJ)(it)&&(it=(0,v.Fh)(it).map(Ot=>$t(Ot))),$t(it)}function Z(ce,xe,Be){switch(ce){case"simple":return G(xe,Be);default:return console.warn("Unexpected style for header: "+ce),""}}function W(ce,xe,Be,it){switch(xe){case"form":return Oe(ce,Be,it);default:return console.warn("Unexpected style for cookie: "+xe),""}}function _(ce,xe){return pe(xe)?JSON.stringify(ce):(console.warn(`Parameter serialization as ${xe} is not supported`),"")}function q(ce,xe){const{name:Be,style:it,explode:$t=!1,serializationMime:Ot}=ce;if(Ot)switch(ce.in){case"path":case"header":return _(xe,Ot);case"cookie":case"query":return`${Be}=${_(xe,Ot)}`;default:return console.warn("Unexpected parameter location: "+ce.in),""}if(!it)return console.warn(`Missing style attribute or content for parameter ${Be}`),"";switch(ce.in){case"path":return K(Be,it,$t,xe);case"query":return J(Be,it,$t,xe);case"header":return Z(it,$t,xe);case"cookie":return W(Be,it,$t,xe);default:return console.warn("Unexpected parameter location: "+ce.in),""}}function Pe(ce){return ce.search(/xml/i)!==-1?"xml":"clike"}const ve=/^#\/components\/(schemas|pathItems)\/([^/]+)$/;function je(ce){return ve.test(ce||"")}function le(ce){var xe;return(xe=ce?.match(ve))==null?void 0:xe.pop()}function he(ce){if(ce===void 0)return;const xe=ce.toString(10);return/^0\.0*1$/.test(xe)?`decimal places <= ${xe.split(".")[1].length}`:`multiple of ${xe}`}function B(ce,xe,Be){let it;return xe!==void 0&&Be!==void 0?xe===Be?it=`= ${xe} ${ce}`:it=`[ ${xe} .. ${Be} ] ${ce}`:Be!==void 0?it=`<= ${Be} ${ce}`:xe!==void 0&&(xe===1?it="non-empty":it=`>= ${xe} ${ce}`),it}function ue(ce){var xe,Be;const it=typeof ce.exclusiveMinimum=="number"?Math.min(ce.exclusiveMinimum,(xe=ce.minimum)!=null?xe:1/0):ce.minimum,$t=typeof ce.exclusiveMaximum=="number"?Math.max(ce.exclusiveMaximum,(Be=ce.maximum)!=null?Be:-1/0):ce.maximum,Ot=typeof ce.exclusiveMinimum=="number"||ce.exclusiveMinimum,Bt=typeof ce.exclusiveMaximum=="number"||ce.exclusiveMaximum;if(it!==void 0&&$t!==void 0)return`${Ot?"( ":"[ "}${it} .. ${$t}${Bt?" )":" ]"}`;if($t!==void 0)return`${Bt?"< ":"<= "}${$t}`;if(it!==void 0)return`${Ot?"> ":">= "}${it}`}function Ge(ce){const xe=[],Be=B("characters",ce.minLength,ce.maxLength);Be!==void 0&&xe.push(Be);const it=B("items",ce.minItems,ce.maxItems);it!==void 0&&xe.push(it);const $t=B(ce.minProperties===1&&ce.maxProperties===1?"property":"properties",ce.minProperties,ce.maxProperties);$t!==void 0&&xe.push($t);const Ot=he(ce.multipleOf);Ot!==void 0&&xe.push(Ot);const Bt=ue(ce);return Bt!==void 0&&xe.push(Bt),ce.uniqueItems&&xe.push("unique"),xe}function pt(ce,xe=[]){const Be=[],it=[],$t=[];return ce.forEach(Ot=>{Ot.required?xe.includes(Ot.name)?it.push(Ot):$t.push(Ot):Be.push(Ot)}),it.sort((Ot,Bt)=>xe.indexOf(Ot.name)-xe.indexOf(Bt.name)),[...it,...$t,...Be]}function Qe(ce){return ce.sort((xe,Be)=>Number(xe.deprecated)-Number(Be.deprecated))}function Je(ce,xe=[],Be=[],{pathPointer:it,operationPointer:$t}){const Ot={};Be.forEach(Xt=>{({resolved:Xt}=ce.deref(Xt)),Ot[Xt.name+"_"+Xt.in]=!0});const Bt=xe.map((Xt,Tn)=>({paramOrRef:Xt,pointer:C.O.join(it,["parameters",String(Tn)])})).filter(({paramOrRef:Xt})=>({resolved:Xt}=ce.deref(Xt),!Ot[Xt.name+"_"+Xt.in])),on=Be.map((Xt,Tn)=>({paramOrRef:Xt,pointer:C.O.join($t,["parameters",String(Tn)])}));return[...Bt,...on]}function we(ce,xe){const Be=()=>{if(!f.IS_BROWSER)return globalThis.SSR_HOSTNAME||"";const Ot=window.location.href;return Ot.endsWith(".html")?(0,n.dirname)(Ot):Ot},it=ce===void 0?(0,v.rU)(Be()):(0,n.dirname)(ce);xe.length===0&&(xe=[{url:"/"}]);function $t(Ot){return(0,v.O2)(it,Ot)}return xe.map(Ot=>R(l({},Ot),{url:$t(Ot.url),description:Ot.description||""}))}const Rt=ce=>({delete:"del",options:"opts"})[ce]||ce;function Te(ce){return ce in{"x-circular-ref":!0,"x-parentRefs":!0,"x-refsStack":!0,"x-codeSamples":!0,"x-displayName":!0,"x-examples":!0,"x-logo":!0,"x-nullable":!0,"x-servers":!0,"x-tagGroups":!0,"x-traitTag":!0,"x-additionalPropertiesName":!0,"x-explicitMappingOnly":!0,"x-enumDescriptions":!0,"x-hideReplay":!0,"x-tokenEndpointAuthMethod":!0,"x-feedback":!0,"x-badges":!0}||ce.startsWith("x-parsed-md-")}function F(ce,xe){return Object.keys(ce).filter(Be=>xe===!0?Be.startsWith("x-")&&!Te(Be):Be.startsWith("x-")&&xe.indexOf(Be)>-1).reduce((Be,it)=>(Be[it]=ce[it],Be),{})}function $e(ce){return ce.split(" or ").map(xe=>xe.replace(/^(string|object|number|integer|array|boolean)s?( ?.*)/,"$1s$2")).join(" or ")}function Ee(ce){let xe=ce.content;const Be=ce["x-examples"],it=ce["x-example"];if(Be){xe=l({},xe);for(const $t of Object.keys(Be)){const Ot=Be[$t];xe[$t]=R(l({},xe[$t]),{examples:Ot})}}else if(it){xe=l({},xe);for(const $t of Object.keys(it)){const Ot=it[$t];xe[$t]=R(l({},xe[$t]),{example:Ot})}}return xe}},38858:(p,t,e)=>{"use strict";e.d(t,{i:()=>E});var n=e(61919),u=e(42473),d=e(12455);function E(v){if(!(0,u.isString)(v)&&v?.result){const y=(0,d.Go)(v),S=n.Jf.fromJSON(JSON.stringify(y?.result));if(Array.isArray(S))for(const O of S)f(O);else f(S);return y.result=JSON.stringify(S),y.raw=E(y.raw),y}const h=new RegExp("^#{1,6}?\\s+","m"),C=v.search(h);return C>-1?v.substring(0,C):v}function f(v){if(!Array.isArray(v.children))return;const h=v.children.findIndex(C=>C.type==="heading");return h===-1||(v.children=v.children.slice(0,h)),v}},80998:(p,t,e)=>{"use strict";e.d(t,{C0:()=>C,L2:()=>h,T7:()=>v,jD:()=>E,tP:()=>d});var n=e(33993),u=e.n(n);function d(y){return y.split("").map(S=>S+"\u0335").join("")}function E(y){return y.replace(/[.[\]]/g,S=>({".":"%2e","[":"%5b","]":"%5d"})[S]||"")}function f(y){return y.replace(/%2e|%5b|%5d/g,S=>({"%2e":".","%5b":"[","%5d":"]"})[S]||"")}function v(y){return y.replace(/\\/g,"%5C")}function h(y){return u()(y)||y.toString().toLowerCase().replace(/\s+/g,"-").replace(/&/g,"-and-").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function C(y,S={}){try{return JSON.parse(y)}catch{return S}}},1519:(p,t,e)=>{"use strict";e.d(t,{a:()=>Ue});const n={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:{hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1},u={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},f={type:"object",properties:{pagination:{type:"string",enum:["none","section","item"]},hidePaginationButtons:{type:"boolean"},menu:{type:"object",properties:Object.assign({},{type:"object",properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:{type:"object",properties:{name:{type:"string"},items:u,queries:u,mutations:u,subscriptions:u,types:u,directives:u},required:["name"],additionalProperties:!1}},otherItemsGroupName:{type:"string"}},required:["requireExactGroups","groups","otherItemsGroupName"],additionalProperties:!1}.properties),additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},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:n},additionalProperties:!1},C={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:n,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:{type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},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:{type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",enum:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},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"}},required:["languages"],additionalProperties:!1},ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"}},additionalProperties:!1},y={type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},S={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"}}},O={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},A={type:"object",properties:{beforeInfo:{type:"array",items:O},end:{type:"array",items:O}}},b={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},x={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},o={type:"object",properties:$e(b.properties,["light","dark"])},a={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"}}},l={type:"object",properties:{error:x,info:x,redirect:x,success:x}},R={type:"object",properties:Ee(b.properties,["dark"])},M={type:"object",properties:{accent:b,border:o,error:b,http:a,primary:b,responses:l,secondary:R,success:b,text:{type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},tonalOffset:{type:"number"},warning:b}},D={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},U={type:"object",properties:{small:D,medium:D,large:D,xlarge:D}},j={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},H={type:"object",properties:Object.assign(Object.assign({},Ee(j.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:U})},L={type:"object",properties:$e(j.properties,["fontSize","lineHeight"])},re={type:"object",properties:{medium:L,small:L}},ne={type:"object",properties:Object.assign(Object.assign({},Ee(j.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},color:{type:"string"},sizes:re})},ie={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},oe={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},pe={type:"object",properties:{fullWidth:{type:"boolean"}}},Ie={type:"object",properties:{buttons:H,httpBadges:ne,layoutControls:ie,panels:oe,tryItButton:pe,tryItSendButton:pe}},Ae={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},Oe={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:{type:"object",properties:{maxWidth:Ae}},"three-panel":{type:"object",properties:{maxWidth:Ae,middlePanelMaxWidth:Ae}}}},G={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},k={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:G,defaultDetailsWidth:{type:"string"},examples:G,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},K={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},J={type:"object",properties:$e(K.properties,["textTransform"])},Z={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},W={type:"object",properties:Object.assign(Object.assign({},Ee(j.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:K,level1items:J,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Z,textColor:{type:"string"},width:{type:"string"}})},_={type:"object",properties:Object.assign(Object.assign({},j.properties),{color:{type:"string"},transform:{type:"string"}})},q={type:"object",properties:Object.assign(Object.assign({},j.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"}})},Pe={type:"object",properties:Ee(j.properties,["fontSize"])},ve={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},je={type:"object",properties:Object.assign(Object.assign({code:q,fieldName:j},$e(j.properties,["fontSize","fontFamily"])),{fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:_,heading2:_,heading3:_,headings:Pe,lineHeight:{type:"string"},links:ve,optimizeSpeed:{type:"boolean"},rightPanelHeading:_,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}})},le={type:"object",properties:Object.assign({color:{type:"string"}},Ee(j.properties,["fontWeight"]))},he={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:le}},B={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},ue={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},Ge={type:"object",properties:{custom:{type:"string"}}},F={type:"object",properties:{theme:{type:"object",properties:{breakpoints:Ae,codeBlock:he,colors:M,components:Ie,layout:Oe,logo:B,fab:ue,overrides:{type:"object",properties:{DownloadButton:Ge,NextSectionButton:Ge}},rightPanel:{type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},schema:k,shape:{type:"object",properties:{borderRadius:{type:"string"}}},sidebar:W,spacing:{type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},typography:je,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},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:{type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:y}},required:["languages"]},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:S,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requestInterceptor:{type:"object"},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:A,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-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"}},additionalProperties:!1};function $e(er,wr){return Object.fromEntries(wr.filter(Zr=>Zr in er).map(Zr=>[Zr,er[Zr]]))}function Ee(er,wr){return Object.fromEntries(Object.entries(er).filter(([Zr])=>!wr.includes(Zr)))}const ce={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},xe={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},Be={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},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"],default:"top"},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}}}},it={type:"array",items:Object.assign(Object.assign({},Be),{properties:Object.assign(Object.assign({},Be.properties),{items:{type:"array",items:Be}})})},$t={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},Ot={type:"array",items:{type:"object",required:["name","field","type"],properties:{isTop:{type:"boolean"},name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["input","multi-select","select","tags","switch","radio","checkbox"]}}}},Bt={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},on={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},Xt={type:"object",properties:Object.assign({items:it},ce.properties),additionalProperties:!1},Tn={type:"object",additionalProperties:$t},ze={type:"object",properties:Object.assign({items:it,copyrightText:{type:"string"},logo:ce},ce.properties),additionalProperties:!1},et={type:"object",properties:Object.assign({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},ce.properties),additionalProperties:!1},ht={type:"object",properties:{head:{type:"array",items:xe},body:{type:"array",items:xe}},additionalProperties:!1},Ne={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}},Ye={type:"object",properties:Object.assign({engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},facets:Ot,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["/"]},suggestedPages:{type:"array",items:Bt}},ce.properties),additionalProperties:!1},ct={type:"object",properties:Object.assign({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},ce.properties),additionalProperties:!1},Dt={type:"object",properties:{nextButton:{type:"object",properties:Object.assign({text:{type:"string",default:"Next page"}},ce.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:Object.assign({text:{type:"string",default:"Previous page"}},ce.properties),additionalProperties:!1,default:{}}},additionalProperties:!1},Et={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:Object.assign({},ce.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:Object.assign({tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"}},ce.properties),additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:Object.assign({},ce.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:Object.assign({},ce.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1},Ht={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["_partials"]},lastUpdatedBlock:{type:"object",properties:Object.assign({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"}},ce.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:Object.assign({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},ce.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:Object.assign({baseUrl:{type:"string"}},ce.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},Wt=Object.assign(Object.assign({},C),{properties:Object.assign(Object.assign({},C.properties),F.properties)}),un={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},Mn={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"]},In={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},Er={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},mr={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"]},Tr={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},ao={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},ro={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"]},ot={type:"object",properties:{adobe:un,amplitude:Mn,fullstory:In,heap:Er,rudderstack:mr,segment:Tr,gtm:ao,ga:{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:ro}},additionalProperties:!1,required:["trackingId"]}}},It={type:"object",properties:Object.assign({items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"}},ce.properties),additionalProperties:!1},Kt={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},Jt={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1},Ar={type:"object",patternProperties:{".*":{type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:{type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},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"}}}}},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:it,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}}}},Or={type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:{name:{type:"string"},color:{type:"string"},extends:{type:"array",items:{type:"string"}},rules:{type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}}},additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}}}},Nr={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:on,navbar:Xt,products:Tn,footer:ze,sidebar:et,scripts:ht,links:Ne,feedback:n,search:Ye,colorMode:ct,navigation:Dt,codeSnippet:Et,markdown:Ht,openapi:Wt,graphql:f,analytics:ot,userMenu:It,versionPicker:Kt,breadcrumbs:Jt,catalog:Ar,scorecard:Or},additionalProperties:!0},Zt=Object.assign(Object.assign({},Nr),{additionalProperties:!1}),wt="https://redocly.com/sso/teams";var De;(function(er){er.OIDC="OIDC",er.SAML2="SAML2"})(De||(De={}));var st;(function(er){er.SERVICE_ACCOUNT="SERVICE_ACCOUNT",er.OAUTH2="OAUTH2"})(st||(st={}));const St="redocly::teams-rbac",jt="redocly::route-rbac";var Ue;(function(er){er.STACKED="stacked",er.THREE_PANEL="three-panel"})(Ue||(Ue={}));function mt(er,wr){return Object.fromEntries(Object.entries(er).map(([Zr,Xr])=>{if(Zr!==wr)return typeof Xr!="object"||!Xr?[Zr,Xr]:Array.isArray(Xr)?[Zr,Xr.map(Sn=>typeof Sn=="object"?mt(Sn,wr):Sn)]:[Zr,mt(Xr,wr)]}).filter(Boolean))}const _e={type:"object",properties:{ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"}},additionalProperties:!1},ut={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},We={type:"object",properties:{type:{type:"string",const:De.OIDC},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:ut,clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},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"}},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},nt={type:"object",properties:{type:{type:"string",const:De.SAML2},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:wt},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]},Ut={type:"object",additionalProperties:{oneOf:[We,nt],discriminator:{propertyName:"type"}}},Qt={oneOf:[{type:"array",items:{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]},uniqueItems:!0},{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]}]},Zn={type:"object",additionalProperties:{type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1},default:{}},fr={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}},hr={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:{type:"object",additionalProperties:!0},openapi:Wt,graphql:f,theme:{type:"object",properties:{openapi:Wt,graphql:f},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},rules:fr,decorators:{type:"object",additionalProperties:!0},preprocessors:{type:"object",additionalProperties:!0}},required:["root"]},Vr={type:"object",additionalProperties:!0},to={type:"object",properties:{title:{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}}},additionalProperties:!1},Me={type:"object",additionalProperties:{type:"string"}},Xe={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:Me,cms:Me,reunite:Me,content:{type:"object",properties:{"**":Me},additionalProperties:Me}},additionalProperties:Me},At={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[{type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},{type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]}]}},additionalProperties:!1,required:["type","apiBaseUrl"]},_t={type:"object",properties:{type:{type:"string",const:st.OAUTH2},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},Yt={type:"object",properties:{type:{type:"string",const:st.SERVICE_ACCOUNT},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},hn={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[_t,Yt],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},En=Object.assign(Object.assign({},hn),{properties:Object.assign(Object.assign({},hn.properties),{type:{type:"string",const:"APIGEE_EDGE"}})}),xn={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:{type:"object",oneOf:[hn,En,At],discriminator:{propertyName:"type"}}}}},Pr={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"]},ir={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:Zn,seo:to,rbac:Xe,requiresLogin:{type:"boolean"},responseHeaders:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]}}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:hr},rules:fr,decorators:{type:"object",additionalProperties:!0},preprocessors:{type:"object",additionalProperties:!0},ssoOnPrem:Ut,sso:Qt,residency:{type:"string"},developerOnboarding:xn,removeAttribution:{type:"boolean"},i18n:Pr,l10n:Pr,metadata:Vr,ignore:{type:"array",items:{type:"string"}},theme:Nr,reunite:_e,logo:on,navbar:Xt,products:Tn,footer:ze,sidebar:et,scripts:ht,links:Ne,feedback:n,search:Ye,colorMode:ct,navigation:Dt,codeSnippet:Et,markdown:Ht,openapi:Wt,graphql:f,analytics:ot,userMenu:It,versionPicker:Kt,breadcrumbs:Jt,catalog:Ar,scorecard:Or},default:{redirects:{}},additionalProperties:!0},Fn=Object.assign(Object.assign({},mt(ir,"default")),{additionalProperties:!1}),ar=Object.assign(Object.assign({$id:"root-redocly-config"},ir),{properties:Object.assign(Object.assign({plugins:{type:"array",items:{type:"string"}}},ir.properties),{env:{type:"object",additionalProperties:Fn}}),default:{},additionalProperties:!1}),pr={type:"object",properties:{logo:Nr.properties.logo,navbar:Nr.properties.navbar,footer:Nr.properties.footer,sidebar:Nr.properties.sidebar,search:Nr.properties.search,codeSnippet:Nr.properties.codeSnippet,breadcrumbs:Nr.properties.breadcrumbs,openapi:Nr.properties.openapi,feedback:Nr.properties.feedback,analytics:{type:"object",properties:{ga:ro}}},additionalProperties:!0,default:{}},jn={$id:"product-config-override",type:"object",properties:Object.assign(Object.assign({},pr.properties),{apis:{type:"object",additionalProperties:hr},theme:pr}),additionalProperties:!1}},58653:(p,t,e)=>{"use strict";var n=e(63159),u=e(9448),d=e(95533),E=e(14133),f=e(757),v=e(61937);const h={warning:d.A,success:E.F,danger:f.o,info:v._};function C({type:b="info",name:x,children:o,className:a,"data-source":l,"data-hash":R}){const P=h[b]||h.info;return jsxs(S,{type:b,className:a,"data-component-name":"Admonition/Admonition","data-source":l,"data-hash":R,children:[jsx(P,{color:`--admonition-${b}-icon-color`}),jsxs(O,{children:[x?jsx(A,{type:b,children:x}):null,o?jsx(y,{children:o}):null]})]})}const y=u.Ay.div`
|
|
85
85
|
& > p:first-child {
|
|
86
86
|
margin-top: 0;
|
|
87
87
|
}
|
|
@@ -10561,4 +10561,4 @@ Error generating stack: `+ae.message+`
|
|
|
10561
10561
|
`,Gh=({pointer:T,schema:w})=>{const{options:N,parser:Ce}=useAtomValue(globalStoreAtom),ke=w||{$ref:T},ft=getSchema({parser:Ce,schemaOrRef:ke,pointer:T||"",options:N,deps:{operation:{pointer:"RedocSchema"}}});return jsx(Row,{children:jsx(FullWidthPanel,{children:jsx(Schema,{schema:ft,level:1,disableDeepLinks:!0})})})},Zh=({pointer:T,mimeType:w,encoding:N})=>{const Ce=useAtomValue(globalParserAtom),ke=useAtomValue(layoutAtom),ft=getExamples({parser:Ce,infoOrRef:{$ref:T},mime:w,encoding:N});return jsx(Row,{layout:ke,children:jsx(ExamplesWrap,{children:jsx(Example,{example:ft,mimeType:w})})})},xh=P.Ay.div`
|
|
10562
10562
|
padding: 20px;
|
|
10563
10563
|
color: red;
|
|
10564
|
-
`;class Yh extends o.Component{constructor(w){super(w),this.state={error:void 0}}componentDidCatch(w){return this.setState({error:w}),!1}render(){return this.state.error?(0,p.jsxs)(xh,{children:[(0,p.jsx)("h1",{children:"Something went wrong..."}),(0,p.jsxs)("small",{children:[" ",this.state.error.message," "]}),(0,p.jsx)("p",{children:(0,p.jsxs)("details",{children:[(0,p.jsx)("summary",{children:"Stack trace"}),(0,p.jsx)("pre",{children:this.state.error.stack})]})}),typeof __REDOC_VERSION__<"u"?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("small",{children:[" References docs version: ",__REDOC_VERSION__]})," ",(0,p.jsx)("br",{})]}):null,typeof __REDOC_REVISION__<"u"?(0,p.jsxs)("small",{children:[" Commit: ",__REDOC_REVISION__]}):null]}):(0,p.jsx)(p.Fragment,{children:o.Children.only(this.props.children)})}}var Ih=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Ah=Object.prototype.hasOwnProperty,Dh=Object.prototype.propertyIsEnumerable,Uf=(T,w,N)=>w in T?Ih(T,w,{enumerable:!0,configurable:!0,writable:!0,value:N}):T[w]=N,zf=(T,w)=>{for(var N in w||(w={}))Ah.call(w,N)&&Uf(T,N,w[N]);if(Nf)for(var N of Nf(w))Dh.call(w,N)&&Uf(T,N,w[N]);return T};const Hf=(0,R.JA)(),Th=Hf?(0,x.dirname)(Hf)+"/":"";function Mh(T){const w={},N=T.attributes;for(let Ce=0;Ce<N.length;Ce++){const ke=N[Ce];w[ke.name]=ke.value}return w}function jh(T){const w=Mh(T),N={};for(const Ce in w){const ke=Ce.replace(/-(.)/g,(ft,Mt)=>Mt.toUpperCase());N[ke]=w[Ce]}return N}function Rh(T,w=document.querySelector("redoc")){(0,a.c)(w,(0,p.jsx)($f,{store:T}))}function Wf(T,w={},N=(0,R.iT)("redoc")){if(N===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let Ce,ke;typeof T=="string"?Ce=T:typeof T=="object"&&(ke=T),(0,a.H)(N).render((0,o.createElement)(bh,{definition:ke,definitionUrl:Ce,options:zf(zf({},w),jh(N))},["Loading..."]))}function Vf(T){Sr.p=T}const Lh="3.4.0-rc.
|
|
10564
|
+
`;class Yh extends o.Component{constructor(w){super(w),this.state={error:void 0}}componentDidCatch(w){return this.setState({error:w}),!1}render(){return this.state.error?(0,p.jsxs)(xh,{children:[(0,p.jsx)("h1",{children:"Something went wrong..."}),(0,p.jsxs)("small",{children:[" ",this.state.error.message," "]}),(0,p.jsx)("p",{children:(0,p.jsxs)("details",{children:[(0,p.jsx)("summary",{children:"Stack trace"}),(0,p.jsx)("pre",{children:this.state.error.stack})]})}),typeof __REDOC_VERSION__<"u"?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("small",{children:[" References docs version: ",__REDOC_VERSION__]})," ",(0,p.jsx)("br",{})]}):null,typeof __REDOC_REVISION__<"u"?(0,p.jsxs)("small",{children:[" Commit: ",__REDOC_REVISION__]}):null]}):(0,p.jsx)(p.Fragment,{children:o.Children.only(this.props.children)})}}var Ih=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Ah=Object.prototype.hasOwnProperty,Dh=Object.prototype.propertyIsEnumerable,Uf=(T,w,N)=>w in T?Ih(T,w,{enumerable:!0,configurable:!0,writable:!0,value:N}):T[w]=N,zf=(T,w)=>{for(var N in w||(w={}))Ah.call(w,N)&&Uf(T,N,w[N]);if(Nf)for(var N of Nf(w))Dh.call(w,N)&&Uf(T,N,w[N]);return T};const Hf=(0,R.JA)(),Th=Hf?(0,x.dirname)(Hf)+"/":"";function Mh(T){const w={},N=T.attributes;for(let Ce=0;Ce<N.length;Ce++){const ke=N[Ce];w[ke.name]=ke.value}return w}function jh(T){const w=Mh(T),N={};for(const Ce in w){const ke=Ce.replace(/-(.)/g,(ft,Mt)=>Mt.toUpperCase());N[ke]=w[Ce]}return N}function Rh(T,w=document.querySelector("redoc")){(0,a.c)(w,(0,p.jsx)($f,{store:T}))}function Wf(T,w={},N=(0,R.iT)("redoc")){if(N===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let Ce,ke;typeof T=="string"?Ce=T:typeof T=="object"&&(ke=T),(0,a.H)(N).render((0,o.createElement)(bh,{definition:ke,definitionUrl:Ce,options:zf(zf({},w),jh(N))},["Loading..."]))}function Vf(T){Sr.p=T}const Lh="3.4.0-rc.4",wh="71eed715fd";function Bh(){const T=(0,R.iT)("redoc");if(!T)return;const w=T.getAttribute("spec-url");w&&Wf(w,{},T)}l.IS_BROWSER&&Vf(Th),Bh()})(),Ad})());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/openapi-docs",
|
|
3
|
-
"version": "3.4.0-rc.
|
|
3
|
+
"version": "3.4.0-rc.4",
|
|
4
4
|
"description": "Redocly OpenAPI Docs",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-esm/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"openapi-docs": "bin.js"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@redocly/theme": "0.41.0-rc.
|
|
19
|
+
"@redocly/theme": "0.41.0-rc.4",
|
|
20
20
|
"core-js": "^3.1.4",
|
|
21
21
|
"react": "^18.0.0",
|
|
22
22
|
"react-dom": "^18.0.0",
|
|
@@ -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/
|
|
48
|
-
"@redocly/
|
|
47
|
+
"@redocly/replay": "0.5.8-rc.4",
|
|
48
|
+
"@redocly/config": "0.11.0-rc.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@testing-library/jest-dom": "6.1.5",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"webpack": "5.91.0",
|
|
93
93
|
"webpack-cli": "5.1.4",
|
|
94
94
|
"webpack-dev-server": "4.15.2",
|
|
95
|
-
"@redocly/theme": "0.41.0-rc.
|
|
95
|
+
"@redocly/theme": "0.41.0-rc.4"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
98
98
|
"start": "webpack serve --mode=development --hot",
|